/**
 * Money X Casino - Neo-Vegas Aurora & Glass Stylesheet
 * Domain: money-x-online.sbs
 * Style: Cyberpunk Web3 Glassmorphism & Aurora Glow
 */

/* ==========================================================================
   1. Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Palette: Neo-Vegas Aurora */
    --bg-base: #08090E;
    --bg-surface: #0E121B;
    --bg-card: #141926;
    --bg-card-hover: #1C2336;
    --bg-elevated: #222B42;
    --bg-glass: rgba(16, 22, 36, 0.75);
    --bg-glass-active: rgba(26, 35, 58, 0.85);
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(250, 204, 21, 0.35);
    --border-cyan: rgba(6, 182, 212, 0.3);

    /* Primary CTA: Neon Lemon Yellow */
    --color-primary: #FACC15;
    --color-primary-hover: #FDE047;
    --color-primary-glow: rgba(250, 204, 21, 0.45);
    --color-primary-glow-strong: rgba(250, 204, 21, 0.7);

    /* Aurora Accents */
    --color-purple: #A855F7;
    --color-purple-dark: #7C3AED;
    --color-cyan: #06B6D4;
    --color-teal: #14B8A6;
    --color-green: #10B981;
    --color-pink: #F43F5E;
    --color-amber: #F59E0B;

    /* Typography */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --text-dark: #08090E;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --shadow-card: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 25px var(--color-primary-glow);
    --shadow-neon-hover: 0 0 32px var(--color-primary-glow-strong);
    --shadow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Strict Responsive Rules
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-wrap: break-word;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-wrap: break-word;
    background-color: var(--bg-base);
    line-height: 1.6;
    padding-bottom: 74px; /* Space for sticky bottom bar */
    position: relative;
}

/* Rule: All wrapper containers must have overflow-x: hidden */
.wrap,
.main-layout,
.content-body,
.article-body,
.rt,
article {
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.wrap {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Rule: All CSS Grid child elements must have min-width: 0 */
.grid > *,
.articles-grid > *,
.games-grid > *,
.stats-grid > *,
.features-grid > *,
.cards-grid > *,
.layout-grid > *,
.footer-top > *,
.layout__main > *,
.layout__side > * {
    min-width: 0;
}

/* Aurora Ambient Lighting Mesh */
.aurora-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: floatAurora 20s infinite ease-in-out alternate;
}

.aurora-blob--violet {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7C3AED 0%, rgba(124, 58, 237, 0) 70%);
    top: -150px;
    left: 10%;
}

.aurora-blob--cyan {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #06B6D4 0%, rgba(6, 182, 212, 0) 70%);
    top: 30%;
    right: -100px;
    animation-delay: -5s;
}

.aurora-blob--lemon {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #FACC15 0%, rgba(250, 204, 21, 0) 70%);
    bottom: -100px;
    left: 30%;
    opacity: 0.08;
    animation-delay: -10s;
}

@keyframes floatAurora {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.08); }
    100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    background: var(--color-primary);
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 99999;
    transition: top var(--transition-fast);
    text-decoration: none;
}
.skip-link:focus {
    top: 16px;
}

/* ==========================================================================
   3. Buttons & Interactive Controls
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    border: none;
    outline: none;
    position: relative;
    user-select: none;
}

/* Neon Lemon Yellow CTA */
.btn--neon-yellow {
    background: var(--color-primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-neon);
}
.btn--neon-yellow:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-neon-hover);
    transform: translateY(-2px);
    color: var(--text-dark);
}
.btn--neon-yellow:active {
    transform: translateY(0);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

/* Frosted Glass Button */
.btn--glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}
.btn--glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFF;
    transform: translateY(-2px);
}

.btn--cyan {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
    color: #FFF;
    box-shadow: var(--shadow-cyan);
}
.btn--cyan:hover {
    background: linear-gradient(135deg, #22D3EE, #06B6D4);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 15px 30px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn--sm {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn--block {
    width: 100%;
}

/* ==========================================================================
   4. Top Ticker & Header
   ========================================================================== */
.top-ticker {
    background: rgba(10, 14, 22, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
    z-index: 50;
}

.top-ticker__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-green);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.ticker-highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.top-ticker__divider {
    color: var(--border-color);
}

.promo-badge-text {
    color: var(--color-primary);
    font-family: var(--font-mono);
}

/* Main Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-base);
}

.site-header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo__img {
    height: 38px;
    width: auto;
    max-width: 160px;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: #FFF;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link--active {
    color: var(--color-primary);
    background: rgba(250, 204, 21, 0.08);
}

.nav-badge {
    background: linear-gradient(135deg, var(--color-primary), #EAB308);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 9px;
    color: #FFF;
}

.burger-btn__line {
    width: 100%;
    height: 2px;
    background-color: #FFF;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   5. Mobile Drawer
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    transition: visibility var(--transition-base);
}

.mobile-drawer.is-open {
    visibility: visible;
}

.mobile-drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-drawer.is-open .mobile-drawer__overlay {
    opacity: 1;
}

.mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: #0E121B;
    border-left: 1px solid var(--border-color);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.is-open .mobile-drawer__panel {
    transform: translateX(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.drawer-close-btn:hover {
    color: #FFF;
}

.drawer-promo-card {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}

.drawer-promo-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.drawer-promo-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFF;
    margin: 4px 0;
}

.drawer-promo-code {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.drawer-promo-code strong {
    color: var(--color-primary);
    font-family: var(--font-mono);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-drawer__footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.mobile-drawer__footer-links a {
    color: var(--text-dim);
    text-decoration: none;
}
.mobile-drawer__footer-links a:hover {
    color: var(--text-muted);
}

.mobile-drawer__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   6. Breadcrumbs
   ========================================================================== */
.breadcrumbs-bar {
    padding: 12px 0;
    background: rgba(14, 18, 27, 0.4);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 6px;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.breadcrumbs-link:hover {
    color: var(--color-primary);
}

.breadcrumbs-separator {
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
}

.breadcrumbs-current {
    color: #FFF;
    font-weight: 600;
}

/* ==========================================================================
   7. Hero Banner & Neo-Vegas Aurora Sections
   ========================================================================== */
.hero-section {
    padding: 48px 0 36px;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    width: fit-content;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFF;
}

.hero-title__highlight {
    background: linear-gradient(135deg, #FFF 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--bg-card);
    background-color: #141926; /* Solid fallback */
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan), var(--color-purple));
}

.jackpot-display {
    text-align: center;
    padding: 16px;
    background: rgba(8, 9, 14, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.jackpot-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.jackpot-counter {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFF;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
    margin: 4px 0;
}

.jackpot-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
}

.stat-box__num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
}

.stat-box__label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. Cards, Grids & Features
   ========================================================================== */
.section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #FFF;
    line-height: 1.25;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 680px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    background-color: #141926; /* Solid fallback */
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-base);
    position: relative;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #141926; /* Solid fallback */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.article-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0E121B;
    overflow: hidden;
}

.article-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.article-card:hover .article-card__thumb img {
    transform: scale(1.05);
}

.article-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 9, 14, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.article-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.article-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFF;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.article-card:hover .article-card__title {
    color: var(--color-primary);
}

.article-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
}

.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: #141926;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.game-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.game-card__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    background: #0E121B;
    overflow: hidden;
}

.game-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.game-card:hover .game-card__thumb img {
    transform: scale(1.06);
}

.game-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 14, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.game-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.game-card__rtp {
    color: var(--color-green);
    font-family: var(--font-mono);
    font-weight: 700;
}

/* ==========================================================================
   9. Interactive Promo Box Component
   ========================================================================== */
.promo-box {
    background: #141926;
    background-color: #141926; /* Solid fallback */
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.15);
    margin: 28px 0;
}

.promo-box__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promo-box__icon {
    width: 50px;
    height: 50px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.promo-box__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
}

.promo-box__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.promo-box__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-code-pill {
    display: flex;
    align-items: center;
    background: rgba(8, 9, 14, 0.8);
    border: 1px dashed var(--color-primary);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    gap: 10px;
}

.promo-code-val {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
}

/* ==========================================================================
   10. Article Layout & Rich Text Styling (.rt)
   ========================================================================== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 36px 0 60px;
}

.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFF;
    line-height: 1.25;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-featured-media {
    margin: 20px 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #0E121B;
}

.article-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Rich Text Typography (.rt) */
.rt {
    color: #CBD5E1;
    font-size: 1rem;
    line-height: 1.75;
}

.rt p {
    margin-bottom: 1.25rem;
}

.rt h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFF;
    margin: 2.2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    scroll-margin-top: 90px;
}

.rt h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F1F5F9;
    margin: 1.6rem 0 0.8rem;
    scroll-margin-top: 90px;
}

.rt h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #E2E8F0;
    margin: 1.2rem 0 0.6rem;
}

.rt strong {
    color: #FFF;
}

.rt em {
    color: #E2E8F0;
}

.rt a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.rt a:hover {
    color: var(--color-primary-hover);
}

.rt ul, .rt ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.rt li {
    margin-bottom: 0.5rem;
}

.code-inline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Callout Alerts */
.callout {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    background: #141926;
    border-left: 4px solid var(--color-primary);
}

.callout--warning {
    border-left-color: var(--color-amber);
    background: rgba(245, 158, 11, 0.08);
}
.callout--warning .callout__icon {
    color: var(--color-amber);
}

.callout--tip {
    border-left-color: var(--color-green);
    background: rgba(16, 185, 129, 0.08);
}
.callout--tip .callout__icon {
    color: var(--color-green);
}

/* Tables (Strict Rule: Parent overflow-x: hidden, wrapper overflow-x: auto) */
.table-responsive-wrapper {
    width: 100%;
    margin: 1.5rem 0;
    overflow-x: hidden;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #10141F;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
    white-space: normal;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #FFF;
    font-weight: 700;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Table of Contents (TOC) */
.toc-card {
    background: #141926;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.toc-title {
    font-size: 1rem;
    font-weight: 800;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    transition: all var(--transition-fast);
}

.toc-link:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.toc-item--level-3 {
    padding-left: 14px;
    font-size: 0.8rem;
}

/* Sidebar Widgets */
.sidebar-sticky {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #141926;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-widget__title {
    font-size: 1rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #141926;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: 32px 0;
    align-items: center;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.author-info__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFF;
}

.author-info__role {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.author-info__bio {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.faq-item {
    background: #141926;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #FFF;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.faq-icon {
    transition: transform var(--transition-base);
    color: var(--color-primary);
    flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ==========================================================================
   11. Footer & Sticky Bottom Bar
   ========================================================================== */
.site-footer {
    background: #0A0D15;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 24px;
    margin-top: auto;
    position: relative;
    z-index: 20;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #FFF;
    font-weight: 600;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-list a:hover {
    color: var(--color-primary);
}

.payments-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pay-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-socials {
    margin-top: 6px;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-cyan);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-pill:hover {
    background: rgba(6, 182, 212, 0.2);
    color: #FFF;
}

.footer-disclaimer {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DC2626;
    color: #FFF;
    font-weight: 900;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
}
.footer-bottom-links a:hover {
    color: var(--text-muted);
}

/* Fixed Bottom Sticky Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 9, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(250, 204, 21, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    padding: 10px 0;
}

.sticky-bottom-bar__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-promo-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sticky-pulse-indicator {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulseDot 1.5s infinite;
}

.sticky-promo-text {
    display: flex;
    flex-direction: column;
}

.sticky-promo-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sticky-promo-val {
    font-size: 1rem;
    font-weight: 800;
    color: #FFF;
}

.sticky-promo-code-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-glow);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.sticky-code-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.sticky-code-value {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--color-primary);
    font-size: 0.85rem;
}

.btn-copy-mini {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    padding: 2px;
}

.btn-copy-mini:hover {
    color: var(--color-primary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 85px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #0E121B;
    border: 1px solid var(--color-primary);
    color: #FFF;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--color-primary-glow);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideToast {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   12. Responsive Breakpoints (320px, 375px, 425px, 768px, 1024px, 1440px)
   ========================================================================== */

/* ≤ 1024px (Laptops & Tablets) */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-sticky {
        position: static;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ≤ 768px (Mobile & Small Tablets) */
@media (max-width: 768px) {
    body {
        padding-bottom: 84px;
    }
    .top-ticker {
        display: none;
    }
    .site-header__wrap {
        height: 60px;
    }
    .btn--header-login {
        display: none;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .promo-box__left {
        flex-direction: column;
    }
    .promo-box__right {
        flex-direction: column;
        width: 100%;
    }
    .promo-code-pill {
        justify-content: center;
    }
    .promo-box__right .btn {
        width: 100%;
    }
    .sticky-bottom-bar__wrap {
        flex-direction: column;
        gap: 8px;
    }
    .sticky-promo-info {
        justify-content: space-between;
        width: 100%;
    }
    .sticky-action-cta {
        width: 100%;
    }
    .btn--sticky-bonus {
        width: 100%;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ≤ 425px & 375px & 320px (Mobile portrait) */
@media (max-width: 425px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .jackpot-counter {
        font-size: 1.6rem;
    }
    .hero-stats-row {
        grid-template-columns: 1fr;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .article-h1 {
        font-size: 1.6rem;
    }
}
