/* Trivia & Tunes: Official Sitewide Stylesheet 
    Brand: Smoky Noir / High-Contrast Gold
*/

/* 1. ROOT VARIABLES & FONTS */
:root {
    --gold: #d4af37;
    --dark-bg: #0a0a0a;
    --card-bg: #151515;
    --nav-bg: rgba(10, 10, 10, 0.98);
    --text-main: #ffffff; /* High contrast for desktop */
    --text-muted: #aaa;
    --font-cinzel: 'Cinzel Decorative', serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

/* 2. BASE RESET & GLOBAL THEME */
body {
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-montserrat);
    line-height: 1.6;
    min-height: 100vh;
}

/* SMOKE THEME BACKGROUND */
#bg-video {
    position: fixed;
    right: 0; bottom: 0;
    min-width: 100%; min-height: 100%;
    z-index: -2;
    opacity: 0.4;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 95%);
    z-index: -1;
}

/* 3. NAVIGATION (Desktop Optimized) */
.site-nav {
    background: var(--nav-bg);
    border-bottom: 2px solid var(--gold);
    padding: 15px 40px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.nav-brand {
    font-family: var(--font-cinzel);
    color: var(--gold);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 4. STATUS BADGES */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #333;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #27ae60; }
.admin-badge .status-dot { background: #3498db; }
.status-text { font-size: 0.75rem; font-weight: bold; color: #fff; text-transform: uppercase; }

/* 5. COMPONENTS (Cards & Buttons) */
.noir-card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.noir-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.btn-gold {
    background: var(--gold);
    color: #000;
    padding: 12px 25px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn-gold:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* 6. FORMS */
input, textarea, select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: white;
    box-sizing: border-box;
    font-size: 1rem;
}

input:focus {
    border-color: var(--gold);
    outline: none;
}

/* 7. UTILITY CLASSES */
.font-header { font-family: var(--font-cinzel); }
.text-gold { color: var(--gold); }
.centered { text-align: center; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* 8. FOOTER */
footer {
    background: #050505;
    border-top: 1px solid #111;
    padding: 60px 20px;
    margin-top: 60px;
    text-align: center;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 10px;
}

footer a:hover { color: var(--gold) !important; }

/* 9. MOBILE RESPONSIVENESS (Keeping Mobile Sizing) */
@media (max-width: 600px) {
    .site-nav {
        padding: 10px 20px;
        flex-direction: column;
        justify-content: center;
    }
    
    .nav-brand { font-size: 1.2rem; }

    .nav-links {
        gap: 12px;
        margin-top: 10px;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .status-badge {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .hero h1 { font-size: 2.2rem; }
}