/* =========================================
   Mole Saga — Design System
   ========================================= */

:root {
    --primary: #7a5c3e;
    --primary-light: #e8d5be;
    --primary-hover: #5e4530;
    --dark: #2a2218;
    --text: #3d3228;
    --text-light: #6b5d50;
    --bg: #f2ebe2;
    --bg-alt: #e6dacb;
    --white: #faf6f0;
    --border: #d4c4ae;
    --container: 1080px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --section-gap: 5rem;
    --font-body: 'Ubuntu', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    max-width: 100vw;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='15' cy='25' r='1.5' fill='%23a08060' opacity='0.06'/%3E%3Ccircle cx='85' cy='10' r='1' fill='%23a08060' opacity='0.05'/%3E%3Ccircle cx='145' cy='40' r='2' fill='%23a08060' opacity='0.04'/%3E%3Ccircle cx='50' cy='80' r='1.5' fill='%23a08060' opacity='0.05'/%3E%3Ccircle cx='120' cy='70' r='1' fill='%23a08060' opacity='0.06'/%3E%3Ccircle cx='180' cy='90' r='1.5' fill='%23a08060' opacity='0.04'/%3E%3Ccircle cx='30' cy='130' r='1' fill='%23a08060' opacity='0.05'/%3E%3Ccircle cx='100' cy='120' r='2' fill='%23a08060' opacity='0.04'/%3E%3Ccircle cx='160' cy='150' r='1.5' fill='%23a08060' opacity='0.06'/%3E%3Ccircle cx='70' cy='170' r='1' fill='%23a08060' opacity='0.05'/%3E%3Ccircle cx='190' cy='180' r='1.5' fill='%23a08060' opacity='0.04'/%3E%3Ccircle cx='40' cy='190' r='1' fill='%23a08060' opacity='0.05'/%3E%3C/svg%3E");
}

body {
    padding-top: 0;
}

#mole-saga-page {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding-top: 0;
}


/* Tunnel vignette — shadows on sides of page */
#mole-saga-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background:
        linear-gradient(90deg,
            rgba(60,42,24,0.08) 0%,
            transparent 6%,
            transparent 94%,
            rgba(60,42,24,0.08) 100%),
        radial-gradient(ellipse at top, transparent 60%, rgba(60,42,24,0.04) 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { color: var(--primary); }

/* =========================================
   Layout
   ========================================= */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.text-center { text-align: center; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.col { flex: 1 1 0; padding: 1rem; }
.col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 900px) {
    .col-5, .col-6, .col-12 { flex: 0 0 100%; max-width: 100%; }
}

/* =========================================
   Typography
   ========================================= */

.section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 1px;
}

/* =========================================
   Navbar
   ========================================= */

.mole-saga-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: rgba(242, 235, 226, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    overflow: visible !important;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.mole-saga-navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s var(--ease);
}

.mole-saga-navbar .navbar-brand:hover {
    opacity: 0.8;
}

.mole-saga-navbar .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0.25rem;
    overflow: visible !important;
}

.mole-saga-navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.4em 0.75em;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    letter-spacing: 0.01em;
}

.mole-saga-navbar .nav-link:hover {
    color: var(--primary);
    background: rgba(122, 92, 62, 0.08);
}

.mole-saga-navbar .nav-link.active {
    color: var(--primary);
    background: rgba(122, 92, 62, 0.1);
    font-weight: 600;
}

.mole-saga-navbar .navbar-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.35em 0.6em;
    z-index: 1100;
    transition: border-color 0.2s var(--ease);
}

.mole-saga-navbar .navbar-toggle:hover {
    border-color: var(--primary);
}

.mole-saga-navbar .navbar-toggle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke="rgba(68,68,68,0.7)" stroke-width="1.5" stroke-linecap="round" d="M4 7h16M4 12h16M4 17h16"/></svg>') center/contain no-repeat;
}

body.nav-open {
    overflow: hidden;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .mole-saga-navbar .navbar-toggle { display: block; }

    .mole-saga-navbar .nav-list {
        flex-direction: column;
        align-items: stretch;
        background: rgb(242, 235, 226);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
        padding: 0.5rem 1.2rem 1rem;
        z-index: 1001;
        gap: 0;
    }

    .mole-saga-navbar .nav-list.open {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 2999;
    }

    .nav-backdrop.active {
        display: block;
    }

    .mole-saga-navbar .nav-list li {
        border-bottom: 1px solid rgba(122, 92, 62, 0.08);
    }

    .mole-saga-navbar .nav-list li:last-child {
        border-bottom: none;
    }

    .mole-saga-navbar .nav-link {
        display: block;
        font-size: 1.05rem;
        padding: 0.9em 0.5em;
        text-align: center;
        border-radius: 0;
    }
}

@media (max-width: 600px) {
    .mole-saga-navbar .navbar-brand { font-size: 1.15rem; }
    .mole-saga-navbar .nav-link { font-size: 1rem; padding: 0.85em 0.5em; }
}

/* =========================================
   Sections — Shared
   ========================================= */

section {
    padding: var(--section-gap) 0;
    position: relative;
}

/* Hero CTA Banner */
.hero-cta {
    text-align: center;
    padding: 4rem 1rem 3.5rem;
    background: linear-gradient(170deg, rgba(90, 64, 40, 0.06) 0%, transparent 60%);
}

.hero-cta .container {
    max-width: 900px;
}

.hero-cta-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.hero-cta-line1 {
    display: block;
    color: var(--dark);
}

.hero-cta-line2 {
    display: inline-block;
    position: relative;
    color: var(--primary);
    padding-bottom: 0.2em;
}

.hero-cta-line2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.055em;
    min-height: 2px;
    max-height: 3px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light),
        var(--primary-hover),
        var(--primary-light),
        var(--primary)
    );
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left center;
    animation:
        hero-cta-underline-draw 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards,
        hero-cta-underline-flow 5s ease-in-out 1.4s infinite;
}

@keyframes hero-cta-underline-draw {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes hero-cta-underline-flow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cta-line2::after {
        animation: none;
        transform: scaleX(1);
        background-position: 0 0;
    }
}

.hero-cta-sub {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1.8em;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1em 2.8em;
    border-radius: 40px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 6px 24px rgba(90, 64, 40, 0.25);
}

.hero-cta-btn:hover {
    background: var(--dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 36px rgba(90, 64, 40, 0.35);
}

.hero-event-heading {
    margin: 2rem 0 0.5rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-events-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-event-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.6rem;
    background: rgba(122, 92, 62, 0.06);
    border: 1px solid rgba(122, 92, 62, 0.12);
    border-radius: 14px;
    text-align: left;
    flex: 1;
    max-width: 400px;
}

.hero-event-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 56px;
    border-radius: 10px;
    background: #7a7672;
    color: #faf8f5;
    line-height: 1;
}

.hero-event-date-badge--upcoming {
    background: #b3261e;
}

.hero-event-date-month {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-event-date-day {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-event-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-event-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

.hero-event-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-event-venue {
    font-size: 0.82rem;
    color: var(--text-light);
}

.hero-event-venue-pill {
    display: inline-flex;
    align-items: center;
    margin-right: 0.35rem;
    padding: 0.22em 0.65em;
    border-radius: 999px;
    background: rgba(122, 92, 62, 0.12);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-event-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    line-height: 1.4;
}

.hero-event-rsvp {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55em 1.4em;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.hero-event-rsvp:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.hero-event-card--with-photos {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.hero-event-card-body {
    padding: 1rem 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-event-feature {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    min-height: 0;
    overflow: hidden;
    background: rgba(122, 92, 62, 0.06);
    /* Fixed band: ~half the height of a 16/10 hero at card max-width (400px) */
    aspect-ratio: 16 / 5;
    max-height: 8.5rem;
}

.hero-event-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform 0.35s var(--ease);
}

.hero-event-feature:hover img {
    transform: scale(1.02);
}

.hero-event-card--with-photos .hero-event-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.hero-event-photos {
    display: flex;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(242, 235, 226, 0.5) 100%);
    border: 1px solid rgba(122, 92, 62, 0.12);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-event-photos img {
    flex: 1;
    width: 0;
    min-width: 0;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 96px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 2px 6px rgba(42, 34, 24, 0.06),
        0 4px 14px rgba(122, 92, 62, 0.1);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.hero-event-photos img:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 137, 80, 0.5);
    box-shadow:
        0 6px 20px rgba(122, 92, 62, 0.2),
        0 2px 8px rgba(42, 34, 24, 0.08);
}

.hero-event-photos--many {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}

.hero-event-photos--many img {
    width: 100%;
    max-height: none;
    aspect-ratio: 1;
    flex: unset;
    min-width: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.hero-event-photos--many img:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(122, 92, 62, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Hero helps tags */
.hero-helps {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
}

.hero-helps-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-helps-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.hero-tag {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35em 1em;
    border-radius: 20px;
    background: rgba(122, 92, 62, 0.08);
    color: var(--primary);
    border: 1px solid rgba(122, 92, 62, 0.14);
}

/* Hero available in stores */
.hero-available {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.hero-available-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-stores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.5em;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(90, 64, 40, 0.08);
    border: 1px solid rgba(122, 92, 62, 0.1);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.hero-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 64, 40, 0.14);
}

.hero-store-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Hero badges */
.hero-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.6em 1.2em;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(90, 64, 40, 0.08);
    text-decoration: none;
    color: var(--dark);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    border: 1px solid rgba(122, 92, 62, 0.1);
}

.hero-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 64, 40, 0.14);
}

.hero-badge-logo {
    height: 28px;
    width: auto;
}

@media (max-width: 600px) {
    .hero-cta-title {
        font-size: 2.2rem;
    }
    .hero-cta-sub {
        font-size: 1rem;
    }
    .hero-cta-btn {
        font-size: 0.95rem;
        padding: 0.85em 2.2em;
    }
    .hero-events-row {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-event-card {
        text-align: left;
        padding: 1rem;
        gap: 0.8rem;
        max-width: 100%;
        flex: unset;
        width: 100%;
    }
    .hero-event-card--with-photos {
        padding: 0;
    }
    .hero-event-card-body {
        padding: 0.85rem 1rem 1rem;
    }
    .hero-event-feature {
        aspect-ratio: 16 / 5;
        max-height: 7rem;
    }
    .hero-event-card--with-photos .hero-event-top {
        flex-wrap: wrap;
    }
    .hero-event-rsvp {
        align-self: flex-start;
        margin-top: 0.3rem;
    }
    .hero-event-photos {
        margin-top: 0.65rem;
        padding: 0.55rem;
        gap: 0.5rem;
    }
    .hero-event-photos img {
        max-height: 84px;
    }
    .hero-event-photos--many {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
    .hero-event-title {
        font-size: 0.9rem;
    }
    .hero-event-desc {
        font-size: 0.75rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-number {
        font-size: 1.3rem;
    }
    .hero-event-heading {
        font-size: 0.85rem;
        margin: 1.5rem 0 0.4rem;
    }
}

@media (max-width: 400px) {
    .hero-cta-title {
        font-size: 1.8rem;
    }
    .hero-event-date-badge {
        width: 44px;
        height: 44px;
    }
    .hero-event-date-month {
        font-size: 0.55rem;
    }
    .hero-event-date-day {
        font-size: 1.1rem;
    }
    .hero-event-photos {
        gap: 0.35rem;
    }
}

/* Underground depth layers — each section is a deeper soil stratum */
#young-mole {
    padding-top: var(--section-gap);
    padding-top: var(--section-gap);
    background: #f5efe6;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='45' cy='60' r='2' fill='%23a08060' opacity='0.06'/%3E%3Ccircle cx='180' cy='30' r='1.5' fill='%23a08060' opacity='0.05'/%3E%3Ccircle cx='250' cy='120' r='2.5' fill='%23a08060' opacity='0.04'/%3E%3Ccircle cx='90' cy='200' r='1.5' fill='%23a08060' opacity='0.06'/%3E%3Ccircle cx='200' cy='260' r='2' fill='%23a08060' opacity='0.05'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 600px 300px at 10% 90%, rgba(122,92,62,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 90% 20%, rgba(122,92,62,0.03) 0%, transparent 70%);
}

.books-section {
    background: #ede4d5;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='30' cy='80' r='2.5' fill='%238a6e48' opacity='0.06'/%3E%3Ccircle cx='150' cy='40' r='2' fill='%238a6e48' opacity='0.05'/%3E%3Ccircle cx='270' cy='150' r='3' fill='%238a6e48' opacity='0.04'/%3E%3Cellipse cx='80' cy='220' rx='4' ry='2' fill='%238a6e48' opacity='0.05'/%3E%3Ccircle cx='220' cy='280' r='2' fill='%238a6e48' opacity='0.06'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 500px 250px at 85% 80%, rgba(122,92,62,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 15% 30%, rgba(122,92,62,0.04) 0%, transparent 70%);
}

#about-author {
    background: #f0e8da;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='60' cy='50' r='2' fill='%23907050' opacity='0.06'/%3E%3Cellipse cx='200' cy='100' rx='5' ry='2.5' fill='%23907050' opacity='0.04'/%3E%3Ccircle cx='120' cy='220' r='3' fill='%23907050' opacity='0.05'/%3E%3Ccircle cx='250' cy='260' r='2' fill='%23907050' opacity='0.06'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 600px 300px at 80% 70%, rgba(122,92,62,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 20% 40%, rgba(122,92,62,0.04) 0%, transparent 70%);
}

#about-illustrator {
    background: #e5dacb;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='40' cy='70' r='3' fill='%23806040' opacity='0.06'/%3E%3Cellipse cx='180' cy='50' rx='5' ry='2' fill='%23806040' opacity='0.05'/%3E%3Ccircle cx='260' cy='180' r='2.5' fill='%23806040' opacity='0.05'/%3E%3Cellipse cx='100' cy='250' rx='4' ry='2' fill='%23806040' opacity='0.06'/%3E%3Ccircle cx='220' cy='290' r='2' fill='%23806040' opacity='0.04'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 500px 250px at 70% 60%, rgba(122,92,62,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 15% 50%, rgba(122,92,62,0.04) 0%, transparent 70%);
}

.feedback-section-wrapper {
    background: #ebe1d2;
}

#reviews {
    background: #eae0d0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='50' cy='60' r='3' fill='%23785838' opacity='0.06'/%3E%3Cellipse cx='170' cy='30' rx='6' ry='2.5' fill='%23785838' opacity='0.04'/%3E%3Ccircle cx='240' cy='160' r='2.5' fill='%23785838' opacity='0.06'/%3E%3Ccircle cx='80' cy='230' r='2' fill='%23785838' opacity='0.05'/%3E%3Cellipse cx='200' cy='270' rx='4' ry='2' fill='%23785838' opacity='0.05'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 500px 250px at 75% 80%, rgba(122,92,62,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 20% 30%, rgba(122,92,62,0.05) 0%, transparent 70%);
}

#qa {
    background: #e0d4c2;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='35' cy='80' r='3.5' fill='%23705030' opacity='0.06'/%3E%3Cellipse cx='190' cy='40' rx='6' ry='3' fill='%23705030' opacity='0.05'/%3E%3Ccircle cx='260' cy='170' r='3' fill='%23705030' opacity='0.05'/%3E%3Cellipse cx='70' cy='240' rx='5' ry='2' fill='%23705030' opacity='0.06'/%3E%3Ccircle cx='230' cy='280' r='2.5' fill='%23705030' opacity='0.04'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 500px 250px at 85% 70%, rgba(122,92,62,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 10% 40%, rgba(122,92,62,0.05) 0%, transparent 70%);
}

/* =========================================
   Underground World — Earth Layer Dividers
   ========================================= */

/* Earth layer wave dividers — each wave matches the section above */
.books-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,18 C1200,48 960,2 720,28 C480,48 240,2 0,22Z' fill='%23f5efe6'/%3E%3Cpath d='M0,22 C240,2 480,48 720,28 C960,2 1200,48 1440,18' stroke='%235a4028' stroke-width='1.5' fill='none' opacity='0.2'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

#about-author::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,22 C1320,48 1080,5 840,28 C600,48 360,8 0,18Z' fill='%23ede4d5'/%3E%3Cpath d='M0,18 C360,8 600,48 840,28 C1080,5 1320,48 1440,22' stroke='%235a4028' stroke-width='1.5' fill='none' opacity='0.2'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

#about-illustrator::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,18 C1200,48 960,2 720,28 C480,48 240,2 0,22Z' fill='%23f0e8da'/%3E%3Cpath d='M0,22 C240,2 480,48 720,28 C960,2 1200,48 1440,18' stroke='%235a4028' stroke-width='1.5' fill='none' opacity='0.2'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

#reviews::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,15 C1100,42 800,8 500,30 C300,42 150,15 0,25Z' fill='%23ebe1d2'/%3E%3Cpath d='M0,25 C150,15 300,42 500,30 C800,8 1100,42 1440,15' stroke='%235a4028' stroke-width='1.5' fill='none' opacity='0.18'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

#qa::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,12 C1080,45 720,5 360,35 C180,48 60,20 0,28Z' fill='%23eae0d0'/%3E%3Cpath d='M0,28 C60,20 180,48 360,35 C720,5 1080,45 1440,12' stroke='%235a4028' stroke-width='1.5' fill='none' opacity='0.2'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    .books-section::before,
    #about-illustrator::before,
    #reviews::before,
    #qa::before,
    #about-author::before {
        height: 35px;
    }
}

/* =========================================
   Book Section (Young Mole)
   ========================================= */

.book-flex-wrap {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
    justify-content: center;
}

.book-cover-flex {
    flex: 0 0 280px;
    max-width: 280px;
}

.book-desc-flex {
    flex: 1 1 340px;
    min-width: 260px;
    max-width: 620px;
}

.about-img, .img-responsive {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.about-desc h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5em;
}

.about-desc h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.3em;
    letter-spacing: -0.01em;
    text-transform: none;
    font-weight: 700;
}

.about-desc h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0.2em;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}

.about-desc .heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.2em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.role-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35em 1em;
    border-radius: 100px;
    margin-bottom: 1.2em;
}

.about-desc p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 0.8em;
    color: var(--text);
}

.about-desc .desc p:last-of-type {
    margin-bottom: 0;
}

.meet-characters {
    margin-top: 2.5rem;
}

.meet-characters-pill {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(181, 137, 80, 0.12);
    border: 1px solid rgba(181, 137, 80, 0.25);
    border-radius: 999px;
    padding: 0.3em 1em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.meet-characters-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.characters-grid {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.character-card {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s var(--ease);
    cursor: pointer;
}

.character-card:hover {
    transform: scale(1.08);
}

.character-card img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(181, 137, 80, 0.35), 0 3px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(181, 137, 80, 0.3);
    transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.character-card:hover img {
    box-shadow: 0 0 28px rgba(181, 137, 80, 0.5), 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.character-name {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 0.4rem;
}

.availability-banners {
    display: flex;
    gap: 0.8em;
    margin-top: 2em;
    align-items: center;
    flex-wrap: wrap;
}

.availability-banners .buy-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.availability-banners .banner {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.6em 1.4em;
    display: flex;
    align-items: center;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    min-width: 110px;
    justify-content: center;
    border: 1px solid var(--border);
}

.availability-banners .banner:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.availability-banners .amazon img {
    max-height: 28px !important;
    width: auto;
}

.availability-banners .banner:not(.amazon) img {
    max-height: 44px !important;
    width: auto;
}

.availability-formats {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.format-covers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.2rem;
}

.format-cover-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.format-cover-item img {
    height: 120px;
    width: auto;
    border-radius: 6px;
    transition: transform 0.3s var(--ease);
}

.format-cover-item:hover img {
    transform: scale(1.06);
}

.format-cover-item span {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.audiobook-teaser {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.audiobook-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(181, 137, 80, 0.3), 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(181, 137, 80, 0.25);
}

.audiobook-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    font-style: italic;
}

/* About section extras */
.about-extras {
    margin-top: 3rem;
    padding-top: 1rem;
    text-align: center;
}

@media (max-width: 900px) {
    .book-flex-wrap {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .book-cover-flex, .book-desc-flex {
        max-width: 100%;
        width: 100%;
    }
    .book-cover-flex {
        display: flex;
        justify-content: center;
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .about-desc h1 { font-size: 1.3rem; }
    .about-desc h2 { font-size: 1.4rem; }
    .about-desc h3 { font-size: 1.3rem; }
    .about-desc p { font-size: 0.95rem; line-height: 1.75; }
    .about-img, .img-responsive { max-width: 70vw; }
    .availability-banners { justify-content: center; }
}

/* =========================================
   Profile Sections (Author & Illustrator)
   ========================================= */

.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.profile-section--reverse {
    flex-direction: row-reverse;
}

.profile-img-wrap {
    flex: 0 0 240px;
    max-width: 280px;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--bg-alt);
}

.profile-desc-wrap {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 580px;
}

@media (max-width: 900px) {
    .profile-section,
    .profile-section--reverse {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .profile-img-wrap, .profile-desc-wrap { max-width: 100%; width: 100%; }
    .profile-img-wrap { max-width: 240px; }
    .profile-img { margin: 0 auto; }
}

@media (max-width: 600px) {
    .profile-img { width: 70vw; height: auto; max-width: 260px; }
}

/* =========================================
   Books Section
   ========================================= */

.books-section {
    position: relative;
    width: 100%;
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.books-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    display: flex;
    flex-direction: row;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(90, 64, 40, 0.08);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    min-height: 240px;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(90, 64, 40, 0.14);
}

.book-cover {
    width: 200px;
    min-height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.book-card:hover .book-cover {
    filter: brightness(1.03);
}

/* Coming Soon overlay */
.book-cover-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 200px;
}

.book-card--coming-soon .book-cover {
    filter: grayscale(0.4) brightness(0.85);
    transition: filter 0.35s var(--ease);
}

.book-card--coming-soon:hover .book-cover {
    filter: grayscale(0.2) brightness(0.9);
}

.book-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(60, 42, 24, 0.45);
    pointer-events: none;
}

.book-card--coming-soon .book-overlay {
    backdrop-filter: blur(2px);
}

.book-card--no-cover .book-cover-wrap {
    min-height: 100%;
    background: linear-gradient(145deg, #d5c8b4 0%, #c4b49a 50%, #b8a68c 100%);
}

.book-info {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    flex: 1;
    justify-content: center;
}

.book-number {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5em;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.15em;
    line-height: 1.25;
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8em;
}

.book-desc {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.65;
    margin: 0 0 1.2em;
}

.book-links {
    display: flex;
    align-items: center;
    gap: 0.6em;
    flex-wrap: wrap;
    margin-top: auto;
}

.book-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4em 0.9em;
    border-radius: 20px;
}

.book-badge--available {
    background: #3a7d44;
    color: #fff;
}

.book-badge--soon {
    background: rgba(122, 92, 62, 0.1);
    color: var(--primary);
    border: 1px solid rgba(122, 92, 62, 0.18);
}

.book-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.4em 1em;
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    background: var(--dark);
    color: var(--white);
    border: none;
    transition: all 0.25s var(--ease);
}

.book-links a:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.book-links a img {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
    .book-card {
        flex-direction: column;
        min-height: auto;
    }
    .book-cover {
        width: 100%;
        height: 220px;
        min-height: auto;
    }
    .book-cover-wrap {
        width: 100%;
        height: 220px;
    }
    .book-info {
        padding: 1.25rem;
    }
    .book-title {
        font-size: 1.15rem;
    }
}

/* =========================================
   Feedback Section
   ========================================= */

.feedback-section-wrapper {
    width: 100%;
    background: #ebe1d2;
    padding: 3.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-section {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feedback-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75em;
    position: relative;
    padding-bottom: 0.75em;
}

.feedback-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1.5px;
    background: var(--primary);
    opacity: 0.3;
}

.feedback-section p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5em;
}

.feedback-section .feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8em 2em;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    letter-spacing: 0.02em;
}

.feedback-section .feedback-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 92, 62, 0.25);
}

.feedback-section .feedback-btn .icon {
    display: flex;
    align-items: center;
}

.reader-art-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.reader-art-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--ease);
}

.reader-art-item:hover {
    transform: scale(1.04);
}

.reader-art-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.reader-art-credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0.8rem 0.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.reader-art-item:hover .reader-art-credit,
.reader-art-item:focus .reader-art-credit,
.reader-art-item.active .reader-art-credit {
    opacity: 1;
}

.reader-art-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.reader-art-location {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.8);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

@media (max-width: 700px) {
    .feedback-section-wrapper { padding: 2.5rem 0; }
    .feedback-section { padding: 0 1rem; }
    .reader-art-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Mobile Feedback (Footer)
   ========================================= */

#mobile-feedback-section {
    display: none;
    width: 100%;
    background: var(--primary-light);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#mobile-feedback-section .mobile-feedback-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

#mobile-feedback-section .mobile-feedback-desc {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1.2em;
    line-height: 1.6;
}

#mobile-feedback-section .mobile-feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75em 1.8em;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

#mobile-feedback-section .mobile-feedback-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 92, 62, 0.25);
}

#mobile-feedback-section .icon {
    display: flex;
    align-items: center;
}

/* =========================================
   Reviews
   ========================================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.2em 2em 1.8em;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 0.1em;
    left: 0.4em;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.15;
    pointer-events: none;
}

.review-rating {
    display: flex;
    gap: 0.15em;
    margin-bottom: 0.8em;
}

.review-rating .star {
    color: var(--primary);
    font-size: 0.85rem;
}

.review-text {
    flex: 1;
    margin-bottom: 1.5em;
}

.review-text p {
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin-top: auto;
}

.review-author strong {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.reviewer-image { flex-shrink: 0; }

.reviewer-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    transition: border-color 0.2s var(--ease);
}

.review-card:hover .reviewer-image img {
    border-color: var(--primary);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.reviewer-info strong {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.review-location {
    color: var(--text-light);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .review-card { padding: 1.8em 1.4em 1.5em; }
}

@media (max-width: 480px) {
    .review-card { padding: 1.5em 1.2em 1.3em; }
    .review-text p { font-size: 0.9rem; }
}

/* =========================================
   Q&A Section
   ========================================= */

.qa-container {
    max-width: 760px;
    margin: 0 auto;
}

.qa-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s var(--ease);
}

.qa-item:hover {
    box-shadow: var(--shadow-sm);
}

.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25em 1.5em;
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
}

.qa-question:hover {
    background-color: rgba(122, 92, 62, 0.04);
}

.qa-question h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1em;
    line-height: 1.5;
}

.qa-toggle {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s var(--ease);
    user-select: none;
    min-width: 24px;
    text-align: center;
}

.qa-item.active .qa-toggle {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.qa-item.active .qa-answer {
    max-height: 800px;
}

.qa-answer p {
    padding: 0 1.5em 1.25em;
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.qa-author {
    font-style: italic !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding-top: 0.75em !important;
    border-top: 1px solid var(--border) !important;
    margin-top: 0.75em !important;
    display: block !important;
}

@media (max-width: 768px) {
    .qa-question { padding: 1em 1.2em; }
    .qa-question h3 { font-size: 0.95rem; }
    .qa-answer p { padding: 0 1.2em 1em; font-size: 0.9rem; }
}

/* =========================================
   Footer
   ========================================= */

footer {
    background: #d8cab6;
    border-top: 1px solid rgba(122,92,62,0.15);
}

#footer {
    padding: 2rem 0 1.2rem;
    font-size: 0.95rem;
}

#footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

#footer a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s var(--ease);
}

#footer a:hover { opacity: 0.7; }

.follow-us-section {
    text-align: center;
    margin-bottom: 1.5em;
}

.follow-us-section h3 {
    margin: 0 0 1em;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1em;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5em;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5em 1em;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s var(--ease);
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s var(--ease);
}

@media (max-width: 480px) {
    .social-links { flex-direction: column; align-items: center; gap: 0.6em; }
}

/* =========================================
   Animations
   ========================================= */

.fade-in-section > .container,
.fade-in-section > .feedback-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in-section.visible > .container,
.fade-in-section.visible > .feedback-section {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Modal
   ========================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    margin: auto;
    padding: 2.5em;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 90vw;
    position: relative;
}

.close {
    position: absolute;
    top: 0.8em;
    right: 1em;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.15s var(--ease);
    line-height: 1;
}

.close:hover { color: var(--primary); }

/* =========================================
   Readers/Writers Section (if used)
   ========================================= */

.readers-writers-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 740px;
    width: 100%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.readers-writers-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.7em;
    position: relative;
    padding-bottom: 0.5em;
}

.readers-writers-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.readers-writers-section p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1.5em;
    text-align: center;
}

.readers-writers-section form {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.readers-writers-section input,
.readers-writers-section textarea {
    width: 100%;
    padding: 0.75em 1em;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s var(--ease);
}

.readers-writers-section input:focus,
.readers-writers-section textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.readers-writers-section textarea {
    min-height: 120px;
    resize: vertical;
}

.readers-writers-section button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75em 2em;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    margin-top: 0.5em;
}

.readers-writers-section button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 92, 62, 0.25);
}

.readers-writers-section .success-message {
    color: #2e7d32;
    background: #eafbe7;
    border-radius: var(--radius);
    padding: 0.7em 1em;
    margin-top: 1em;
    text-align: center;
    display: none;
}

.readers-writers-section .error-message {
    color: #b71c1c;
    background: #fdeaea;
    border-radius: var(--radius);
    padding: 0.7em 1em;
    margin-top: 1em;
    text-align: center;
    display: none;
}

/* =========================================
   Carousels (legacy)
   ========================================= */

.owl-carousel3, .owl-carousel1 {
    display: flex;
    gap: 1em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1em;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.owl-carousel3 .item, .owl-carousel1 .item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1em;
    margin-right: 1em;
}

/* =========================================
   Utility: Responsive container
   ========================================= */

@media (max-width: 600px) {
    :root { --section-gap: 3rem; }
    .container { padding: 0 1rem; }
    .section-title { font-size: 1.2rem; letter-spacing: 0.15em; }
}

/* =========================================
   Overflow prevention (global)
   ========================================= */

* { word-wrap: break-word; overflow-wrap: break-word; }

.mole-saga-navbar,
.mole-saga-navbar *,
.nav-list,
.nav-list.open {
    max-width: none !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    body, #mole-saga-page {
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0;
    }
}

/* =========================================
   Extra Content (video placeholders etc.)
   ========================================= */

.extra-content-container { max-width: 1000px; margin: 0 auto; }

.video-placeholder {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3em 2em;
    text-align: center;
    color: var(--text-light);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 2em;
}

.video-container iframe,
.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rotate {
    transform: rotate(-2deg);
    display: inline-block;
    margin-bottom: 1em;
}
