/* CSS Variables for Theming */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Rajdhani:wght@600;700&display=swap');

:root {
    --bg-color: #0b0c10;
    --bg-gradient: linear-gradient(160deg, #0b0c10 0%, #111827 100%);
    --card-bg: #161b2e;
    --card-gradient: linear-gradient(180deg, #1c2340 0%, #111827 100%);
    --primary: #f0b429;
    --primary-hover: #d99e1a;
    --primary-glow: rgba(240, 180, 41, 0.15);
    --accent: #7c3aed;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #1e2d4a;
    --nav-bg: rgba(11, 12, 16, 0.95);
}

/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
}

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: 64px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    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: 38px;
}

.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.nav-links li a {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 13px;
    letter-spacing: 0.02em;
    border: none;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-login:hover {
    background-color: var(--primary-glow);
}

.btn-register {
    background: linear-gradient(135deg, #f0b429, #d99e1a);
    color: #0b0c10;
    box-shadow: 0 4px 14px rgba(240, 180, 41, 0.3);
}

.btn-register:hover {
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.5);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 24px;
    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 16px;
        height: 60px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0d0f1a;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 4px;
        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: 12px 0;
        font-size: 14px;
    }

    .nav-actions .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    /* Show login link inside mobile menu */
    .nav-links__mobile-only {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 24px 16px;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

h1 { font-size: 48px; }
h2 { font-size: 32px; color: var(--text-main); }
h3 { font-size: 20px; }

h2 span, .highlight { color: var(--primary); }

p {
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 15px;
}

/* Section label style */
section > h2 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 28px;
}

section > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer */
footer {
    background-color: #080a12;
    padding: 56px 24px 32px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-grid h4 {
    color: var(--text-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-grid ul li a:hover {
    color: var(--primary);
}

.footer-grid p {
    font-size: 14px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
    font-size: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
