:root {
    --bg-primary: #000000;
    --gold: #f7931a;
    --gold-dim: rgba(247, 147, 26, 0.10);
    --yellow: #e6c84b;
    --yellow-bg: rgba(230, 200, 75, 0.18);
    --base-blue: #0052ff;
    --text-primary: #ffffff;
    --text-secondary: #888;
}

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

html {
    font-size: 16px;
}

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

/* Static grid background */
.bg-grid-static {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Interactive grid that lights up near cursor */
.bg-grid-interactive {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: 
        linear-gradient(rgba(247, 147, 26, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 147, 26, 0.18) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(
        circle 200px at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 30%,
        rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: radial-gradient(
        circle 200px at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 30%,
        rgba(0,0,0,0) 100%
    );
}

/* Yellow glow background */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Faded logo background */
.bg-logo {
    position: fixed;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 780px;
    height: 780px;
    background-image: url('../assets/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 5;
    animation: fadeInLogo 0.6s ease-out 0.1s both;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(15px);
    }
    to {
        opacity: 0.08;
        transform: translate(-50%, -50%) translateY(0);
    }
}

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

/* Main container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Hero */
.hero {
    text-align: center;
    max-width: 900px;
}

.soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 1.1rem;
    background: var(--yellow-bg);
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-top: 2.5rem;
    animation: fadeIn 0.5s ease-out 0.5s both;
}

.soon-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px var(--yellow);
}

@keyframes pulseDot {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 6px var(--yellow);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(0.85);
        box-shadow: 0 0 3px var(--yellow);
    }
}

.brand {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out 0.2s both;
    color: #ffffff;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeIn 0.5s ease-out 0.35s both;
}

.tagline strong {
    color: var(--gold);
    font-weight: 500;
}

.tagline .base {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    color: #ffffff;
    font-weight: 500;
}

.tagline .base::before {
    content: '';
    width: 0.7em;
    height: 0.7em;
    background: var(--base-blue);
    flex-shrink: 0;
    border-radius: 1.5px;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 100;
    animation: fadeIn 0.5s ease-out 0.6s both;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.footer-divider {
    width: 180px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-text a:hover {
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        padding-bottom: 140px;
        text-align: center;
    }

    .hero {
        width: 100%;
        padding: 0 1rem;
    }

    .brand {
        margin-bottom: 1.5rem;
    }

    .tagline {
        padding: 0 0.5rem;
    }

    .bg-logo {
        width: 350px;
        height: 350px;
        top: 28%;
    }

    @keyframes fadeInLogo {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) translateY(15px);
        }
        to {
            opacity: 0.08;
            transform: translate(-50%, -50%) translateY(0);
        }
    }

    .bg-glow {
        width: 800px;
        height: 800px;
    }

    footer {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .social-links {
        gap: 1.25rem;
    }

    .social-links svg {
        width: 24px;
        height: 24px;
    }

    .footer-text {
        font-size: 0.75rem;
        text-align: center;
    }

    .footer-divider {
        width: 140px;
    }
}

/* Mobile landscape */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .container {
        min-height: auto;
        padding: 1rem 2rem;
        padding-bottom: 100px;
        justify-content: flex-start;
        padding-top: 2rem;
    }

    .hero {
        padding: 0;
    }

    .brand {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 0.75rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .soon-badge {
        margin-top: 1rem;
        padding: 0.35rem 0.9rem;
        font-size: 0.7rem;
    }

    .bg-logo {
        width: 200px;
        height: 200px;
        top: 50%;
    }

    .bg-glow {
        width: 500px;
        height: 500px;
    }

    footer {
        position: relative;
        padding: 1rem;
        gap: 0.5rem;
        margin-top: auto;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links svg {
        width: 20px;
        height: 20px;
    }

    .footer-divider {
        width: 100px;
    }

    .footer-text {
        font-size: 0.7rem;
    }
}
