:root {
    --bg-color: #02060a;
    --text-primary: #ffffff;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff2e88;
    --neon-green: #7cffb2;
    --accent-blue: #6ee7ff;
    --font-main: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

header {
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(2, 6, 10, 0.8), transparent);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.cta-small {
    border: 1px solid var(--neon-cyan);
    padding: 0.5rem 1rem;
    border-radius: 2px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 15px;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 46, 136, 0.75),
                -0.025em -0.05em 0 rgba(0, 240, 255, 0.75),
                0.025em 0.05em 0 rgba(124, 255, 178, 0.75);
    animation: glitch 500ms infinite;
}

.subtitle {
    font-family: var(--font-mono);
    color: var(--neon-green);
    letter-spacing: 4px;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.tagline {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.play-store-btn img {
    height: 60px;
    transition: transform 0.3s, filter 0.3s;
}

.play-store-btn:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.features {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(110, 231, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.feature-card p {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 1.5rem;
    font-family: var(--font-mono);
}

.legal-links a:hover {
    color: var(--neon-cyan);
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 46, 136, 0.75),
                    -0.05em -0.025em 0 rgba(0, 240, 255, 0.75),
                    -0.025em 0.05em 0 rgba(124, 255, 178, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 46, 136, 0.75),
                    -0.05em -0.025em 0 rgba(0, 240, 255, 0.75),
                    -0.025em 0.05em 0 rgba(124, 255, 178, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 46, 136, 0.75),
                    0.025em 0.025em 0 rgba(0, 240, 255, 0.75),
                    -0.05em -0.05em 0 rgba(124, 255, 178, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 46, 136, 0.75),
                    0.025em 0.025em 0 rgba(0, 240, 255, 0.75),
                    -0.05em -0.05em 0 rgba(124, 255, 178, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 46, 136, 0.75),
                    0.05em 0 0 rgba(0, 240, 255, 0.75),
                    0 -0.05em 0 rgba(124, 255, 178, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 46, 136, 0.75),
                    0.05em 0 0 rgba(0, 240, 255, 0.75),
                    0 -0.05em 0 rgba(124, 255, 178, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 46, 136, 0.75),
                    -0.025em -0.025em 0 rgba(0, 240, 255, 0.75),
                    -0.025em -0.05em 0 rgba(124, 255, 178, 0.75);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    nav {
        flex-direction: row;
        justify-content: space-between;
    }
    .logo {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .nav-links a {
        margin-left: 0.8rem;
        font-size: 0.75rem;
    }
    .cta-small {
        padding: 0.4rem 0.6rem;
    }
    .glitch {
        font-size: 3rem;
        letter-spacing: 8px;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .legal-links a {
        margin: 0 0.75rem;
    }
}

/* Home button for legal pages */
.home-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
}

.btn-home {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px solid var(--neon-cyan);
    padding: 0.5rem 1rem;
    background: rgba(2, 6, 10, 0.8);
    transition: all 0.3s;
}

.btn-home:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--neon-cyan);
}
