/* ============================================
   OONA 13 - Main Stylesheet
   A snow-bound tech-fantasy where machines pray
   ============================================ */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Core Colors */
    --charcoal-black: #0B0D10;
    --dark-gray: #1C1F24;
    --frost-white: #f4f4f2;
    --steel-gray: #A9B1B7;
    --pale-gray: #9ca3af;

    /* Accent Colors */
    --ember-orange: #f28b37;
    --wheat-gold: #e6c267;
    --signal-gold: #feda4a;
    --signal-blue: #3ad2ff;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Crimson Pro', serif;
    --font-nav: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--frost-white);
    background-color: var(--charcoal-black);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--frost-white);
    letter-spacing: 0.5px;
    margin-bottom: 0.5em;
}

h5, h6 {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--steel-gray);
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--wheat-gold);
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--ember-orange);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal-black);
}

::-webkit-scrollbar-thumb {
    background: var(--ember-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wheat-gold);
}

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(11, 13, 16, 0.95);
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-nav);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--frost-white);
    text-decoration: none;
    padding: 0.5rem;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--wheat-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--signal-blue);
    text-shadow: 0 0 5px var(--signal-blue), 0 0 10px var(--signal-blue);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--frost-white);
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-gray);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background: url('/images/webbacknoword-scaled.webp') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

/* Tower Spotlight Effect */
.hero::before {
    content: '';
    position: absolute;
    /* Position at tower location - roughly center-right of the image */
    top: 35%;
    left: 55%;
    width: 0;
    height: 0;
    /* Create a cone/beam shape using box-shadow and transforms */
    background: transparent;
    transform-origin: top center;
    z-index: 1;
    pointer-events: none;
    animation: spotlightSweep 12s ease-in-out infinite;
}

/* The actual beam of light - cool blue from tower slit */
/* Note: beam uses fixed positioning so it doesn't scroll with parallax */
.hero::after {
    content: '';
    position: fixed;
    top: 35%;
    left: 67.5%;
    width: 250px;
    height: 900px;
    background: linear-gradient(
        180deg,
        rgba(58, 210, 255, 0.5) 0%,
        rgba(58, 210, 255, 0.2) 15%,
        rgba(58, 210, 255, 0.08) 40%,
        transparent 100%
    );
    transform-origin: top center;
    transform: translateX(-50%) rotate(-30deg);
    z-index: 1;
    pointer-events: none;
    clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
    filter: blur(6px);
    animation: spotlightSweep 12s ease-in-out infinite, spotlightFlicker 12s ease-in-out infinite;
}

@keyframes spotlightSweep {
    0% {
        transform: translateX(-50%) rotate(-45deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateX(-50%) rotate(-40deg);
    }
    15% {
        transform: translateX(-50%) rotate(-10deg);
        opacity: 1;
    }
    25% {
        transform: translateX(-50%) rotate(15deg);
        opacity: 1;
    }
    /* Linger on the horseman (viewer's left) */
    32% {
        transform: translateX(-50%) rotate(25deg);
        opacity: 1;
    }
    42% {
        transform: translateX(-50%) rotate(28deg);
        opacity: 1;
    }
    48% {
        transform: translateX(-50%) rotate(30deg);
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    /* Dark period - spotlight off */
    70% {
        opacity: 0;
        transform: translateX(-50%) rotate(-45deg);
    }
    75% {
        opacity: 1;
        transform: translateX(-50%) rotate(-30deg);
    }
    82% {
        transform: translateX(-50%) rotate(10deg);
        opacity: 1;
    }
    /* Linger again */
    88% {
        transform: translateX(-50%) rotate(25deg);
        opacity: 1;
    }
    95% {
        transform: translateX(-50%) rotate(28deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes spotlightFlicker {
    0%, 100% { filter: blur(8px) brightness(1); }
    5% { filter: blur(6px) brightness(1.2); }
    10% { filter: blur(10px) brightness(0.9); }
    15% { filter: blur(8px) brightness(1.1); }
    48% { filter: blur(8px) brightness(1); }
    50% { filter: blur(15px) brightness(0.3); }
    52% { filter: blur(20px) brightness(0); }
    70% { filter: blur(20px) brightness(0); }
    72% { filter: blur(10px) brightness(0.5); }
    75% { filter: blur(8px) brightness(1); }
}

/* Spotlight glow at origin point (tower slit) - cat's eye style */
.hero .spotlight-origin {
    position: fixed;
    top: 33%;
    left: 67.5%;
    width: 36px;
    height: 16px;
    background: radial-gradient(ellipse 100% 100% at 50% 50%,
        rgba(58, 210, 255, 0.9) 0%,
        rgba(58, 210, 255, 0.4) 60%,
        transparent 100%);
    border-radius: 80% 80% 80% 80% / 50% 50% 50% 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    box-shadow:
        0 0 20px rgba(58, 210, 255, 0.9),
        0 0 40px rgba(58, 210, 255, 0.4),
        0 0 60px rgba(58, 210, 255, 0.2);
    animation: evilEyePulse 12s ease-in-out infinite;
}

/* Cat's eye vertical slit pupil */
.hero .spotlight-origin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 1) 20%,
        rgba(200, 240, 255, 1) 50%,
        rgba(255, 255, 255, 1) 80%,
        transparent 100%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(58, 210, 255, 1),
        0 0 25px rgba(58, 210, 255, 0.8);
    animation: pupilLook 12s ease-in-out infinite;
}

/* Pupil moves with the beam direction */
@keyframes pupilLook {
    0% { left: 70%; opacity: 0; }
    5% { left: 65%; opacity: 1; }
    15% { left: 50%; }
    25% { left: 38%; }
    /* Linger looking at horseman (viewer's left) */
    32% { left: 32%; }
    42% { left: 30%; }
    48% { left: 30%; opacity: 1; }
    50% { left: 30%; opacity: 0; }
    70% { left: 70%; opacity: 0; }
    75% { left: 60%; opacity: 1; }
    82% { left: 45%; }
    /* Linger again */
    88% { left: 32%; }
    95% { left: 30%; opacity: 1; }
    100% { left: 70%; opacity: 0; }
}

@keyframes evilEyePulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    5% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    15% { transform: translate(-50%, -50%) scale(1.0); }
    45% { opacity: 1; transform: translate(-50%, -50%) scale(1.0); }
    50% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    70% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    75% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    95% { opacity: 1; transform: translate(-50%, -50%) scale(1.0); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

@keyframes glowPulse {
    0%, 5% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    10% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
    45% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    50% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    70% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    75% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
    95% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

.hero-wordmark {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    z-index: 5;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    color: #fefae0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    line-height: 1.4;
    max-width: 900px;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
    z-index: 5;
}

.read-more-container {
    margin-top: 1rem;
    position: relative;
    z-index: 5;
}

/* Mobile - disable parallax (breaks on iOS) */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    /* Disable spotlight on mobile for performance */
    .hero::after {
        display: none;
    }

    .hero .spotlight-origin {
        display: none;
    }
}

/* Hide spotlight when scrolled past hero */
.hero.spotlight-hidden::after {
    opacity: 0 !important;
    visibility: hidden;
}

.hero::after {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero .spotlight-origin {
    transition: opacity 0.4s ease;
}

.hero.spotlight-hidden .spotlight-origin {
    opacity: 0 !important;
    visibility: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .hero-tagline {
        font-size: 1.75rem;
    }

    .hero-wordmark {
        max-width: 280px;
    }
}

/* ---------- MENU STRIP ---------- */
.menu-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 10;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'Georgia', serif;
}

.menu-item {
    color: #f5e4c3;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.3s ease;
    padding: 4px 8px;
}

.menu-item::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: #c4892b;
    transition: width 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.1);
    color: #ffe9b0;
    text-shadow: 0 0 8px rgba(255, 220, 140, 0.75);
}

.menu-item:hover::after {
    width: 100%;
}

@media (max-width: 600px) {
    .menu-strip {
        flex-direction: column;
        gap: 16px;
        padding: 12px 0;
    }

    .menu-item {
        font-size: 16px;
        padding: 6px 12px;
        text-align: center;
    }
}

/* ---------- INTERACTIVE BUTTONS (Labyrinth, Dagger, Scroll) ---------- */
.icon-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.icon-button:hover {
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 15px rgba(0, 100, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 25px rgba(0, 150, 255, 0.7)); }
}

.labyrinth-icon {
    width: 120px;
    height: auto;
    transition: filter 0.3s ease;
    animation: labyrinthPulse 4.5s ease-in-out infinite;
}

@keyframes labyrinthPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(0, 200, 255, 0.4));
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.8));
    }
}

.dagger-icon {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
    animation: daggerJiggle 3s ease-in-out infinite;
}

@keyframes daggerJiggle {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    15% { transform: rotate(2deg) translateY(-2px); }
    30% { transform: rotate(-2deg) translateY(2px); }
    45% { transform: rotate(1.2deg) translateY(-1px); }
    60% { transform: rotate(-1deg) translateY(1px); }
    75% { transform: rotate(0.5deg) translateY(-0.5px); }
}

.hover-text {
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: 0.85rem;
    font-style: italic;
    color: #aaa;
    margin-top: 6px;
    pointer-events: none;
    text-align: center;
    letter-spacing: 0.05em;
}

.icon-button:hover .hover-text {
    opacity: 1;
}

/* Whisper text with typewriter effect */
.whisper-text {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: #ddd;
    font-style: italic;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #ddd;
    letter-spacing: 0.5px;
    width: 0;
}

.dagger-hover:hover .whisper-text {
    opacity: 1;
    animation: typewriter 2s steps(10, end) 0.3s forwards, blink-caret 0.7s step-end infinite;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 7.5em; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #ddd; }
}

/* ---------- MODALS ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: fadeInModal 0.3s ease-in-out;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    border: 2px solid #ccc;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-height: 80vh;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
}

/* Story Modal */
.story-modal {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%) !important;
    max-width: 600px;
    max-height: 80vh;
    padding: 2.5rem;
    border: 1px solid rgba(226, 194, 103, 0.2);
    overflow-y: auto;
}

.story-modal .modal-close {
    background: #222;
    color: var(--wheat-gold);
    border-color: #444;
    top: 10px;
    right: 10px;
}

.story-text {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-text p {
    margin-bottom: 1rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text strong {
    color: var(--frost-white);
}

/* ---------- PURCHASE SECTION ---------- */
.purchase-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.purchase-cover {
    max-height: 380px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 15px rgba(242, 139, 55, 0.15);
}

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

@media (max-width: 800px) {
    .purchase-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .purchase-cover {
        max-height: 280px;
    }
}

/* ---------- BOOK BUTTONS ---------- */
.button-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}

.book-button {
    background: var(--ember-orange);
    color: #000;
    padding: 10px 22px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-weight: 600;
    font-size: 16px;
    min-width: 200px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.book-button:hover {
    background: var(--wheat-gold);
    box-shadow: 0 0 16px rgba(230, 194, 103, 0.6);
    transform: scale(1.04);
    color: #000;
}

.button-subtitle {
    display: block;
    font-size: 13px;
    font-weight: normal;
    color: #000;
    margin-top: 2px;
    letter-spacing: 0.4px;
}

/* ---------- CRYPTO SECTION ---------- */
.crypto-block {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

.crypto-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ember-orange);
    font-size: 1.5em;
    margin-bottom: 0.25em;
}

.crypto-block p,
.crypto-block ul {
    font-family: var(--font-body);
    color: var(--frost-white);
    font-size: 1rem;
}

.crypto-block ul {
    list-style: none;
    padding-left: 0;
}

.crypto-block a.crypto-button {
    display: inline-block;
    padding: 12px 20px;
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: var(--frost-white);
    border: 1px solid var(--frost-white);
    border-radius: 4px;
    margin-bottom: 1.2em;
    background: none;
    transition: all 0.3s ease;
}

.crypto-block a.crypto-button:hover {
    background: var(--dark-gray);
    color: var(--ember-orange);
    border-color: var(--ember-orange);
}

.crypto-block details summary {
    font-family: var(--font-nav);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 10px;
    color: var(--frost-white);
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #121418;
    transition: all 0.3s ease;
}

.crypto-block details summary:hover {
    color: var(--ember-orange);
    border-color: var(--ember-orange);
}

.crypto-block code {
    font-family: monospace;
    color: var(--ember-orange);
    word-wrap: break-word;
    display: block;
    margin: 0.5em 0;
    font-size: 0.85em;
}

/* Spinning coin */
.crowns-coin-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -110px;
    margin-bottom: 20px;
    position: relative;
}

.crowns-coin {
    width: 72px;
    animation: slowspin 12s linear infinite;
    filter: drop-shadow(0 0 4px var(--ember-orange));
    transition: filter 0.3s ease;
    cursor: pointer;
}

.crowns-coin:hover {
    filter: drop-shadow(0 0 12px var(--ember-orange));
}

@keyframes slowspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.coin-arrow {
    position: absolute;
    right: 20px;
    top: 75px;
    color: var(--ember-orange);
    font-size: 14px;
    font-family: var(--font-nav);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* ---------- REVIEW FORM ---------- */
.review-form {
    max-width: 540px;
    margin: 2rem auto;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(1px);
}

.review-form h2 {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5em;
}

.review-form input,
.review-form textarea {
    width: 100%;
    margin-bottom: 1em;
    padding: 0.5em;
    font-family: inherit;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.review-form button[type="submit"] {
    background: #222;
    color: #ffecb3;
    border: none;
    padding: 0.6em 1.5em;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(255,200,120,0.2);
    transition: all 0.3s ease;
}

.review-form button[type="submit"]:hover {
    box-shadow: 0 0 14px rgba(255,230,150,0.4);
    transform: scale(1.05);
}

/* ---------- QUOTE ROTATOR ---------- */
/* Section with back2 background */
.section-back2 {
    background: url('/images/back2.webp') center/cover no-repeat;
    position: relative;
}

.section-back2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.section-back2 > * {
    position: relative;
    z-index: 1;
}

#quote-box {
    height: 140px;
    position: relative;
    margin: 40px auto;
    max-width: 80%;
    text-align: center;
}

#quote-box blockquote {
    font-style: italic;
    font-size: 1.4em;
    color: #f0f0f0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: opacity 1s ease-in-out;
    padding-left: 20px;
    border-left: 4px solid var(--signal-gold);
}

#quote-box.fade-out blockquote {
    opacity: 0;
}

#quote-box blockquote span {
    display: block;
    margin-top: 0.75em;
    font-weight: 500;
    font-size: 0.65em;
    color: #ffa94d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-style: normal;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-dark {
    background: var(--charcoal-black);
}

.section-gray {
    background: var(--dark-gray);
}

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

/* ---------- FOOTER ---------- */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--frost-white);
    padding: 40px 20px;
    text-align: center;
    font-family: var(--font-nav);
    font-size: 0.9em;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--steel-gray);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--wheat-gold);
}

.footer-copy {
    color: var(--steel-gray);
    font-size: 0.85em;
}

.footer-powered {
    color: #666;
    font-size: 0.8em;
    margin-top: 0.5rem;
}

.footer-powered a {
    color: #888;
    text-decoration: none;
}

.footer-powered a:hover {
    color: var(--wheat-gold);
}

.footer-easter {
    color: #444;
    font-size: 0.7em;
    font-style: italic;
    margin-top: 0.5rem;
    cursor: help;
    transition: color 0.3s;
}

.footer-easter:hover {
    color: var(--signal-gold);
}

/* ---------- READ MORE TRIGGER ---------- */
.read-more-btn {
    font-style: italic;
    font-size: 1.1rem;
    color: #feda4a;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-shadow: 0 0 5px #feda4a;
    transition: text-shadow 0.3s, transform 0.3s, background-color 0.3s;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}

.read-more-btn:hover {
    text-shadow: 0 0 10px #fff200, 0 0 20px #fff200;
    transform: translateY(-2px);
    background-color: rgba(254, 218, 74, 0.1);
}

/* ---------- BLOCKQUOTES ---------- */
blockquote {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--wheat-gold);
    border-left: 3px solid var(--ember-orange);
    padding-left: 15px;
    margin: 1em 0;
}

/* ---------- IMAGE HOVER ---------- */
img {
    max-width: 100%;
    height: auto;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- THANK YOU MODAL ---------- */
#thankYouModal .modal-content {
    background: #111;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(255,200,120,0.2);
}

#thankYouModal h2 {
    color: #ffecb3;
    font-family: 'EB Garamond', serif;
    text-align: center;
}

#thankYouModal p {
    color: #ccc;
    font-size: 1rem;
    text-align: center;
}
