:root {
    --primary: #6D5BFF;
    --secondary: #9333EA;
    --accent: #F5D48F;
    --background: #100C1F;
    --surface: #1F1A37;
    --textPrimary: #F3EEFF;
    --textSecondary: #BEB3D8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --border-radius: 8px;
    --transition: 0.3s ease;
}

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

body.szerencsepalota_body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--textPrimary);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

a:hover {
    opacity: 0.8;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-top: 0;
    font-weight: 700;
}

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

.szerencsepalota_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.szerencsepalota_btn:hover {
    background: var(--secondary);
    color: #fff;
}

.szerencsepalota_btn_secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.szerencsepalota_btn_secondary:hover {
    background: var(--accent);
    color: var(--background);
}

.szerencsepalota_btn_large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.szerencsepalota_header {
    background-color: rgba(16, 12, 31, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--surface);
}

.szerencsepalota_header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.szerencsepalota_logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.szerencsepalota_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.szerencsepalota_nav_list a {
    color: var(--textPrimary);
    font-weight: bold;
}

.szerencsepalota_nav_list a.is-active, .szerencsepalota_nav_list a:hover {
    color: var(--accent);
}

.szerencsepalota_auth_area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.szerencsepalota_age_badge {
    background: var(--surface);
    color: var(--textSecondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    border: 1px solid var(--textSecondary);
}

.szerencsepalota_burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.szerencsepalota_burger_line {
    width: 25px;
    height: 3px;
    background-color: var(--textPrimary);
    transition: var(--transition);
}

.szerencsepalota_age_strip {
    background: var(--surface);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    color: var(--textSecondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.szerencsepalota_age_strip p {
    margin: 0;
}

.szerencsepalota_hero_bottom_dock {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.szerencsepalota_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16,12,31,0.2) 0%, rgba(16,12,31,1) 100%), url('images/hero-opera-stage.webp') center/cover no-repeat;
    z-index: 0;
}

.szerencsepalota_hero_content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.szerencsepalota_hero_text_area {
    max-width: 600px;
}

.szerencsepalota_hero_text_area h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.szerencsepalota_hero_subtitle {
    font-size: 1.2rem;
    color: var(--textSecondary);
}

.szerencsepalota_trust_badge {
    display: inline-block;
    background: var(--accent);
    color: var(--background);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.szerencsepalota_hero_dock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(31, 26, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(245, 212, 143, 0.2);
}

.szerencsepalota_dock_metrics {
    display: flex;
    gap: 30px;
}

.szerencsepalota_metric_card {
    display: flex;
    flex-direction: column;
}

.szerencsepalota_metric_val {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
}

.szerencsepalota_metric_label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--textSecondary);
}

.szerencsepalota_section {
    padding: 60px 0;
}

.szerencsepalota_section_header {
    text-align: center;
    margin-bottom: 40px;
}

.szerencsepalota_section_header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.szerencsepalota_social_games_zone {
    display: grid;
    grid-template-columns: 1fr;
    max-width: clamp(820px, 72vw, 900px);
    width: 100%;
    margin-inline: auto;
    gap: clamp(20px, 3vw, 28px);
    padding-inline: clamp(14px, 3vw, 24px);
}

.szerencsepalota_game_card {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

.szerencsepalota_game_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.szerencsepalota_game_header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.szerencsepalota_game_badge {
    background: rgba(245, 212, 143, 0.1);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.szerencsepalota_slot_stage {
    position: relative;
    width: 100%;
    min-height: clamp(240px, 18vw, 320px);
    aspect-ratio: 16/7;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.szerencsepalota_stage_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    opacity: 0.5;
}

.szerencsepalota_reel_window {
    position: relative;
    z-index: 30;
    width: 80%;
    height: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    overflow: hidden;
}

.szerencsepalota_reel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

.szerencsepalota_reel img {
    width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.szerencsepalota_payline {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 4px;
    background: var(--accent);
    z-index: 40;
    transform: translateY(-50%);
    opacity: 0.7;
    box-shadow: 0 0 10px var(--accent);
    pointer-events: none;
}

.szerencsepalota_wheel_stage {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
}

.szerencsepalota_wheel_img {
    grid-area: 1/1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transform-origin: center;
}

.szerencsepalota_wheel_pointer {
    grid-area: 1/1;
    place-self: start center;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--accent);
    z-index: 80;
    transform: translateY(-10px);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.szerencsepalota_game_controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 6px;
}

.szerencsepalota_control_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.szerencsepalota_bet_select, .szerencsepalota_bet_btn {
    background: var(--background);
    color: var(--textPrimary);
    border: 1px solid var(--textSecondary);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-body);
}

.szerencsepalota_bet_options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.szerencsepalota_bet_btn.is-selected {
    border-color: var(--accent);
    color: var(--accent);
}

.szerencsepalota_spin_btn {
    background: var(--accent);
    color: var(--background);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.szerencsepalota_spin_btn:hover {
    background: #fff;
}

.szerencsepalota_spin_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.szerencsepalota_status_row {
    font-weight: bold;
    color: var(--accent);
    min-height: 24px;
}

.szerencsepalota_history_row {
    font-size: 0.85rem;
    color: var(--textSecondary);
}

.szerencsepalota_section_footer {
    text-align: center;
    margin-top: 30px;
}

.szerencsepalota_split_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.szerencsepalota_rank_list {
    list-style: none;
    padding: 0;
}

.szerencsepalota_rank_list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.szerencsepalota_rank_list li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.szerencsepalota_info_card {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.szerencsepalota_note {
    font-size: 0.85rem;
    color: var(--textSecondary);
    font-style: italic;
}

.szerencsepalota_event_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.szerencsepalota_event_card {
    background: rgba(31, 26, 55, 0.5);
    border: 1px solid var(--surface);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.szerencsepalota_event_time {
    display: inline-block;
    background: var(--primary);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.szerencsepalota_lab_content {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.szerencsepalota_lab_item {
    flex: 1;
    background: var(--surface);
    padding: 20px;
    border-radius: var(--border-radius);
}

.szerencsepalota_accordion {
    max-width: 800px;
    margin: 0 auto;
}

.szerencsepalota_faq_item {
    background: var(--surface);
    margin-bottom: 10px;
    border-radius: 4px;
}

.szerencsepalota_faq_item summary {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.szerencsepalota_faq_item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--accent);
}

.szerencsepalota_faq_item[open] summary::after {
    content: '-';
}

.szerencsepalota_faq_content {
    padding: 0 20px 20px;
    color: var(--textSecondary);
}

.szerencsepalota_wallet_bottom_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-top: 2px solid var(--accent);
    padding: 10px 20px;
    z-index: 90;
    display: flex;
    justify-content: center;
}

.szerencsepalota_wallet_inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.szerencsepalota_wallet_label {
    color: var(--textSecondary);
}

.szerencsepalota_wallet_balance {
    color: var(--accent);
    font-size: 1.2rem;
}

.szerencsepalota_footer {
    background: #080610;
    padding: 60px 20px 80px;
    margin-top: auto;
}

.szerencsepalota_footer_top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.szerencsepalota_footer_col h4 {
    color: var(--accent);
    margin-bottom: 20px;
}

.szerencsepalota_footer_col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.szerencsepalota_footer_col li {
    margin-bottom: 10px;
}

.szerencsepalota_footer_col a {
    color: var(--textSecondary);
}

.szerencsepalota_footer_col a:hover, .szerencsepalota_footer_col a.is-active {
    color: var(--textPrimary);
}

.szerencsepalota_partner_logos {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.szerencsepalota_partner_link {
    display: inline-block;
    padding: 8px;
    border-radius: 4px;
}

.szerencsepalota_partner_link img {
    height: 30px;
    width: auto;
}

.szerencsepalota_gamcare_bg {
    background-color: #2D2D2D;
}

.szerencsepalota_gambleaware_bg {
    background-color: #FFFFFF;
}

.szerencsepalota_footer_identity {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--textSecondary);
    text-align: center;
}

.szerencsepalota_footer_nrm {
    margin-top: 15px;
    opacity: 0.8;
}

.szerencsepalota_footer_bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--textSecondary);
    position: relative;
}

.szerencsepalota_hidden_note {
    cursor: pointer;
    opacity: 0.1;
    transition: opacity 0.3s;
}

.szerencsepalota_hidden_note:hover {
    opacity: 1;
    color: var(--accent);
}

.szerencsepalota_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.szerencsepalota_modal.is-open {
    opacity: 1;
    visibility: visible;
}

.szerencsepalota_modal_content {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    position: relative;
}

.szerencsepalota_modal_close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--textPrimary);
    font-size: 1.5rem;
    cursor: pointer;
}

.szerencsepalota_modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.szerencsepalota_modal input {
    padding: 12px;
    background: var(--background);
    border: 1px solid var(--textSecondary);
    color: var(--textPrimary);
    border-radius: 4px;
}

.szerencsepalota_notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--background);
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 300;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.szerencsepalota_notification.show {
    transform: translateX(0);
}

/* Lobby / Buehne specific */
.szerencsepalota_lobby_main {
    padding: 40px 0 80px;
}

.szerencsepalota_lobby_header {
    margin-bottom: 40px;
}

.szerencsepalota_lobby_featured_split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.szerencsepalota_stack_col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.szerencsepalota_drawer_container {
    margin-top: 40px;
    border: 1px solid var(--surface);
    border-radius: var(--border-radius);
}

.szerencsepalota_drawer_toggle {
    width: 100%;
    background: var(--surface);
    color: var(--textPrimary);
    border: none;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
}

.szerencsepalota_drawer_content {
    display: none;
    padding: 15px;
    background: rgba(31, 26, 55, 0.5);
    color: var(--textSecondary);
    font-size: 0.9rem;
}

.szerencsepalota_drawer_content.is-open {
    display: block;
}

/* Page content generic */
.szerencsepalota_page_main {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.szerencsepalota_content_block {
    margin-bottom: 40px;
}

.szerencsepalota_grid_3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.szerencsepalota_feature_box {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.szerencsepalota_center_action {
    text-align: center;
    margin-top: 40px;
}

.szerencsepalota_contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--surface);
    padding: 30px;
    border-radius: var(--border-radius);
}

.szerencsepalota_form_group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.szerencsepalota_form_group input, .szerencsepalota_form_group textarea {
    padding: 10px;
    background: var(--background);
    border: 1px solid var(--textSecondary);
    color: var(--textPrimary);
    border-radius: 4px;
    font-family: var(--font-body);
}

/* Animations */
@keyframes spinReel {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); opacity: 0.5; }
}

.is-spinning [data-slot-symbol] {
    animation: spinReel 0.1s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .szerencsepalota_burger {
        display: flex;
    }
    
    .szerencsepalota_nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
    }
    
    .szerencsepalota_nav.is-open {
        display: flex;
    }
    
    .szerencsepalota_nav_list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .szerencsepalota_auth_area {
        flex-direction: column;
        width: 80%;
    }
    
    .szerencsepalota_auth_area button {
        width: 100%;
    }
    
    .szerencsepalota_hero_text_area h1 {
        font-size: 2rem;
    }
    
    .szerencsepalota_hero_dock {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .szerencsepalota_split_grid {
        grid-template-columns: 1fr;
    }

    .szerencsepalota_lobby_featured_split {
        grid-template-columns: 1fr;
    }

    .szerencsepalota_social_games_zone {
        max-width: 100%;
    }
}

/* 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: #111111 !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: #111111 !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;
}
