/* ==========================================================================
   5 DISTINCT MULTI-SITE PAGE LAYOUTS ARCHITECTURE
   buffalobonus.win / Multi-Tenant Network
   Layout 1: Classic Casino Portal (Baseline)
   Layout 2: App Store & Google Play Lander (Native Mobile Drive)
   Layout 3: Casino Lounge App (Stake / Chumba / Web3 Sidebar Hub)
   Layout 4: Split-Screen Vegas (50/50 Hero, Interactive Slot Demo, Podium)
   Layout 5: Monaco Grand Salon (Luxury Magazine & Curated Spotlight)
   ========================================================================== */

/* -------------------------------------------------------------
   1. VISIBILITY CONTROLLER & DISPLAY TOGGLES
------------------------------------------------------------- */
.layout-section { 
    display: none !important; 
}

/* LAYOUT 1: Classic Casino Portal */
html[data-layout="layout1"] #layout-1-root,
body[data-layout="layout1"] #layout-1-root,
body.layout-layout1 #layout-1-root,
html:not([data-layout]) #layout-1-root,
body:not([data-layout]) #layout-1-root,
html[data-layout=""] #layout-1-root,
body[data-layout=""] #layout-1-root {
    display: block !important;
}

/* LAYOUT 2: App Store & Google Play Lander */
html[data-layout="layout2"] #layout-2-root,
body[data-layout="layout2"] #layout-2-root,
body.layout-layout2 #layout-2-root {
    display: block !important;
}

/* LAYOUT 3: Casino Lounge App (Sidebar) */
html[data-layout="layout3"] #layout-3-root,
body[data-layout="layout3"] #layout-3-root,
body.layout-layout3 #layout-3-root {
    display: block !important;
}

/* LAYOUT 4: Split-Screen Vegas */
html[data-layout="layout4"] #layout-4-root,
body[data-layout="layout4"] #layout-4-root,
body.layout-layout4 #layout-4-root {
    display: block !important;
}

/* LAYOUT 5: Monaco Grand Salon */
html[data-layout="layout5"] #layout-5-root,
body[data-layout="layout5"] #layout-5-root,
body.layout-layout5 #layout-5-root {
    display: block !important;
}

/* Contextual footer and bottom floating bar overrides for App & Lounge & Dedicated Layouts */
html[data-layout="layout2"] .page-footer,
body[data-layout="layout2"] .page-footer,
html[data-layout="layout2"] .mobile-dock,
body[data-layout="layout2"] .mobile-dock,
html[data-layout="layout2"] #mobile-floating-nav,
body[data-layout="layout2"] #mobile-floating-nav,
html[data-layout="layout3"] .page-footer,
body[data-layout="layout3"] .page-footer,
html[data-layout="layout3"] .mobile-dock,
body[data-layout="layout3"] .mobile-dock,
html[data-layout="layout3"] #mobile-floating-nav,
body[data-layout="layout3"] #mobile-floating-nav,
html[data-layout="layout4"] .mobile-dock,
body[data-layout="layout4"] .mobile-dock,
html[data-layout="layout5"] .mobile-dock,
body[data-layout="layout5"] .mobile-dock {
    display: none !important;
}

/* =============================================================
   LAYOUT 2: APP STORE & GOOGLE PLAY MOBILE LANDER (OVERHAUL)
============================================================= */
.l2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    background: rgba(10, 15, 26, 0.96);
    border-bottom: 2px solid var(--gold);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
[data-theme-type="light"] .l2-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.l2-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--gold-bright);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
[data-theme-type="light"] .l2-header-badge {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--gold);
}
.btn-l2-header-store {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-l2-header-store:hover {
    border-color: var(--gold);
    background: #1e293b;
    transform: translateY(-1px);
}
.btn-l2-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-grad);
    color: #000000;
    border: none;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    transition: all 0.2s ease;
}
.btn-l2-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.7);
}

/* --- HERO STAGE --- */
.l2-hero-wrap {
    max-width: 1360px;
    margin: 20px auto 40px;
    padding: 0 24px;
}
.l2-hero-stage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(6, 10, 20, 0.94) 0%, rgba(12, 17, 28, 0.88) 50%, rgba(20, 28, 50, 0.92) 100%),
                url('/games/slot/wild_buffalo/ultraways/assets/background.webp');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 48px 52px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.7), 0 0 35px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}
[data-theme="nilegold"] .l2-hero-stage {
    background: linear-gradient(135deg, rgba(10, 8, 22, 0.94) 0%, rgba(18, 14, 38, 0.88) 50%, rgba(30, 24, 60, 0.92) 100%),
                url('/themes/nilegold/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
}
[data-theme-type="light"] .l2-hero-stage {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%),
                url('/games/slot/wild_buffalo/ultraways/assets/background.webp');
    background-size: cover;
    background-position: center;
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 25px rgba(0, 0, 0, 0.05);
}

.l2-hero-stage::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.l2-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(255, 215, 0, 0.25));
    border: 1.5px solid var(--emerald);
    color: var(--emerald);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.l2-headline {
    font-family: 'Cinzel', serif;
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
[data-theme-type="light"] .l2-headline {
    color: #0f172a;
    text-shadow: none;
}
.l2-headline span.gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.35));
}

.l2-desc {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 580px;
}
[data-theme-type="light"] .l2-desc {
    color: #475569;
}

/* Store Badges Row */
.l2-store-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.btn-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    color: #ffffff;
    border: 1.5px solid #475569;
    padding: 9px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    min-width: 175px;
}
.btn-store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7), 0 0 15px rgba(255, 215, 0, 0.3);
}
.btn-store-badge img,
.btn-store-badge svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.btn-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}
.btn-store-small {
    font-size: 0.62rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 500;
}
.btn-store-big {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
}

/* Desktop QR Code Card */
.l2-qr-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(10, 15, 26, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 16px;
    padding: 12px 18px;
    max-width: 440px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
[data-theme-type="light"] .l2-qr-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.l2-qr-box {
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.l2-qr-box svg {
    width: 100%;
    height: 100%;
}
.l2-qr-info {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.35;
}
[data-theme-type="light"] .l2-qr-info {
    color: #334155;
}

/* Social Proof Bar */
.l2-social-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.l2-proof-stars {
    color: #fbbf24;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- IPHONE 16 PRO MOCKUP (HIGH-END CASINO REEL ENGINE) --- */
.l2-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.l2-phone-frame {
    width: 310px;
    height: 610px;
    background: #000000;
    border-radius: 48px;
    border: 11px solid #1e293b;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 50px rgba(255, 215, 0, 0.25);
    position: relative;
    overflow: hidden;
}
[data-theme-type="light"] .l2-phone-frame {
    border-color: #0f172a;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3), 0 0 30px rgba(0,0,0,0.1);
}
.l2-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 24px;
    background: #000000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.l2-phone-screen {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 12px 16px;
    user-select: none;
}

/* Status Bar */
.l2-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0 10px 4px;
    z-index: 15;
}

/* In-Game Header */
.l2-ingame-hud {
    background: rgba(10, 15, 26, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(8px);
    margin-bottom: 8px;
}
.l2-hud-player {
    display: flex;
    align-items: center;
    gap: 6px;
}
.l2-hud-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #000;
    border: 1px solid #fff;
}
.l2-hud-info {
    line-height: 1.1;
    text-align: left;
}
.l2-hud-name {
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
}
.l2-hud-level {
    font-size: 0.55rem;
    color: var(--gold-bright);
    font-weight: 700;
}
.l2-hud-balance {
    text-align: right;
    line-height: 1.1;
}
.l2-hud-coins-label {
    font-size: 0.55rem;
    color: #94a3b8;
    text-transform: uppercase;
}
.l2-hud-coins-amt {
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold-bright);
}

/* 3x3 Real Slot Reels Matrix */
.l2-slot-stage {
    background: rgba(8, 12, 20, 0.92);
    border: 1.5px solid var(--gold);
    border-radius: 14px;
    padding: 8px 6px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 8px;
}
.l2-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    position: relative;
}
.l2-reel-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.l2-symbol-card {
    height: 60px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.4) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.l2-symbol-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}
/* Winning Middle Row Highlights */
.l2-symbol-card.winning {
    border: 1.5px solid var(--gold);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, rgba(10, 15, 26, 0.8) 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(255, 215, 0, 0.3);
    animation: pulseWinSymbol 1.8s infinite alternate;
}
.l2-symbol-card.winning img {
    transform: scale(1.12);
}
@keyframes pulseWinSymbol {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
    100% { transform: scale(1.03); box-shadow: 0 0 20px rgba(255, 215, 0, 0.85); }
}

/* Golden Laser Payline */
.l2-laser-payline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #ffffff, #ffd700, transparent);
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
    animation: laserGlow 1.5s ease-in-out infinite alternate;
}
@keyframes laserGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Super Mega Win Banner */
.l2-screen-win-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(220, 38, 38, 0.95));
    border: 1.5px solid #fff;
    border-radius: 12px;
    padding: 6px 8px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    margin-bottom: 8px;
    animation: winBannerPop 0.8s ease;
}
.l2-win-header {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.l2-win-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    line-height: 1;
}

/* Bottom In-Game Controller */
.l2-slot-controls {
    background: rgba(10, 15, 26, 0.9);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.l2-controls-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    color: #94a3b8;
    margin-bottom: 5px;
    padding: 0 4px;
}
.btn-l2-spin-mockup {
    width: 100%;
    background: var(--gold-grad);
    color: #000000;
    border: none;
    padding: 9px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s ease;
}
.btn-l2-spin-mockup:hover {
    transform: scale(1.02);
}

.l2-floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1.5px solid var(--gold);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    z-index: 12;
    animation: floatBadge 3s ease-in-out infinite alternate;
}
.l2-floating-badge.badge-top {
    top: 40px;
    right: -25px;
}
.l2-floating-badge.badge-bottom {
    bottom: 50px;
    left: -30px;
}

/* =============================================================
   WEBPARTS GOING DOWN THE PAGE
============================================================= */

/* 1. Metrics Ribbon Strip */
.l2-metrics-ribbon {
    max-width: 1360px;
    margin: 0 auto 50px;
    padding: 0 24px;
}
.l2-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 24px 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
[data-theme-type="light"] .l2-metrics-grid {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.l2-metric-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.l2-metric-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.l2-metric-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-bright);
    line-height: 1.1;
}
[data-theme-type="light"] .l2-metric-num {
    color: var(--gold);
}
.l2-metric-label {
    font-size: 0.76rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}
[data-theme-type="light"] .l2-metric-label {
    color: #64748b;
}

/* 2. Top Games Showcase Grid */
.l2-games-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-section-head {
    text-align: center;
    margin-bottom: 34px;
}
.l2-section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
[data-theme-type="light"] .l2-section-title {
    color: #0f172a;
}
.l2-section-sub {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
}
[data-theme-type="light"] .l2-section-sub {
    color: #64748b;
}
.l2-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.l2-game-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
[data-theme-type="light"] .l2-game-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.l2-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255, 215, 0, 0.2);
}
.l2-game-thumb {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}
.l2-game-hero-icon {
    position: absolute;
    right: 12px;
    bottom: -16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.7);
    z-index: 2;
}
.l2-game-badge {
    background: rgba(0,0,0,0.75);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
}
.l2-game-body {
    padding: 20px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.l2-game-title {
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.25;
}
[data-theme-type="light"] .l2-game-title {
    color: #0f172a;
}
.l2-game-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-bottom: 12px;
}
.btn-l2-play {
    width: 100%;
    background: var(--gold-grad);
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}
.btn-l2-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
}

/* 3. App Features 4-Card Grid */
.l2-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    transition: all 0.25s ease;
}
[data-theme-type="light"] .l2-feature-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.l2-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.l2-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}
.l2-feature-title {
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
[data-theme-type="light"] .l2-feature-title {
    color: #0f172a;
}
.l2-feature-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.45;
}
[data-theme-type="light"] .l2-feature-desc {
    color: #475569;
}

/* 4. Device Native Perks Showcase */
.l2-device-showcase {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-device-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.l2-device-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
[data-theme-type="light"] .l2-device-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.l2-device-icon {
    font-size: 2.2rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.l2-device-info h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
[data-theme-type="light"] .l2-device-info h4 {
    color: #0f172a;
}
.l2-device-info p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}
[data-theme-type="light"] .l2-device-info p {
    color: #475569;
}

/* 5. 3-Step Install Guide */
.l2-install-steps {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.l2-step-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    text-align: center;
}
[data-theme-type="light"] .l2-step-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.l2-step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gold-grad);
    color: #000000;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}
.l2-step-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 8px;
}
[data-theme-type="light"] .l2-step-title {
    color: #0f172a;
}
.l2-step-desc {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.5;
}
[data-theme-type="light"] .l2-step-desc {
    color: #475569;
}

/* 6. Verified Reviews Grid */
.l2-reviews-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.l2-review-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
[data-theme-type="light"] .l2-review-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

/* 7. Specs Table */
.l2-specs-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-specs-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
[data-theme-type="light"] .l2-specs-card {
    background: #ffffff;
    border-color: #cbd5e1;
}
.l2-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.l2-specs-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}
[data-theme-type="light"] .l2-specs-table td {
    border-bottom-color: #f1f5f9;
}
.l2-specs-label {
    font-weight: 700;
    color: #94a3b8;
    width: 35%;
}
[data-theme-type="light"] .l2-specs-label {
    color: #64748b;
}
.l2-specs-val {
    color: #ffffff;
    font-weight: 600;
}
[data-theme-type="light"] .l2-specs-val {
    color: #0f172a;
}

/* 8. FAQ Accordion */
.l2-faq-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-faq-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}
[data-theme-type="light"] .l2-faq-item {
    background: #ffffff;
    border-color: #cbd5e1;
}
.l2-faq-q {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}
[data-theme-type="light"] .l2-faq-q {
    color: #0f172a;
}
.l2-faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.2s ease;
}
.l2-faq-item.open .l2-faq-q::after {
    transform: rotate(45deg);
}
.l2-faq-a {
    display: none;
    padding: 0 22px 18px;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}
[data-theme-type="light"] .l2-faq-a {
    color: #475569;
}
.l2-faq-item.open .l2-faq-a {
    display: block;
}

/* 9. Final High-Impact Conversion Banner */
.l2-cta-banner {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l2-cta-card {
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.95) 0%, rgba(10, 15, 26, 0.98) 100%);
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6), 0 0 35px rgba(255, 215, 0, 0.2);
}
[data-theme-type="light"] .l2-cta-card {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}
.l2-cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}
[data-theme-type="light"] .l2-cta-title {
    color: #0f172a;
}
.l2-cta-sub {
    font-size: 0.98rem;
    color: #cbd5e1;
    margin-bottom: 26px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
[data-theme-type="light"] .l2-cta-sub {
    color: #475569;
}

/* 10. Compliance & Responsible Gaming Footer */
.l2-compliance-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #06090f;
    padding: 30px 24px 60px;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.6;
}
[data-theme-type="light"] .l2-compliance-footer {
    background: #f8fafc;
    border-top-color: #e2e8f0;
    color: #64748b;
}

/* Universal Responsible Gaming Badge Bar (All Layouts) */
.responsible-gaming-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: rgba(14, 20, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    margin-bottom: 24px;
}
[data-theme-type="light"] .responsible-gaming-bar {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.rg-logo-item {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}
.rg-logo-item:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255,215,0,0.4));
}
.rg-logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
.free-play-ribbon {
    background: linear-gradient(90deg, #10b981, #00f0c8);
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sticky Mobile Download Footer */
.l2-sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-top: 2px solid var(--gold);
    padding: 10px 16px;
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
}
[data-theme-type="light"] .l2-sticky-mobile-bar {
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid var(--gold);
}

@media (max-width: 1024px) {
    .l2-games-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-features-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .l2-hero-stage {
        grid-template-columns: 1fr;
        padding: 32px 20px;
        text-align: center;
    }
    .l2-headline { font-size: 2.1rem; }
    .l2-desc { margin: 0 auto 20px; }
    .l2-store-buttons { justify-content: center; }
    .l2-qr-card { margin: 0 auto 20px; display: none; }
    .l2-social-proof { justify-content: center; }
    .l2-device-grid { grid-template-columns: 1fr; }
    .l2-steps-grid { grid-template-columns: 1fr; }
    .l2-reviews-grid { grid-template-columns: 1fr; }
    .l2-sticky-mobile-bar { display: flex; }
}

@media (max-width: 600px) {
    .l2-games-grid { grid-template-columns: 1fr; }
    .l2-metrics-grid { grid-template-columns: 1fr; }
    .l2-features-grid { grid-template-columns: 1fr; }
    .btn-l2-header-store { display: none; }
}
@media (max-width: 900px) {
    .l2-hero-stage {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        text-align: center;
    }
    .l2-headline { font-size: 2rem; }
    .l2-desc { margin: 0 auto 20px; }
    .l2-store-buttons { justify-content: center; }
    .l2-qr-card { margin: 0 auto 20px; display: none; }
    .l2-social-proof { justify-content: center; }
    .l2-features-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-reviews-grid { grid-template-columns: 1fr; }
    .l2-sticky-mobile-bar { display: flex; }
}

/* =============================================================
   LAYOUT 3: CASINO LOUNGE APP (SIDEBAR & TABBED HUB)
============================================================= */
.l3-app-shell {
    display: flex;
    min-height: 100vh;
    background: #090d16;
}
[data-theme-type="light"] .l3-app-shell {
    background: #f8fafc;
}

.l3-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0c111c;
    border-right: 1.5px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
[data-theme-type="light"] .l3-sidebar {
    background: #ffffff;
    border-right-color: #e2e8f0;
}

.l3-brand-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
    text-decoration: none;
}
.l3-brand-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold-bright);
}
[data-theme-type="light"] .l3-brand-title {
    color: var(--gold);
}

.l3-nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}
.l3-nav-label {
    font-size: 0.65rem;
    font-family: 'Oswald', sans-serif;
    color: #64748b;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.l3-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.l3-nav-link:hover, .l3-nav-link.active {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold-bright);
}
[data-theme-type="light"] .l3-nav-link {
    color: #334155;
}
[data-theme-type="light"] .l3-nav-link:hover,
[data-theme-type="light"] .l3-nav-link.active {
    background: #f1f5f9;
    color: var(--gold);
}

.l3-user-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 12px;
}
[data-theme-type="light"] .l3-user-card {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.l3-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.l3-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    background: rgba(12, 17, 28, 0.95);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
}
[data-theme-type="light"] .l3-topbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: #e2e8f0;
}

.l3-search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 14px 8px 36px;
    border-radius: 20px;
    font-size: 0.85rem;
    width: 240px;
    transition: all 0.2s ease;
}
[data-theme-type="light"] .l3-search-input {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}
.l3-search-input:focus {
    width: 320px;
    border-color: var(--gold);
    outline: none;
}

/* Category Pills Strip */
.l3-cat-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px 0;
    overflow-x: auto;
}
.l3-cat-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.l3-cat-btn:hover, .l3-cat-btn.active {
    background: var(--gold-grad);
    color: #000000;
    border-color: transparent;
}

/* =============================================================
   LAYOUT 4: COMMAND CASINO HEADER (HIGH ROLLER NEON ARCHITECTURE)
============================================================= */
.l4-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 12, 22, 0.96);
    border-bottom: 2px solid var(--gold);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.8), 0 0 25px rgba(255, 215, 0, 0.2);
}
[data-theme-type="light"] .l4-header-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Tier 1: Top High Roller Broadcast Marquee */
.l4-top-ticker-bar {
    width: 100%;
    background: rgba(4, 7, 14, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme-type="light"] .l4-top-ticker-bar {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}
.l4-top-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 36px;
    font-size: 0.74rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    color: #94a3b8;
    max-width: 1920px;
    margin: 0 auto;
}
[data-theme-type="light"] .l4-top-ticker-inner {
    color: #64748b;
}
.l4-top-ticker-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.l4-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
    font-weight: 800;
    text-transform: uppercase;
}
.l4-live-indicator .pulse-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: l4Pulse 1.2s infinite;
}
.l4-ticker-divider {
    color: rgba(255, 255, 255, 0.2);
}
.l4-top-broadcast-txt strong {
    color: #ffd700;
}
[data-theme-type="light"] .l4-top-broadcast-txt strong,
[data-theme-type="light"] .l4-top-broadcast-txt .l4-leader-val {
    color: #b45309 !important;
}
.l4-top-ticker-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.l4-top-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.l4-top-spec.red {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.68rem;
}
.l4-sound-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #ffd700;
    border-radius: 14px;
    padding: 3px 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
[data-theme-type="light"] .l4-sound-pill {
    background: #ffffff;
    border-color: #d97706;
    color: #b45309;
}
.l4-sound-pill:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}
.eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}
.eq-bars span {
    width: 2px;
    background: #ffd700;
    border-radius: 1px;
    animation: eqBounce 0.8s ease-in-out infinite alternate;
}
[data-theme-type="light"] .eq-bars span {
    background: #b45309;
}
.eq-bars span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.eq-bars span:nth-child(2) { height: 10px; animation-delay: 0.3s; }
.eq-bars span:nth-child(3) { height: 6px; animation-delay: 0.2s; }
@keyframes eqBounce {
    0% { height: 2px; }
    100% { height: 10px; }
}

/* Tier 2: Main Command Bar */
.l4-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 36px;
    gap: 24px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Left Brand Area */
.l4-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.l4-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.l4-brand-crest {
    font-size: 2rem;
    color: var(--gold);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
    animation: l4CrestPulse 3s ease-in-out infinite alternate;
}
@keyframes l4CrestPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.95)); }
}
.l4-brand-titles {
    display: flex;
    flex-direction: column;
}
.l4-brand-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.l4-brand-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}
[data-theme-type="light"] .l4-brand-tagline {
    color: #64748b;
}
.l4-certified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #6ee7b7;
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Center Column: Navigation & Instant Search */
.l4-header-center {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

/* Center Navigation Menu */
.l4-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4px 6px;
}
[data-theme-type="light"] .l4-nav-menu {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.l4-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 18px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
[data-theme-type="light"] .l4-nav-item {
    color: #334155;
}
.l4-nav-item:hover, .l4-nav-item.active {
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}
[data-theme-type="light"] .l4-nav-item:hover, [data-theme-type="light"] .l4-nav-item.active {
    background: #ffffff;
    color: #b45309;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.l4-nav-item .nav-icon {
    font-size: 0.95rem;
}

/* Instant Search Input */
.l4-header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
    flex-shrink: 0;
}
.l4-search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.85rem;
    color: #94a3b8;
    pointer-events: none;
}
.l4-header-search input {
    width: 100%;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 18px;
    padding: 0 32px 0 34px;
    color: #ffffff;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}
[data-theme-type="light"] .l4-header-search input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
.l4-header-search input:focus {
    width: 260px;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
[data-theme-type="light"] .l4-header-search input:focus {
    background: #ffffff;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.2);
}
.l4-search-kbd {
    position: absolute;
    right: 10px;
    font-family: monospace;
    font-size: 0.68rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    pointer-events: none;
}

/* Right HUD Actions */
.l4-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Live Wallet Chip HUD */
.l4-wallet-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
    border: 1.5px solid var(--gold);
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}
[data-theme-type="light"] .l4-wallet-chip {
    background: #ffffff;
    border-color: #d97706;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.l4-wallet-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.l4-chip-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(255,215,0,0.5));
}
.l4-chip-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.l4-chip-label {
    font-size: 0.6rem;
    font-family: 'Oswald', sans-serif;
    color: #94a3b8;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.l4-chip-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 0.03em;
    line-height: 1;
}
[data-theme-type="light"] .l4-chip-amount {
    color: #b45309;
}
.l4-quick-reload-btn {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--gold);
    color: #ffd700;
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.l4-quick-reload-btn:hover {
    background: var(--gold-grad);
    color: #000000;
}

/* VIP Badge */
.l4-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(168, 85, 247, 0.18);
    border: 1.5px solid #a855f7;
    color: #e9d5ff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.25);
}
.l4-vip-badge .vip-crown {
    font-size: 0.9rem;
    filter: drop-shadow(0 0 6px #d8b4fe);
}
[data-theme-type="light"] .l4-vip-badge {
    background: #f5f3ff;
    border-color: #9333ea;
    color: #6b21a8;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.15);
}
[data-theme-type="light"] .l4-vip-badge .vip-crown {
    filter: drop-shadow(0 0 4px rgba(147, 51, 234, 0.4));
}

/* Primary Claim Action Button */
.l4-claim-btn {
    background: var(--gold-grad);
    color: #000000;
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 0 22px;
    height: 42px;
    border-radius: 21px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.55);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.l4-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.8);
}
.btn-shimmer {
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    animation: l4BtnShimmer 3s infinite;
}
@keyframes l4BtnShimmer {
    0% { left: -100%; }
    30%, 100% { left: 200%; }
}

/* Responsive Nav for Layout 4 Header */
@media (max-width: 1400px) {
    .l4-header-search { display: none; }
    .l4-nav-menu { gap: 4px; }
    .l4-nav-item { padding: 6px 10px; font-size: 0.78rem; }
}
@media (max-width: 1100px) {
    .l4-top-ticker-bar { display: none; }
    .l4-header-center { display: none; }
    .l4-nav-menu { display: none; }
    .l4-main-header { padding: 10px 20px; }
}
@media (max-width: 600px) {
    .l4-vip-badge { display: none; }
    .l4-brand-tagline { display: none; }
    .l4-brand-title { font-size: 1.15rem; }
    .l4-certified-badge { display: none; }
    .l4-claim-btn { padding: 0 14px; font-size: 0.78rem; height: 38px; }
}

/* =============================================================
   LAYOUT 4: SPLIT-SCREEN VEGAS HERO (EXPANDED GRAPHICAL OVERHAUL)
============================================================= */
.l4-hero-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    min-height: 600px;
    border-bottom: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 80% 35%, rgba(255, 215, 0, 0.15) 0%, transparent 60%),
        linear-gradient(90deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.5) 50%, rgba(8, 12, 22, 0.72) 100%),
        var(--theme-hero-bg, url('/games/slot/wild_buffalo/ultraways/assets/background.webp'));
    background-size: cover;
    background-position: center;
}
.l4-hero-split::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% -10%, rgba(255, 215, 0, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
[data-theme="nilegold"] .l4-hero-split {
    background: 
        radial-gradient(circle at 80% 35%, rgba(255, 215, 0, 0.2) 0%, transparent 60%),
        linear-gradient(90deg, rgba(12, 10, 24, 0.88) 0%, rgba(12, 10, 24, 0.55) 50%, rgba(12, 10, 24, 0.75) 100%),
        url('/themes/nilegold/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
}
[data-theme-type="light"] .l4-hero-split {
    background: 
        radial-gradient(circle at 80% 35%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.52) 50%, rgba(255, 255, 255, 0.75) 100%),
        var(--theme-hero-bg, url('/games/slot/wild_buffalo/ultraways/assets/background.webp'));
    background-size: cover;
    background-position: center;
}

.l4-hero-left {
    padding: 60px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.l4-hero-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: none;
    position: relative;
    z-index: 2;
    background: transparent;
    backdrop-filter: none;
}
[data-theme-type="light"] .l4-hero-right {
    background: transparent;
    border-left: none;
    backdrop-filter: none;
}

.l4-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.22);
    border: 1.5px solid #ef4444;
    color: #fca5a5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    width: fit-content;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}
.l4-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 30px rgba(255, 215, 0, 0.25);
}
[data-theme-type="light"] .l4-hero-title {
    color: #0f172a;
    text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.l4-hero-title span.neon-gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(255, 215, 0, 0.6));
}
.l4-hero-desc {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 560px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
[data-theme-type="light"] .l4-hero-desc {
    color: #475569;
    text-shadow: none;
}

/* Feature Spec Tags Row */
.l4-hero-specs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.l4-spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #f1f5f9;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.l4-spec-tag.green {
    border-color: #10b981;
    color: #6ee7b7;
}
[data-theme-type="light"] .l4-spec-tag {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.l4-ticker-tape {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 8px 18px;
    border-radius: 14px;
    font-size: 0.84rem;
    color: #fbbf24;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
[data-theme-type="light"] .l4-ticker-tape {
    background: #ffffff;
    border-color: #f59e0b;
    color: #92400e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Interactive Graphical Mini Slot Cabinet */
.l4-mini-slot-box {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 3px solid var(--gold);
    border-radius: 26px;
    padding: 24px 22px;
    width: 400px;
    max-width: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 50px rgba(255, 215, 0, 0.35);
    text-align: center;
    position: relative;
}
[data-theme-type="light"] .l4-mini-slot-box {
    background: #ffffff;
    border-color: #d97706;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12), 0 0 30px rgba(217, 119, 6, 0.2);
}
.l4-slot-marquee {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gold-bright);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}
.l4-slot-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}
.l4-reels-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #000000;
    border: 2.5px solid #334155;
    border-radius: 18px;
    padding: 12px;
    margin: 12px 0 16px;
    position: relative;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.9), 0 4px 15px rgba(0,0,0,0.5);
}
.l4-laser-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #ffffff, #ffd700, transparent);
    box-shadow: 0 0 12px #ffd700;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
}
.l4-reel {
    height: 98px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.5) 100%);
    border: 1.5px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}
.l4-reel img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
    transition: transform 0.2s ease;
}
.l4-reel.spinning img {
    animation: l4ReelBlur 0.12s linear infinite;
}
@keyframes l4ReelBlur {
    0% { transform: translateY(-16px) scale(0.9); opacity: 0.6; }
    50% { transform: translateY(16px) scale(0.9); opacity: 0.6; }
    100% { transform: translateY(-16px) scale(0.9); opacity: 0.6; }
}
.l4-reel.winning {
    border-color: var(--gold);
    background: radial-gradient(circle, rgba(255,215,0,0.35) 0%, rgba(15,23,42,0.85) 100%);
    box-shadow: 0 0 20px rgba(255,215,0,0.7);
}
.l4-reel.winning img {
    transform: scale(1.12);
}

.l4-spin-btn {
    background: var(--gold-grad);
    color: #000000;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 13px 24px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.6);
    transition: all 0.2s ease;
    width: 100%;
}
.l4-spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.8);
}


/* =============================================================
   TOURNAMENT CHAMPIONS ARENA PODIUM (3D SPECTACULAR OVERHAUL)
============================================================= */
.l4-podium-section {
    max-width: 1360px;
    margin: 50px auto 70px;
    padding: 56px 40px 44px;
    text-align: center;
    background: 
        radial-gradient(ellipse 70% 60% at 50% 5%, rgba(255, 215, 0, 0.24) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 15% 90%, rgba(56, 189, 248, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 85% 90%, rgba(239, 68, 68, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, rgba(8, 12, 22, 0.88) 0%, rgba(15, 23, 42, 0.94) 50%, rgba(5, 8, 16, 0.98) 100%),
        url('/games/slot/greek_olympus/ultraways/assets/background.webp');
    background-size: cover;
    background-position: center top;
    border: 2px solid var(--gold);
    border-radius: 36px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.9), 0 0 50px rgba(255, 215, 0, 0.28);
    position: relative;
    overflow: hidden;
}
.l4-podium-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 10%;
    width: 340px;
    height: 700px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.08) 45%, transparent 75%);
    transform: rotate(22deg);
    pointer-events: none;
    filter: blur(28px);
    z-index: 1;
}
.l4-podium-section::after {
    content: '';
    position: absolute;
    top: -120px;
    right: 10%;
    width: 340px;
    height: 700px;
    background: linear-gradient(-135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.08) 45%, transparent 75%);
    transform: rotate(-22deg);
    pointer-events: none;
    filter: blur(28px);
    z-index: 1;
}
[data-theme-type="light"] .l4-podium-section {
    background: 
        radial-gradient(ellipse 70% 60% at 50% 5%, rgba(245, 158, 11, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%),
        url('/games/slot/greek_olympus/ultraways/assets/background.webp');
    border-color: rgba(217, 119, 6, 0.45);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08), 0 0 35px rgba(217, 119, 6, 0.15);
}

.l4-podium-content-wrap {
    position: relative;
    z-index: 3;
}

/* 3D Stage Deck Architecture */
.l4-podium-deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
    position: relative;
    z-index: 3;
}
.l4-podium-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 920px;
    position: relative;
    z-index: 3;
}
.l4-podium-stage-base {
    width: 100%;
    max-width: 980px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255,215,0,0.6) 0%, rgba(30,41,59,0.95) 30%, rgba(10,15,26,0.98) 100%);
    border: 2px solid var(--gold);
    border-top: 3px solid #ffd700;
    border-radius: 8px 8px 18px 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9), 0 0 30px rgba(255,215,0,0.35);
    margin-top: -6px;
    position: relative;
    z-index: 2;
}
[data-theme-type="light"] .l4-podium-stage-base {
    background: linear-gradient(180deg, #fbbf24 0%, #cbd5e1 35%, #94a3b8 100%);
    border-color: #d97706;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* 3D Pedestal Columns */
.l4-podium-step {
    border-radius: 24px 24px 0 0;
    padding: 24px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 270px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.l4-podium-step:hover {
    transform: translateY(-8px);
}

/* 1st Place Gold Champion */
.l4-podium-step.gold {
    height: 350px;
    order: 2;
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 20%, #d97706 50%, #92400e 85%, #451a03 100%);
    border: 3px solid #ffd700;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.5), 0 0 45px rgba(255, 215, 0, 0.4), inset 0 2px 8px rgba(255,255,255,0.7);
    color: #ffffff;
}
/* 2nd Place Silver Runner-Up */
.l4-podium-step.silver {
    height: 270px;
    order: 1;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 20%, #94a3b8 50%, #475569 85%, #1e293b 100%);
    border: 2.5px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.35), inset 0 2px 6px rgba(255,255,255,0.6);
    color: #ffffff;
}
/* 3rd Place Bronze */
.l4-podium-step.bronze {
    height: 225px;
    order: 3;
    background: linear-gradient(180deg, #ffedd5 0%, #fb923c 20%, #ea580c 50%, #9a3412 85%, #431407 100%);
    border: 2.5px solid #f97316;
    box-shadow: 0 12px 35px rgba(234, 88, 12, 0.35), inset 0 2px 5px rgba(255,255,255,0.5);
    color: #ffffff;
}

/* Floating Trophy Topper */
.l4-trophy-float {
    margin-top: -46px;
    margin-bottom: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: l4TrophyFloat 2.5s ease-in-out infinite;
}
@keyframes l4TrophyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.l4-trophy-icon {
    font-size: 3.2rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
    line-height: 1;
}
.l4-trophy-crown {
    font-size: 1.6rem;
    position: absolute;
    top: -16px;
    filter: drop-shadow(0 0 10px #ffd700);
}

/* Player Avatar Ring */
.l4-avatar-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.l4-podium-step.gold .l4-avatar-ring {
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.8);
}

/* Player Name & Game */
.l4-winner-handle {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.l4-winner-game {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Giant Coins Payout */
.l4-winner-coins {
    font-family: 'Oswald', sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 15px rgba(255,215,0,0.5);
    letter-spacing: 0.04em;
    margin-top: auto;
    line-height: 1.1;
}
.l4-podium-step.silver .l4-winner-coins {
    font-size: 1.35rem;
    color: #f8fafc;
}
.l4-podium-step.bronze .l4-winner-coins {
    font-size: 1.25rem;
    color: #ffedd5;
}

/* Multiplier Ribbon */
.l4-winner-ribbon {
    font-family: 'Oswald', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 12px;
    margin-top: 6px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.l4-podium-step.gold .l4-winner-ribbon {
    background: rgba(0,0,0,0.45);
    border-color: #ffd700;
    color: #ffd700;
}

/* Embossed 3D Roman Numeral Rank */
.l4-pedestal-rank {
    font-family: 'Cinzel', serif;
    font-size: 3.4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.22);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.4), -1px -1px 0 rgba(0,0,0,0.6);
    line-height: 1;
    margin-top: 10px;
    user-select: none;
}
.l4-podium-step.gold .l4-pedestal-rank {
    color: rgba(255, 215, 0, 0.35);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5), -1px -1px 0 rgba(0,0,0,0.7);
}

/* Arena Bottom Footer Bar */
.l4-podium-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(10, 15, 26, 0.85);
    border: 1.5px solid var(--gold);
    border-radius: 20px;
    padding: 16px 24px;
    margin-top: 36px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
}
[data-theme-type="light"] .l4-podium-footer-bar {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.l4-podium-pool-info {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

/* Layout 4 8-Games Grid */
.l4-games-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l4-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Layout 4 VIP Tiers */
.l4-vip-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l4-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.l4-tier-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.25s ease;
}
[data-theme-type="light"] .l4-tier-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.l4-tier-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.l4-tier-badge {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.l4-tier-name {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
[data-theme-type="light"] .l4-tier-name {
    color: #0f172a;
}
.l4-tier-perks {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Layout 4 Tables Showcase */
.l4-tables-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l4-tables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.l4-table-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.l4-table-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.l4-table-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 12px;
}
.l4-table-body {
    padding: 20px;
}

/* Layout 4 Mega Jackpot Banner */
.l4-jackpot-banner {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l4-jackpot-card {
    background: radial-gradient(circle at center, rgba(30, 27, 75, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.25);
}


/* =============================================================
   LAYOUT 5: MONACO GRAND SALON (LUXURY MAGAZINE OVERHAUL)
============================================================= */
.l5-prestige-header {
    text-align: center;
    padding: 28px 24px 20px;
    background: #080b12;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(0,0,0,0.7);
}
[data-theme-type="light"] .l5-prestige-header {
    background: #ffffff;
    border-bottom-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.l5-crest {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 4px;
}
.l5-prestige-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.l5-prestige-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.76rem;
    letter-spacing: 0.28em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 16px;
}
[data-theme-type="light"] .l5-prestige-subtitle {
    color: #64748b;
}
.l5-prestige-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    flex-wrap: wrap;
}
[data-theme-type="light"] .l5-prestige-nav {
    border-top-color: #f1f5f9;
}
.l5-prestige-link {
    color: #cbd5e1;
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
}
.l5-prestige-link:hover {
    color: var(--gold);
    transform: translateY(-1px);
}
[data-theme-type="light"] .l5-prestige-link {
    color: #334155;
}

/* Cover Story Hero */
.l5-cover-hero {
    max-width: 1360px;
    margin: 30px auto 50px;
    padding: 0 24px;
}
.l5-cover-stage {
    background: linear-gradient(135deg, rgba(8, 11, 18, 0.96) 0%, rgba(26, 32, 46, 0.92) 100%),
                url('/themes/nilegold/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 25px 65px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}
[data-theme-type="light"] .l5-cover-stage {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%),
                url('/themes/nilegold/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.l5-portrait-frame {
    position: relative;
    border: 3px solid var(--gold);
    border-radius: 24px;
    padding: 12px;
    background: rgba(10, 15, 26, 0.85);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 30px rgba(255, 215, 0, 0.3);
    text-align: center;
}
.l5-portrait-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.4);
}
.l5-portrait-caption {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin-top: 12px;
    letter-spacing: 0.08em;
}

/* Curated Game of the Week Spotlight */
.l5-spotlight-card {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 36px;
    margin: 40px auto 60px;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
[data-theme-type="light"] .l5-spotlight-card {
    background: #ffffff;
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}
.l5-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
}
.l5-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}
[data-theme-type="light"] .l5-spec-table td {
    border-bottom-color: #f1f5f9;
}
.l5-spec-label {
    color: #94a3b8;
    font-weight: 600;
}
[data-theme-type="light"] .l5-spec-label {
    color: #64748b;
}
.l5-spec-val {
    color: #ffffff;
    font-weight: 800;
    text-align: right;
}
[data-theme-type="light"] .l5-spec-val {
    color: #0f172a;
}

/* Layout 5 Haute 8-Game Collection Grid */
.l5-collection-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l5-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.l5-mag-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
[data-theme-type="light"] .l5-mag-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.l5-mag-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 25px rgba(255, 215, 0, 0.25);
}
.l5-mag-thumb {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 12px;
}
.l5-mag-body {
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.l5-mag-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.25;
}
[data-theme-type="light"] .l5-mag-title {
    color: #0f172a;
}
.l5-mag-sub {
    font-size: 0.72rem;
    color: #fbbf24;
    font-style: italic;
    margin-bottom: 12px;
}

/* Layout 5 4 Pillars Grid */
.l5-pillars-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l5-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.l5-pillar-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.25s ease;
}
[data-theme-type="light"] .l5-pillar-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.l5-pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.l5-pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.l5-pillar-title {
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
[data-theme-type="light"] .l5-pillar-title {
    color: #0f172a;
}
.l5-pillar-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}
[data-theme-type="light"] .l5-pillar-desc {
    color: #475569;
}

/* Layout 5 Salon Chronicles */
.l5-chronicles-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l5-chronicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.l5-chronicle-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.l5-chronicle-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.l5-chronicle-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 14px;
}
.l5-chronicle-body {
    padding: 22px 20px;
}
.l5-chronicle-meta {
    font-size: 0.72rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.l5-chronicle-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}
[data-theme-type="light"] .l5-chronicle-title {
    color: #0f172a;
}
.l5-chronicle-snippet {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.55;
}
[data-theme-type="light"] .l5-chronicle-snippet {
    color: #475569;
}

/* Layout 5 Salon FAQ */
.l5-faq-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

/* Layout 5 Final Invitation Banner */
.l5-invite-banner {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.l5-invite-card {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.95) 0%, rgba(8, 11, 18, 0.98) 100%);
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 50px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 35px rgba(255, 215, 0, 0.25);
}
[data-theme-type="light"] .l5-invite-card {
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

/* Universal Section Titles & Text Contrast (Light & Dark Themes) */
.l4-section-title, .l5-section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
[data-theme-type="light"] .l4-section-title,
[data-theme-type="light"] .l5-section-title,
[data-theme-type="light"] .l4-podium-section h2,
[data-theme-type="light"] .l4-games-section h2,
[data-theme-type="light"] .l4-vip-section h2,
[data-theme-type="light"] .l4-tables-section h2,
[data-theme-type="light"] .l5-spotlight-card h2,
[data-theme-type="light"] .l5-collection-section h2,
[data-theme-type="light"] .l5-pillars-section h2,
[data-theme-type="light"] .l5-chronicles-section h2,
[data-theme-type="light"] .l5-faq-section h2,
[data-theme-type="light"] .l5-invite-card h2 {
    color: #0f172a !important;
}

.l4-section-sub, .l5-section-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
}
[data-theme-type="light"] .l4-section-sub,
[data-theme-type="light"] .l5-section-sub,
[data-theme-type="light"] .l4-podium-section p,
[data-theme-type="light"] .l4-games-section p,
[data-theme-type="light"] .l4-vip-section p,
[data-theme-type="light"] .l4-tables-section p,
[data-theme-type="light"] .l5-collection-section p,
[data-theme-type="light"] .l5-pillars-section p,
[data-theme-type="light"] .l5-chronicles-section p,
[data-theme-type="light"] .l5-faq-section p,
[data-theme-type="light"] .l5-invite-card p {
    color: #475569 !important;
}

.l5-cover-title {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
[data-theme-type="light"] .l5-cover-title {
    color: #0f172a !important;
}

.l5-cover-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 540px;
}
[data-theme-type="light"] .l5-cover-desc {
    color: #334155 !important;
}

.l5-faq-summary {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff;
    outline: none;
}
[data-theme-type="light"] .l5-faq-summary,
[data-theme-type="light"] .l5-faq-section summary {
    color: #0f172a !important;
}
[data-theme-type="light"] .l5-faq-section details {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
[data-theme-type="light"] .l5-faq-section details p {
    color: #475569 !important;
}

/* =============================================================
   WINNING COMBOS SHOWCASE & PAYTABLE MULTIPLIERS
============================================================= */
.combos-showcase-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.combos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.combo-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 22px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
[data-theme-type="light"] .combo-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 6px 22px rgba(0,0,0,0.06);
}
.combo-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 16px 45px rgba(0,0,0,0.7), 0 0 25px rgba(255, 215, 0, 0.3);
}
.combo-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.combo-rarity {
    font-size: 0.72rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
}
.combo-rarity.legendary {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border: 1px solid #ef4444;
}
.combo-rarity.epic {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid #a855f7;
}
.combo-rarity.rare {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid #10b981;
}
.combo-mult-pill {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--gold-bright);
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}
[data-theme-type="light"] .combo-mult-pill {
    color: #b45309;
    text-shadow: none;
}
.combo-symbols-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 8px;
    margin-bottom: 16px;
    position: relative;
}
[data-theme-type="light"] .combo-symbols-track {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.combo-symbol-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}
[data-theme-type="light"] .combo-symbol-icon {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.combo-card:hover .combo-symbol-icon {
    transform: scale(1.06);
}
.combo-symbol-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}
.combo-name {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
[data-theme-type="light"] .combo-name {
    color: #0f172a;
}
.combo-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}
[data-theme-type="light"] .combo-desc {
    color: #475569;
}
.combo-action-btn {
    width: 100%;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
[data-theme-type="light"] .combo-action-btn {
    background: #fef3c7;
    color: #92400e;
    border-color: #d97706;
}
.combo-action-btn:hover {
    background: var(--gold-grad);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* =============================================================
   HIGH-ROLLER CALLOUTS & MULTIPLIER BOOSTERS SECTION
============================================================= */
.callouts-feature-section {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.callouts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.callout-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
[data-theme-type="light"] .callout-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.callout-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 14px 35px rgba(0,0,0,0.6), 0 0 20px rgba(255, 215, 0, 0.25);
}
.callout-icon-box {
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.callout-pill {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 10px;
}
.callout-pill.gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}
.callout-pill.cyan {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid #38bdf8;
}
.callout-pill.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid #10b981;
}
.callout-pill.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid #a855f7;
}
.callout-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
}
[data-theme-type="light"] .callout-title {
    color: #0f172a;
}
.callout-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.55;
}
[data-theme-type="light"] .callout-desc {
    color: #475569;
}

/* =============================================================
   INTERACTIVE COMBO SIMULATOR / CALCULATOR
============================================================= */
.combo-calc-card {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 36px 30px;
    margin: 40px auto 0;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 16px 45px rgba(0,0,0,0.7), 0 0 30px rgba(255, 215, 0, 0.2);
}
[data-theme-type="light"] .combo-calc-card {
    background: #ffffff;
    border-color: #d97706;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}
.calc-stakes-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 24px;
}
.calc-stake-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,215,0,0.3);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
[data-theme-type="light"] .calc-stake-btn {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.calc-stake-btn:hover, .calc-stake-btn.active {
    background: var(--gold-grad);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.calc-result-box {
    background: #000000;
    border: 2px solid var(--gold);
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    max-width: 480px;
}
[data-theme-type="light"] .calc-result-box {
    background: #0f172a;
}
.calc-result-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    letter-spacing: 0.04em;
    line-height: 1.1;
}



@media (max-width: 1024px) {
    .l4-hero-split { grid-template-columns: 1fr; }
    .l4-hero-right { border-left: none; border-top: none; }
    .combos-grid { grid-template-columns: repeat(2, 1fr); }
    .callouts-grid { grid-template-columns: repeat(2, 1fr); }
    .l4-games-grid { grid-template-columns: repeat(2, 1fr); }
    .l4-tiers-grid { grid-template-columns: repeat(2, 1fr); }
    .l4-tables-grid { grid-template-columns: 1fr; }
    .l5-cover-stage { grid-template-columns: 1fr; text-align: center; }
    .l5-spotlight-card { grid-template-columns: 1fr; text-align: center; }
    .l5-collection-grid { grid-template-columns: repeat(2, 1fr); }
    .l5-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .l5-chronicles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .combos-grid { grid-template-columns: 1fr; }
    .callouts-grid { grid-template-columns: 1fr; }
    .l4-hero-left { padding: 36px 20px; }
    .l4-hero-title { font-size: 2.2rem; }
    .l4-podium-grid { flex-direction: column; align-items: center; }
    .l4-podium-step { width: 100%; border-radius: 16px; }
    .l4-games-grid { grid-template-columns: 1fr; }
    .l4-tiers-grid { grid-template-columns: 1fr; }
    .l5-cover-stage { padding: 36px 20px; }
    .l5-collection-grid { grid-template-columns: 1fr; }
    .l5-pillars-grid { grid-template-columns: 1fr; }
}
