/* Apply Google Font */
:root {
    --tlv-bg: url('/images/background.jpg');
    --tlv-overlay: rgba(0, 0, 0, 0.45);
    --tlv-panel: rgba(10, 10, 14, 0.55);
    --tlv-border: rgba(255, 255, 255, 0.10);
    --tlv-text: rgba(255, 255, 255, 0.90);
    --tlv-subtext: rgba(255, 255, 255, 0.70);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    /* IMPORTANT: allow scrolling (Google Forms + any long pages) */
    overflow-x: hidden;
    overflow-y: auto;
}

/* ------------------------------
   Shared Background Wrapper
------------------------------ */
.tlv-background {
    position: relative;
    min-height: 100vh;
    background: var(--tlv-bg) no-repeat center center / cover;
    display: flex;
    flex-direction: column;
}

    /* Blur + dark overlay */
    .tlv-background::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--tlv-overlay);
        backdrop-filter: blur(8px);
        z-index: 0;
    }

    /* Ensure content is above overlay */
    .tlv-background > * {
        position: relative;
        z-index: 1;
    }

/* ------------------------------
   Navbar / Header
------------------------------ */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* glassy navbar */
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.3px;
}

/* Login/Register links */
.login-buttons a {
    color: white !important;
    margin-left: 15px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.9;
}

    .login-buttons a:hover {
        color: #FFD700 !important;
        opacity: 1;
    }

/* ------------------------------
   Main Content Area
------------------------------ */
.tlv-main {
    flex: 1;
    /* space for fixed navbar + footer breathing room */
    padding: 110px 16px 60px;
}

/* Home hero layout */
.tlv-main-home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ------------------------------
   Home Hero Content
------------------------------ */
.hero-content {
    color: white;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 12px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-subtext {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--tlv-subtext);
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.15s ease-in-out, opacity 0.15s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-discord {
    background-color: #5865F2;
    color: white;
}

.btn-store {
    background-color: #FFD700;
    color: black;
}

.btn-status {
    background-color: #D32F2F;
    color: white;
}

.btn-staff {
    background-color: #D81B60;
    color: white;
}

.btn:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 0.95;
}

/* ------------------------------
   Staff Application / Panels
------------------------------ */
.tlv-panel {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: var(--tlv-panel);
    border: 1px solid var(--tlv-border);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    overflow: hidden;
}

.tlv-panel-header {
    padding: 18px 20px;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.tlv-title {
    margin: 0;
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
}

.tlv-subtitle {
    margin: 6px 0 0;
    color: var(--tlv-subtext);
    font-size: 1rem;
}

.tlv-embed {
    padding: 12px;
    background: rgba(0,0,0,0.18);
}

.google-form {
    display: block;
    width: 100%;
    height: 1400px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    /* prevent inherited blur/transform */
    filter: none !important;
    transform: none !important;
    backdrop-filter: none !important;
}

/* ------------------------------
   Footer
------------------------------ */
footer.footer {
    position: relative; /* not fixed (so it doesn't overlap content) */
    z-index: 2;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ------------------------------
   Identity Pages (Login/Register)
------------------------------ */
.auth-background {
    background: var(--tlv-bg) no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    /* Center the form content */
    .auth-background .row {
        width: 100%;
        max-width: 450px;
        background: rgba(255, 255, 255, 0.95);
        padding: 40px 30px;
        border-radius: 12px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .auth-background .col-md-4,
    .auth-background .col-md-6 {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .auth-background h1,
    .auth-background h2,
    .auth-background h3,
    .auth-background p {
        text-align: center;
        margin-bottom: 20px;
    }

    .auth-background form input,
    .auth-background form button,
    .auth-background form a {
        width: 100%;
        margin-top: 15px;
    }

    .auth-background form button {
        background-color: #007bff;
        color: white;
        font-size: 1rem;
        padding: 10px;
        border-radius: 8px;
    }

    .auth-background form a {
        color: #007bff;
        text-decoration: none;
    }

        .auth-background form a:hover {
            text-decoration: underline;
        }

/* ------------------------------
   Responsive tweaks
------------------------------ */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1.05rem;
    }

    .tlv-main {
        padding-top: 95px;
    }

    .google-form {
        height: 1600px;
    }

    .tlv-title {
        font-size: 1.6rem;
    }
}
