:root {
    /* Design System - Dark Mode Done Right */
    --bg-primary: #0C0A09;
    --bg-elevated: #1C1917;
    --bg-card: #171412;
    --bg-hover: #262220;

    --text-primary: #FAFAF9;
    --text-secondary: #A8A29E;
    --text-muted: #78716C;

    /* Accent - Aggressive Red */
    --accent: #DC2626;
    --accent-hover: #EF4444;
    --accent-glow: rgba(220, 38, 38, 0.35);

    /* Brand Colors */
    --discord: #5865F2;
    --github: #8B949E;
    --telegram: #26A5E4;
    --jupiter: #C7F284;
    --dexscreener: #00D395;

    /* Borders */
    --border: rgba(168, 162, 158, 0.12);
    --border-hover: rgba(168, 162, 158, 0.25);

    /* Consistent radius - Sharp/Professional */
    --radius: 8px;

    /* Shadows - Layered for depth */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Full background image */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

/* Subtle noise overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* Hidden - background already has glow */
.gradient-orb {
    display: none;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Hero Section */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.logo {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    animation: logoGlow 5s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: var(--shadow-md), 0 0 40px var(--accent-glow); }
    50% { box-shadow: var(--shadow-md), 0 0 60px rgba(220, 38, 38, 0.45); }
}

.tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.125rem, 4vw, 1.375rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent);
}

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

.description {
    max-width: 480px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.feature svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Link Sections */
.link-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding-left: 4px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.link-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.link-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.link-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.link-btn:hover svg {
    transform: scale(1.1);
}

/* Specific button hover states */
.link-btn.discord:hover {
    border-color: var(--discord);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.2);
}

.link-btn.github:hover {
    border-color: var(--github);
    box-shadow: 0 4px 20px rgba(139, 148, 158, 0.15);
}

.link-btn.telegram:hover {
    border-color: var(--telegram);
    box-shadow: 0 4px 20px rgba(38, 165, 228, 0.25);
}

.link-btn.telegram:hover svg {
    color: var(--telegram);
}

.link-btn.x-btn:hover {
    border-color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(250, 250, 249, 0.1);
}

.link-btn.jupiter:hover {
    border-color: var(--jupiter);
    box-shadow: 0 4px 20px rgba(199, 242, 132, 0.2);
}

.link-btn.jupiter:hover svg {
    color: var(--jupiter);
}

.link-btn.dexscreener:hover {
    border-color: var(--dexscreener);
    box-shadow: 0 4px 20px rgba(0, 211, 149, 0.2);
}

.link-btn.dexscreener:hover svg {
    color: var(--dexscreener);
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
}

footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 32px 16px;
        gap: 32px;
    }

    .logo {
        max-width: 320px;
    }

    .tagline {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9375rem;
    }

    .features {
        gap: 8px;
    }

    .feature {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .feature svg {
        width: 14px;
        height: 14px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .link-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .link-btn {
        padding: 12px 14px;
        font-size: 0.8125rem;
    }

    .link-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 380px) {
    .link-grid {
        grid-template-columns: 1fr;
    }

    .link-grid-2 {
        grid-template-columns: 1fr;
    }

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

/* Selection */
::selection {
    background: var(--accent);
    color: var(--text-primary);
}
