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

body {
    overflow-x: hidden;
}

/* Scanline overlay */
.scanlines::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Grid overlay */
.grid-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #00ff88 0%, #a855f7 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effects */
.glow-green {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 60px rgba(0, 255, 136, 0.1);
}

.glow-green-hover:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 80px rgba(0, 255, 136, 0.2);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 0 60px rgba(251, 191, 36, 0.1);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Glassmorphism card */
.glass-card {
    background: rgba(15, 15, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.glass-card-green {
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.glass-card-green:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}

.glass-card-gold {
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.glass-card-gold:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

/* Floating particles */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.8; }
    75% { transform: translateY(-25px) rotate(2deg); opacity: 0.5; }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(10px); }
    66% { transform: translateY(-15px) translateX(-10px); }
}

@keyframes drift {
    0% { transform: translateX(-100px) translateY(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateX(calc(100vw + 100px)) translateY(-50px); opacity: 0; }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; filter: blur(20px); }
    50% { opacity: 0.8; filter: blur(25px); }
}

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

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

@keyframes berryRain {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(200px) rotate(720deg); opacity: 0; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }

.floating-particle {
    position: absolute;
    pointer-events: none;
    animation: floatSlow 6s ease-in-out infinite;
    font-size: 20px;
    opacity: 0.4;
}

.shimmer-badge {
    background: linear-gradient(
        90deg,
        #fbbf24 0%,
        #fff 20%,
        #fbbf24 40%,
        #fbbf24 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Invite link */
.invite-link {
    display: flex;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.invite-link:hover {
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
    transform: translateY(-1px);
}

/* Pixel icon rendering */
.pixel-icon {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Timeline */
.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00ff88, #a855f7, #06b6d4, #f97316);
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Navbar */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Berry rain particle */
.berry-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: berryRain 2s ease-in forwards;
    image-rendering: pixelated;
}

/* Confetti */
.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti 3s ease-out forwards;
    pointer-events: none;
}

/* CTA gradient bg */
.cta-gradient {
    background: linear-gradient(180deg, #0a0a1a 0%, #0f1a2e 30%, #1a0f2e 70%, #0a0a1a 100%);
}

/* Step connector */
.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(0,255,136,0.5), rgba(168,85,247,0.5));
    margin: 0 auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a1a;
}

::-webkit-scrollbar-thumb {
    background: #1a1a3a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a2a5a;
}

/* Mobile hamburger */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

/* Hero orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 4s ease-in-out infinite;
}