:root {
    /* Synthwave Color Palette - Dark Theme */
    --bg-primary: #0B0F19;
    --bg-secondary: #12121A;
    --bg-panel: #151528;
    --bg-card: #1A1A2E;
    --border: #1E2233;
    --border-glow: #27304a;
    
    /* Text Colors */
    --text-primary: #E9E9EE;
    --text-secondary: #A0A4AE;
    --text-muted: #6B7280;
    
    /* Neon Colors */
    --neon-lime: #B7FF39;
    --neon-amber: #F5B759;
    --neon-pink: #F81CE5;
    --neon-cyan: #00D4FF;
    --neon-purple: #8B5CF6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-lime), var(--neon-amber));
    --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    --gradient-bg: radial-gradient(1200px 800px at 70% -10%, #151528 0%, var(--bg-primary) 60%);
    
    /* Shadows */
    --shadow-glow: 0 0 20px rgba(183, 255, 57, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-button: 0 4px 16px rgba(183, 255, 57, 0.2);
}

/* Light Theme */
[data-theme="light"] {
    /* Light Synthwave Color Palette */
    --bg-primary: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-panel: #FFFFFF;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --border-glow: #CBD5E1;
    
    /* Light Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    
    /* Neon Colors (slightly darker for better contrast) */
    --neon-lime: #84CC16;
    --neon-amber: #F59E0B;
    --neon-pink: #EC4899;
    --neon-cyan: #0EA5E9;
    --neon-purple: #8B5CF6;
    
    /* Light Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-lime), var(--neon-amber));
    --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    --gradient-bg: radial-gradient(1200px 800px at 70% -10%, #F1F5F9 0%, var(--bg-primary) 60%);
    
    /* Light Shadows */
    --shadow-glow: 0 0 20px rgba(132, 204, 22, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-button: 0 4px 16px rgba(132, 204, 22, 0.15);
}

/* Light theme specific adjustments */
[data-theme="light"] .stars-bg {
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(14, 165, 233, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(132, 204, 22, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(245, 158, 11, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(139, 92, 246, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
}

[data-theme="light"] .grid-bg {
    background: 
        linear-gradient(rgba(132, 204, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 204, 22, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
}

[data-theme="light"] .toilet {
    filter: drop-shadow(0 0 30px rgba(132, 204, 22, 0.3));
}

[data-theme="light"] .poop {
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.3));
}

[data-theme="light"] .hero-badge {
    background: rgba(241, 245, 249, 0.8);
}

[data-theme="light"] .hero-ticker {
    background: rgba(241, 245, 249, 0.8);
}

[data-theme="light"] .section-dark {
    background: rgba(241, 245, 249, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--neon-cyan), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--neon-pink), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--neon-lime), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--neon-amber), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--neon-purple), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    z-index: -2;
    animation: stars-twinkle 4s linear infinite;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(183, 255, 57, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(183, 255, 57, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: grid-move 20s linear infinite;
}

@keyframes stars-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background: rgba(21, 21, 40, 0.5);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-lime);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    padding: 8px 12px !important;
    min-width: auto !important;
    border-radius: 8px !important;
}

.theme-toggle:hover {
    background: rgba(183, 255, 57, 0.1) !important;
    transform: translateY(-1px) !important;
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(183, 255, 57, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(248, 28, 229, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--neon-lime);
}

.btn-outline:hover {
    background: rgba(183, 255, 57, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(21, 21, 40, 0.8);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-lime);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-lime);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-ticker {
    overflow: hidden;
    background: rgba(21, 21, 40, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

.ticker-content {
    animation: ticker 30s linear infinite;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toilet-animation {
    position: relative;
    width: 300px;
    height: 300px;
    transform: translateX(-750px);
}

.toilet {
    font-size: 6rem;
    animation: float 3s ease-in-out infinite;
    text-align: center;
    filter: drop-shadow(0 0 30px rgba(183, 255, 57, 0.5));
    position: relative;
    left: 20%;
    top: 10%;
}

.poop {
    position: absolute;
    font-size: 2.5rem;
    top: 17%;
    left: 54%;
    animation: poop-float 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(248, 28, 229, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes poop-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-15px) rotate(5deg); 
        opacity: 1;
    }
}

.hash-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hash-particles::before,
.hash-particles::after {
    content: '█ ▓ ░ ■ ▪';
    position: absolute;
    font-size: 1rem;
    color: var(--neon-lime);
    animation: particles 4s linear infinite;
}


.hash-particles::before {
    top: 20%;
    left: 80%;
    animation-delay: -1s;
}

.hash-particles::after {
    top: 60%;
    right: 80%;
    animation-delay: -2s;
}

@keyframes particles {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-300px) rotate(360deg);
    }
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--neon-lime);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--neon-lime);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tokenomics */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.tokenomics-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.tokenomics-card h3 {
    color: var(--neon-amber);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.tokenomics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.tokenomics-item:last-child {
    border-bottom: none;
}

.tokenomics-item .label {
    color: var(--text-secondary);
    font-weight: 600;
}

.tokenomics-item .value {
    color: var(--neon-lime);
    font-weight: 700;
}

.distribution-chart {
    margin: 2rem 0;
}

.chart-bar {
    height: 40px;
    background: rgba(183, 255, 57, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: relative;
    animation: bar-fill 2s ease-out;
}

@keyframes bar-fill {
    0% { width: 0%; }
}

.bar-fill::after {
    content: attr(data-label);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Mining Section */
.mining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mining-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.mining-card h3 {
    color: var(--neon-amber);
    margin-bottom: 1.5rem;
}

.pool-info {
    margin-bottom: 2rem;
}

.pool-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.pool-stat:last-child {
    border-bottom: none;
}

.pool-stat .label {
    color: var(--text-secondary);
}

.pool-stat .value {
    color: var(--neon-lime);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block code {
    color: var(--neon-lime);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.mining-tools {
    text-align: center;
}

.mining-tools h3 {
    color: var(--neon-amber);
    margin-bottom: 2rem;
}

.miners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.miner-item {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-secondary);
}

.miner-item strong {
    color: var(--neon-lime);
}

/* Roadmap */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: var(--border);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-panel);
    border: 2px solid var(--border);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-item.completed .timeline-marker {
    background: var(--neon-lime);
    border-color: var(--neon-lime);
}

.timeline-item.active .timeline-marker {
    background: var(--neon-amber);
    border-color: var(--neon-amber);
    animation: pulse 2s infinite;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: var(--neon-lime);
    margin-bottom: 0.5rem;
}

.timeline-item.active .timeline-content h3 {
    color: var(--neon-amber);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-date {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Community */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.community-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--neon-lime);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.community-card h3 {
    color: var(--neon-lime);
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.member-count {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--neon-amber);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--neon-lime);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--neon-lime);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* SIMPLIFIED MOBILE LAYOUT */
@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
        gap: 20px;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 15px;
        max-width: 95%;
    }
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    .stat {
        background: rgba(21, 21, 40, 0.8);
        padding: 10px;
        border-radius: 10px;
        width: calc(50% - 10px);
        box-sizing: border-box;
        text-align: center;
    }
    .stat-value {
        font-size: 1.25rem;
    }
    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
    }
    .hero-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .btn-large {
        width: 90%;
        text-align: center;
        padding: 12px 20px;
    }
    .hero-visual {
        display: none;
    }
}
    
    /* MOBILE SECTIONS */
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* MOBILE GRIDS */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mining-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* MOBILE CARDS */
    .feature-card,
    .tokenomics-card,
    .mining-card,
    .community-card {
        padding: 1.5rem;
    }
    
    .feature-icon,
    .community-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    /* MOBILE THEME TOGGLE */
    .theme-toggle {
        padding: 6px 10px !important;
    }
    
    .theme-icon {
        font-size: 1rem;
    }
}
