/* ============================================
   MORALLY STRAY — Villain Smutbook Theme
   ============================================ */

:root {
    /* Yellow base */
    --bg: #FAF1C8;
    --bg-soft: #F5E6A8;
    --bg-warm: #FFF8DC;
    --paper: #FFFCEC;

    /* Dark dramatic accents */
    --ink: #1A1208;
    --ink-soft: #3A2A1A;
    --ink-mute: #6B5840;

    /* Villain reds */
    --blood: #6B0F1A;
    --blood-deep: #420812;
    --rose: #A83246;
    --rose-soft: #C9536A;

    /* Accents */
    --gold: #B8860B;
    --gold-soft: #DAA520;
    --olive: #4A3E1F;

    /* UI */
    --border: rgba(26,18,8,.15);
    --border-strong: rgba(26,18,8,.35);
    --shadow-sm: 0 2px 8px rgba(26,18,8,.08);
    --shadow-md: 0 8px 24px rgba(26,18,8,.12);
    --shadow-lg: 0 16px 48px rgba(26,18,8,.18);

    /* Fonts */
    --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-script: 'Italianno', cursive;

    /* Layout */
    --max-w: 1180px;
    --max-w-content: 760px;
    --radius: 4px;
    --radius-lg: 8px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    background-image:
        radial-gradient(at 12% 8%, rgba(168,50,70,.06) 0%, transparent 40%),
        radial-gradient(at 88% 4%, rgba(184,134,11,.07) 0%, transparent 40%),
        radial-gradient(at 50% 100%, rgba(107,15,26,.05) 0%, transparent 50%);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--blood); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blood-deep); }

.skip-link {
    position: absolute; top: -100px; left: 8px;
    background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 9999;
    border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: relative;
    padding: 0 16px 8px;
    text-align: center;
}

.header-banner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.header-banner-img {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: block;
}

.header-titles { margin-top: 8px; }

.site-title {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1;
    margin: 0;
}
.site-title-main { color: var(--blood); }
.site-title-accent { color: var(--ink); font-weight: 500; }

.site-tagline {
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--ink-mute);
    margin: 4px 0 0;
    font-style: italic;
}
.tag-cursor {
    display: inline-block;
    animation: blink 1.6s infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ============================================
   NAV PILLS
   ============================================ */

.site-nav {
    margin: 24px auto 0;
    max-width: var(--max-w);
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
}

.nav-pill {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 2px 2px 0 var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
}
.nav-pill:hover, .nav-pill[aria-expanded="true"] {
    background: var(--ink);
    color: var(--bg);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--blood);
}
.nav-pill-search {
    font-size: 1.3rem;
    padding: 6px 16px;
}
.nav-pill-tiktok {
    background: var(--ink);
    color: var(--bg);
    font-weight: 700;
}
.nav-pill-tiktok:hover {
    background: var(--blood);
    color: var(--bg);
}
.nav-pill-tiktok svg { flex-shrink: 0; }

.nav-pill-goodreads {
    padding: 8px 16px;
    font-size: 0.84rem;
    font-weight: 700;
}
.nav-pill-goodreads span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.pill-caret {
    transition: transform .2s;
    display: inline-block;
    font-size: 0.7rem;
}
.nav-pill[aria-expanded="true"] .pill-caret { transform: rotate(180deg); }

/* ============================================
   GENRES PANEL (dynamic topic picker)
   ============================================ */

.genres-panel {
    margin: 18px auto 0;
    max-width: var(--max-w);
    padding: 24px 16px 28px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 4px 4px 0 var(--ink);
    animation: panelOpen .25s ease-out;
}
@keyframes panelOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.genres-panel-loading { text-align: center; color: var(--ink-mute); padding: 24px; }

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
}

.genre-card {
    display: block;
    background: var(--bg);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    text-decoration: none;
    color: var(--ink);
    position: relative;
}
.genre-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--blood);
}

.genre-card-covers {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--bg-soft);
    overflow: hidden;
    display: flex;
    gap: 2px;
}
.genre-card-covers img {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-soft);
}
.genre-card-covers .cover-placeholder {
    flex: 1;
    background: linear-gradient(135deg, var(--blood) 0%, var(--ink) 100%);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
}
.genre-card-body {
    padding: 8px 10px 10px;
    text-align: center;
    background: var(--paper);
    border-top: 1.5px solid var(--ink);
}
.genre-card-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}
.genre-card-count {
    font-size: 0.75rem;
    color: var(--ink-mute);
    margin-top: 2px;
}
.genre-card-smut::after {
    content: '🌶';
    position: absolute;
    top: 6px; right: 6px;
    background: var(--blood);
    color: white;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */

.site-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 32px 16px 80px;
}

/* ============================================
   HOMEPAGE
   ============================================ */

.intro-card {
    max-width: var(--max-w-content);
    margin: 32px auto 48px;
    text-align: center;
    padding: 0 16px;
}
.intro-greeting {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: 0.01em;
}
.intro-photo {
    max-width: 380px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--blood);
}
.intro-blurb {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink-soft);
    font-style: italic;
    max-width: 620px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 700;
    text-align: center;
    margin: 56px 0 28px;
    color: var(--ink);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--blood);
    margin: 10px auto 0;
}
.section-title-script {
    font-family: var(--font-script);
    font-weight: 400;
    text-transform: none;
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.section-title-script::after { display: none; }

/* ============================================
   REVIEW GRID
   ============================================ */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.review-card {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 0 var(--ink);
    position: relative;
}
.review-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--blood);
}
.review-card-link { color: inherit; text-decoration: none; display: block; height: 100%; }

.review-card-cover {
    aspect-ratio: 3 / 4;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
    border-bottom: 1.5px solid var(--ink);
}
.review-card-cover img { width: 100%; height: 100%; object-fit: cover; }

.review-card-cover-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blood) 0%, var(--ink) 100%);
    color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic; font-size: 2rem;
    padding: 20px; text-align: center;
}

.review-card-badge {
    position: absolute;
    top: 12px; left: 0;
    background: var(--blood);
    color: var(--bg);
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.review-card-spice {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(26, 18, 8, .82);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.review-card-genres {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.genre-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--border-strong);
}
.review-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 700;
}
.review-card-author {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--ink-mute);
    margin: 0 0 12px;
    font-size: 1rem;
}
.review-card-excerpt {
    font-size: 0.93rem;
    color: var(--ink-soft);
    margin: 0 0 14px;
    line-height: 1.55;
}
.review-card-footer {
    margin-top: auto;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px;
    border-top: 1px dashed var(--border-strong);
}

/* ============================================
   STARS & SPICE
   ============================================ */

.stars { display: inline-flex; gap: 1px; letter-spacing: 0; }
.stars .star { color: #DAA520; }
.stars .star.empty { color: rgba(26,18,8,.18); }
.stars .star.half {
    position: relative;
    color: rgba(26,18,8,.18);
}
.stars .star.half::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #DAA520;
}
.stars-sm { font-size: 0.95rem; }
.stars-md { font-size: 1.15rem; }
.stars-lg { font-size: 1.7rem; }

.spice { display: inline-flex; gap: 2px; align-items: center; }
.spice .pepper { display: inline-flex; line-height: 1; }
.spice .pepper-svg { display: block; }
.spice .pepper.off { opacity: .35; }
.spice-sm { font-size: 0.95rem; }
.spice-md { font-size: 1.15rem; }
.spice-lg { font-size: 1.55rem; }

/* ============================================
   SINGLE REVIEW
   ============================================ */

.review-hero {
    max-width: var(--max-w);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}
.review-hero-cover {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 var(--blood);
    aspect-ratio: 3 / 4;
}
.review-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.review-hero-cover-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blood) 0%, var(--ink) 100%);
    color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic; font-size: 2rem;
}

.review-hero-meta { padding-top: 8px; }
.review-hero-eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--blood);
    font-weight: 600;
    margin-bottom: 12px;
}
.review-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 700;
}
.review-hero-author {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--ink-mute);
    margin: 0 0 22px;
}
.review-hero-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.review-hero-ratings {
    display: flex; flex-wrap: wrap; gap: 24px;
    padding: 16px 20px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.rating-block { display: flex; flex-direction: column; gap: 4px; }
.rating-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    font-weight: 600;
}
.rating-value { display: flex; align-items: center; gap: 6px; }
.rating-num {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}

.review-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    border: 1.5px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body); font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--blood);
}
.btn-primary {
    background: var(--ink);
    color: var(--bg);
}
.btn-primary:hover { background: var(--blood-deep); color: var(--bg); }
.btn-audible {
    background: var(--blood);
    color: var(--bg);
    border-color: var(--ink);
}
.btn-audible:hover { background: var(--blood-deep); color: var(--bg); }
.btn-ghost { background: transparent; box-shadow: none; }

/* Review body */

.review-body {
    max-width: var(--max-w-content);
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.22rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.review-body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 4.6rem;
    float: left;
    line-height: .9;
    padding: 6px 10px 0 0;
    color: var(--blood);
    font-weight: 700;
    font-style: italic;
}
.review-body p { margin: 0 0 1.2em; }
.review-body h2, .review-body h3 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 1.6em 0 .5em;
    line-height: 1.2;
}
.review-body h2 { font-size: 1.9rem; }
.review-body h3 { font-size: 1.45rem; }
.review-body blockquote {
    border-left: 4px solid var(--blood);
    margin: 1.5em 0;
    padding: 0.8em 1.4em;
    background: var(--paper);
    font-style: italic;
    color: var(--ink);
}
.review-body ul, .review-body ol { padding-left: 1.5em; }
.review-body strong { color: var(--ink); }
.review-body a { color: var(--blood); border-bottom: 1px dotted var(--blood); }

/* Verdict / pros / cons / tropes box */

.review-extras {
    max-width: var(--max-w-content);
    margin: 40px auto;
    display: grid;
    gap: 20px;
}
.extras-box {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    box-shadow: 4px 4px 0 var(--ink);
}
.extras-box-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blood);
    margin: 0 0 12px;
    font-weight: 700;
}
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-list, .cons-list { list-style: none; padding: 0; margin: 0; }
.pros-list li::before { content: '✓'; color: #4A6B1A; font-weight: 700; margin-right: 8px; }
.cons-list li::before { content: '✗'; color: var(--blood); font-weight: 700; margin-right: 8px; }
.pros-list li, .cons-list li { padding: 4px 0; }

.tropes-list { display: flex; flex-wrap: wrap; gap: 8px; }
.trope-pill {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--ink);
}

.cw-banner {
    background: var(--blood-deep);
    color: var(--bg);
    padding: 14px 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    border-left: 4px solid var(--gold);
    font-size: 0.95rem;
}
.cw-banner strong { color: var(--gold-soft); }

/* ============================================
   INLINE AMAZON ADS
   ============================================ */

.inline-ad {
    max-width: var(--max-w-content);
    margin: 32px auto;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: relative;
    box-shadow: 4px 4px 0 var(--ink);
}
.inline-ad-tag {
    position: absolute;
    top: -10px; left: 18px;
    background: var(--ink);
    color: var(--bg);
    padding: 3px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
}
.inline-ad-audible .inline-ad-tag { background: var(--blood); }
.inline-ad-link {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}
.inline-ad-cover {
    width: 100px; height: 134px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--ink);
}
.inline-ad-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blood);
    font-weight: 600;
}
.inline-ad-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 4px 0;
    line-height: 1.15;
}
.inline-ad-meta { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 8px; }
.inline-ad-cta {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--blood);
    font-size: 0.95rem;
}
.inline-ad-link:hover .inline-ad-cta { color: var(--blood-deep); }
.inline-ad-disclosure {
    margin-top: 10px;
    text-align: right;
    font-size: 0.68rem;
    color: var(--ink-mute);
    font-style: italic;
}

/* ============================================
   FLOATING WIDGET
   ============================================ */

.floating-widget {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 300px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 6px 6px 0 var(--ink), var(--shadow-lg);
    padding: 14px;
    z-index: 100;
    animation: slideIn .4s ease-out;
}
@keyframes slideIn { from { transform: translate(40px, 40px); opacity: 0; } to { transform: translate(0, 0); opacity: 1; } }

.fw-close {
    position: absolute; top: 4px; right: 6px;
    background: none; border: none; cursor: pointer;
    font-size: 1.4rem; line-height: 1;
    color: var(--ink-mute);
    width: 26px; height: 26px;
    border-radius: 50%;
}
.fw-close:hover { color: var(--blood); background: var(--bg); }

.fw-tag {
    display: inline-block;
    background: var(--blood);
    color: var(--bg);
    padding: 3px 10px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 10px;
}
.fw-link {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    align-items: center;
}
.fw-cover {
    width: 64px; height: 86px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--ink);
}
.fw-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
}
.fw-meta {
    font-size: 0.78rem;
    color: var(--ink-mute);
    font-style: italic;
    margin: 2px 0 6px;
}
.fw-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blood);
}
.fw-disclosure {
    font-size: 0.62rem;
    color: var(--ink-mute);
    text-align: right;
    margin-top: 6px;
    font-style: italic;
}

/* ============================================
   AUTHOR / GENRE / LIST PAGES
   ============================================ */

.page-header {
    text-align: center;
    margin: 20px auto 40px;
    max-width: var(--max-w-content);
    padding: 0 16px;
}
.page-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blood);
    font-weight: 600;
    margin-bottom: 8px;
}
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 700;
}
.page-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

.author-bio-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    max-width: var(--max-w-content);
    margin: 0 auto 40px;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 4px 4px 0 var(--ink);
}
.author-photo {
    width: 160px; height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ink);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--ink);
    color: var(--bg);
    padding: 48px 16px 32px;
    margin-top: 80px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}
.footer-disclosure {
    background: rgba(255,255,255,.06);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    line-height: 1.55;
    max-width: 720px;
    margin: 0 auto 28px;
    color: rgba(250, 241, 200, .82);
}
.footer-disclosure strong { color: var(--bg); }
.footer-nav {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
    margin-bottom: 20px;
}
.footer-nav a {
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
}
.footer-nav a:hover { opacity: 1; color: var(--gold-soft); }
.footer-copy {
    font-size: 0.8rem;
    color: rgba(250, 241, 200, .55);
    font-style: italic;
}

/* ============================================
   SEARCH PAGE
   ============================================ */

.search-form {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 8px;
}
.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}
.search-input:focus { outline: none; box-shadow: 4px 4px 0 var(--blood); }

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex; justify-content: center; gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--ink);
    background: var(--paper);
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}
.pagination a:hover, .pagination .active {
    background: var(--ink);
    color: var(--bg);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}
.empty-state-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0 0 8px;
}
.empty-state-body { color: var(--ink-mute); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    body { font-size: 16px; }
    .site-header { padding: 0 8px 4px; }
    .header-banner-img { max-width: 100%; }
    .review-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .review-hero-cover {
        max-width: 220px;
        margin: 0 auto;
    }
    .review-hero-meta { padding-top: 0; }
    .review-hero-ratings { justify-content: center; }
    .review-cta-row { justify-content: center; }
    .review-body { font-size: 1.08rem; line-height: 1.7; }
    .review-body > p:first-of-type::first-letter { font-size: 3.4rem; }
    .reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    .review-card-body { padding: 14px 16px 18px; }
    .review-card-title { font-size: 1.05rem; }
    .review-card-author { font-size: 0.9rem; }
    .review-card-excerpt { display: none; }
    .extras-grid { grid-template-columns: 1fr; }
    .author-bio-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .author-photo { margin: 0 auto; }
    .floating-widget {
        width: calc(100% - 24px);
        bottom: 12px; right: 12px;
    }
    .genres-grid {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 10px;
    }
    .genre-card-name { font-size: 0.82rem; }
    .inline-ad-link {
        grid-template-columns: 80px 1fr;
        gap: 14px;
    }
    .inline-ad-cover { width: 80px; height: 108px; }
    .inline-ad-title { font-size: 1.1rem; }
    .site-main { padding: 20px 12px 60px; }
    .section-title { margin: 40px 0 24px; }
    .nav-pills { gap: 6px; padding: 0 8px; }
    .nav-pill { padding: 7px 16px; font-size: 0.85rem; }
}

@media (max-width: 420px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .review-card-body { padding: 10px 12px 14px; }
    .review-card-title { font-size: 0.95rem; }
    .review-card-author { font-size: 0.82rem; }
    .review-card-genres { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SEO + social additions
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    max-width: var(--max-w-content);
    margin: -8px auto 16px;
    padding: 0 var(--page-pad);
    font-size: .85rem;
    font-family: var(--font-ui);
    color: var(--ink-mute);
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.breadcrumbs a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.breadcrumbs a:hover {
    border-bottom-color: var(--ink);
}
.breadcrumbs [aria-current="page"] {
    color: var(--ink-mute);
    font-style: italic;
}
.bc-sep { color: var(--ink-mute); opacity: .6; }

/* Share bar */
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px dashed var(--border-strong);
    border-bottom: 1px dashed var(--border-strong);
}
.share-bar-label {
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-right: 6px;
    color: var(--ink-mute);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--ink);
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: transform .08s ease, box-shadow .08s ease;
    position: relative;
}
.share-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--ink);
}
.share-btn-x:hover     { background: #000; color: #fff; }
.share-btn-pin:hover   { background: #e60023; color: #fff; }
.share-btn-fb:hover    { background: #1877f2; color: #fff; }
.share-btn-reddit:hover{ background: #ff4500; color: #fff; }
.share-btn-copy .share-copied {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--bg);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.share-btn-copy.share-copied-state .share-copied { opacity: 1; }

/* Pull quote / click-to-tweet */
.pull-quote {
    max-width: var(--max-w-content);
    margin: 32px auto;
    padding: 48px 32px 28px;
    background: var(--ink);
    color: var(--bg);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--blood);
    position: relative;
}
.pull-quote-mark {
    position: absolute;
    top: -22px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--bg);
    background: var(--blood);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}
.pull-quote-text {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: 600;
    color: var(--bg);
}
.pull-quote-cite {
    margin: 14px 0 0;
    font-family: var(--font-ui);
    font-size: .85rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.pull-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.pull-quote-actions .btn {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
    box-shadow: 3px 3px 0 var(--gold-soft);
}
.pull-quote-actions .btn:hover {
    background: var(--gold-soft);
    color: var(--ink);
}
@media (max-width: 640px) {
    .pull-quote { padding: 42px 18px 22px; box-shadow: 4px 4px 0 var(--blood); }
    .pull-quote-text { font-size: 1.15rem; }
    .pull-quote-mark { font-size: 2.8rem; top: -18px; left: 14px; width: 44px; height: 44px; }
}

/* TBR button on review hero */
.tbr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--bg);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: transform .08s, background .15s;
}
.tbr-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--ink);
}
.tbr-btn.is-saved {
    background: var(--ink);
    color: var(--gold-soft);
}
.tbr-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blood);
    color: var(--bg);
    line-height: 22px;
    text-align: center;
    font-size: .9rem;
}
.tbr-btn.is-saved .tbr-icon { background: var(--gold-soft); color: var(--ink); }

/* Inline TBR button (inside dark "Get the book" box) */
.tbr-btn-inline {
    margin-top: 0;
    background: transparent;
    color: var(--bg);
    border-color: var(--bg);
    box-shadow: 3px 3px 0 var(--gold-soft);
}
.tbr-btn-inline:hover {
    background: var(--bg);
    color: var(--ink);
}
.tbr-btn-inline.is-saved {
    background: var(--gold-soft);
    color: var(--ink);
    border-color: var(--gold-soft);
}
.tbr-btn-inline.is-saved .tbr-icon { background: var(--blood); color: var(--bg); }

/* Quick TBR save button on review cards */
.review-card-tbr {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--bg);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    cursor: pointer;
    border-radius: 50%;
    transition: transform .08s, background .15s;
}
.review-card-tbr .tbr-icon {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 1rem;
}
.review-card-tbr:hover {
    transform: scale(1.08);
}
.review-card-tbr.is-saved {
    background: var(--ink);
}
.review-card-tbr.is-saved .tbr-icon {
    background: var(--gold-soft);
    color: var(--ink);
}

/* TBR count badge in nav */
.tbr-count {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    line-height: 18px;
    border-radius: 9px;
    background: var(--blood);
    color: var(--bg);
    font-size: .7rem;
    font-weight: 800;
    margin-left: 4px;
    vertical-align: middle;
}

/* TBR page cards */
.tbr-card { position: relative; }
.tbr-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 2px solid var(--ink);
    background: var(--bg);
    color: var(--ink);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}
.tbr-remove:hover { background: var(--blood); color: var(--bg); }
.tbr-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 32px auto;
    padding-top: 24px;
    border-top: 1px dashed var(--border-strong);
}

/* Newsletter card */
.newsletter-card {
    max-width: var(--max-w-content);
    margin: 40px auto;
    background: var(--gold-soft);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    overflow: hidden;
}
.newsletter-card-inner {
    padding: 28px 32px;
    text-align: center;
}
.newsletter-eyebrow {
    font-family: var(--font-ui);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--blood);
    margin: 0 0 8px;
    font-weight: 700;
}
.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    margin: 0 0 8px;
    color: var(--ink);
}
.newsletter-desc {
    margin: 0 auto 18px;
    max-width: 460px;
    font-style: italic;
    color: var(--ink);
    opacity: .85;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 14px;
    border: 2px solid var(--ink);
    background: var(--bg);
    font: inherit;
    font-family: var(--font-ui);
}
.newsletter-input:focus { outline: none; box-shadow: 3px 3px 0 var(--blood); }
.newsletter-btn { white-space: nowrap; }
@media (max-width: 540px) {
    .newsletter-card-inner { padding: 22px 18px; }
    .newsletter-title { font-size: 1.45rem; }
}

/* Author bio additions */
.author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.author-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
}
.author-link:hover { background: var(--ink); color: var(--bg); }

/* Reading time dot */
.review-hero-dot { margin: 0 4px; opacity: .5; }

/* Danger ghost button */
.btn-danger-ghost {
    color: var(--blood);
    border-color: var(--blood);
}
.btn-danger-ghost:hover {
    background: var(--blood);
    color: var(--bg);
}

/* Footer social row */
.footer-tiktok-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.tiktok-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--bg);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--blood);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform .1s, box-shadow .1s;
}
.tiktok-btn svg { flex-shrink: 0; }
.tiktok-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--blood);
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-social-label {
    font-family: var(--font-ui);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink);
    opacity: .65;
    font-weight: 700;
    margin-right: 4px;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--ink);
    background: var(--bg);
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: .8rem;
    transition: transform .08s, background .15s;
}
.footer-social-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--ink);
    background: var(--ink);
    color: var(--bg);
}
