@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0d1117;
    --surface-color: rgba(22, 27, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 136, 0.3);
    --secondary: #6e40ff;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
}

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: 'Outfit', sans-serif; 
}

body {
    background: radial-gradient(circle at top left, #1a1e29, var(--bg-color));
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 10px;
}

nav .brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    user-select: none;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Container Glassmorphism */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    width: 90%;
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: fadeIn 0.6s ease-out;
}

/* Components */
input, select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 8px;
    transition: all 0.3s;
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.text-muted {
    color: var(--text-muted);
}

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

/* Auth Screens Specifics */
.auth-box {
    max-width: 420px;
    margin: 6rem auto;
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 0.5rem;
}

/* RESPONSIVIDADE CELULAR */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--glass-border);
    }
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }
    .nav-links a {
        margin: 5px;
        font-size: 1.1rem;
    }
    .container {
        width: 95%;
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }
}
