/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #FFD700;
    --gold-dark: #FFA500;
    --gold-deep: #B8860B;
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --surface: #1a1a1a;
    --surface-light: #222222;
    --text: #ffffff;
    --text-muted: #999999;
    --gold-gradient: linear-gradient(135deg, #FFD700, #FFA500);
    --gold-gradient-text: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

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

/* ===== TYPOGRAPHY ===== */
.gold-text {
    background: var(--gold-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 1.125rem; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 800px; }

.hero-mascot { margin-bottom: 2rem; }

.ticket-placeholder {
    display: inline-block;
    perspective: 800px;
}
.ticket-body {
    width: 180px;
    height: 100px;
    background: var(--gold-gradient);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.4);
    animation: float 4s ease-in-out infinite;
    transform: rotateY(-5deg) rotateX(5deg);
}
.ticket-shine {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.ticket-face {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    line-height: 1;
}
.ticket-hat { font-size: 1.5rem; margin-bottom: -8px; }
.ticket-sunglasses { font-size: 2.5rem; }
.ticket-text {
    position: relative;
    z-index: 1;
    font-weight: 900;
    font-size: 0.75rem;
    color: #000;
    letter-spacing: 2px;
    margin-top: 2px;
}

@keyframes float {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(5deg) rotateX(-5deg) translateY(-15px); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.hero-ticker {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}
.hero-tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,215,0,0.2); }

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bob 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 2px; height: 20px;
    background: var(--gold);
    position: relative;
}
.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px; height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}
@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section-alt { background: var(--bg-alt); }

/* ===== HOW IT WORKS ===== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.1);
    transition: all 0.3s ease;
}
.step:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,215,0,0.1);
}
.step-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 700; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

.step-arrow {
    font-size: 2rem;
    color: var(--gold);
    align-self: center;
    padding-top: 2rem;
}

/* ===== TOKENOMICS ===== */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.pie-chart-container { display: flex; justify-content: center; }
.pie-chart {
    position: relative;
    width: 280px;
    height: 280px;
}
.pie-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pie-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.pie-center-value { font-size: 2.5rem; font-weight: 900; color: var(--gold); display: block; }
.pie-center-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

.tokenomics-breakdown { display: flex; flex-direction: column; gap: 1.5rem; }
.token-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid rgba(255,215,0,0.08);
    transition: all 0.3s;
}
.token-item:hover {
    border-color: rgba(255,215,0,0.2);
}
.token-color {
    width: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}
.token-info { flex: 1; }
.token-header { display: flex; align-items: center; gap: 12px; margin-bottom: 0.5rem; flex-wrap: wrap; }
.token-header h3 { font-size: 1.05rem; font-weight: 700; }
.token-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(255,215,0,0.1);
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.token-info p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== LOTTERIES ===== */
.lotteries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.lottery-card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s;
}
.lottery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,215,0,0.3);
}
.lottery-card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    opacity: 0.05;
    transition: opacity 0.3s;
}
.lottery-card:hover .lottery-card-glow { opacity: 0.1; }
.mega-glow { background: radial-gradient(circle, #FFD700, transparent 60%); }
.lucky-glow { background: radial-gradient(circle, #FFA500, transparent 60%); }

.lottery-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.lottery-card h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.lottery-motto {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.lottery-features {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto 1.5rem;
}
.lottery-features li {
    padding: 8px 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}
.lottery-features li::before {
    content: '✦ ';
    color: var(--gold);
}
.lottery-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.lotteries-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-icon { font-size: 1.25rem; }

/* ===== JACKPOT ===== */
.jackpot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.jackpot-card {
    background: var(--surface);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}
.jackpot-card h3 { font-size: 1.125rem; margin-bottom: 1rem; color: var(--text-muted); }
.jackpot-amount { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.jackpot-usd { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }

.countdown-container { text-align: center; }
.countdown-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.countdown-unit { text-align: center; }
.countdown-value {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    min-width: 80px;
    background: var(--surface);
    border-radius: 16px;
    padding: 16px 8px;
    border: 1px solid rgba(255,215,0,0.1);
}
.countdown-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}
.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.5;
    padding-bottom: 1.5rem;
}

/* ===== ROADMAP ===== */
.roadmap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.roadmap-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-deep), transparent);
}
.roadmap-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 3rem;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-dot {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-gradient);
    box-shadow: 0 0 16px rgba(255,215,0,0.4);
}
.roadmap-phase {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.roadmap-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.25rem 0 0.75rem;
}
.roadmap-content ul {
    list-style: none;
}
.roadmap-content li {
    color: var(--text-muted);
    padding: 4px 0;
    font-size: 0.95rem;
}
.roadmap-content li::before {
    content: '→ ';
    color: var(--gold-dark);
}

/* ===== COMMUNITY ===== */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}
.social-card:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,215,0,0.1);
}
.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,215,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--gold);
}
.social-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.social-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255,215,0,0.1);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gold);
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-size: 0.9rem;
}
.footer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}
.contract-address {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,215,0,0.1);
}
.contract-address code {
    font-family: 'Inter', monospace;
    color: var(--gold);
    font-size: 0.9rem;
}
.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.copy-btn:hover { opacity: 1; }

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
    line-height: 1.8;
}
.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* ===== MUSIC TOGGLE ===== */
.music-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    color: var(--gold);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    animation: music-pulse 2s ease-in-out infinite;
}
.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.4);
}
.music-toggle.playing {
    background: rgba(255, 215, 0, 0.15);
}
@keyframes music-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35); }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .tokenomics-grid { grid-template-columns: 1fr; gap: 2rem; }
    .lotteries-grid { grid-template-columns: 1fr; }
    .jackpot-grid { grid-template-columns: 1fr; }
    .socials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,215,0,0.1);
    }
    .nav-links.open { display: flex; }
    .step-arrow { display: none; }
    .steps { gap: 1.5rem; }
    .hero-stats { gap: 1rem; }
    .stat-divider { display: none; }
    .section { padding: 70px 0; }
    .countdown { gap: 0.5rem; }
    .countdown-value { min-width: 60px; font-size: 2rem; padding: 12px 6px; }
    .countdown-separator { font-size: 1.5rem; }
}

/* ===== WALLET CHECKER ===== */
.wallet-checker {
    max-width: 700px;
    margin: 0 auto;
}

.wallet-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.wallet-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    color: #fafafa;
    font-family: 'Space Mono', 'Inter', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.wallet-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.wallet-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.wallet-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.wallet-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.wallet-result-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.wallet-result-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.winner-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

.wallet-error {
    text-align: center;
    color: #ff6b6b;
    margin-top: 12px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .wallet-input-group {
        flex-direction: column;
    }
    .wallet-result-grid {
        grid-template-columns: 1fr;
    }
}
