/* ========================================
   THE FOREVERBOX - LANDING & ACCESS DENIED
   Shared styles for root pages
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', system-ui, sans-serif;
    background: #0a0a0a;
    color: #fafafa;
}

/* ----- HERO SECTION (Landing Page) ----- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0a0a0a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.6) 0%,
        rgba(10, 10, 10, 0.8) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid #2e7d32;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
    color: #e0e0e0;
}

.hero-content .attribution {
    font-style: normal;
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

.hero-content .tagline {
    margin-top: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #2e7d32;
}

/* ----- SCROLL LINK (Request Access) ----- */
.scroll-link {
    margin-top: 3.5rem;
}

.request-access {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #2e7d32;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.request-access:hover {
    color: #fafafa;
    border-bottom: 1px solid #2e7d32;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Offset for anchor links */
#access {
    scroll-margin-top: 0;
}

/* ----- QUOTE SECTION (Access Denied Page) ----- */
.quote-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.quote-container {
    max-width: 800px;
    text-align: center;
}

.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #fafafa;
}

.quote-attribution {
    font-size: 1rem;
    color: #888;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quote-attribution::before {
    content: "— ";
}

/* ----- BACK ARROW (Access Denied Page) ----- */
.back-arrow {
    display: inline-block;
    margin-top: 2rem;
    width: 10rem;
    height: 10rem;
    color: #2e7d32;
    transition: transform 0.2s, color 0.2s;
    cursor: pointer;
}

.back-arrow:hover {
    transform: scale(1.05);
    color: #fafafa;
}

.back-arrow svg {
    width: 100%;
    height: 100%;
}

/* ----- LOGIN SECTION (Landing Page) ----- */
.login-section {
    position: relative;
    z-index: 2;
    background: #1b5e20;
    padding: 3rem 2rem;
    margin-top: -2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
}

.login-container h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.login-container .subtitle {
    font-size: 0.95rem;
    color: #0a0a0a;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid #0a0a0a;
    border-radius: 4px;
    font-size: 1rem;
    color: #0a0a0a;
    transition: border-color 0.2s, background 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: #0a0a0a;
    background: rgba(255, 255, 255, 0.25);
}

.login-form input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.login-form button {
    padding: 0.9rem 1.2rem;
    background: #0a0a0a;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fafafa;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.login-form button:hover {
    background: #1a1a1a;
}

.login-footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #0a0a0a;
}

.login-footer a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px dotted #0a0a0a;
}

.login-footer a:hover {
    color: #fafafa;
    border-bottom-color: #fafafa;
}

/* ----- ERROR MESSAGE ----- */
.error-message {
    color: #0a0a0a;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
    font-weight: 500;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 600px) {
    .hero-content {
        padding: 1.5rem;
    }
    .login-section {
        padding: 2rem 1.5rem;
    }
    .quote-section {
        padding: 1.5rem;
    }
    .back-arrow {
        width: 6rem;
        height: 6rem;
        margin-top: 1rem;
    }
}