/* ========== CSS VARIABLES ========== */
:root {
    --bg-primary: #f8f9fc;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-dark-card: #16213e;
    --gradient-start: #ff6b35;
    --gradient-end: #f7c948;
    --gradient-accent: linear-gradient(135deg, #ff6b35, #f7c948);
    --blue: #0061ff;
    --blue-light: #e8f0fe;
    --text-dark: #1a1a2e;
    --text-body: #4a4a68;
    --text-muted: #8b8ba7;
    --text-white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --border: #e2e4ec;
    --border-dark: rgba(255,255,255,0.1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-body);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gradient-start); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.gradient-text {
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section { padding: 80px 0; }
.section-light { background: var(--bg-primary); }
.section-dark { background: var(--bg-dark); }
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}
.section-title-light {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 16px;
}
.section-subtitle-light {
    text-align: center;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto 48px;
}
.disclaimer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 24px;
    line-height: 1.8;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-body);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--text-muted); color: var(--text-dark); }
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #fff;
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-xl { padding: 18px 40px; font-size: 1.15rem; border-radius: 14px; }
.btn-full { width: 100%; }

/* Focus visible */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--gradient-start);
    outline-offset: 2px;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}
.loading-screen.fade-out { opacity: 0; pointer-events: none; }
.loading-content { text-align: center; }
.loading-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
}
.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin: 0 auto 24px;
    overflow: hidden;
}
.loading-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-accent);
    border-radius: 4px;
    transition: width 1.6s ease;
}
.loading-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    animation: bounce 1.2s infinite;
}
.dot-1 { background: var(--gradient-start); animation-delay: 0s; }
.dot-2 { background: var(--gradient-end); animation-delay: 0.2s; }
.dot-3 { background: var(--error); animation-delay: 0.4s; }
@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
}
.loading-text { color: var(--text-muted); font-size: 0.9rem; }

/* ========== AGE VERIFICATION ========== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.age-modal-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
.age-icon { margin-bottom: 24px; }
.age-modal-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.age-modal-card > p { color: var(--text-body); margin-bottom: 32px; }
.age-buttons { display: flex; flex-direction: column; gap: 12px; }
.age-blocked { margin-top: 24px; }
.age-blocked h3 { color: var(--error); font-family: 'Space Grotesk', sans-serif; margin-bottom: 12px; }
.age-blocked p { color: var(--text-body); font-size: 0.9rem; line-height: 1.6; }
.age-blocked a { color: var(--blue); }

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--bg-white);
    z-index: 5000;
    padding: 0;
    transition: box-shadow 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(26,26,46,0.08);
    border-bottom-color: var(--border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-link:hover { color: var(--text-dark); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-guest { display: flex; gap: 8px; }
.nav-user { position: relative; }
.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}
.user-menu-trigger:hover { background: var(--bg-primary); }
.user-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}
.user-name { font-weight: 500; color: var(--text-dark); font-size: 0.9rem; }
.user-balance {
    background: var(--blue-light);
    color: var(--blue);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(26,26,46,0.12);
    min-width: 180px;
    padding: 8px;
    display: none;
    z-index: 100;
}
.user-dropdown.active { display: block; }
.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    color: var(--text-body);
    font-size: 0.9rem;
    text-align: left;
    border-radius: 8px;
    transition: background 0.2s;
}
.dropdown-item:hover { background: var(--bg-primary); }
.dropdown-item-danger { color: var(--error); }
.dropdown-item-danger:hover { background: rgba(239,68,68,0.08); }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 5001;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 64px;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,0.75);
}
.hero-floating {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.floating-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(40px);
    animation: floatOrb 8s ease-in-out infinite;
}
@keyframes floatOrb {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(20px) rotate(-3deg); }
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px 100px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-jackpot { margin-bottom: 36px; }
.jackpot-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.jackpot-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
}
.hero-cta {
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.4); }
    50% { box-shadow: 0 8px 40px rgba(255,107,53,0.6); }
}
.hero-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    max-width: 500px;
    margin: 20px auto 0;
    line-height: 1.5;
}
.hero-timer {
    position: absolute;
    bottom: 60px;
    left: 0; right: 0;
    z-index: 3;
}
.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 14px 28px;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.timer-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
}
.timer-digits {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}
.timer-sep { color: rgba(255,255,255,0.4); }
.timer-urgency {
    color: var(--gradient-end);
    font-size: 0.8rem;
    font-weight: 600;
}
.hero-wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 4;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ========== ABOUT / FEATURES ========== */
.about-text {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(26,26,46,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26,26,46,0.12);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ========== TIMELINE / HOW IT WORKS ========== */
.timeline {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 24px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-number {
    position: absolute;
    left: -60px; top: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.timeline-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.timeline-content p { color: var(--text-body); font-size: 0.95rem; }

/* ========== PRIZE TIERS ========== */
.prizes-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
    align-items: start;
}
.prizes-table {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26,26,46,0.06);
}
.prize-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    font-size: 0.95rem;
}
.prize-row:last-child { border-bottom: none; }
.prize-row-top {
    background: var(--gradient-accent);
    color: #fff;
    font-size: 1.1rem;
}
.prize-row-top .prize-amount {
    background: none;
    -webkit-text-fill-color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}
.prize-row-top .prize-div,
.prize-row-top .prize-match { color: #fff; font-weight: 600; }
.prize-div { font-weight: 600; color: var(--text-dark); }
.prize-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
}
.prize-match { color: var(--text-muted); font-size: 0.85rem; }
.mega-jackpot-card {
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.mega-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.mega-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.mega-jackpot-card p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* ========== DRAW SIMULATOR ========== */
.draw-machine {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.slot-container {
    margin-bottom: 32px;
}
.slot-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.slot-prefix, .slot-dash {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}
.slot {
    width: 52px;
    height: 64px;
    background: var(--bg-dark-card);
    border: 2px solid var(--border-dark);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slot-inner {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.2s;
}
.slot.spinning .slot-inner {
    animation: spinDigit 0.1s steps(1) infinite;
}
.slot.stopped .slot-inner {
    color: var(--gradient-end);
    animation: slotBounce 0.3s ease-out;
}
@keyframes spinDigit {
    0% { content: '0'; }
    10% { content: '1'; }
    20% { content: '2'; }
    30% { content: '3'; }
    40% { content: '4'; }
    50% { content: '5'; }
    60% { content: '6'; }
    70% { content: '7'; }
    80% { content: '8'; }
    90% { content: '9'; }
}
@keyframes slotBounce {
    0% { transform: translateY(-10px); }
    50% { transform: translateY(4px); }
    100% { transform: translateY(0); }
}
.spin-btn { margin-top: 16px; }
.draw-note {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 16px;
}

/* ========== WINNERS CAROUSEL ========== */
.winners-carousel {
    position: relative;
    margin-top: 48px;
}
.carousel-track-wrapper {
    overflow: hidden;
    border-radius: 16px;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.winner-card {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(26,26,46,0.06);
}
.winner-photo {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gradient-start);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(247,201,72,0.2));
}
.winner-photo img { width: 100%; height: 100%; object-fit: cover; }
.winner-info { flex: 1; }
.winner-stars { color: var(--gradient-end); font-size: 1.1rem; margin-bottom: 6px; letter-spacing: 2px; }
.winner-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.winner-info p { color: var(--text-body); font-size: 0.9rem; line-height: 1.7; }
.carousel-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(26,26,46,0.08);
    transition: all 0.2s;
}
.carousel-arrow:hover { background: var(--bg-primary); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: var(--gradient-start);
    width: 28px;
    border-radius: 5px;
}

/* ========== STATS ========== */
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--bg-white);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 4px 24px rgba(26,26,46,0.06);
}
.stat-item { flex: 1; text-align: center; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; }
.stat-divider {
    width: 1px; height: 60px;
    background: var(--border);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: var(--gradient-accent);
    padding: 64px 20px;
    text-align: center;
}
.cta-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-size: 1.1rem;
}

/* ========== RESPONSIBLE GAMBLING ========== */
.responsible-section { border-top: 1px solid var(--border); }
.responsible-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.responsible-content p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.7;
}
.responsible-warning {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.15);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--error);
    margin-top: 20px;
}
.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.partner-logo {
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}
.partner-logo:hover { opacity: 1; }

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.6);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.footer-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.footer-partner-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-partner-logos a, .footer-partner-logos span {
    opacity: 0.5;
    transition: opacity 0.2s;
}
.footer-partner-logos a:hover { opacity: 0.8; }
.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--gradient-start); }
.footer-contact-info {
    font-size: 0.8rem;
    margin-top: 12px;
    line-height: 1.6;
}
.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
    flex-wrap: wrap;
}
.footer-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.footer-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

/* ========== AUTH MODAL ========== */
.auth-modal-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text-dark); }
.auth-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
}
.auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: color 0.2s;
}
.auth-tab.active { color: var(--text-dark); }
.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}
.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.2s;
    background: var(--bg-white);
}
.form-group input:focus {
    outline: none;
    border-color: var(--gradient-start);
}
.form-group input.error { border-color: var(--error); }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-body);
}
.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--gradient-start);
}
.form-check a { color: var(--blue); }

/* ========== TICKETS PANEL ========== */
.tickets-panel {
    position: fixed;
    top: 0; right: 0;
    width: 380px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -8px 0 32px rgba(26,26,46,0.12);
    z-index: 8000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
}
.tickets-panel.active { transform: translateX(0); }
.tickets-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.tickets-panel-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    font-size: 1.2rem;
}
.tickets-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.ticket-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(135deg, #ff6b35, #f7c948) 1;
    border-image-slice: 1;
}
.ticket-id {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.ticket-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.ticket-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.ticket-status.pending {
    background: rgba(245,158,11,0.1);
    color: var(--warning);
}
.ticket-status.in-draw {
    background: rgba(16,185,129,0.1);
    color: var(--success);
}
.tickets-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.tickets-empty p { margin-bottom: 16px; }

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(26,26,46,0.15);
    border-left: 4px solid var(--gradient-start);
    font-size: 0.9rem;
    color: var(--text-dark);
    pointer-events: all;
    animation: toastIn 0.4s ease, toastOut 0.4s ease 3.6s forwards;
    max-width: 340px;
}
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .prizes-wrapper { grid-template-columns: 1fr; }
    .mega-jackpot-card { max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .winner-card { min-width: 100%; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 280px; height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -8px 0 32px rgba(26,26,46,0.12);
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 5000;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .nav-link::after { display: none; }
    .burger { display: flex; }
    .nav-right { display: none; }
    .nav-links.active ~ .nav-right,
    .nav-links.active + .nav-right { display: flex; }

    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; padding: 32px 24px; gap: 24px; }
    .stat-divider { width: 60px; height: 1px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-content { padding: 40px 20px 120px; }
    .timer-container { gap: 12px; padding: 12px 16px; flex-direction: column; }
    .slot-group { gap: 2px; }
    .slot { width: 40px; height: 52px; }
    .slot-inner { font-size: 1.5rem; }
    .slot-prefix, .slot-dash { font-size: 1.5rem; }
    .prize-row { grid-template-columns: 90px 1fr 1fr; padding: 12px 14px; font-size: 0.85rem; }
    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
    .tickets-panel { width: 100%; }
    .winner-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .jackpot-amount { font-size: 2.5rem; }
    .section { padding: 60px 0; }
    .age-modal-card { padding: 32px 24px; }
    .auth-modal-card { padding: 28px 20px; }
    .prize-row { grid-template-columns: 70px 1fr; }
    .prize-match { display: none; }
    .slot { width: 34px; height: 46px; }
    .slot-inner { font-size: 1.2rem; }
    .slot-prefix, .slot-dash { font-size: 1.2rem; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== PRINT ========== */
@media print {
    .navbar, .hero-timer, .hero-floating, .toast-container,
    .tickets-panel, .modal-overlay, .loading-screen { display: none !important; }
    body { background: #fff; color: #000; }
}