/* Crossy Sol Landing Page - Flappy Solana Style */

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

:root {
    --bg-dark: #0f0a1f;
    --bg-darker: #080510;
    --bg-card: #1a1230;
    --bg-card-hover: #241840;
    --accent-green: #00ff88;
    --accent-green-dim: rgba(0, 255, 136, 0.2);
    --accent-purple: #9945ff;
    --accent-cyan: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9e;
    --text-muted: #5c5c6e;
    --border-color: rgba(153, 69, 255, 0.3);
    --gradient-title: linear-gradient(135deg, #9945ff 0%, #00d4ff 50%, #00ff88 100%);
    --font-pixel: 'Press Start 2P', cursive;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(153, 69, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--text-primary);
}

.brand-icon {
    font-size: 24px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(153, 69, 255, 0.5));
}

.brand-logo-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(153, 69, 255, 0.4));
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
    background: var(--bg-card);
}

.nav-link.active {
    border: 1px solid var(--accent-cyan);
}

.nav-icon {
    font-size: 14px;
}

.btn-play-now {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-green);
    color: var(--bg-dark);
    font-family: var(--font-pixel);
    font-size: 11px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-play-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.hidden {
    display: none;
}

.mobile-link {
    padding: 15px;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background: var(--bg-card-hover);
    color: var(--accent-cyan);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.game-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: var(--font-pixel);
    line-height: 1.2;
}

.title-crossy {
    font-size: clamp(48px, 12vw, 100px);
    background: linear-gradient(135deg, #9945ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.5));
}

.title-sol {
    font-size: clamp(56px, 14vw, 120px);
    color: var(--text-primary);
    text-shadow: 
        4px 4px 0 var(--bg-darker),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
    font-family: var(--font-pixel);
    font-size: clamp(10px, 2vw, 14px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Pixel Chicken */
.hero-character {
    margin: 40px auto;
    position: relative;
}

.crossy-logo {
    position: relative;
    display: inline-block;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.6)) 
            drop-shadow(0 0 60px rgba(0, 212, 255, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg);
        filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.6)) 
                drop-shadow(0 0 60px rgba(0, 212, 255, 0.4));
    }
    50% { 
        transform: translateY(-15px) rotateY(5deg);
        filter: drop-shadow(0 0 40px rgba(153, 69, 255, 0.8)) 
                drop-shadow(0 0 80px rgba(0, 255, 136, 0.5));
    }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-pixel);
    font-size: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green-dim);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat.massive-prize {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #14f195, #9945ff);
    border-radius: 20px;
    border: 3px solid #14f195;
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.6);
    animation: prize-glow 2s ease-in-out infinite alternate;
}

.stat-value.massive {
    font-size: 3rem !important;
    font-weight: 900 !important;
    background: linear-gradient(45deg, #fff, #14f195);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.8);
    display: block;
    margin-bottom: 0.5rem;
}

.stat.massive-prize .stat-label {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@keyframes prize-glow {
    from {
        box-shadow: 0 0 30px rgba(20, 241, 149, 0.6);
        transform: scale(1);
    }
    to {
        box-shadow: 0 0 50px rgba(20, 241, 149, 0.9);
        transform: scale(1.02);
    }
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-pixel);
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== PRIZE SECTION ========== */
.prize-section {
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.prize-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1040 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.prize-timer {
    margin-bottom: 20px;
}

.timer-label {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--accent-green);
    display: block;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    background: var(--bg-darker);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
}

.countdown-value {
    display: block;
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--text-primary);
}

.countdown-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.countdown-separator {
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--text-muted);
}

.prize-description {
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--text-secondary);
}

/* ========== LEADERBOARD SECTION ========== */
.leaderboard-section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-pixel);
    font-size: clamp(18px, 4vw, 28px);
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.past-winners-btn {
    background: linear-gradient(45deg, #14f195, #9945ff) !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 8px;
    color: white !important;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(20, 241, 149, 0.3);
    font-family: 'Orbitron', monospace;
    margin-left: 15px;
    white-space: nowrap;
    z-index: 100;
    position: relative;
}

.past-winners-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(20, 241, 149, 0.6);
}

.past-winners-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border: 2px solid rgba(153, 69, 255, 0.3);
    border-radius: 12px;
    background: rgba(153, 69, 255, 0.1);
    backdrop-filter: blur(5px);
}

.past-winners-btn-main {
    background: linear-gradient(45deg, #14f195, #9945ff);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.4);
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    display: inline-block;
    margin-bottom: 10px;
}

.past-winners-btn-main:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.8);
    background: linear-gradient(45deg, #9945ff, #14f195);
}

.past-winners-desc {
    color: #14f195;
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
    font-style: italic;
}

.title-icon {
    margin-right: 10px;
}

.leaderboard {
    max-width: 800px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 20px;
    background: var(--bg-darker);
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.leaderboard-list {
    max-height: 500px;
    overflow-y: auto;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    gap: 15px;
}

.leaderboard-item:hover {
    background: var(--bg-card-hover);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.rank {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--text-muted);
}

.rank.gold { color: #ffd700; }
.rank.silver { color: #c0c0c0; }
.rank.bronze { color: #cd7f32; }

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background: rgba(20, 241, 149, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(20, 241, 149, 0.3);
}

.wallet-address {
    color: #14f195;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: bold;
}

.solscan-verify {
    background: linear-gradient(45deg, #14f195, #9945ff);
    padding: 3px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
}

.solscan-verify:hover {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(20, 241, 149, 0.5);
    background: linear-gradient(45deg, #9945ff, #14f195);
}

.no-wallet-indicator {
    color: #ff4444;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: auto;
}

.player-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--bg-dark);
}

.player-name {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-primary);
}

.score {
    font-family: var(--font-pixel);
    font-size: 16px;
    color: var(--accent-green);
    text-align: right;
}

/* Prize Distribution */
.prize-distribution {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.prize-distribution h3 {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.prize-tiers {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.prize-tier {
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.prize-tier.gold { border-color: #ffd700; }
.prize-tier.silver { border-color: #c0c0c0; }
.prize-tier.bronze { border-color: #cd7f32; }

.tier-rank {
    display: block;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.tier-percent {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--accent-green);
}

/* ========== HOW IT WORKS SECTION ========== */
.how-section {
    padding: 80px 20px;
    background: var(--bg-darker);
    position: relative;
    z-index: 1;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-primary);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.step h3 {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== PRIZE FLOW CHART ========== */
.prize-flow {
    background: rgba(153, 69, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.prize-flow h3 {
    font-family: var(--font-pixel);
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.flow-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.flow-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.flow-text {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-primary);
    background: rgba(20, 241, 149, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--accent-cyan);
    min-width: 140px;
}

.flow-arrow {
    font-size: 24px;
    color: var(--accent-cyan);
    margin: 10px 0;
    animation: pulse 2s infinite;
}

.flow-step.final .flow-text {
    background: rgba(153, 69, 255, 0.2);
    border-color: var(--accent-purple);
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (min-width: 768px) {
    .flow-chart {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .flow-step {
        flex: 1;
        max-width: 160px;
    }
    
    .flow-arrow {
        transform: rotate(-90deg);
        margin: 0 5px;
    }
    
    .flow-step.final {
        flex: 1.2;
    }
}

@media (max-width: 767px) {
    .flow-chart {
        gap: 15px;
    }
    
    .flow-text {
        font-size: 11px;
        min-width: 120px;
        padding: 6px 12px;
    }
    
    .flow-icon {
        font-size: 28px;
    }
}

/* ========== PRIZE REQUIREMENTS ========== */
.prize-requirements {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 241, 149, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--accent-cyan);
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--text-primary);
}

.req-icon {
    font-size: 16px;
}

/* ========== SHOP SECTION ========== */
.shop-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: -20px;
    margin-bottom: 40px;
}

.shop-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.skin-card {
    background: var(--bg-card);
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skin-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
}

.skin-card.locked {
    opacity: 0.6;
}

.skin-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.skin-name {
    display: block;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.skin-price {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-green);
}

.skin-price.free {
    color: var(--accent-cyan);
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 20px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-pixel);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 10px;
}

/* ========== TOKEN ADDRESS ========== */
.token-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 500px;
}

.ca-label {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-green);
}

.ca-address {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--text-secondary);
    word-break: break-all;
}

.btn-copy {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
}

.btn-copy:hover {
    transform: scale(1.2);
}

.btn-copy.copied {
    color: var(--accent-green);
}

/* ========== WHY SECTION ========== */
.why-section {
    padding: 80px 20px;
    background: var(--bg-darker);
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.why-card h3 {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== TOKENOMICS SECTION ========== */
.tokenomics-section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.tokenomics-grid {
    max-width: 800px;
    margin: 0 auto;
}

.tokenomics-card.main {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1040 100%);
    border: 2px solid var(--accent-purple);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.token-supply {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.supply-label {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-secondary);
}

.supply-value {
    font-family: var(--font-pixel);
    font-size: clamp(24px, 6vw, 48px);
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.supply-ticker {
    font-family: var(--font-pixel);
    font-size: 18px;
    color: var(--accent-green);
}

.tokenomics-breakdown {
    margin-bottom: 30px;
}

.breakdown-item {
    margin-bottom: 20px;
}

.breakdown-bar {
    height: 12px;
    background: var(--accent-purple);
    border-radius: 6px;
    width: var(--width);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.breakdown-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.breakdown-bar.prize {
    background: var(--accent-green);
}

.breakdown-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-percent {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--accent-green);
}

.breakdown-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.tokenomics-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 16px;
}

.feature span:last-child {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-primary);
}

/* Buy button pulse animation */
.btn-buy {
    animation: pulse-glow 2s infinite;
}

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

.mobile-link.buy-link {
    background: var(--accent-green);
    color: var(--bg-dark);
}

/* ========== INSTALL PWA PROMPT ========== */
.install-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--accent-green);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 350px;
    z-index: 1001;
    animation: slideUp 0.3s ease;
}

.install-prompt.hidden {
    display: none;
}

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

.install-icon {
    font-size: 32px;
    color: var(--accent-green);
}

.install-text {
    flex: 1;
}

.install-text strong {
    display: block;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.install-text span {
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-install {
    padding: 12px 20px;
    background: var(--accent-green);
    color: var(--bg-dark);
    font-family: var(--font-pixel);
    font-size: 9px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-install:hover {
    transform: scale(1.05);
}

.install-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
    }

    .btn-play-now {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 15px 50px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-value {
        font-size: 18px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 15px;
    }

    .countdown-value {
        font-size: 20px;
    }

    .leaderboard-header,
    .leaderboard-item {
        grid-template-columns: 60px 1fr 80px;
        padding: 15px;
    }

    .player-name {
        font-size: 10px;
    }

    .install-prompt {
        left: 20px;
        right: 20px;
        bottom: 10px;
        flex-wrap: wrap;
    }
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}
