/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --green-primary: #10b981;
    --green-hover: #059669;
    --green-light: #34d399;
    --green-glow: rgba(16, 185, 129, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #1e293b;
    --border-light: #2d3a4d;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-green: 0 4px 24px rgba(16,185,129,0.2);
    --transition: 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.logo span {
    color: var(--green-primary);
}

/* Navigation */
.nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-list a {
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-primary);
    background: var(--green-glow);
}

.nav-cta {
    background: var(--green-primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
}

.nav-cta:hover {
    background: var(--green-hover) !important;
}

/* Mobile menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--green-primary);
    color: #fff;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: var(--green-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16,185,129,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

.btn-outline:hover {
    background: var(--green-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--green-light);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 20px;
    position: relative;
}

.hero h1 .accent { color: var(--green-primary); }

.hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Sections ===== */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header p {
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 1.05rem;
}

.section-emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

/* ===== Feature Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--green-primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Game Categories ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.game-card-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    display: block;
}

.game-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.game-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===== Bonus Section ===== */
.bonus-block {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16,185,129,0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bonus-icon {
    font-size: 5rem;
    flex-shrink: 0;
}

.bonus-content h2 { margin-bottom: 12px; }
.bonus-content p { margin-bottom: 20px; }

.bonus-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.bonus-tag {
    background: var(--green-glow);
    color: var(--green-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(16,185,129,0.2);
}

/* ===== Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    counter-increment: step;
}

.step-card::before {
    content: counter(step);
    position: absolute;
    top: -14px;
    left: 28px;
    width: 32px;
    height: 32px;
    background: var(--green-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-card h3 {
    margin-top: 8px;
}

/* ===== Reviews ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--green-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ===== Wins ===== */
.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.win-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.win-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

.win-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-primary);
}

.win-game {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Article ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 32px;
}

.article-content h3 {
    margin-top: 24px;
    color: var(--green-light);
}

.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-content ol li { list-style: decimal; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--green-primary);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== CTA Block ===== */
.cta-block {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16,185,129,0.1) 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.cta-block h2 { margin-bottom: 12px; }
.cta-block p { margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== App Section ===== */
.app-section {
    display: flex;
    align-items: center;
    gap: 48px;
}

.app-icon {
    font-size: 6rem;
    flex-shrink: 0;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px;
}

.app-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Mirror Section ===== */
.mirror-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.mirror-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.8rem;
}

/* ===== Page Content ===== */
.page-hero {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text-secondary);
}

.page-content {
    padding: 40px 0 64px;
}

.page-content h2 { margin-top: 32px; margin-bottom: 12px; }
.page-content h3 { margin-top: 24px; color: var(--green-light); }

.page-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.page-content li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-content ol li { list-style: decimal; }

.info-box {
    background: var(--bg-card);
    border-left: 4px solid var(--green-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.info-box p { margin-bottom: 0; }

/* ===== Table ===== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.info-table th,
.info-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.info-table td {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.info-table tr:hover td {
    background: var(--bg-card-hover);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bonus-block {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .app-section {
        flex-direction: column;
        text-align: center;
    }
    .mirror-info {
        flex-direction: column;
    }
    .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav { 
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px;
        z-index: 999;
    }
    .nav.active { display: flex; }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    .nav-list a {
        display: block;
        padding: 14px 18px;
        font-size: 1.05rem;
    }
    .burger { display: flex; }

    .hero { padding: 48px 0 40px; }
    .hero-stats { flex-direction: column; gap: 20px; }

    .section { padding: 48px 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
