/* CSS Variables for Theming */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --bg-color: #0a0a0a;
    --bg-gradient: linear-gradient(180deg, #0a0a0a 0%, #12061e 50%, #0a0a0a 100%);
    --card-bg: #150824;
    --card-gradient: linear-gradient(145deg, #1f0c33 0%, #0d0516 100%);
    --primary: #ff00ff;
    --primary-hover: #cc00cc;
    --primary-glow: rgba(255, 0, 255, 0.2);
    --secondary: #00ffff;
    --secondary-glow: rgba(0, 255, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #a8a8a8;
    --border-color: #2a1045;
    --nav-bg: rgba(10, 10, 10, 0.98);
}

/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 72px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.nav-links li a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--primary);
    background: var(--primary-glow);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    letter-spacing: 0.03em;
    border: none;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-login {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-login:hover {
    background-color: var(--secondary-glow);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.btn-register {
    background: linear-gradient(135deg, #ff00ff, #8b00ff);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.4);
}

.btn-register:hover {
    box-shadow: 0 12px 40px rgba(255, 0, 255, 0.6);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Hide mobile-only nav items on desktop */
.nav-links__mobile-only {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    nav {
        padding: 0 20px;
        height: 68px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0d0516;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 6px;
        overflow: visible;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li a {
        display: block;
        padding: 14px 0;
        font-size: 15px;
    }

    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Show login link inside mobile menu */
    .nav-links__mobile-only {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 32px 16px;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Roboto', sans-serif;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

h1 { font-size: 52px; }
h2 { font-size: 36px; color: var(--text-main); }
h3 { font-size: 22px; }

h2 span, .highlight { color: var(--primary); }

p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 15px;
}

/* Section label style */
section > h2 {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 32px;
}

section > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0d0516 0%, #050208 100%);
    padding: 64px 24px 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.footer-grid h4 {
    color: var(--text-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s;
}

.footer-grid ul li a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer-grid p {
    font-size: 14px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    margin-top: 48px;
    font-size: 13px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}
