/* src/public/components/Landing/Landing.css */

.landing-content {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 2rem;
    margin-top: 0;
    position: relative;
}

.landing-content h1 {
    font-size: 2.625rem;
    font-weight: 450;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-family: var(--font-display);
    line-height: 1;
}

body.light-theme .landing-content h1 {
    color: var(--text-light);
}



/* Ensure the landing page section takes full height of its content */
#landing-page {
    position: relative;
    height: auto;
    padding-bottom: 120px;
    overflow-x: hidden;
}

@media screen and (min-width: 1367px) {
    #landing-page {
        padding-right: 360px;
    }
}

/* Keep pronunciation/subtitle gold in both modes */
body.light-theme .header-badge .name-details {
    color: var(--gold-accent) !important;
}

#landing-page .header-badge {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

/* Optional: fade out when scrolling down */
.header-badge.scrolled {
    opacity: 0;
    pointer-events: none;
}

/* =====================
   Feature Sections
   ===================== */
.mobile-feature-grid {
    display: none;
}

.feature-sections {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}

.feature-row {
    display: flex;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 120px auto;
    gap: 6rem;
    min-height: 500px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 40%;
    opacity: 0;
}

.feature-text.left {
    text-align: right;
    padding-right: var(--spacing-xl);
}

.feature-text.right {
    text-align: left;
    padding-left: var(--spacing-xl);
}

.feature-text h2 {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--card-padding);
    color: var(--text-dark);
}

.feature-text p {
    font-size: var(--font-size-md);
    color: var(--text-dark);
    opacity: 0.9;
}

body.light-theme .feature-text h2,
body.light-theme .feature-text p {
    color: var(--text-light);
}

/* =====================
   Animations
   ===================== */
.slide-in-left {
    animation: slideInFromLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInFromRight 1s ease forwards;
}

/* =====================
   Feature Image Styles 
   ===================== */
.feature-image {
    flex: 1;
    padding: var(--spacing-lg);
    max-width: 60%;
    opacity: 0;
}

.image-placeholder {
    border-color: var(--border-dark);
    color: var(--text-dark);
    background-color: var(--surface-dark);
}

body.light-theme .image-placeholder {
    border-color: var(--border-light);
    color: var(--text-light);
    background-color: var(--surface-light);
}

/* =====================
   Access Banner
   ===================== */
.access-banner {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: var(--z-overlay);
    pointer-events: none;
    /* Add this line */
}

.access-banner.visible {
    opacity: 1;
    pointer-events: all;
    /* Add this line */
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.banner-text {
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-wider);
    color: var(--gold-accent) !important;
    font-weight: 500;
    padding-right: 5px;
}

.access-button {
    background: transparent;
    border: 2px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 12px 32px;
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-wider);
    font-weight: 550;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.access-button .stoopid {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    color: #cc0000; /* intentional: specific red for .stoopid emphasis text, distinct from --color-error (#ff4444) */
}

/* Make sure the word stays red even on hover */
.access-button:hover .stoopid {
    color: #cc0000; /* intentional: keep red on hover */
}

.access-button:hover {
    background: var(--gold-accent);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.light-theme .access-banner {
    background: var(--surface-light);
    border: 2px solid var(--color-gray-666);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light-theme .access-button:hover {
    background: var(--gold-accent);
    color: var(--text-dark);
}

/* Theme toggle button */
.theme-toggle-btn {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

/* Login button */
.nav-btn {
    white-space: nowrap;
}


/* ==============================================
   Release Notes Toggle Buttons (viewport-driven)
   ============================================== */
#release-notes-toggle {
    display: none;
}

#release-notes-panel-toggle {
    display: none;
}

@media screen and (max-width: 1366px) {
    .release-notes {
        transform: translateX(110%);
        transition: transform var(--transition-speed) ease;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: var(--z-overlay);
        pointer-events: none;
    }

    .release-notes.notes-visible {
        transform: translateX(0);
        pointer-events: all;
    }

    #release-notes-toggle {
        display: flex;
        position: fixed !important;
        top: 10px !important;
        right: 25px !important;
        z-index: calc(var(--z-modal) + 1) !important;
        padding: var(--btn-padding) !important;
        border-radius: var(--border-radius) !important;
        background: var(--surface-dark) !important;
        border: 1px solid var(--border-dark) !important;
        color: var(--text-dark) !important;
        font-size: var(--font-size-sm) !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        transition: var(--theme-transition);
    }

    body.light-theme #release-notes-toggle {
        background: var(--surface-light) !important;
        border-color: var(--border-light) !important;
        color: var(--text-light) !important;
    }

.release-notes.notes-visible #release-notes-panel-toggle {
        display: flex !important;
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 1100 !important;
        pointer-events: auto !important;
        padding: var(--btn-padding) !important;
        border-radius: var(--border-radius) !important;
        background: var(--surface-dark) !important;
        border: 1px solid var(--border-dark) !important;
        color: var(--text-dark) !important;
        cursor: pointer !important;
        font-size: var(--font-size-sm);
        height: 38px;
        align-items: center !important;
        justify-content: center !important;
        transition: var(--theme-transition);
    }

    body.light-theme .release-notes.notes-visible #release-notes-panel-toggle {
        background: var(--surface-light) !important;
        border-color: var(--border-light) !important;
        color: var(--text-light) !important;
    }

    .theme-toggle {
        right: 55px !important;
        gap: 5px !important;
    }

    .image-placeholder {
        aspect-ratio: 19.5/9;
        min-height: unset;
    }

    .feature-image {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0.5rem 1.5rem;
    }

    .feature-row {
        flex-direction: column;
        margin: 20px auto;
        gap: 1rem;
        min-height: unset;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-text {
        order: -1;
        max-width: 100%;
        text-align: center !important;
        padding: 0 1rem !important;
    }

    body.mobile-device .feature-sections {
        padding-top: 250px;
    }

    body.desktop-device .feature-sections {
        padding-top: 250px;
    }
}

/* ==============================================
   Release Notes Landscape Fix
   ============================================== */
@media screen and (max-width: 1366px) and (orientation: landscape) {
    .release-notes {
        max-height: 85vh !important;
        overflow-y: auto !important;
    }

    .release-notes .simplebar-content-wrapper {
        max-height: 85vh !important;
    }

    .release-notes.notes-visible #release-notes-panel-toggle {
        padding: 0 !important;
        width: 34px !important;
        height: 34px !important;
        font-size: var(--font-size-xs) !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* =====================
   Elite Badge
   ===================== */
.elite-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: var(--font-size-xss);
    letter-spacing: var(--letter-spacing-wide);
    font-weight: 600;
    padding: var(--btn-padding);
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold-accent) !important;
    border: 2px solid var(--border-dark);
    backdrop-filter: blur(10px);
    z-index: 101;
}

/* =====================
   Image Placeholder
   ===================== */
.image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 400px;
    border: 2px dashed var(--border-dark);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-md);
    color: var(--text-dark);
    background-color: var(--surface-dark);
    opacity: 0.7;
}

