/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-green: #00ff41;
    --neon-purple: #8a2be2;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-blue: #00d4ff;
    --accent-orange: #ff6b35;
    --accent-pink: #ff0080;
    --glow-green: 0 0 20px rgba(0, 255, 65, 0.5);
    --glow-purple: 0 0 20px rgba(138, 43, 226, 0.5);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Sparkly Dots Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 65, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 10%, rgba(138, 43, 226, 0.35) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, rgba(0, 212, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 90% 50%, rgba(0, 255, 65, 0.4) 1.2px, transparent 1.2px),
        radial-gradient(circle at 20% 60%, rgba(138, 43, 226, 0.25) 0.8px, transparent 0.8px),
        radial-gradient(circle at 70% 90%, rgba(0, 212, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 30% 30%, rgba(0, 255, 65, 0.3) 1.1px, transparent 1.1px),
        radial-gradient(circle at 85% 75%, rgba(138, 43, 226, 0.35) 1.3px, transparent 1.3px),
        radial-gradient(circle at 15% 85%, rgba(0, 212, 255, 0.28) 0.9px, transparent 0.9px),
        radial-gradient(circle at 95% 25%, rgba(0, 255, 65, 0.4) 1.1px, transparent 1.1px),
        radial-gradient(circle at 50% 15%, rgba(255, 107, 53, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 25% 45%, rgba(255, 0, 128, 0.25) 0.8px, transparent 0.8px),
        radial-gradient(circle at 75% 65%, rgba(0, 255, 65, 0.35) 1.2px, transparent 1.2px),
        radial-gradient(circle at 60% 85%, rgba(138, 43, 226, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 35% 25%, rgba(0, 212, 255, 0.4) 1.1px, transparent 1.1px);
    background-size: 
        120px 120px,
        100px 100px,
        150px 150px,
        110px 110px,
        130px 130px,
        90px 90px,
        140px 140px,
        105px 105px,
        125px 125px,
        95px 95px,
        115px 115px,
        135px 135px,
        108px 108px,
        122px 122px,
        98px 98px;
    animation: sparkleFloat 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    20% {
        transform: translateY(-8px) translateX(4px) scale(1.1);
        opacity: 1.0;
    }
    40% {
        transform: translateY(-4px) translateX(-6px) scale(0.9);
        opacity: 0.8;
    }
    60% {
        transform: translateY(6px) translateX(2px) scale(1.05);
        opacity: 1.0;
    }
    80% {
        transform: translateY(3px) translateX(-3px) scale(0.95);
        opacity: 0.7;
    }
}

/* Additional sparkly dots with different animation patterns */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 60% 15%, rgba(0, 255, 65, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 25% 70%, rgba(138, 43, 226, 0.25) 0.9px, transparent 0.9px),
        radial-gradient(circle at 75% 35%, rgba(0, 212, 255, 0.2) 1.1px, transparent 1.1px),
        radial-gradient(circle at 45% 95%, rgba(0, 255, 65, 0.35) 0.8px, transparent 0.8px),
        radial-gradient(circle at 88% 65%, rgba(138, 43, 226, 0.2) 1.2px, transparent 1.2px),
        radial-gradient(circle at 12% 35%, rgba(255, 107, 53, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 65% 80%, rgba(255, 0, 128, 0.2) 0.9px, transparent 0.9px),
        radial-gradient(circle at 40% 10%, rgba(0, 212, 255, 0.3) 1.1px, transparent 1.1px),
        radial-gradient(circle at 80% 45%, rgba(0, 255, 65, 0.25) 0.8px, transparent 0.8px),
        radial-gradient(circle at 18% 85%, rgba(138, 43, 226, 0.3) 1.2px, transparent 1.2px);
    background-size: 
        160px 160px,
        140px 140px,
        180px 180px,
        150px 150px,
        170px 170px,
        145px 145px,
        155px 155px,
        165px 165px,
        135px 135px,
        175px 175px;
    animation: sparkleFloat2 18s ease-in-out infinite reverse;
    z-index: -1;
    pointer-events: none;
}

@keyframes sparkleFloat2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-12px) translateX(-3px) rotate(90deg) scale(1.15);
        opacity: 0.9;
    }
    50% {
        transform: translateY(8px) translateX(10px) rotate(180deg) scale(0.85);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-5px) translateX(7px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes heroSparkleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    20% {
        transform: translateY(-6px) translateX(3px) scale(1.2);
        opacity: 0.8;
    }
    40% {
        transform: translateY(-3px) translateX(-4px) scale(0.8);
        opacity: 0.6;
    }
    60% {
        transform: translateY(4px) translateX(2px) scale(1.1);
        opacity: 0.9;
    }
    80% {
        transform: translateY(2px) translateX(-2px) scale(0.9);
        opacity: 0.5;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-green);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-biomes-gif {
    height: 40px;
    width: auto;
    border-radius: 5px;
    margin-right: 10px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

/* Community Stats Slider */
.community-stats-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    overflow: hidden;
    position: relative;
    min-width: 300px;
}

.stats-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-slide {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 200px;
}

.stat-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.stat-slide.slide-out {
    opacity: 0;
    transform: translateX(-100%);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.7);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Slider indicators */
.stats-slider-indicators {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.stat-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-indicator.active {
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
    transform: scale(1.2);
}

.stat-indicator:hover {
    background: var(--neon-green);
    transform: scale(1.1);
}

/* Shiny Gold $BIOMES Button */
.biomes-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    border: 2px solid #ffd700;
    border-radius: 8px;
    color: #000;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: goldShimmer 3s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 4px 15px rgba(255, 215, 0, 0.3);
}

.biomes-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 6px 25px rgba(255, 215, 0, 0.5);
    animation-duration: 1.5s;
}

.biomes-button:active {
    transform: translateY(0) scale(1.02);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.biomes-button:hover .button-glow {
    opacity: 1;
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.biomes-button:hover .button-shine {
    left: 100%;
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.5),
            0 4px 15px rgba(255, 215, 0, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 0.7),
            0 4px 20px rgba(255, 215, 0, 0.4);
    }
}

.agent-chat-btn {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.75rem 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.agent-chat-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--glow-green);
}

.agent-chat-icon {
    display: none;
}

.btn-glow {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dna-helix {
    display: none;
}

.particle-field {
    display: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-text {
    max-width: none;
    margin-top: 2rem;
}

.welcome-message {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Prevent hero subtitle from wrapping on wide screens to keep sentence on one line */
@media (min-width: 1024px) {
    .hero-subtitle {
        white-space: nowrap;
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-glow {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    display: block;
}

.title-subtitle {
    color: var(--neon-purple);
    text-shadow: var(--glow-purple);
    font-size: 2rem;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    font-style: italic;
}

.cta-button {
    background: transparent;
    border: 3px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1.2rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
}

.cta-button:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
}

.cta-glow {
    display: none;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: visible;
    border-radius: 10px;
    margin: 0 auto 3rem auto;
}

.hero-assets {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-assets::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: transparent;
    z-index: 2;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(0, 255, 65, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(138, 43, 226, 0.35) 1.2px, transparent 1.2px),
        radial-gradient(circle at 45% 75%, rgba(0, 212, 255, 0.3) 0.9px, transparent 0.9px),
        radial-gradient(circle at 75% 55%, rgba(0, 255, 65, 0.4) 1.1px, transparent 1.1px),
        radial-gradient(circle at 25% 65%, rgba(138, 43, 226, 0.25) 0.8px, transparent 0.8px),
        radial-gradient(circle at 65% 85%, rgba(0, 212, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 35% 35%, rgba(0, 255, 65, 0.3) 1.1px, transparent 1.1px),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.35) 1.3px, transparent 1.3px),
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.28) 0.9px, transparent 0.9px),
        radial-gradient(circle at 90% 30%, rgba(0, 255, 65, 0.4) 1.1px, transparent 1.1px),
        radial-gradient(circle at 55% 20%, rgba(255, 107, 53, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 30% 50%, rgba(255, 0, 128, 0.25) 0.8px, transparent 0.8px),
        radial-gradient(circle at 70% 60%, rgba(0, 255, 65, 0.35) 1.2px, transparent 1.2px),
        radial-gradient(circle at 50% 90%, rgba(138, 43, 226, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 10%, rgba(0, 212, 255, 0.4) 1.1px, transparent 1.1px);
    background-size: 
        80px 80px,
        70px 70px,
        90px 90px,
        75px 75px,
        85px 85px,
        65px 65px,
        88px 88px,
        72px 72px,
        82px 82px,
        68px 68px,
        78px 78px,
        92px 92px,
        74px 74px,
        86px 86px,
        69px 69px;
    animation: heroSparkleFloat 12s ease-in-out infinite;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    z-index: 1;
}

.audio-unmute-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 65, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: var(--glow-green);
    animation: pulseGlow 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-unmute-hint:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.05);
}

.audio-unmute-hint span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-mute-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 65, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: var(--glow-green);
    animation: pulseGlow 2s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.hero-video-container:hover .audio-mute-hint.audio-active {
    opacity: 1;
    pointer-events: auto;
}

.audio-mute-hint:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.05);
}

.audio-mute-hint span {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
    }
}

.hero-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    box-shadow: var(--glow-green);
    z-index: 10;
}

.matrix-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

.code-stream {
    display: none;
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
}

/* Features Section */
.features {
    padding: 5rem 0 3rem;
    background: transparent;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--neon-green);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

.feature-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.feature-header .header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.feature-header .hypothesis-description {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
}

.feature-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.token-visual {
    display: flex;
    gap: 1rem;
}

.token-symbol {
    background: var(--neon-green);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.engine-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-green);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
}

/* Token Grid */
.token-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.token-card {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 2rem;
}

.token-card h5 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.token-card ul {
    list-style: none;
}

.token-card li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Centered Token Card */
.token-center {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.token-card.centered {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* Tokenomics Card */
.tokenomics-card {
    margin-top: 2rem;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tokenomics-item {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.12), rgba(0, 212, 255, 0.08)) !important;
    border: 3px solid rgba(0, 255, 65, 0.6) !important;
    border-radius: 15px !important;
    padding: 2.5rem 2rem !important;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.2) !important;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation for tokenomics items */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Crazy particle animation for microverse entry */
@keyframes crazyFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-30px, -60px) rotate(180deg) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translate(-50px, 20px) rotate(270deg) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

/* Stagger the floating animation for each item */
.tokenomics-item:nth-child(1) {
    animation-delay: 0s;
}

.tokenomics-item:nth-child(2) {
    animation-delay: 0.6s;
}

.tokenomics-item:nth-child(3) {
    animation-delay: 1.2s;
}

.tokenomics-item:nth-child(4) {
    animation-delay: 1.8s;
}

.tokenomics-item:nth-child(5) {
    animation-delay: 2.4s;
}

.tokenomics-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.6s ease;
}

.tokenomics-item:hover::before {
    left: 100%;
}

.tokenomics-item:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--neon-green);
}

.tokenomics-percentage {
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: var(--neon-green) !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.7) !important;
    position: relative;
    z-index: 1;
    letter-spacing: 2px !important;
}

.tokenomics-label {
    color: var(--text-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Staking System Spacing */
.staking-system {
    margin-top: 3rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(0, 255, 65, 0.2) !important;
}

/* Hypothesis Description */
.hypothesis-description {
    margin: 1rem 0 2rem 0;
    padding: 1.5rem;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    text-align: center;
}

.hypothesis-description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Staking System */
.staking-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.staking-tier {
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--accent-blue));
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    display: none;
}

/* Community Grid */
/* Trials Table */
.trials-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.trials-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
    background: transparent;
    border: 2px solid var(--accent-pink);
    border-radius: 4px;
    overflow: hidden;
}

.trials-table thead {
    background: rgba(255, 107, 53, 0.1);
    border-bottom: 3px solid var(--accent-pink);
}

.trials-table th {
    color: var(--accent-pink);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1.2rem 1rem;
    text-align: left;
    border-right: 2px solid var(--accent-pink);
    position: relative;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
}

.trials-table th:last-child {
    border-right: none;
}

.trials-table th:not(:last-child)::after {
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-pink);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

.trials-table td {
    color: var(--text-primary);
    padding: 1.2rem 1rem;
    border-right: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    font-size: 1rem;
    font-family: 'Share Tech Mono', monospace;
}

.trials-table td:last-child {
    border-right: none;
}

.trials-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.08);
    box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.trials-table tbody tr:hover td {
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.loading-cell {
    text-align: center;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.3rem;
    padding: 3rem 2rem;
    font-family: 'Share Tech Mono', monospace;
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed rgba(255, 107, 53, 0.4);
    border-radius: 4px;
    margin: 1rem;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Pill Choice */
.pill-choice {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
}

.pill {
    flex: 1;
    padding: 1.5rem;
    border: 2px solid;
    border-radius: 10px;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.red-pill {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.red-pill:hover {
    background: var(--accent-orange);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.blue-pill {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.blue-pill:hover {
    background: var(--accent-blue);
    color: var(--dark-bg);
    box-shadow: var(--glow-blue);
}

.pill-desc {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Generation Grid */
.generation-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.generation {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 1rem;
}

.gen-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gen-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

/* Neural Network */
.neural-network {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.network-visual {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.node-layer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
}



.terminal-header {
    background: linear-gradient(135deg, #2d2d2d, #404040);
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex-direction: row-reverse;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    background: transparent;
    border: none;
    color: #cccccc;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: monospace;
}

.control-btn:hover {
    color: #ffffff;
}

.terminal-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-family: 'Share Tech Mono', monospace;
    text-align: left;
    flex: 1;
    margin-right: 1rem;
    font-weight: normal;
}

.terminal-body {
    padding: 1.5rem;
    background: #000000;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    min-height: 200px;
    position: relative;
    z-index: 2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.terminal-line {
    display: flex;
    margin-bottom: 0.5rem;
    align-items: center;
    animation: terminalAppear 0.5s ease-in-out;
    position: relative;
    z-index: 3;
    width: 100%;
    overflow: hidden;
}

.terminal-line:nth-child(1) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.terminal-line:nth-child(2) {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.terminal-line:nth-child(3) {
    animation-delay: 1.0s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.terminal-line:nth-child(4) {
    animation-delay: 1.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.terminal-line:nth-child(5) {
    animation-delay: 1.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes terminalAppear {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-prompt {
    color: var(--neon-green);
    margin-right: 0;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    min-width: auto;
    display: inline-block;
}

.terminal-text {
    color: var(--text-primary);
    flex: 1;
}

.terminal-text.critical {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    font-weight: bold;
}

.terminal-text.warning {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
    font-weight: bold;
}

.terminal-text.error {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    font-weight: bold;
}

.terminal-cursor {
    color: var(--neon-green);
    animation: cursorBlink 1.2s infinite;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 255, 65, 1);
    display: inline-block;
    background: var(--neon-green);
    width: 10px;
    height: 18px;
    margin-left: 2px;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {
    0%, 45% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    }
    46%, 100% {
        opacity: 0;
        box-shadow: none;
    }
}

/* Terminal hover effects */
.terminal-container:hover {
    box-shadow: inset 0 0 30px rgba(0, 255, 65, 0.15);
}

.terminal-container:hover .terminal-cursor {
    animation-duration: 0.5s;
}

/* Insight Cards */
.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    box-shadow: var(--glow-blue);
    transform: translateY(-3px);
}

.insight-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: var(--glow-blue);
}

.insight-card h5 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* Raffles Section */
.raffles-section {
    padding: 3rem 0 5rem;
    background: transparent;
    position: relative;
}

/* Raffles Card - Desktop Only */
.raffles-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-blue);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 0;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.raffles-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.raffles-card .section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.raffles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 0;
}

.raffle-column {
    background: var(--card-bg);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.raffle-column:hover {
    box-shadow: var(--glow-blue);
    transform: translateY(-5px);
}

.column-header {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 1rem;
}

.raffle-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: left;
}

.raffle-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ticket-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.ticket-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.jackpot-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.jackpot-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.biomekeys-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.biomekeys-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.wallet-info span,
.raffle-details span,
.biomekey-details span {
    display: block;
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.enter-raffle-btn,
.buy-biomekeys-btn {
    background: linear-gradient(45deg, var(--accent-blue), var(--neon-purple));
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enter-raffle-btn:hover,
.buy-biomekeys-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Full-Screen Terminal Experience */
.fullscreen-terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fullscreen-terminal-container {
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: #0a0a0a;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--neon-green);
    box-shadow: 
        0 0 50px rgba(0, 255, 65, 0.3),
        inset 0 0 50px rgba(0, 255, 65, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.fullscreen-terminal-header {
    background: linear-gradient(90deg, #1a1a1a, #0f0f0f);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fullscreen-terminal-header .terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.fullscreen-terminal-header .control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fullscreen-terminal-header .control-btn.minimize {
    background: #ff6b35;
}

.fullscreen-terminal-header .control-btn.maximize {
    background: #00d4ff;
}

.fullscreen-terminal-header .control-btn.close {
    background: #ff0080;
}

.fullscreen-terminal-header .terminal-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.fullscreen-terminal-body {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: #0a0a0a;
    position: relative;
}

.fullscreen-terminal-body .terminal-line {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInFromLeft 0.5s ease-out forwards;
}

.fullscreen-terminal-body .terminal-line:nth-child(1) { animation-delay: 0.1s; }
.fullscreen-terminal-body .terminal-line:nth-child(2) { animation-delay: 0.2s; }
.fullscreen-terminal-body .terminal-line:nth-child(3) { animation-delay: 0.3s; }
.fullscreen-terminal-body .terminal-line:nth-child(4) { animation-delay: 0.4s; }
.fullscreen-terminal-body .terminal-line:nth-child(5) { animation-delay: 0.5s; }
.fullscreen-terminal-body .terminal-line:nth-child(6) { animation-delay: 0.6s; }
.fullscreen-terminal-body .terminal-line:nth-child(7) { animation-delay: 0.7s; }
.fullscreen-terminal-body .terminal-line:nth-child(8) { animation-delay: 0.8s; }

.fullscreen-terminal-body .terminal-prompt {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: bold;
    min-width: 80px;
}

.fullscreen-terminal-body .terminal-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

.fullscreen-terminal-body .terminal-text.critical {
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.fullscreen-terminal-body .terminal-text.warning {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.fullscreen-terminal-body .terminal-text.error {
    color: #ff0080;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.fullscreen-terminal-body .terminal-text.system {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.fullscreen-terminal-body .terminal-text.access {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.fullscreen-terminal-body .terminal-text.ready {
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
    font-weight: bold;
    font-size: 1.2rem;
}

.fullscreen-terminal-body .terminal-cursor {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    color: var(--neon-green);
    animation: blink 1s infinite;
}

.fullscreen-terminal-footer {
    padding: 1.5rem;
    background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
    border-top: 1px solid var(--neon-green);
    text-align: center;
}

.continue-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.continue-prompt .prompt-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.fullscreen-matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* Animations for full-screen terminal */
@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.glitch-char {
    animation: glitch 0.1s ease-in-out;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Responsive design for raffles grid */
@media (max-width: 768px) {
    .raffles-section {
        padding: 5rem 0;
        min-height: auto;
    }
    
    .raffles-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .raffle-column {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    /* Remove raffles card wrapper on mobile */
    .raffles-card {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
    }
    
    .raffles-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Move heading outside card on mobile */
    .raffles-section .container {
        position: relative;
    }
    
    .raffles-card .section-title {
        position: absolute;
        top: -4rem;
        left: 0;
        right: 0;
        margin-bottom: 0;
        text-align: center;
    }
    
    .raffles-grid {
        margin-top: 3rem;
    }
    
    /* Full-screen terminal mobile styles */
    .fullscreen-terminal-container {
        width: 95%;
        height: 85%;
        margin: 1rem;
    }
    
    .fullscreen-terminal-header {
        padding: 0.8rem 1rem;
    }
    
    .fullscreen-terminal-header .terminal-title {
        font-size: 0.7rem;
    }
    
    .fullscreen-terminal-body {
        padding: 1.5rem;
    }
    
    .fullscreen-terminal-body .terminal-text {
        font-size: 1rem;
    }
    
    .fullscreen-terminal-body .terminal-prompt {
        font-size: 0.9rem;
        min-width: 70px;
    }
    
    .continue-prompt .prompt-text {
        font-size: 0.9rem;
    }
}

/* Notification styles */
.notification {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-success {
    border-color: var(--neon-green);
}

.notification-warning {
    border-color: var(--accent-orange);
}

.notification-error {
    border-color: var(--accent-pink);
}

.notification-info {
    border-color: var(--accent-blue);
}

/* CTA Sections */
.cta-sections {
    padding: 5rem 0;
    background: transparent;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.cta-card {
    background: var(--card-bg);
    border: 1px solid var(--neon-green);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-card:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

.cta-card h3 {
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: transparent;
    border-top: 1px solid var(--neon-green);
    padding: 5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) minmax(240px, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h4 {
    color: var(--neon-green);
    margin-bottom: 1rem;
}

/* Align Community Stats column */
.footer .stats-grid .stat-item {
    text-align: left;
}

.footer .stats-grid .stat-number {
    text-align: left;
}

.footer .stats-grid .stat-label {
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--neon-green);
}


.stats-grid {
    display: grid;
    gap: 0.5rem;
    justify-items: start;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--neon-green);
}

.community-video {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: var(--glow-purple);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.community-video video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 65, 0.3);
    color: var(--text-secondary);
}

.footer-bottom a {
    color: #ffff00;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.6);
}

.footer-bottom a:hover {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
    transform: translateY(-1px);
}

/* Mobile Pill Slideshow Styles */
@media (max-width: 768px) {
    .pill-choice {
        position: relative;
        height: 100px; /* Fixed height for consistent positioning */
        overflow: hidden;
        flex-direction: row; /* Keep horizontal for slideshow */
        gap: 0; /* Remove gap for seamless transition */
        display: flex;
        align-items: center; /* Center pills vertically */
        margin: 1rem 0; /* Reduced margin */
    }
    
    .pill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Use full container height for consistent positioning */
        transform: translateX(100%);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        padding: 1rem 1.5rem; /* Reduced padding for mobile */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    
    .pill.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }
    
    .pill.slide-out {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
    
    /* Pill slideshow indicators */
    .pill-indicators {
        position: absolute;
        bottom: -25px; /* Move indicators below the container */
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px; /* Increased gap between indicators */
        z-index: 3;
        padding: 8px 0; /* Add some padding around indicators */
    }
    
    .pill-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .pill-indicator.active {
        background: var(--neon-green);
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
        transform: scale(1.2);
    }
    
    .pill-indicator.red {
        background: rgba(255, 107, 53, 0.3);
    }
    
    .pill-indicator.red.active {
        background: var(--accent-orange);
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }
    
    .pill-indicator.blue {
        background: rgba(0, 212, 255, 0.3);
    }
    
    .pill-indicator.blue.active {
        background: var(--accent-blue);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    
    /* Mobile-specific pill description styling */
    .pill-desc {
        font-size: 0.8rem; /* Slightly smaller on mobile */
        margin-top: 0.3rem; /* Reduced margin */
        line-height: 1.3; /* Tighter line height */
        text-align: center;
    }
    
    /* Adjust pill text sizing for mobile */
    .pill {
        font-size: 1rem; /* Slightly smaller main text */
    }
    
    /* Reduce feature card padding on mobile */
    .feature-card {
        padding: 0.8rem; /* Further reduced from 1rem */
        margin-bottom: 3rem; /* Keep consistent with desktop */
    }
    
    /* Add extra margin to morpheus persona card to accommodate indicators */
    .morpheus-persona {
        margin-bottom: 2rem; /* Extra space for indicators below pills */
    }
    
    /* Reduce persona choice section spacing */
    .persona-choice h4 {
        margin-bottom: 0.8rem; /* Further reduced from 1rem */
        font-size: 1.2rem; /* Further reduced from 1.3rem */
    }
    
    /* Reduce cyberpunk typing container margin */
    .cyberpunk-typing-container {
        margin: 0.8rem auto; /* Further reduced from 1rem */
        max-width: 350px; /* Further reduced from 400px */
    }
    
    .typing-content {
        min-height: 150px;
        padding: 0.8rem;
    }
    
    .typing-prompt {
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .typing-text {
        font-size: 0.8rem;
    }
    
    /* Reduce feature header spacing */
    .feature-header {
        margin-bottom: 0.8rem; /* Further reduced from 1rem */
        padding-bottom: 0.3rem; /* Further reduced from 0.5rem */
    }
    
    /* Reduce pill padding further */
    .pill {
        padding: 0.8rem 1.2rem; /* Further reduced padding */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation Layout */
    .navbar {
        top: 12px;
        width: calc(100% - 32px);
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        background: linear-gradient(135deg, rgba(10, 16, 24, 0.92), rgba(6, 26, 20, 0.82));
        border: 1px solid rgba(0, 255, 65, 0.35);
        border-radius: 18px;
        box-shadow: 0 10px 40px rgba(0, 255, 65, 0.15);
        backdrop-filter: blur(14px);
    }
    
    .nav-container {
        position: relative;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding: 12px 18px 16px;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    /* Top row: Logo and Agent chat */
    .nav-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        order: 1;
        width: 100%;
        justify-content: flex-start;
        padding-right: 3.5rem; /* Reserve room for the floating wallet button */
    }
    
    .nav-logo-img {
        height: 42px;
        width: auto;
        filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.25));
    }
    
    /* Agent chat button positioned in top right */
    .agent-chat-btn {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.9rem;
        height: 2.9rem;
        padding: 0;
        font-size: 1.3rem;
        border-radius: 50%;
        min-width: 0;
        background: radial-gradient(circle at 30% 30%, rgba(0, 255, 65, 0.35), rgba(0, 255, 65, 0));
        border: 1px solid rgba(0, 255, 65, 0.5);
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    }
    
    .agent-chat-btn:hover {
        background: radial-gradient(circle at 30% 30%, rgba(0, 255, 122, 0.8), rgba(0, 255, 65, 0.2));
        color: var(--dark-bg);
        box-shadow: 0 0 32px rgba(0, 255, 122, 0.45);
    }
    
    .agent-chat-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.6rem;
        height: 1.6rem;
        transform: rotate(45deg);
        border: 2px solid var(--neon-green);
        border-radius: 0.65rem;
        box-shadow: 0 0 18px rgba(0, 255, 65, 0.35);
        background: radial-gradient(circle at 30% 30%, rgba(0, 255, 65, 0.4), rgba(0, 255, 65, 0.05));
    }
    
    .agent-chat-icon::before {
        content: '';
        width: 0.75rem;
        height: 0.75rem;
        border: 2px solid rgba(0, 255, 65, 0.6);
        border-radius: 0.35rem;
        transform: rotate(-45deg);
        opacity: 0.85;
        box-shadow: inset 0 0 12px rgba(0, 255, 65, 0.35);
    }
    
    /* Keep accessible label while hiding the text visually */
    .agent-chat-btn .btn-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* Community stats slider in the next row */
    .community-stats-slider {
        min-width: 250px;
        width: 100%;
        min-height: 74px;
        order: 2;
        margin: 0.75rem 0 0;
        border: 1px solid rgba(0, 212, 255, 0.25);
        padding: 1rem 18px 1.1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(9, 14, 24, 0.85), rgba(4, 18, 27, 0.8));
        box-shadow: 0 12px 30px rgba(0, 212, 255, 0.18);
        backdrop-filter: blur(16px);
    }
    
    .stat-slide {
        min-width: 210px;
        padding-bottom: 0.35rem;
    }
    
    .stat-number {
        font-size: 1.7rem;
        margin-bottom: 0.35rem;
        background: linear-gradient(135deg, #00ff41 0%, #00d4ff 100%);
        -webkit-background-clip: text;
        color: transparent;
        text-shadow: 0 0 18px rgba(0, 255, 65, 0.35);
    }
    
    .stat-label {
        font-size: 0.88rem;
        letter-spacing: 0.2rem;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
    }
    
    .stats-slider-indicators {
        bottom: -16px;
    }
    
    .stat-indicator {
        width: 6px;
        height: 6px;
    }
    
    .stat-indicator.active {
        background: linear-gradient(135deg, #00ff41, #00d4ff);
        box-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
    }
    
    .biomes-button {
        padding: 0.7rem 1.75rem;
        font-size: 0.92rem;
        width: 100%;
        max-width: 260px;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(255, 215, 0, 0.25);
    }
    
    .hero {
        padding: 170px 0 110px; /* Extra breathing room below the fixed nav */
        min-height: auto;
        height: auto;
    }
    
    .hero-content {
        /* Show video first, then text on mobile */
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 26px 22px 32px;
        max-width: 92%; /* Better readability */
        margin: 0 auto;
        gap: 2.6rem;
        width: 100%;
        position: relative;
        border-radius: 24px;
        border: 1px solid rgba(0, 212, 255, 0.25);
        background: radial-gradient(circle at top, rgba(0, 212, 255, 0.08), transparent 60%), rgba(8, 12, 20, 0.75);
        box-shadow: 0 25px 55px rgba(0, 212, 255, 0.18);
        overflow: hidden;
    }
    
    .hero-content::before {
        content: '';
        position: absolute;
        inset: 2px;
        border-radius: 22px;
        border: 1px solid rgba(0, 255, 65, 0.1);
        pointer-events: none;
    }
    
    .hero-content::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.08), transparent 55%),
                    linear-gradient(-135deg, rgba(0, 212, 255, 0.08), transparent 55%);
        opacity: 0.45;
        mix-blend-mode: screen;
        pointer-events: none;
    }
    
    .hero-text {
        margin-top: 2.4rem; /* Push welcome message lower */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .welcome-message {
        font-size: 1.85rem; /* Slight bump for better hierarchy */
        margin: 0;
        background: linear-gradient(135deg, #00d4ff 0%, #8a2be2 35%, #00ff41 100%);
        -webkit-background-clip: text;
        color: transparent;
        text-shadow: 0 0 35px rgba(0, 212, 255, 0.45);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        line-height: 1.25;
    }
    
    .cta-button {
        padding: 1.2rem 2.6rem; /* Slightly larger CTA tap target */
        font-size: 1.12rem; /* Minor bump in size */
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        display: block;
        background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 212, 255, 0.15));
        border: 2px solid rgba(0, 255, 65, 0.65);
        box-shadow: 0 20px 45px rgba(0, 255, 65, 0.25);
        letter-spacing: 0.3rem;
    }
    
    .cta-button:hover {
        background: linear-gradient(135deg, rgba(0, 255, 122, 0.4), rgba(0, 212, 255, 0.35));
        color: var(--dark-bg);
        box-shadow: 0 26px 55px rgba(0, 255, 122, 0.38);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-video-container {
        position: relative;
        max-width: min(416px, calc(0.8 * (100vw - 24px)));
        width: calc(0.8 * (100vw - 32px));
        aspect-ratio: 9 / 16; /* Match portrait video to avoid cropping */
        max-height: 60vh;
        overflow: hidden;
        margin: 0 auto; /* Center the media */
        border-radius: 22px;
        border: 1px solid rgba(0, 212, 255, 0.35);
        box-shadow: 0 25px 45px rgba(0, 212, 255, 0.22);
        background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0));
    }
    
    .hero-video-container::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 22px;
        box-shadow: inset 0 0 35px rgba(0, 212, 255, 0.3);
        pointer-events: none;
    }
    
    /* Enlarge video modestly for mobile while avoiding awkward cropping */
    .hero-video-container .hero-video {
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: contain; /* Maintain aspect ratio without cropping */
        object-position: center;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
    }
    
    .token-grid {
        grid-template-columns: 1fr;
    }
    
    
    .staking-tier {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .network-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .node-layer {
        flex-direction: row;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Center social media handles on mobile */
    .social-links {
        justify-content: center;
    }
}

/* Glitch Effects */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch-effect {
    animation: glitch 0.3s ease-in-out infinite;
}

/* Initializing Overlay */
.initializing-overlay {
    background: transparent;
    border: 3px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-green);
    animation: glitch 0.3s ease-in-out infinite;
    box-sizing: border-box;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* Choice Video Styling */
.persona-choice h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Cyberpunk Typing Animation Container */
.cyberpunk-typing-container {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    border: 2px solid var(--neon-green);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.cyberpunk-typing-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.typing-terminal {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 20, 0, 0.8));
    border-radius: 8px;
    overflow: hidden;
}

.terminal-header-typing {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-controls-typing {
    display: flex;
    gap: 0.5rem;
}

.control-btn-typing {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn-typing.minimize {
    background: #ffbd2e;
    color: #000;
}

.control-btn-typing.maximize {
    background: #28ca42;
    color: #000;
}

.control-btn-typing.close {
    background: #ff5f56;
    color: #000;
}

.terminal-title-typing {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.typing-content {
    padding: 1rem;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.7);
}

.typing-line {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

.typing-line:nth-child(1) { animation-delay: 0.5s; }
.typing-line:nth-child(2) { animation-delay: 2s; }
.typing-line:nth-child(3) { animation-delay: 4.5s; }
.typing-line:nth-child(4) { animation-delay: 7s; }

.typing-prompt {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: #ff6b6b;
    margin-right: 0.5rem;
    min-width: 80px;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.typing-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    flex: 1;
}

.typing-cursor {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-green);
    animation: blink 1s infinite;
    margin-left: 0.2rem;
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Privacy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.3);
}

.privacy-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 1;
}

.modal-header h2 {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.agreement-content h3 {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.agreement-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--neon-green);
}

.agreement-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.agreement-section h4 {
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.agreement-section h4::before {
    content: '🔒';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.agreement-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.agreement-section ul {
    list-style: none;
    padding-left: 0;
}

.agreement-section li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.agreement-section li::before {
    content: '✓';
    color: var(--neon-green);
    position: absolute;
    left: 0;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.agreement-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.btn-accept, .btn-decline {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.btn-accept {
    background: var(--neon-green);
    color: var(--dark-bg);
    border: 2px solid var(--neon-green);
}

.btn-accept:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    transform: translateY(-2px);
}

.btn-accept .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-accept:hover .btn-glow {
    left: 100%;
}

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

.btn-decline:hover {
    background: var(--accent-pink);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
    transform: translateY(-2px);
}

/* Modal scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 255, 65, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #00cc33;
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .agreement-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accept, .btn-decline {
        width: 100%;
        max-width: 300px;
    }
}

/* Modal entrance animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.privacy-modal.active .modal-content {
    animation: modalSlideIn 0.4s ease-out;
}

/* Cyberpunk Acceptance Overlay Styles */
.cyberpunk-acceptance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: cyberpunkFadeIn 0.5s ease-out forwards;
}

.cyberpunk-acceptance-overlay.fade-out {
    animation: cyberpunkFadeOut 0.5s ease-in forwards;
}

@keyframes cyberpunkFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cyberpunkFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.cyberpunk-terminal {
    background: var(--darker-bg);
    border: 3px solid var(--neon-green);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 50px rgba(0, 255, 65, 0.5),
        inset 0 0 50px rgba(0, 255, 65, 0.1);
}

.terminal-header {
    background: var(--card-bg);
    border-bottom: 2px solid var(--neon-green);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.control-btn:hover {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
}

.terminal-title {
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.terminal-body {
    padding: 2rem;
    background: var(--darker-bg);
    min-height: 300px;
    position: relative;
}

.terminal-line {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    animation: terminalLineFadeIn 0.5s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.4s; }
.terminal-line:nth-child(3) { animation-delay: 0.6s; }
.terminal-line:nth-child(4) { animation-delay: 0.8s; }
.terminal-line:nth-child(5) { animation-delay: 1.0s; }
.terminal-line:nth-child(6) { animation-delay: 1.2s; }

.terminal-line.final-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

@keyframes terminalLineFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-prompt {
    color: var(--accent-blue);
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    min-width: 120px;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.terminal-text {
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    flex: 1;
    line-height: 1.6;
}

.terminal-text.critical {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.terminal-text.success {
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.terminal-text.matrix {
    color: var(--accent-purple);
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.5);
}

.terminal-text.redirect {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.terminal-text.loading {
    color: var(--accent-blue);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.terminal-text.complete {
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    font-weight: bold;
}

.terminal-cursor {
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glitch-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 
        0 0 20px rgba(0, 255, 65, 0.8),
        0 0 40px rgba(0, 255, 65, 0.6),
        0 0 60px rgba(0, 255, 65, 0.4);
    z-index: 3;
    opacity: 0;
    animation: glitchTextAppear 2s ease-out 1s forwards;
}

.redirect-status {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-orange);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 
        0 0 15px rgba(255, 107, 53, 0.8),
        0 0 30px rgba(255, 107, 53, 0.6);
    z-index: 3;
    opacity: 0;
    animation: redirectStatusAppear 1s ease-out 2s forwards;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--accent-orange);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.redirect-status.transitioning {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    text-shadow: 
        0 0 15px rgba(0, 212, 255, 0.8),
        0 0 30px rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.1);
    animation: redirectStatusTransition 0.5s ease-in-out infinite alternate;
}

.redirect-status.redirecting {
    color: var(--neon-green);
    border-color: var(--neon-green);
    text-shadow: 
        0 0 15px rgba(0, 255, 65, 0.8),
        0 0 30px rgba(0, 255, 65, 0.6);
    background: rgba(0, 255, 65, 0.1);
    animation: redirectStatusRedirect 0.3s ease-in-out infinite;
}

.redirect-status.fallback {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
    text-shadow: 
        0 0 15px rgba(255, 0, 128, 0.8),
        0 0 30px rgba(255, 0, 128, 0.6);
    background: rgba(255, 0, 128, 0.1);
    animation: redirectStatusFallback 0.5s ease-in-out infinite alternate;
}

@keyframes redirectStatusAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes redirectStatusTransition {
    from {
        transform: translateX(-50%) scale(1);
    }
    to {
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes redirectStatusRedirect {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes redirectStatusFallback {
    from {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.8;
    }
}

/* Cinematic transition effects */
.cyberpunk-acceptance-overlay.cinematic-fade-out {
    transition: opacity 2.5s ease-in-out;
}

.new-page-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 14000;
    opacity: 0;
    transition: opacity 3s ease-in-out, transform 2s ease-out;
    background: #000;
    box-shadow: 0 0 100px rgba(0, 255, 65, 0.3);
}

.new-page-frame.loaded {
    opacity: 1;
}

/* Enhanced matrix rain during transition */
.cyberpunk-acceptance-overlay.cinematic-fade-out .matrix-rain {
    animation: matrixRainIntensify 2s ease-in-out forwards;
}

@keyframes matrixRainIntensify {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.1;
    }
}

/* Terminal fade out effect */
.cyberpunk-acceptance-overlay.cinematic-fade-out .cyberpunk-terminal {
    animation: terminalFadeOut 2.5s ease-in-out forwards;
}

@keyframes terminalFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Glitch text fade out */
.cyberpunk-acceptance-overlay.cinematic-fade-out .glitch-text {
    animation: glitchTextFadeOut 2s ease-in-out forwards;
}

@keyframes glitchTextFadeOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Blue Pill Matrix Experience Styles */
.blue-pill-matrix-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: bluePillFadeIn 0.5s ease-out forwards;
}

.blue-pill-matrix-overlay.cinematic-fade-out {
    transition: opacity 2.5s ease-in-out;
}

@keyframes bluePillFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.matrix-terminal {
    background: var(--darker-bg);
    border: 3px solid var(--accent-blue);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 50px rgba(0, 212, 255, 0.5),
        inset 0 0 50px rgba(0, 212, 255, 0.1);
}

.terminal-header.blue-theme {
    background: var(--card-bg);
    border-bottom: 2px solid var(--accent-blue);
}

.terminal-header.blue-theme .terminal-title {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.blue-matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.matrix-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 
        0 0 20px rgba(0, 212, 255, 0.8),
        0 0 40px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.4);
    z-index: 3;
    opacity: 0;
    animation: matrixTextAppear 2s ease-out 1s forwards;
}

@keyframes matrixTextAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.discord-status {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 
        0 0 15px rgba(0, 212, 255, 0.8),
        0 0 30px rgba(0, 212, 255, 0.6);
    z-index: 3;
    opacity: 0;
    animation: discordStatusAppear 1s ease-out 2s forwards;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent-blue);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.discord-status.transitioning {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    text-shadow: 
        0 0 15px rgba(138, 43, 226, 0.8),
        0 0 30px rgba(138, 43, 226, 0.6);
    background: rgba(138, 43, 226, 0.1);
    animation: discordStatusTransition 0.5s ease-in-out infinite alternate;
}

.discord-status.redirecting {
    color: var(--neon-green);
    border-color: var(--neon-green);
    text-shadow: 
        0 0 15px rgba(0, 255, 65, 0.8),
        0 0 30px rgba(0, 255, 65, 0.6);
    background: rgba(0, 255, 65, 0.1);
    animation: discordStatusRedirect 0.3s ease-in-out infinite;
}

.discord-status.fallback {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
    text-shadow: 
        0 0 15px rgba(255, 0, 128, 0.8),
        0 0 30px rgba(255, 0, 128, 0.6);
    background: rgba(255, 0, 128, 0.1);
    animation: discordStatusFallback 0.5s ease-in-out infinite alternate;
}

@keyframes discordStatusAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes discordStatusTransition {
    from {
        transform: translateX(-50%) scale(1);
    }
    to {
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes discordStatusRedirect {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes discordStatusFallback {
    from {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.8;
    }
}

/* Discord frame styles */
.discord-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 14000;
    opacity: 0;
    transition: opacity 3s ease-in-out, transform 2s ease-out;
    background: #000;
    box-shadow: 0 0 100px rgba(0, 212, 255, 0.3);
}

.discord-frame.loaded {
    opacity: 1;
}

/* Blue pill terminal line animations */
.blue-pill-matrix-overlay .terminal-line:nth-child(1) { animation-delay: 0.2s; }
.blue-pill-matrix-overlay .terminal-line:nth-child(2) { animation-delay: 0.4s; }
.blue-pill-matrix-overlay .terminal-line:nth-child(3) { animation-delay: 0.6s; }
.blue-pill-matrix-overlay .terminal-line:nth-child(4) { animation-delay: 0.8s; }
.blue-pill-matrix-overlay .terminal-line:nth-child(5) { animation-delay: 1.0s; }

.blue-pill-matrix-overlay .terminal-line.final-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

/* Blue pill terminal text colors */
.blue-pill-matrix-overlay .terminal-text.status {
    color: var(--accent-blue);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.blue-pill-matrix-overlay .terminal-text.warning {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.blue-pill-matrix-overlay .terminal-text.redirect {
    color: var(--accent-purple);
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.5);
}

.blue-pill-matrix-overlay .terminal-text.loading {
    color: var(--accent-blue);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.blue-pill-matrix-overlay .terminal-text.complete {
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    font-weight: bold;
}

/* Blue pill cinematic fade out effects */
.blue-pill-matrix-overlay.cinematic-fade-out .blue-matrix-rain {
    animation: blueMatrixRainIntensify 2s ease-in-out forwards;
}

@keyframes blueMatrixRainIntensify {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.1;
    }
}

.blue-pill-matrix-overlay.cinematic-fade-out .matrix-terminal {
    animation: blueTerminalFadeOut 2.5s ease-in-out forwards;
}

@keyframes blueTerminalFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.blue-pill-matrix-overlay.cinematic-fade-out .matrix-text {
    animation: matrixTextFadeOut 2s ease-in-out forwards;
}

@keyframes matrixTextFadeOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Red Pill Success Message Styles */
.red-pill-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 16000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: successFadeIn 0.5s ease-out forwards;
}

.red-pill-success-overlay.fade-out {
    animation: successFadeOut 0.5s ease-in forwards;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.success-message-container {
    background: var(--card-bg);
    border: 3px solid var(--neon-green);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    text-align: center;
    position: relative;
    box-shadow: 
        0 0 50px rgba(0, 255, 65, 0.5),
        inset 0 0 50px rgba(0, 255, 65, 0.1);
    display: flex;
    flex-direction: column;
}

.success-message-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    margin-right: -1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green) transparent;
    scroll-behavior: smooth;
}

.success-message-scrollable::-webkit-scrollbar {
    width: 8px;
}

.success-message-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.success-message-scrollable::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
    border: 2px solid var(--card-bg);
}

.success-message-scrollable::-webkit-scrollbar-thumb:hover {
    background: #00cc33;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Additional content styles for red pill frame */
.additional-info {
    margin-top: 2rem;
    text-align: left;
}

.info-subtitle {
    color: var(--neon-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.08);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-content h4 {
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.technical-details {
    margin-top: 2rem;
    text-align: left;
}

.tech-subtitle {
    color: var(--neon-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
}

.tech-label {
    color: var(--text-secondary);
    font-weight: bold;
}

.tech-value {
    color: var(--neon-green);
    text-align: right;
    max-width: 60%;
}

.success-icon {
    font-size: 4rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

.success-title {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.success-message {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Share Tech Mono', monospace;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
}

.feature-icon {
    font-size: 1.5rem;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.15);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    margin-bottom: 2rem;
    color: var(--neon-green);
    font-weight: bold;
}

.shield-icon {
    font-size: 1.2rem;
}

.proceed-btn {
    background: var(--neon-green);
    color: var(--dark-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--neon-green);
    margin-top: 1rem;
    flex-shrink: 0;
}

.proceed-btn:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    transform: translateY(-2px);
}

.proceed-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.proceed-btn:hover .btn-glow {
    left: 100%;
}

/* Blue Pill Choice Overlay Styles */
.blue-pill-choice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 16000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: blueChoiceFadeIn 0.5s ease-out forwards;
}

.blue-pill-choice-overlay.fade-out {
    animation: blueChoiceFadeOut 0.5s ease-in forwards;
}

@keyframes blueChoiceFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blueChoiceFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.blue-pill-message-container {
    background: var(--card-bg);
    border: 3px solid var(--accent-blue);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    text-align: center;
    position: relative;
    box-shadow: 
        0 0 50px rgba(0, 212, 255, 0.5),
        inset 0 0 50px rgba(0, 212, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.blue-pill-message-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    margin-right: -1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) transparent;
    scroll-behavior: smooth;
}

.blue-pill-message-scrollable::-webkit-scrollbar {
    width: 8px;
}

.blue-pill-message-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.blue-pill-message-scrollable::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
    border: 2px solid var(--card-bg);
}

.blue-pill-message-scrollable::-webkit-scrollbar-thumb:hover {
    background: #00b8e6;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Additional content styles for blue pill frame */
.discord-guidelines {
    margin-top: 2rem;
    text-align: left;
}

.guidelines-subtitle {
    color: var(--accent-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.guideline-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Share Tech Mono', monospace;
}

.guideline-item.allowed {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-primary);
}

.guideline-item.restricted {
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: var(--text-secondary);
}

.guideline-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.community-features {
    margin-top: 2rem;
    text-align: left;
}

.features-subtitle {
    color: var(--accent-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.community-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
}

.community-feature .feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.community-feature .feature-content h4 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.community-feature .feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.blue-pill-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.blue-pill-title {
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.blue-pill-message {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Share Tech Mono', monospace;
}

.privacy-warning {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--accent-orange);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warning-icon {
    font-size: 1.5rem;
}

.warning-text {
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.warning-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
}

.item-icon {
    font-size: 1.2rem;
}

.access-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent-blue);
    border-radius: 10px;
    margin-bottom: 2rem;
    color: var(--accent-blue);
    font-weight: bold;
}

.info-icon {
    font-size: 1.2rem;
}

.proceed-to-discord-btn {
    background: var(--accent-blue);
    color: var(--dark-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
    margin-top: 1rem;
    flex-shrink: 0;
}

.proceed-to-discord-btn:hover {
    background: transparent;
    color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.proceed-to-discord-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.proceed-to-discord-btn:hover .btn-glow {
    left: 100%;
}

/* Responsive design for new overlays */
@media (max-width: 768px) {
    .success-message-container,
    .blue-pill-message-container {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 85vh;
        width: 95%;
    }
    
    .success-title,
    .blue-pill-title {
        font-size: 1.5rem;
    }
    
    .success-message,
    .blue-pill-message {
        font-size: 1rem;
    }
    
    .features-list,
    .warning-details,
    .info-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item,
    .warning-item,
    .info-item,
    .community-feature {
        padding: 0.8rem;
    }
    
    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tech-value {
        max-width: 100%;
        text-align: left;
    }
    
    .success-message-scrollable,
    .blue-pill-message-scrollable {
        padding-right: 0.5rem;
        margin-right: -0.5rem;
    }
}

@media (max-width: 480px) {
    .success-message-container,
    .blue-pill-message-container {
        padding: 1rem;
        margin: 0.5rem;
        max-height: 90vh;
    }
    
    .success-icon,
    .blue-pill-icon {
        font-size: 3rem;
    }
    
    .success-title,
    .blue-pill-title {
        font-size: 1.3rem;
    }
    
    .info-subtitle,
    .guidelines-subtitle,
    .features-subtitle,
    .tech-subtitle {
        font-size: 1.1rem;
    }
}

@keyframes glitchTextAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.glitch-char {
    animation: glitchChar 0.1s ease-in-out;
}

@keyframes glitchChar {
    0%, 100% {
        transform: translateX(0);
        color: var(--text-primary);
    }
    25% {
        transform: translateX(-2px);
        color: var(--accent-pink);
    }
    50% {
        transform: translateX(2px);
        color: var(--accent-blue);
    }
    75% {
        transform: translateX(-1px);
        color: var(--neon-green);
    }
}

/* Responsive design for cyberpunk overlay */
@media (max-width: 768px) {
    .cyberpunk-terminal {
        width: 95%;
        margin: 1rem;
    }
    
    .terminal-header {
        padding: 1rem;
    }
    
    .terminal-body {
        padding: 1.5rem;
    }
    
    .glitch-text {
        font-size: 2rem;
        top: 15%;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
}

/* Removed Coming Soon Overlay Styles - No longer needed */

/* Removed Login Modal Styles - No longer needed */
