:root {
    --bg-color: #0d0d12;
    --cyan: #00f0ff;
    --purple: #b026ff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(0, 240, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

.glow-1 {
    background: var(--cyan);
    top: -20%;
    left: -10%;
}

.glow-2 {
    background: var(--purple);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 20%) scale(1.2); }
}

/* Typography */
h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    padding-top: 80px;
}

.hero-section .container {
    max-width: 800px;
}

.glitch {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-color);
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}

/* Layout & Containers */
.section {
    padding: 5rem 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* About Grid */
.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 240, 255, 0.05);
    border-top-color: var(--cyan);
}

.feature-card h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Document Scroll Box for EULA & Privacy */
.document-scroll-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.document-scroll-box h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.document-scroll-box h4 {
    color: var(--cyan);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.document-scroll-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Custom Scrollbar for Document Box */
.document-scroll-box::-webkit-scrollbar {
    width: 8px;
}
.document-scroll-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
.document-scroll-box::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 4px;
}

/* Footer / Contact */
.footer {
    padding: 5rem 5% 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.email-link {
    display: inline-block;
    margin: 2rem 0;
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--purple);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(13, 13, 18, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .glass-panel {
        padding: 2rem 1.5rem;
    }

    .document-scroll-box {
        padding: 1.5rem 1rem;
    }
}
