/* The Third Overturn: Stone & Sceptre Chronicles Book Three — Coming Soon */

/*
═══════════════════════════════════════════════════
   CSS VARIABLES — STONE & SCEPTRE PALETTE
═══════════════════════════════════════════════════ */
:root {
    --primary-gold:   #d4af37;
    --light-gold:     #f4e5a1;
    --medium-gold:    #e6c969;
    --dark-gold:      #b8941f;
    --dark-blue:      #1a1a2e;
    --deep-blue:      #16213e;
    --accent-red:     #8b0000;
    --royal-purple:   #4b0082;
    --mid-purple:     #6a0dad;

    --cream:          #f5f5dc;
    --ash:            #9a9a8a;

    --text-light:     #f5f5dc;
    --text-dark:      #2c2c2c;
    --text-muted:     #888;
    --text-secondary: #c8b89a;

    --bg-primary:     #1a1a2e;
    --bg-secondary:   #16213e;
    --bg-accent:      rgba(212, 175, 55, 0.07);

    --font-heading:   'Cinzel', serif;
    --font-body:      'Cormorant Garamond', serif;

    --section-padding:   6rem 0;
    --container-padding: 0 2rem;
    --border-radius:     15px;

    --shadow-light:  0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-heavy:  0 20px 40px rgba(0, 0, 0, 0.7);

    --transition-fast:   0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow:   0.8s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    background: linear-gradient(
        135deg,
        var(--dark-blue)  0%,
        #0f1428          30%,
        #1a0f2e          65%,
        var(--dark-blue) 100%
    );
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem);   font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1.5rem; }

a { color: var(--primary-gold); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--light-gold); }

.container { max-width: 1200px; margin: 0 auto; padding: var(--container-padding); }
.section    { padding: var(--section-padding); position: relative; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
═══════════════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════════════ */
.section-title {
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 1rem auto;
}

/*
═══════════════════════════════════════════════════
   CELTIC BORDER DECORATION
═══════════════════════════════════════════════════ */
.celtic-border { position: relative; }

.celtic-border::before,
.celtic-border::after {
    content: '';
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 Q25,0 50,10 T100,10' stroke='%23d4af37' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    height: 20px;
    left: 0; right: 0;
}
.celtic-border::before { top: 0; }
.celtic-border::after  { bottom: 0; transform: scaleY(-1); }

/*
═══════════════════════════════════════════════════
   SERIES BANNER (fixed top strip)
═══════════════════════════════════════════════════ */
.series-banner {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 2px solid var(--primary-gold);
    padding: 0.3rem 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.series-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    flex-wrap: wrap;
}

.book-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition-fast);
    color: var(--text-light);
}

.book-link:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary-gold);
}

.current-book {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-gold);
    font-weight: 700;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.book-number  { font-size: 0.75rem; opacity: 0.8; }
.book-title   { font-size: 0.85rem; font-weight: 600; }

.series-divider { color: var(--primary-gold); font-size: 1.2rem; opacity: 0.6; }

.series-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--ash);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.series-label.current-series { color: var(--primary-gold); }

/*
═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 52px;
    left: 0; right: 0;
    background: rgba(22, 21, 46, 0.96);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar.scrolled {
    background: rgba(22, 21, 46, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(212, 175, 55, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.nav-logo { color: var(--primary-gold); font-size: 1.2rem; margin: 0; white-space: nowrap; }

.nav-menu { display: flex; list-style: none; gap: 2rem; margin: 0; }

.nav-menu a {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}
.nav-menu a:hover                  { color: var(--primary-gold); }
.nav-menu a:hover::after,
.nav-menu a.active::after          { width: 100%; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle:focus { outline: 2px solid var(--primary-gold); outline-offset: 2px; }

/*
═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1020 25%, #1a102e 55%, #1a1a2e 100%);
    overflow: hidden;
    padding-top: 140px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='knotwork' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='8' stroke='%23d4af37' stroke-width='0.3' fill='none' opacity='0.04'/%3E%3Crect x='5' y='5' width='30' height='30' stroke='%234b0082' stroke-width='0.3' fill='none' opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23knotwork)'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    padding: var(--container-padding);
    z-index: 1;
    position: relative;
}

/*
═══════════════════════════════════════════════════
   COVER PLACEHOLDER
═══════════════════════════════════════════════════ */
.book-display {
    flex: 1;
    display: flex;
    justify-content: center;
}

.book-container { position: relative; }

.cover-placeholder {
    width: 300px;
    height: 450px;
    background: linear-gradient(
        155deg,
        #1a1a2e 0%,
        #2a1a4e 35%,
        #1e0a3e 60%,
        #0f1428 100%
    );
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(212, 175, 55, 0.12),
        0 0 120px rgba(75, 0, 130, 0.10);
    position: relative;
    overflow: hidden;
    animation: bookFloat 6s ease-in-out infinite;
}

.cover-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg,
        transparent 40%,
        rgba(212, 175, 55, 0.04) 50%,
        transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

.cover-inner {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.cover-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--dark-blue);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
}

.cover-numeral {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    margin-bottom: 0.5rem;
}

.cover-ornament {
    display: block;
    color: var(--primary-gold);
    opacity: 0.4;
    font-size: 1.6rem;
    margin: 0.75rem 0;
}

.cover-series-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--ash);
    letter-spacing: 1.5px;
    line-height: 1.7;
    margin: 0;
    text-transform: uppercase;
}

.book-glow {
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    background: linear-gradient(45deg,
        rgba(212, 175, 55, 0.08) 0%,
        rgba(75, 0, 130, 0.06) 50%,
        rgba(212, 175, 55, 0.08) 100%);
    border-radius: 22px;
    animation: auraGlow 8s ease-in-out infinite alternate;
    z-index: -1;
}

/*
═══════════════════════════════════════════════════
   HERO TEXT
═══════════════════════════════════════════════════ */
.hero-text { flex: 1; max-width: 600px; }

.coming-soon-label {
    display: inline-block;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    margin-bottom: 1.2rem;
}

.hero-text h1 {
    color: var(--primary-gold);
    margin-bottom: 0.7rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-text h2 { color: var(--text-light); margin-bottom: 0.5rem; font-size: 1.5rem; }

.series-attribution {
    font-style: italic;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.85;
}

.quote-block {
    background: rgba(75, 0, 130, 0.08);
    border-left: 4px solid var(--royal-purple);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}
.quote-block::before {
    content: '"';
    position: absolute;
    top: -10px; left: 10px;
    font-size: 3rem;
    color: var(--royal-purple);
    opacity: 0.4;
}
.quote-block p { margin-bottom: 0.8rem; font-size: 1.05rem; line-height: 1.7; }
.quote-ref {
    display: block;
    text-align: right;
    color: var(--royal-purple);
    font-style: normal;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-description { font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.8; }

/*
═══════════════════════════════════════════════════
   EMAIL FORM
═══════════════════════════════════════════════════ */
.notify-form-container { margin: 2rem 0 1rem; }

.form-intro {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.email-form .form-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.email-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.3rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}
.email-form input[type="email"]::placeholder { color: rgba(245, 245, 220, 0.35); }
.email-form input[type="email"]:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--primary-gold);
}

.form-trust {
    color: rgba(245, 245, 220, 0.45);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0.6rem 0 0;
    text-align: left;
}

.email-form-centered .form-row { justify-content: center; }
.email-form-centered .form-trust { text-align: center; }

/*
═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: var(--transition-medium);
}
.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--dark-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
    color: var(--light-gold);
}

.hero-trust {
    font-family: var(--font-body);
    color: var(--primary-gold);
    font-size: 1rem;
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
}
.hero-trust span:last-child {
    color: var(--text-light);
    margin-left: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

/*
═══════════════════════════════════════════════════
   SYNOPSIS SECTION
═══════════════════════════════════════════════════ */
.synopsis-section { background: rgba(212, 175, 55, 0.03); }

.synopsis-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
}
.synopsis-content p { margin-bottom: 1.8rem; }

.synopsis-tagline { font-style: italic; color: var(--text-secondary); }

/*
═══════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════ */
.features-section { background: rgba(75, 0, 130, 0.04); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-fast);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.feature-card h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin: 0; }

/*
═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonials-section { background: rgba(212, 175, 55, 0.03); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--primary-gold);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 0;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}
.testimonial-card cite {
    font-style: normal;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/*
═══════════════════════════════════════════════════
   AVAILABLE NOW (cross-promotion)
═══════════════════════════════════════════════════ */
.available-now-section { background: rgba(75, 0, 130, 0.04); }

.available-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.available-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.available-card {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-fast);
}
.available-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.available-card h3 {
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.available-title {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
}

.available-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.available-card .btn { align-self: flex-start; }

/*
═══════════════════════════════════════════════════
   SECOND CTA SECTION
═══════════════════════════════════════════════════ */
.second-cta-section { background: rgba(212, 175, 55, 0.03); }
.second-cta-section p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/*
═══════════════════════════════════════════════════
   AUTHOR SECTION
═══════════════════════════════════════════════════ */
.author-section { background: rgba(75, 0, 130, 0.03); }

.author-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/*
═══════════════════════════════════════════════════
   VIDEO PLACEHOLDER
═══════════════════════════════════════════════════ */
.video-section { background: rgba(0, 0, 0, 0.2); }

.video-placeholder {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    background: rgba(212, 175, 55, 0.04);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 0;
    cursor: pointer;
    transition: var(--transition-fast);
}
.video-placeholder:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.07);
}
.video-play-icon { font-size: 3rem; color: var(--primary-gold); margin-bottom: 0.5rem; }
.video-placeholder-text {
    color: rgba(245, 245, 220, 0.4);
    font-style: italic;
    margin: 0;
    font-size: 0.95rem;
}

/*
═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
    background: rgba(0, 0, 0, 0.85);
    padding: 3rem 0;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-left h3 { color: var(--primary-gold); font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-left p  { color: var(--ash); font-style: italic; margin: 0; }

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.footer-nav a {
    color: var(--text-light);
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--primary-gold); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(245, 245, 220, 0.55);
    font-size: 0.9rem;
}
.footer-bottom p:last-child { margin: 0; }

/*
═══════════════════════════════════════════════════
   SCROLL-TO-TOP
═══════════════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--dark-blue);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition-fast);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6); }

/*
═══════════════════════════════════════════════════
   STICKY MOBILE CTA
═══════════════════════════════════════════════════ */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 2000;
    background: rgba(22, 21, 46, 0.97);
    border-top: 2px solid var(--primary-gold);
    padding: 0.75rem 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.sticky-cta-title {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-cta-btn {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--dark-blue);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.sticky-cta-btn:hover { opacity: 0.9; color: var(--dark-blue); }

/*
═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes bookFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes auraGlow {
    0%   { opacity: 0.06; }
    100% { opacity: 0.22; }
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.animate-fade-in-up    { animation: fadeInUp    0.8s ease-out forwards; }
.animate-fade-in-right { animation: fadeInRight 0.8s ease-out forwards; }

/*
═══════════════════════════════════════════════════
   FOCUS / ACCESSIBILITY
═══════════════════════════════════════════════════ */
button:focus, a:focus, input:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

@media (prefers-contrast: high) {
    :root { --primary-gold: #ffb300; --text-light: #ffffff; --bg-primary: #000000; }
}

/*
═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 1200px)
═══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hero-content { flex-direction: column; gap: 2rem; text-align: center; }
    .hero-text { max-width: 100%; }
    .notify-form-container { display: flex; flex-direction: column; align-items: center; }
    .email-form .form-row { justify-content: center; }
    .form-trust { text-align: center; }
    .quote-block { text-align: left; }
}

/*
═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --section-padding: 3rem 0; --container-padding: 0 1rem; }

    .series-banner { padding: 0.15rem 0; }
    .series-nav    { gap: 0.25rem; font-size: 0.65rem; }
    .book-link     { padding: 0.15rem 0.35rem; }
    .book-number   { font-size: 0.58rem; }
    .book-title    { font-size: 0.6rem; }
    .series-label  { font-size: 0.58rem; }

    .navbar { top: 32px; padding: 0.25rem 0; }
    .nav-container { flex-direction: column; gap: 0; }
    .nav-logo { display: none; }
    .nav-menu {
        flex-direction: row;
        gap: 0.2rem;
        padding: 0.15rem 0;
        justify-content: space-around;
        flex-wrap: nowrap;
    }
    .nav-menu li { flex: 1; }
    .nav-menu a  { font-size: 0.68rem; padding: 0.2rem 0.1rem; white-space: nowrap; display: block; text-align: center; }

    .hero { padding-top: 55px; }
    .hero-content { flex-direction: column; text-align: center; gap: 1.5rem; padding: 1rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text h2 { font-size: 1.2rem; }

    .cover-placeholder { width: 240px; height: 360px; }
    .cover-numeral { font-size: 3.5rem; }

    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .available-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .email-form .form-row { flex-direction: column; }
    .email-form input[type="email"] { min-width: unset; width: 100%; }
    .btn { width: 100%; max-width: 280px; text-align: center; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-nav ul  { justify-content: center; }

    .sticky-cta { display: block; }
    body { padding-bottom: 72px; }
    .scroll-top { bottom: calc(72px + 1rem); }
}

/*
═══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    :root { --section-padding: 2rem 0; --container-padding: 0 0.75rem; }
    .series-nav   { flex-direction: column; gap: 0.2rem; }
    .series-divider { display: none; }
    .navbar { top: 85px; padding: 0.5rem 0; }
    .hero   { padding-top: 145px; }
    .hero-text h1 { font-size: 1.7rem; }
    .cover-placeholder { width: 200px; height: 300px; }
    .cover-numeral { font-size: 3rem; }
    .section-title { font-size: 1.6rem; }
}

@media print {
    .navbar, .series-banner, .scroll-top, .sticky-cta { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    body  { background: white; color: black; }
    .section { break-inside: avoid; }
}
