/* ========================================
   OzLuckyDraw - Australian Lottery Platform
   ======================================== */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-card: #141b2d;
    --bg-card-hover: #1a2340;
    --navy: #0d1b3e;
    --navy-light: #162550;
    --gold: #f5a623;
    --gold-light: #ffd666;
    --gold-dark: #c7841a;
    --accent: #4f8cff;
    --accent-light: #7aadff;
    --green: #22c55e;
    --red: #ef4444;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(245,166,35,0.3);
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

img { max-width: 100%; }

/* ---- LOADING SCREEN ---- */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-content { text-align: center; }
.loader-balls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.loader-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    animation: loaderBounce 0.6s ease-in-out calc(var(--i) * 0.1s) infinite alternate;
}
@keyframes loaderBounce {
    to { transform: translateY(-20px); opacity: 0.4; }
}
.loader-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.loader-logo span { color: var(--gold); }
.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-bar-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
    animation: loaderFill 1.5s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ---- AGE MODAL ---- */
.age-modal { z-index: 9999; }
.age-modal-content {
    text-align: center;
    max-width: 480px;
    padding: 48px 40px;
}
.age-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.age-modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.age-modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.age-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- MODAL BASE ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}
.modal {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--white); }

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

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 8px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }
.btn-glow {
    box-shadow: 0 0 20px rgba(245,166,35,0.3);
}
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(245,166,35,0.5);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}
.logo-accent { color: var(--gold); }
.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-responsible { color: var(--gold) !important; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
#nav-guest { display: flex; gap: 8px; }
.user-balance {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}
.user-name { font-size: 0.9rem; color: var(--text-secondary); }

/* Desktop user dropdown */
.nav-user-desktop {
    position: relative;
}
.nav-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
    color: var(--text-primary);
}
.nav-user-trigger:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-uname {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-chevron {
    transition: transform var(--transition);
    opacity: 0.5;
    flex-shrink: 0;
}
.nav-user-trigger.open .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 2000;
}
.nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dd-balance {
    padding: 12px 14px;
    text-align: center;
}
.nav-dd-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.nav-dd-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold);
}
.nav-dd-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
}
.nav-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.nav-dd-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
}
.nav-dd-item .ticket-count {
    margin-left: auto;
}

/* Hide desktop dropdown on mobile */
@media (max-width: 768px) {
    .nav-user-desktop { display: none !important; }
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.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); }

/* ---- ACTIVITY TOAST ---- */
.activity-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 900;
    box-shadow: var(--shadow-lg);
    transform: translateY(120%);
    transition: transform 0.4s ease;
    max-width: 360px;
}
.activity-toast.show { transform: translateY(0); }
.toast-icon { font-size: 1.4rem; }
.toast-text { font-size: 0.85rem; color: var(--text-secondary); }
.toast-text strong { color: var(--gold); }

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    z-index: 0;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0.4;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10,14,26,0.45) 0%, rgba(10,14,26,0.92) 70%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
}
.jackpot-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.jackpot-amount {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(245,166,35,0.3));
}
.jackpot-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.countdown-inline {
    color: var(--gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.hero-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 32px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-cta { margin-bottom: 32px; }
.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 60px;
}
.section-title.light, .section-subtitle.light { color: var(--white); }
.section-subtitle.light { color: var(--gray-400); }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--bg-primary); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition);
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,0.2); }
.step-card:hover::before { opacity: 1; }
.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    position: absolute;
    top: 12px;
    right: 20px;
}
.step-icon {
    color: var(--gold);
    margin-bottom: 20px;
}
.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- LIVE DRAW ---- */
.live-draw {
    background: linear-gradient(180deg, var(--bg-primary), var(--navy));
}
.draw-container {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.draw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.draw-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.draw-date { color: var(--text-secondary); font-size: 0.9rem; }
.draw-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cd-block {
    background: var(--navy);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    text-align: center;
    min-width: 60px;
}
.cd-block span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.cd-block small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cd-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}
.draw-canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 0 auto 32px;
    border-radius: var(--radius);
    overflow: hidden;
    background: radial-gradient(circle, var(--navy-light), var(--navy));
}
#draw-canvas { width: 100%; height: 100%; }
.drawn-numbers {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.ball-slot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    transition: all 0.5s ease;
}
.ball-slot.filled {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(245,166,35,0.4);
    animation: ballPop 0.5s ease;
}
.ball-slot.bonus { border-color: var(--accent); }
.ball-slot.bonus.filled {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(79,140,255,0.4);
}
@keyframes ballPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Previous Results */
.prev-results h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--white);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.result-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}
.result-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}
.result-balls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.mini-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-ball.bonus {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.result-jackpot {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

/* ---- FEATURES ---- */
.features { background: var(--bg-primary); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,166,35,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-icon {
    color: var(--gold);
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    background: rgba(245,166,35,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    background: linear-gradient(180deg, var(--bg-primary), var(--navy));
}

/* Featured Winners with Photos */
.winners-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.winner-card-photo {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.winner-card-photo:hover {
    transform: translateY(-4px);
    border-color: rgba(245,166,35,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.winner-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.winner-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
}
.winner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.winner-card-photo:hover .winner-img img {
    transform: scale(1.05);
}
.winner-info {
    padding: 24px 28px 28px;
}
.winner-amount {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.winner-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.winner-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.winner-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 12px;
}

/* Second row of winners — 3 columns */
.winners-featured + .winners-featured {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

/* ---- RESPONSIBLE GAMBLING ---- */
.responsible { background: var(--bg-primary); }
.responsible-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.responsible-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.responsible-text ul {
    list-style: none;
    margin-bottom: 28px;
}
.responsible-text li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.responsible-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.responsible-helplines h4 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1rem;
}
.responsible-helplines p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.responsible-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.badge-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245,166,35,0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    flex-shrink: 0;
}
.badge-item span { font-weight: 600; font-size: 0.95rem; }

/* ---- CTA BANNER ---- */
.cta-banner {
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,14,26,0.65);
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}
.cta-banner p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
    position: relative;
}
.cta-banner .btn { position: relative; }

/* ---- FOOTER ---- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-links-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 10px; }
.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-links-col a:hover { color: var(--gold); }
/* Footer partners / support services */
.footer-partners {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0;
    margin-bottom: 0;
    text-align: center;
}
.footer-partners-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.footer-partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-partners-logos a {
    display: inline-flex;
    transition: opacity var(--transition);
    opacity: 0.5;
}
.footer-partners-logos a:hover {
    opacity: 0.85;
}
.footer-partners-logos img {
    filter: grayscale(100%) brightness(120%);
    transition: filter var(--transition);
}
.footer-partners-logos a:hover img {
    filter: grayscale(50%) brightness(140%);
}
.footer-partners-logos > img {
    opacity: 0.5;
    filter: grayscale(100%) brightness(120%);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    text-align: center;
}
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.f-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}
a.f-badge:hover {
    background: rgba(245,166,35,0.1);
    border-color: rgba(245,166,35,0.3);
    color: var(--gold);
}
.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal-links a:hover {
    color: var(--gold);
}
.footer-link-sep {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.4;
}
.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 20px;
}
.footer-disclaimer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- AUTH MODAL ---- */
.auth-modal {
    width: 100%;
    max-width: 440px;
}
.auth-form h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--text-muted); }
.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 4px;
    min-height: 1.2em;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
}
.auth-switch {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
}
.auth-switch a { color: var(--gold); font-weight: 600; }

/* ---- LEGAL MODAL ---- */
.legal-modal {
    width: 100%;
    max-width: 640px;
}
.legal-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.legal-modal h3 {
    font-size: 1.1rem;
    margin: 24px 0 8px;
    color: var(--gold);
}
.legal-modal p, .legal-modal li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}
.legal-modal ul, .legal-modal ol { margin-left: 20px; margin-bottom: 12px; }
.legal-modal h4 {
    font-size: 0.95rem;
    margin: 18px 0 6px;
    color: var(--text-primary);
}

/* ---- POLICY PAGES ---- */
.policy-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.policy-nav {
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.policy-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.policy-nav .nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}
.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.policy-back:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}
.policy-main {
    flex: 1;
    padding: 60px 0 80px;
}
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}
.policy-content h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.policy-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.policy-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin: 36px 0 12px;
}
.policy-content h2:first-of-type {
    margin-top: 0;
}
.policy-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
}
.policy-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.policy-content ul,
.policy-content ol {
    margin: 0 0 16px 24px;
}
.policy-content li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4px;
}
.policy-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.policy-content a:hover {
    color: var(--gold-light);
}
.policy-content strong {
    color: var(--text-primary);
}
.policy-sidebar-nav {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
}
.policy-sidebar-nav h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.policy-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.policy-sidebar-nav li { margin: 0; }
.policy-sidebar-nav a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition);
}
.policy-sidebar-nav a:hover,
.policy-sidebar-nav a.active {
    color: var(--gold);
    background: rgba(245,166,35,0.1);
}
.policy-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 32px 0;
    text-align: center;
}
.policy-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.policy-footer a {
    color: var(--gold);
}
@media (max-width: 768px) {
    .policy-main { padding: 40px 0 60px; }
    .policy-sidebar-nav ul { flex-direction: column; }
}

/* ---- CONTACT FORM ---- */
.contact-intro {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
}
.contact-intro h2 {
    margin-top: 0;
}
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 40px;
}
.contact-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 24px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cf-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cf-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.cf-required {
    color: var(--red);
}
.cf-group input[type="text"],
.cf-group input[type="email"],
.cf-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}
.cf-group input:focus {
    border-color: var(--gold);
}
.cf-group input::placeholder {
    color: var(--text-muted);
}
.cf-group input.error {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(239,68,68,0.15);
}
.cf-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.cf-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.cf-checkbox a {
    color: var(--gold);
    text-decoration: underline;
}
.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}
.form-message.success {
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--green);
}
.form-message.error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--red);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: 1fr; }
    .responsible-content { grid-template-columns: 1fr; }
    .winners-featured + .winners-featured { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav account items - hidden on desktop (important to override inline styles from JS) */
.mobile-nav-divider,
.mobile-nav-account { display: none !important; }

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid rgba(255,255,255,0.06);
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-links a { padding: 12px 16px; font-size: 1rem; }
    .nav-actions { display: none !important; }
    .burger { display: flex; z-index: 1001; }

    /* Mobile nav account section — override desktop !important */
    .mobile-nav-divider {
        display: block !important;
        height: 1px;
        background: rgba(255,255,255,0.08);
        margin: 16px 0;
        list-style: none;
    }
    .mobile-nav-account {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        list-style: none;
    }
    /* But hide user panel until JS sets .mobile-logged-in */
    .mobile-nav-account.mobile-nav-user {
        display: none !important;
    }
    .mobile-nav-account.mobile-nav-user.mobile-logged-in {
        display: flex !important;
    }
    .mobile-nav-account#mobile-nav-guest.mobile-logged-in-hide {
        display: none !important;
    }
    .mobile-nav-account .mobile-btn {
        width: 100%;
        justify-content: center;
    }
    .mobile-user-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0 4px;
    }
    .mobile-user-header .user-name {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--white);
    }

    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .winners-featured,
    .winners-featured + .winners-featured { grid-template-columns: 1fr; }
    .winner-img { height: 200px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .draw-container { padding: 24px; }
    .draw-header { justify-content: center; text-align: center; }
    .draw-canvas-wrapper { height: 220px; }
    .drawn-numbers { gap: 10px; }
    .ball-slot { width: 48px; height: 48px; font-size: 1.1rem; }
    .hero { padding: 100px 0 60px; }
    .section { padding: 60px 0; }
    .modal { padding: 28px; margin: 16px; }
    .age-modal-content { padding: 32px 24px; }
    .activity-toast { left: 16px; right: 16px; max-width: none; }
    .user-info { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
    .jackpot-amount { font-size: 2.5rem; }
    .cd-block { padding: 6px 10px; min-width: 50px; }
    .cd-block span { font-size: 1.2rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

/* ---- SELECTION ---- */
::selection {
    background: rgba(245,166,35,0.3);
    color: var(--white);
}

/* ---- BONUS TAG ---- */
.balance-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.bonus-tag {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: bonusPulse 2s ease infinite;
}
@keyframes bonusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 8px 2px rgba(34,197,94,0.3); }
}

/* ---- MY TICKETS BUTTON ---- */
.btn-tickets {
    background: rgba(79,140,255,0.15);
    border: 1px solid rgba(79,140,255,0.3);
    color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}
.btn-tickets:hover {
    background: rgba(79,140,255,0.25);
    border-color: var(--accent);
}
.ticket-count {
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- DRAW LOCK OVERLAY ---- */
.draw-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(10,14,26,0.92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.draw-lock-overlay.hidden { display: none; }
.lock-content { max-width: 360px; padding: 20px; }
.lock-icon {
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.8;
}
.lock-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.lock-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ---- TICKETS PANEL ---- */
.tickets-modal {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}
.tickets-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.tickets-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.tickets-empty svg { margin-bottom: 12px; opacity: 0.3; }
.tickets-empty p { font-size: 0.9rem; }

/* ---- TICKET CARD ---- */
.ticket-card {
    background: linear-gradient(135deg, #1a2340 0%, #0d1b3e 100%);
    border: 1px solid rgba(245,166,35,0.15);
    border-radius: var(--radius);
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    animation: ticketAppear 0.5s ease;
}
.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.ticket-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border-radius: 50%;
}
.ticket-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ticket-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ticket-draw-info {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.ticket-numbers {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ticket-ball {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}
.ticket-ball.bonus-ball {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 2px 8px rgba(79,140,255,0.3);
}
.ticket-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}
.ticket-code {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}
.ticket-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.ticket-status {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(245,166,35,0.15);
    color: var(--gold);
}
@keyframes ticketAppear {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- FLYING TICKET ---- */
.flying-ticket {
    position: fixed;
    z-index: 9000;
    pointer-events: none;
    width: 220px;
}
.flying-ticket-inner {
    background: linear-gradient(135deg, #1a2340, #0d1b3e);
    border: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    box-shadow: 0 0 30px rgba(245,166,35,0.5), 0 8px 32px rgba(0,0,0,0.5);
}
.ft-header {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}
.ft-numbers {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}
.ft-numbers .ft-ball {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ft-numbers .ft-ball.bonus {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.ft-code {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Flying animation */
.flying-ticket.animate {
    animation: flyToProfile 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes flyToProfile {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.1) rotate(-5deg) translateY(-40px);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(10deg);
    }
}

/* Ticket count badge pulse when new ticket */
.ticket-count.pulse {
    animation: countPulse 0.6s ease;
}
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); background: var(--gold); }
    100% { transform: scale(1); }
}

/* Draw button locked state */
.btn-draw-locked {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ticket-numbers { gap: 6px; }
    .ticket-ball { width: 36px; height: 36px; font-size: 0.8rem; }
    .user-info { flex-direction: column; align-items: flex-start; }
    .btn-tickets { width: 100%; justify-content: center; }
    .flying-ticket { width: 180px; }
}
