:root {
  --szp-primary: #0ea5a8;
  --szp-secondary: #1f6f78;
  --szp-accent: #d88c4a;
  --szp-bg: #08161a;
  --szp-surface: #13272c;
  --szp-text-main: #e9f5f5;
  --szp-text-muted: #a6bdbe;
  --szp-font-heading: "Cinzel", serif;
  --szp-font-body: "Lato", sans-serif;
  --szp-border: 1px solid rgba(14, 165, 168, 0.2);
  --szp-radius: 4px;
  --szp-radius-lg: 8px;
  --szp-transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--szp-font-body);
  background-color: var(--szp-bg);
  color: var(--szp-text-main);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4 {
  font-family: var(--szp-font-heading);
  font-weight: 700;
  color: var(--szp-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.szerencsepalota_h1 {
  font-size: 2.5rem;
}
.szerencsepalota_h2 {
  font-size: 1.7rem;
}
.szerencsepalota_h3 {
  font-size: 1.5rem;
}
.szerencsepalota_h4 {
  font-size: 1.2rem;
}

@media (max-width: 400px) {
  .szerencsepalota_h1,
  .szerencsepalota_h2 {
    word-break: break-all;
  }
}

.szerencsepalota_text {
  margin-bottom: 1rem;
  color: var(--szp-text-main);
}
.szerencsepalota_text_small {
  font-size: 0.9rem;
  color: var(--szp-text-muted);
}
.szerencsepalota_text_micro {
  font-size: 0.8rem;
  color: var(--szp-text-muted);
}

a {
  color: var(--szp-primary);
  text-decoration: none;
  transition: var(--szp-transition);
}
a:hover {
  color: var(--szp-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.szerencsepalota_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.szerencsepalota_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--szp-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--szp-bg);
  background-color: var(--szp-accent);
  border: none;
  border-radius: var(--szp-radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--szp-transition);
  min-height: 44px;
}
.szerencsepalota_btn:hover {
  background-color: #f0a35e;
  transform: translateY(-2px);
}
.szerencsepalota_btn_outline {
  background-color: transparent;
  color: var(--szp-accent);
  border: 2px solid var(--szp-accent);
}
.szerencsepalota_btn_outline:hover {
  background-color: rgba(216, 140, 74, 0.1);
}
.szerencsepalota_btn_large {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}
.szerencsepalota_btn_text {
  background: none;
  border: none;
  color: var(--szp-text-muted);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--szp-font-body);
  padding: 0.5rem 0;
}
.szerencsepalota_btn_text:hover {
  color: var(--szp-accent);
}

/* Age Badge */
.szerencsepalota_age_gate_badge {
  background-color: var(--szp-primary);
  color: var(--szp-bg);
  text-align: center;
  padding: 0.25rem;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Header */
.szerencsepalota_header {
  background-color: rgba(8, 22, 26, 0.95);
  border-bottom: 1px solid var(--szp-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px);
}
.szerencsepalota_header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 1rem;
  gap: 10px;
}
.szerencsepalota_logo_link {
  font-family: var(--szp-font-heading);
  font-size: 1.2rem;
  color: var(--szp-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.szerencsepalota_logo_link:hover {
  color: var(--szp-accent);
}

.szerencsepalota_main_nav {
  display: none;
}
@media (min-width: 768px) {
  .szerencsepalota_main_nav {
    display: block;
  }
}
.szerencsepalota_nav_list {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.szerencsepalota_nav_link {
  color: var(--szp-text-main);
  font-family: var(--szp-font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.szerencsepalota_nav_link[aria-current="page"],
.szerencsepalota_nav_link:hover {
  color: var(--szp-accent);
}

.szerencsepalota_header_actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .szerencsepalota_header_actions {
    flex-direction: column;
    align-items: end;
  }
}
.szerencsepalota_btn_auth {
  background: none;
  color: var(--szp-primary);
  border: 1px solid var(--szp-primary);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}
.szerencsepalota_btn_auth_primary {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.szerencsepalota_burger_menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .szerencsepalota_burger_menu {
    display: none;
  }
}
.szerencsepalota_burger_line {
  width: 25px;
  height: 3px;
  background-color: var(--szp-primary);
  transition: var(--szp-transition);
}
.szerencsepalota_main_nav.is-open {
  display: block;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--szp-surface);
  border-bottom: 1px solid var(--szp-primary);
  padding: 1rem;
}
.szerencsepalota_main_nav.is-open .szerencsepalota_nav_list {
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Main Content */
.szerencsepalota_main_content {
  flex: 1;
}
.szerencsepalota_section {
  padding: 4rem 0;
}

/* Hero Asymmetric Split */
.szerencsepalota_hero_asymmetric_split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 60vh;
  background-color: var(--szp-bg);
  border-bottom: var(--szp-border);
}
@media (min-width: 992px) {
  .szerencsepalota_hero_asymmetric_split {
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
  }
}
.szerencsepalota_hero_content {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}
.szerencsepalota_hero_trust_signal {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--szp-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.szerencsepalota_hero_subtitle {
  font-size: 1.2rem;
  color: var(--szp-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}
.szerencsepalota_hero_cta_group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.szerencsepalota_hero_disclaimer_compact {
  font-size: 0.8rem;
  color: var(--szp-text-muted);
  opacity: 0.8;
}
.szerencsepalota_hero_visual_panel {
  position: relative;
  min-height: 300px;
  background-image: url("assets/images/hero-astral-observatory.webp");
  background-size: cover;
  background-position: center;
}
.szerencsepalota_hero_visual_texture {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 22, 26, 0.8) 0%,
    rgba(19, 39, 44, 0.4) 100%
  );
  border-left: 2px solid var(--szp-primary);
}

/* Editorial Split */
.szerencsepalota_editorial_split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .szerencsepalota_editorial_split {
    grid-template-columns: 1fr 1fr;
  }
}
.szerencsepalota_stat_card {
  background-color: var(--szp-surface);
  padding: 2rem;
  border: var(--szp-border);
  border-radius: var(--szp-radius);
  text-align: center;
  margin-bottom: 1rem;
}
.szerencsepalota_stat_value {
  display: block;
  font-family: var(--szp-font-heading);
  font-size: 2.5rem;
  color: var(--szp-primary);
  margin-bottom: 0.5rem;
}
.szerencsepalota_stat_label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--szp-text-muted);
}

/* Social Events Grid */
.szerencsepalota_events_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .szerencsepalota_events_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.szerencsepalota_event_card {
  background-color: var(--szp-surface);
  padding: 2rem;
  border-top: 3px solid var(--szp-accent);
  border-radius: var(--szp-radius);
}

/* Security Center */
.szerencsepalota_security_features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .szerencsepalota_security_features {
    flex-direction: row;
    justify-content: space-between;
  }
}
.szerencsepalota_security_item {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--szp-surface);
  border-radius: var(--szp-radius);
}
.szerencsepalota_security_icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Lore Split */
.szerencsepalota_lore_split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--szp-surface);
  border: var(--szp-border);
  border-radius: var(--szp-radius);
  overflow: hidden;
}
@media (min-width: 768px) {
  .szerencsepalota_lore_split {
    grid-template-columns: 1fr 1fr;
  }
}
.szerencsepalota_lore_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.szerencsepalota_lore_text {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.szerencsepalota_lore_result {
  margin-top: 1rem;
  font-family: var(--szp-font-heading);
  color: var(--szp-accent);
  min-height: 1.5em;
}

/* Lobby Layout */
.szerencsepalota_lobby_layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  .szerencsepalota_lobby_layout {
    grid-template-columns: 300px 1fr;
  }
}

/* Sidebar Terminal */
.szerencsepalota_sidebar_terminal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.szerencsepalota_wallet_panel,
.szerencsepalota_achievements_panel {
  background-color: var(--szp-surface);
  border: var(--szp-border);
  border-radius: var(--szp-radius);
  padding: 1.5rem;
}
.szerencsepalota_wallet_balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.szerencsepalota_balance_value {
  font-family: var(--szp-font-heading);
  font-size: 1.5rem;
  color: var(--szp-accent);
}
.szerencsepalota_wallet_status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.szerencsepalota_achievement_list {
  list-style: none;
  margin-top: 1rem;
}
.szerencsepalota_achievement_item {
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--szp-secondary);
}
.szerencsepalota_achievement_item.is-completed {
  border-left-color: var(--szp-accent);
}
.szerencsepalota_ach_title {
  display: block;
  font-weight: bold;
  color: var(--szp-primary);
  font-size: 0.9rem;
}
.szerencsepalota_ach_desc {
  display: block;
  font-size: 0.8rem;
  color: var(--szp-text-muted);
}

/* Games Zone & Cards */
.szerencsepalota_social_games_zone,
.szerencsepalota_games_zone {
  width: 100%;
}
.szerencsepalota_games_stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto 3rem auto;
}
.szerencsepalota_games_stack_full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.szerencsepalota_game_card {
  background-color: var(--szp-surface);
  border: var(--szp-border);
  border-radius: var(--szp-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}
.szerencsepalota_game_card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}
.szerencsepalota_game_title {
  margin: 0;
  font-size: 1.2rem;
}
.szerencsepalota_game_badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  background-color: var(--szp-primary);
  color: var(--szp-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-weight: bold;
}
.szerencsepalota_game_stage_wrapper {
  background-color: #050b14;
  border-radius: var(--szp-radius);
  padding: 1rem;
  display: flex;
  justify-content: center;
}

/* Slot Specific */
.szerencsepalota_slot_stage {
  width: 100%;
  max-width: 600px;
  /* min-height: clamp(260px, 24vw, 360px); */
  position: relative;
  background: radial-gradient(circle, #1a2c3a 0%, #050b14 100%);
  border: 2px solid var(--szp-secondary);
  border-radius: var(--szp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.szerencsepalota_slot_stage_fire {
  border-color: #ff4500;
  background: radial-gradient(circle, #4a1c10 0%, #050b14 100%);
}
.szerencsepalota_slot_reel_window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 4px;
}
.szerencsepalota_slot_payline {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(216, 140, 74, 0.5);
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 0 10px var(--szp-accent);
  display: none;
}
.szerencsepalota_slot_payline.is-active {
  display: block;
}
.szerencsepalota_slot_reel {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b192c;
  border: 1px solid var(--szp-secondary);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.szerencsepalota_slot_reel img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.1s ease;
}
.szerencsepalota_slot_reel.is-spinning img {
  filter: blur(2px);
  transform: translateY(10px);
}

/* Wheel Specific */
.szerencsepalota_wheel_stage {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
}
.szerencsepalota_wheel_img {
  grid-area: 1 / 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transform-origin: center;
}
.szerencsepalota_wheel_pointer_wrapper {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  z-index: 10;
}
.szerencsepalota_wheel_pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--szp-accent);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Controls & Status */
.szerencsepalota_game_controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: var(--szp-radius);
}
.szerencsepalota_game_bet_row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.szerencsepalota_game_bet_row label {
  font-size: 0.8rem;
  color: var(--szp-text-muted);
}
.szerencsepalota_bet_select {
  background-color: var(--szp-bg);
  color: var(--szp-text-main);
  border: 1px solid var(--szp-secondary);
  padding: 0.5rem;
  border-radius: 4px;
  font-family: var(--szp-font-body);
  min-width: 100px;
}
.szerencsepalota_btn_spin {
  flex-grow: 1;
  max-width: 200px;
}
.szerencsepalota_btn_spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.szerencsepalota_game_status_panel {
  text-align: center;
  padding: 0.5rem;
  background-color: var(--szp-bg);
  border-radius: 4px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.szerencsepalota_status_text.is-win {
  color: #4caf50;
  font-weight: bold;
  animation: pulse 1s infinite;
}
.szerencsepalota_status_text.is-loss {
  color: var(--szp-text-muted);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Pages general */
.szerencsepalota_page_header {
  padding: 3rem 0 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}
.szerencsepalota_text_content_block {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--szp-surface);
  padding: 2rem;
  border-radius: var(--szp-radius);
}

/* Contact */
.szerencsepalota_contact_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .szerencsepalota_contact_grid {
    grid-template-columns: 3fr 2fr;
  }
}
.szerencsepalota_form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.szerencsepalota_form_group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.szerencsepalota_form_group label {
  font-size: 0.9rem;
  color: var(--szp-primary);
}
.szerencsepalota_form_group input,
.szerencsepalota_form_group textarea {
  background-color: var(--szp-bg);
  border: 1px solid var(--szp-secondary);
  color: var(--szp-text-main);
  padding: 0.75rem;
  border-radius: 4px;
  font-family: var(--szp-font-body);
}
.szerencsepalota_form_group input:focus,
.szerencsepalota_form_group textarea:focus {
  outline: none;
  border-color: var(--szp-accent);
}
.szerencsepalota_info_list {
  list-style: none;
  margin-top: 1.5rem;
}
.szerencsepalota_info_list li {
  margin-bottom: 0.5rem;
}

/* FAQ */
.szerencsepalota_faq_accordion {
  max-width: 800px;
  margin: 0 auto;
}
.szerencsepalota_faq_item {
  margin-bottom: 1rem;
  border: var(--szp-border);
  border-radius: var(--szp-radius);
  background-color: var(--szp-surface);
}
.szerencsepalota_faq_trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: none;
  border: none;
  color: var(--szp-primary);
  font-family: var(--szp-font-heading);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.szerencsepalota_faq_trigger::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.szerencsepalota_faq_trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}
.szerencsepalota_faq_content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.szerencsepalota_faq_trigger[aria-expanded="true"]
  + .szerencsepalota_faq_content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  max-height: 200px;
}

/* Footer */
.szerencsepalota_footer {
  background-color: rgba(8, 22, 26, 0.95);
  border-top: 2px solid var(--szp-primary);
  padding: 4rem 0 1rem 0;
  margin-top: auto;
}
.szerencsepalota_footer_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .szerencsepalota_footer_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .szerencsepalota_footer_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.szerencsepalota_footer_h3 {
  color: var(--szp-accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.szerencsepalota_footer_text {
  font-size: 0.9rem;
  color: var(--szp-text-muted);
  margin-bottom: 0.5rem;
}
.szerencsepalota_footer_link {
  color: var(--szp-text-muted);
}
.szerencsepalota_footer_link:hover {
  color: var(--szp-accent);
}
.szerencsepalota_footer_links {
  list-style: none;
}
.szerencsepalota_footer_links li {
  margin-bottom: 0.5rem;
}
.szerencsepalota_footer_partners {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-direction: column;
}
.szerencsepalota_partner_logo_link {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 4px;
}
.gamcare-bg {
  background-color: #222;
}
.gambleaware-bg {
  background-color: #fff;
}
.szerencsepalota_partner_logo {
  /* height: 40px; */
  width: auto;
  max-width: 200px;
}
.szerencsepalota_footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

/* Modals */
.szerencsepalota_modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.szerencsepalota_modal:not([aria-hidden="true"]) {
  opacity: 1;
  pointer-events: auto;
}
.szerencsepalota_modal_content {
  background-color: var(--szp-surface);
  padding: 2rem;
  border-radius: var(--szp-radius-lg);
  border: 1px solid var(--szp-primary);
  max-width: 90%;
  width: 400px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.szerencsepalota_modal_legal {
  width: 600px;
}
.szerencsepalota_modal:not([aria-hidden="true"])
  .szerencsepalota_modal_content {
  transform: translateY(0);
}
.szerencsepalota_modal_close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--szp-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.szerencsepalota_modal_close:hover {
  color: var(--szp-accent);
}

/* Toast */
.szerencsepalota_toast_container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}
.szerencsepalota_toast {
  background-color: var(--szp-secondary);
  color: var(--szp-text-main);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--szp-accent);
  animation: slideIn 0.3s forwards;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Easter Egg */
.szerencsepalota_easter_egg {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background-image: url("assets/images/egg-glowing-telescope.webp");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  cursor: pointer;
  z-index: 50;
  transition: opacity 0.3s;
}
.szerencsepalota_easter_egg:hover {
  opacity: 0.8;
}

/* footer-logo-contrast-guard-v2 */
a[href*="begambleaware.org"],
a[href*="gambleaware"] {
  background: #ffffff !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="begambleaware.org"] img,
a[href*="begambleaware.org"] picture,
a[href*="begambleaware.org"] .partner-logo,
img[src*="gambleaware"],
img[alt*="BeGambleAware" i],
img[alt*="GambleAware" i] {
  background: #ffffff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="gamcare.org"] {
  background: #fff !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="gamcare.org"] img,
a[href*="gamcare.org"] picture,
a[href*="gamcare.org"] .partner-logo,
img[src*="gamcare"],
img[alt*="GamCare" i] {
  background: #fff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

/* social-game-layering-guard-v4 */
[data-home-live-game],
[data-game-card],
[data-slot-game],
[data-slot-stage],
[data-wheel-game],
[data-wheel-stage],
[data-mechanic],
[class*="game_wrapper"],
[class*="game-wrapper"],
[class*="game_board"],
[class*="game-board"],
[class*="slot_board"],
[class*="slot-board"],
[class*="roulette_board"],
[class*="roulette-board"] {
  position: relative !important;
  isolation: isolate !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

[class*="slot"][class*="frame"],
[class*="slot"][class*="bg"],
[class*="slot"][class*="background"],
img[class*="slot_frame"],
img[class*="slot-frame"],
img[class*="frame_img"],
img[class*="frame-img"],
[data-game-mechanic="slot"] [class*="game_visual"] > img:first-child,
[data-game-mechanic="slot"] [class*="game-visual"] > img:first-child,
[data-game-mechanic="slot"] img[class*="game_bg"],
[data-game-mechanic="slot"] img[class*="game-bg"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

[class*="roulette"][class*="wheel"] img,
img[class*="roulette"][class*="wheel"],
[data-wheel-img] {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform-origin: center !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  pointer-events: none !important;
}

[data-wheel-stage],
[data-wheel-game] [class*="wheel_stage"],
[data-wheel-game] [class*="wheel-stage"],
[class*="wheel_board"],
[class*="wheel-board"],
[class*="roulette_board"],
[class*="roulette-board"] {
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

[data-game-mechanic="slot"] [class*="game_visual"],
[data-game-mechanic="slot"] [class*="game-visual"] {
  min-height: clamp(260px, 42vw, 560px) !important;
  aspect-ratio: 4 / 3 !important;
  position: relative !important;
  overflow: hidden !important;
}

[data-slot-stage],
[data-slot-game] [class*="slot_stage"],
[data-slot-game] [class*="slot-stage"],
[data-game-mechanic="slot"] [class*="slot_board"],
[data-game-mechanic="slot"] [class*="slot-board"] {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 16 / 7 !important;
  display: grid !important;
  align-items: center !important;
}

[data-slot-reel-window],
[data-slot-game] [class*="slot_reel_window"],
[data-slot-game] [class*="slot-reel-window"],
[data-slot-game] [class*="reel_window"],
[data-slot-game] [class*="reel-window"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  /* min-height: clamp(170px, 22vw, 320px) !important; */
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(0.55rem, 1.5vw, 1.2rem) !important;
  overflow: hidden !important;
  position: relative !important;
}

[class*="slot_reels"],
[class*="slot-reels"],
[class*="reels"],
[data-home-live-game] [data-reel-index] {
  position: absolute !important;
  left: 10% !important;
  right: 10% !important;
  top: 35% !important;
  bottom: 35% !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(0.45rem, 1.4vw, 1.1rem) !important;
  z-index: 60 !important;
  pointer-events: none !important;
}

[data-slot-symbol],
[class*="slot_symbol"],
[class*="slot-symbol"],
[class*="reel"] img,
[data-home-live-game] [data-reel-index] img {
  position: relative !important;
  z-index: 70 !important;
  display: block !important;
  width: clamp(72px, 62%, 170px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 88% !important;
  object-fit: contain !important;
}

[class*="slot_reel"]:not([class*="window"]),
[class*="slot-reel"]:not([class*="window"]),
[data-slot-reel],
[data-home-live-game] [data-reel-index] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  /* min-height: clamp(72px, 10vw, 150px) !important; */
  background: rgba(2, 8, 18, 0.88) !important;
  border: 2px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0.9rem 1.8rem rgba(0, 0, 0, 0.35) !important;
}

[class*="roulette"][class*="pointer"],
[class*="wheel"][class*="pointer"],
[data-wheel-pointer],
[data-home-live-game] [data-roulette-bet],
[data-home-live-game] [class*="game_ui"],
[data-home-live-game] [class*="game-ui"],
[data-home-live-game] [class*="game_controls"],
[data-home-live-game] [class*="game-controls"],
[data-home-live-game] [class*="bet"],
[data-home-live-game] [class*="result"],
[data-home-live-game] [class*="status"],
[data-home-live-game] button,
[data-home-live-game] select,
[data-home-live-game] input {
  position: relative !important;
  z-index: 90 !important;
}
