/* ============================================================
   WOW Vegas Casino CA — Design System
   Brand: Deep Purple #1E0A3C | Blue #0096FF | Gold #FFD700
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --purple-deep: #1E0A3C;
    --purple-mid: #2D1158;
    --purple-light: #3D1F72;
    --blue-brand: #0096FF;
    --blue-light: #00C8FF;
    --gold: #FFD700;
    --gold-dark: #E5A800;
    --magenta: #E91E8C;
    --white: #FFFFFF;
    --gray-100: #F0EBF8;
    --gray-200: #D4C8E8;
    --gray-600: #9D8FC0;
    --text-main: #EEE8FF;
    --text-muted: #9D8FC0;
    --card-bg: rgba(45, 17, 88, 0.75);
    --card-border: rgba(0, 150, 255, 0.2);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 150, 255, 0.15);
    --transition: 0.25s ease;
    --max-w: 1200px;
    --header-h: 70px;
    --tracker: https: //adminclick.org/rKM3jx;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--purple-deep);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ───────── BACKGROUND PATTERN ───────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(233, 30, 140, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ───────── LAYOUT ───────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-sm {
    padding: 48px 0;
    position: relative;
    z-index: 1;
}

/* ───────── TYPOGRAPHY ───────── */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    font-weight: 800;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1em;
    color: var(--text-main);
}

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

ul,
ol {
    padding-left: 1.4em;
}

/* ───────── SKIP LINK ───────── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blue-brand);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ───────── MOBILE TRACKER BAR ───────── */
.tracker-bar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1050;
    background: linear-gradient(90deg, var(--blue-brand), var(--magenta));
    padding: 9px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tracker-bar p {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracker-bar .btn-sm {
    background: var(--gold);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ───────── HEADER ───────── */
.site-header {
    position: sticky;
    /* needed for absolute mobile nav */
    isolation: isolate;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(30, 10, 60, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 160px;
    max-height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.1;
}

.logo-text span {
    color: var(--blue-brand);
    font-size: 0.7rem;
    display: block;
    font-weight: 500;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile CTA inside nav - hidden on desktop */
.nav-mobile-cta {
    display: none;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(0, 150, 255, 0.15);
    color: var(--blue-light);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--blue-brand), var(--magenta));
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 150, 255, 0.4);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 150, 255, 0.6);
    color: var(--white);
}

.btn-login {
    color: var(--gray-200);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
}



.btn-login:hover {
    background: var(--card-bg);
    color: var(--white);
}


/* ── Burger label (mobile trigger) ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
    position: relative;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

/* Burger → X animation when checkbox checked */
.nav-toggle-input:checked+.menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked+.menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle-input:checked+.menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ───────── BUTTONS ───────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-brand), var(--magenta));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 150, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 150, 255, 0.55);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    font-weight: 800;
}

.btn-gold:hover {
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    border: 2px solid var(--blue-brand);
    color: var(--blue-light);
    background: transparent;
}

.btn-outline:hover {
    background: var(--blue-brand);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ───────── CARDS ───────── */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(0, 150, 255, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-sm {
    padding: 20px;
    border-radius: var(--radius);
}

/* ───────── SECTION HEADERS ───────── */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .badge {
    display: inline-block;
    background: rgba(0, 150, 255, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 50px;
    padding: 5px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header h2 .accent {
    color: var(--blue-brand);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-brand), var(--magenta));
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ───────── GRID SYSTEMS ───────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ───────── TABLES ───────── */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    display: block;
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

caption {
    text-align: left;
    color: var(--gold);
    font-weight: 700;
    padding: 14px 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
}

thead th {
    background: var(--purple-light);
    color: var(--blue-light);
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--blue-brand);
}

tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
}

tbody tr:hover td {
    background: rgba(0, 150, 255, 0.07);
}

tbody tr:last-child td {
    border-bottom: none;
}

.td-good {
    color: #4ADE80;
    font-weight: 600;
}

.td-mid {
    color: var(--gold);
    font-weight: 600;
}

.td-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.td-badge.blue {
    background: rgba(0, 150, 255, 0.2);
    color: var(--blue-light);
}

.td-badge.gold {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold);
}

.td-badge.green {
    background: rgba(74, 222, 128, 0.2);
    color: #4ADE80;
}

/* ───────── CHART CONTAINERS ───────── */
.chart-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.chart-box h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.chart-wrap {
    position: relative;
    height: 260px;
}

.chart-wrap canvas {
    max-width: 100% !important;
}

/* ───────── STAT PILLS ───────── */
.stat-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 18px 22px;
}

.stat-pill .icon {
    font-size: 1.8rem;
}

.stat-pill .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-pill .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ───────── BONUS CARD ───────── */
.bonus-card {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.25), transparent 70%);
    border-radius: 50%;
}

.bonus-tag {
    display: inline-block;
    background: var(--magenta);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
}

.bonus-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 8px 0 16px;
}

/* ───────── PAGE HERO ───────── */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(45, 17, 88, 0.9) 0%, transparent 100%);
    position: relative;
    z-index: 1;
}

.page-hero .badge {
    display: inline-block;
    background: rgba(0, 150, 255, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 50px;
    padding: 5px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--gray-600);
    margin: 0 6px;
}

.breadcrumb strong {
    color: var(--white);
}

/* ───────── TABS ───────── */
.tab-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.tab-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--blue-brand);
    border-color: var(--blue-brand);
    color: #fff;
}

/* ───────── HIGHLIGHT BOXES ───────── */
.highlight-box {
    border-left: 4px solid var(--blue-brand);
    background: rgba(0, 150, 255, 0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    margin: 20px 0;
}

.highlight-box.gold {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.07);
}

.highlight-box.magenta {
    border-color: var(--magenta);
    background: rgba(233, 30, 140, 0.07);
}

/* ───────── RATING STARS ───────── */
.stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.score-ring {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.score-ring .score-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.score-ring .score-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ───────── FOOTER ───────── */
footer {
    background: rgba(10, 2, 22, 0.95);
    border-top: 1px solid var(--card-border);
    padding: 60px 0 28px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 14px 0 20px;
}

.footer-col h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-light);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.responsible-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    font-weight: 900;
    font-size: 0.8rem;
}

/* ───────── SEO CONTENT ───────── */
.seo-content {
    max-width: 860px;
}

.seo-content h2 {
    color: var(--white);
    margin: 36px 0 14px;
    font-size: 1.5rem;
}

.seo-content h3 {
    color: var(--blue-light);
    margin: 24px 0 10px;
    font-size: 1.15rem;
}

.seo-content p {
    color: var(--text-main);
    margin-bottom: 14px;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 14px;
}

.seo-content li {
    color: var(--text-main);
    margin-bottom: 6px;
}

.seo-content a {
    color: var(--blue-light);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 200, 255, 0.3);
}

.seo-content a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.seo-content strong {
    color: var(--white);
}

/* ───────── MOBILE (MAX 768px) ───────── */
@media (max-width: 768px) {
    .tracker-bar {
        display: flex;
    }

    .site-header {
        top: 48px;
    }

    /* ── Mobile header: logo | btn-play | burger ── */
    .header-inner {
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    /* Show menu-toggle on mobile */
    .menu-toggle {
        display: flex !important;
    }
    /* Mobile nav dropdown */
    nav.main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 2, 25, 0.99);
        border-bottom: 2px solid rgba(0, 150, 255, 0.25);
        padding: 8px 16px 16px;
        z-index: 998;
        gap: 0;
    }

    nav.main-nav.open {
        display: flex;
    }

    nav.main-nav a {
        padding: 13px 10px;
        color: var(--text-main);
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        width: 100%;
    }

    nav.main-nav a:last-child {
        border-bottom: none;
    }


    /* Keep header-cta visible, but compact btn-play */
    .header-inner .btn-play {
        font-size: 0.78rem !important;
        padding: 8px 14px !important;
        white-space: nowrap;
    }

    /* ── Сетка ── */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-btn-row {
        flex-direction: column;
    }

    .hero-btn-row .btn {
        width: 100%;
        justify-content: center;
    }

    .tab-group {
        gap: 4px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Tables */
    .table-wrap {
        overflow-x: auto;
    }

    table {
        min-width: 480px;
        font-size: 0.85rem;
    }

    thead th {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    tbody td {
        padding: 10px 12px;
    }

    /* Charts */
    .chart-wrap {
        height: 200px;
    }

    .chart-grid {
        grid-template-columns: 1fr !important;
    }

    /* Specific inline grids */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:repeat(3"],
    div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .stat-pill {
        padding: 14px 16px;
    }

    .stat-pill .num {
        font-size: 1.4rem;
    }

    .bonus-amount {
        font-size: 1.7rem;
    }
}