@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=Italianno&family=Major+Mono+Display&family=Bebas+Neue&display=swap');

:root {
    --paper: #f0e9dd;
    --paper-deep: #e8dfcf;
    --ink: #1c1a17;
    --ink-soft: #4a443c;
    --accent: #8b3a2f;
    --accent-soft: #b14b3d;
    --sage: #7a8568;
    --gold: #b08d57;
    --line: #2a2620;
    --netflix-red: #e50914;
    --netflix-bg: #0b0b0b;
    --spotify-bg: #121212;
    --spotify-green: #1ed760;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
    background: #c2bbae;
    background-image: radial-gradient(ellipse at center, #d8d1c4 0%, #a8a294 100%);
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    padding: 2rem 0;
}

.wrapper { display: flex; align-items: center; gap: 2.5rem; }

/* Navigation */
.nav-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    display: flex; justify-content: center; align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    font-family: 'Cormorant Garamond', serif;
}
.nav-btn:hover { background: var(--ink); color: var(--paper); }
.nav-btn.disabled { opacity: 0.15; pointer-events: none; }

/* Magazine */
.magazine {
    width: 595px; height: 842px;
    background: var(--paper);
    position: relative; overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.5),
        0 18px 36px -18px rgba(0,0,0,0.3);
}
.magazine::after {
    content: ""; position: absolute; inset: 0;
    background: url('https://www.transparenttextures.com/patterns/rice-paper-2.png');
    opacity: 0.5; pointer-events: none; z-index: 100; mix-blend-mode: multiply;
}
.magazine::before {
    content: ""; position: absolute; inset: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.18);
    pointer-events: none; z-index: 99;
}
/* dark page variant disables vignette/paper */
.magazine.dark::before, .magazine.dark::after { display: none; }

/* Typography */
.f-serif { font-family: 'Cormorant Garamond', serif; }
.f-sans { font-family: 'Inter', sans-serif; }
.f-script { font-family: 'Italianno', cursive; }
.f-mono { font-family: 'Major Mono Display', monospace; }
.f-bebas { font-family: 'Bebas Neue', sans-serif; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-1 { letter-spacing: 1px; }
.tracking-2 { letter-spacing: 2px; }
.tracking-4 { letter-spacing: 4px; }
.tracking-8 { letter-spacing: 8px; }
.text-accent { color: var(--accent); }
.text-soft { color: var(--ink-soft); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Folio */
.folio {
    position: absolute;
    bottom: 1.2rem; left: 0; width: 100%;
    display: flex; justify-content: space-between;
    padding: 0 1.5rem;
    font-size: 0.55rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--ink-soft);
    z-index: 50;
}
.folio.dark { color: rgba(255,255,255,0.55); }

/* ============================================
   PAGE 1 — VOGUE COVER (unchanged from v4)
============================================ */
.cover { position: relative; width: 100%; height: 100%; background: #2a2520; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.85); }
.cover-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%); }
.cover-topbar {
    position: absolute; top: 22px; left: 0; width: 100%;
    display: flex; justify-content: space-between; padding: 0 28px;
    font-size: 0.62rem; letter-spacing: 3px; color: #b33c00;
    text-transform: uppercase; z-index: 10;
}
.cover-masthead {
    position: absolute; top: 45px; left: 0; width: 100%; text-align: center;
    font-family: 'Cormorant Garamond', serif; font-weight: 500;
    font-size: 9rem; line-height: 0.8; color: #b33c00;
    letter-spacing: -4px; z-index: 5;
    text-shadow: 0 2px 30px rgba(0,0,0,0.05);
}
.cover-lines {
    position: absolute; bottom: 90px; left: 28px;
    color: var(--ink-soft); max-width: 55%; z-index: 10;
}
.cover-line { margin-bottom: 14px; border-left: 2px solid #b33c00; padding-left: 10px; }
.cover-line .kicker { font-size: 0.55rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.cover-line h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.05rem; line-height: 1.1; }
.cover-line h3 em { color: #f5cfa0; font-weight: 300; }
.cover-headline {
    position: absolute; top: 38%; right: 28px;
    text-align: right; color: #b33c00; z-index: 10; max-width: 45%;
}
.cover-headline .small { font-size: 0.55rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.cover-headline h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 2.4rem; line-height: 0.95; }
.cover-bottom {
    position: absolute; bottom: 22px; left: 28px; right: 28px;
    display: flex; justify-content: space-between; align-items: flex-end;
    z-index: 10; color: rgba(255,255,255,0.7);
    font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase;
}
.cover-barcode { background: #f5ede0; padding: 4px 6px; width: 90px; }
.cover-barcode img { width: 100%; display: block; filter: grayscale(100%); }

/* ============================================
   PAGES 2 & 3 — CONTENTS SPREAD (Pinterest-style)
============================================ */
.toc-page {
    position: relative; width: 100%; height: 100%;
    padding: 60px 50px; background: var(--paper);
    display: flex; flex-direction: column; gap: 40px;
    overflow-y: auto;
}



/* ============================================
   SINGLE-PAGE CONTENTS (replaces spread)
============================================ */
.toc-inner {
    margin: 0 40px;
    padding-top: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.toc-masthead {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 2.2rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 6px;
    text-align: center;
}
.toc-meta {
    font-size: 0.56rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 18px;
    text-align: center;
}
.toc-rule { width: 100%; height: 1px; background: var(--ink); margin: 0 auto 22px; }
.toc-section { margin-bottom: 22px; }
.toc-section-label {
    font-size: 0.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--accent);
    display: inline-block;
}
.toc-entry {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(28,26,23,0.08);
}
.toc-entry:last-child { border-bottom: none; }
.toc-entry .pg {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--accent);
    min-width: 30px;
    line-height: 1;
}
.toc-entry .title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.2;
}
.toc-entry .title em {
    font-weight: 400;
    color: var(--ink-soft);
}
.toc-entry .desc {
    font-size: 0.56rem;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
    text-align: right;
    max-width: 120px;
    line-height: 1.4;
}

.toc-note {
    background: rgba(139,58,47,0.05);
    border-left: 2px solid var(--accent);
    padding: 20px 24px;
    margin-top: 20px;
}
.toc-note .note-head {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.toc-note p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.toc-note p:last-child { margin-bottom: 0; }

/* ============================================
   PAGE 4 — EDITOR'S LETTER (from v4)
============================================ */
.editor-page { padding: 60px 50px; height: 100%; position: relative; }
.editor-kicker { font-size: 0.6rem; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; text-align: center; }
.editor-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 3.2rem; text-align: center; line-height: 1; margin-bottom: 30px; }
.editor-divider { width: 30px; height: 1px; background: var(--ink); margin: 0 auto 30px; }
.editor-body { column-count: 2; column-gap: 28px; font-size: 0.78rem; line-height: 1.7; text-align: justify; color: var(--ink-soft); margin-bottom: 24px; }
.editor-body > p:first-child::first-letter {
    float: left; font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem; line-height: 0.85; padding: 4px 8px 0 0;
    color: var(--ink); font-weight: 500;
}
.editor-body p { margin-bottom: 10px; }
.editor-sign { text-align: right; margin-right: 10px; }
.editor-sign .from { font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.editor-sign .name { font-family: 'Italianno', cursive; font-size: 3.6rem; line-height: 0.95; color: var(--accent); transform: rotate(-3deg); display: inline-block; }
.editor-photo {
    position: absolute;
    bottom: 40px; left: 40px; width: 120px;
    transform: rotate(-5deg);
    z-index: 10;
    transition: transform 0.4s ease;
}
.editor-photo:hover { transform: rotate(-2deg) scale(1.05); }
.editor-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.05) drop-shadow(0 8px 15px rgba(0,0,0,0.12));
}
.editor-photo .cap {
    font-family: 'Italianno', cursive;
    font-size: 1.4rem;
    color: var(--accent);
    margin-top: 10px;
    text-align: center;
    opacity: 0.9;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

/* ============================================
   PAGE 5 — SCRAPBOOK (from v4)
============================================ */
.scrap-page {
    padding: 40px 30px; height: 100%; position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(176,141,87,0.08) 0%, transparent 40%), var(--paper);
}
.scrap-header { text-align: center; margin-bottom: 18px; }
.scrap-header .kicker { font-size: 0.55rem; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.scrap-header h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.6rem; line-height: 1; font-weight: 400; }
.scrap-board { position: relative; height: 640px; margin-top: 10px; }
.polaroid {
    position: absolute; background: #fdfaf3;
    padding: 8px 8px 32px 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22), 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.polaroid img { width: 100%; object-fit: cover; display: block; filter: sepia(0.18) contrast(1.05) saturate(0.9); }
.polaroid .cap { text-align: center; margin-top: 8px; font-family: 'Italianno', cursive; font-size: 1.4rem; color: var(--ink); line-height: 1; }
.polaroid:hover { transform: scale(1.04) !important; z-index: 50 !important; }

.pol-1 { top: 10px; left: 20px; width: 180px; transform: rotate(-6deg); z-index: 3; }
.pol-1 img { height: 200px; }
.pol-2 { top: 50px; right: 15px; width: 200px; transform: rotate(7deg); z-index: 4; }
.pol-2 img { height: 220px; }
.pol-3 { top: 270px; left: 60px; width: 170px; transform: rotate(4deg); z-index: 5; }
.pol-3 img { height: 190px; }
.pol-4 { top: 320px; right: 30px; width: 195px; transform: rotate(-5deg); z-index: 6; }
.pol-4 img { height: 215px; }

.tape { position: absolute; width: 60px; height: 18px; background: rgba(220,200,160,0.55); box-shadow: 0 1px 2px rgba(0,0,0,0.1); z-index: 20; }
.tape.t1 { top: -4px; left: 60px; transform: rotate(-4deg); }
.tape.t2 { top: -2px; right: 70px; transform: rotate(12deg); }
.tape.t3 { top: 264px; left: 100px; transform: rotate(3deg); }
.tape.t4 { top: 314px; right: 80px; transform: rotate(-8deg); }

.scrap-note { position: absolute; font-family: 'Italianno', cursive; color: var(--accent); font-size: 1.8rem; line-height: 1; z-index: 7; }
.scrap-note.n1 { top: 240px; right: 55px; transform: rotate(-8deg); }
.scrap-note.n2 { bottom: 30px; left: 30px; transform: rotate(-4deg); color: var(--ink); font-size: 2.2rem; }
.scrap-star { position: absolute; font-size: 0.9rem; color: var(--gold); z-index: 7; }

/* ============================================
   PAGES 6 & 7 — 10 THINGS I LOVE (spread, image 1)
============================================ */
.love-page {
    position: relative; height: 100%; width: 100%;
    padding: 32px 24px;
    background: var(--paper);
}

.love-title {
    margin-bottom: 18px;
    line-height: 1;
}
.love-title .line1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 0.95;
    letter-spacing: -1px;
}
.love-title .line1 .ten {
    font-weight: 800;
}
.love-title .line2 {
    font-family: 'Italianno', cursive;
    font-size: 4.5rem;
    color: var(--accent);
    line-height: 0.6;
    margin-left: 35px;
    transform: rotate(-3deg);
    display: inline-block;
}
.love-title .line3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 0.95;
    text-align: center;
}

/* small kicker below title */
.love-kicker {
    font-size: 0.55rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 14px;
}

/* Item layout — CSS grid, no absolute positioning */
.love-board.left {
    display: grid;
    grid-template-rows: 70% 30%;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    overflow: hidden;
    flex: 1;
}
.love-board.right { height: auto; padding-top: 14px; }

/* Grid placement — page 5 (items 1–3) */
.love-board.left .item-1 { grid-column: 1; grid-row: 1 / 3; min-height: 0; overflow: hidden; }
.love-board.left .item-2 { grid-column: 2; grid-row: 1; min-height: 0; overflow: hidden; }
.love-board.left .item-3 { grid-column: 2; grid-row: 2; min-height: 0; overflow: hidden; }

/* Grid placement — page 6 (items 4–8) */
.love-board.right .item-4 { grid-column: 1; grid-row: 1; }
.love-board.right .item-5 { grid-column: 2; grid-row: 1; }
.love-board.right .item-6 { grid-column: 1; grid-row: 2; }
.love-board.right .item-7 { grid-column: 2; grid-row: 2 / 4; }
.love-board.right .item-8 { grid-column: 1; grid-row: 3; }

.love-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.love-item-top {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-shrink: 0;
}
.love-item .big-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 0.85;
    color: var(--ink);
    flex-shrink: 0;
}
.love-item .text-block { flex: 1; min-width: 0; padding-top: 2px; }
.love-item .text-block .head {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.52rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3px;
}
.love-item .text-block .desc {
    font-size: 0.58rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
.love-item img {
    display: block;
    width: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.95);
}

/* Page 6 — Love Split Layout */
.love-split {
    display: flex;
    height: 100%;
    width: 100%;
}
.split-side {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 100%;
}
.split-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.split-side:hover img { transform: scale(1.05); }

.split-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    z-index: 10;
}
.split-content .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-style: italic;
    opacity: 0.3;
    line-height: 1;
}
.split-content h3 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.split-content p {
    font-size: 0.75rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hidden-style img {
    filter: brightness(0.3) contrast(1.2) grayscale(0.5);
}
.hidden-style .split-content {
    background: linear-gradient(transparent, rgba(139, 58, 47, 0.9)); /* Accent color */
}
.hidden-style:hover img {
    filter: brightness(0.5) contrast(1.1) grayscale(0);
}

/* Per-item image heights */
.love-board.left  .item-1 img  { flex: 1; min-height: 0; }
.love-board.left  .item-2 img  { flex: 1; min-height: 0; }
.love-board.left  .item-3 img  { flex: 1; min-height: 0; }
.love-board.left  .item-4 img  { height: 95px; }
.love-board.left  .item-5 img  { height: 105px; }
.love-board.right .item-6 img  { height: 88px; }
.love-board.right .item-7 img  { height: 190px; }
.love-board.right .item-8 img  { height: 88px; }
.love-board.right .item-9 img  { height: 95px; }
.love-board.right .item-10 img { height: 115px; }

/* gold script stamp on item 10 */
.love-board.right .item-10 .stamp {
    position: absolute;
    bottom: 28px; left: 4px;
    font-family: 'Italianno', cursive;
    font-size: 2.8rem;
    color: var(--gold);
    transform: rotate(-12deg);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   PAGE 8 — SPOTIFY (from v4)
============================================ */
.spotify-page {
    height: 100%; width: 100%;
    background: linear-gradient(180deg, #3a2f2a 0%, var(--spotify-bg) 320px);
    color: #fff; padding: 0;
    font-family: 'Inter', sans-serif;
    position: relative; overflow: hidden;
}
.sp-topnav { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; }
.sp-topnav .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.sp-topnav .pill { margin-left: auto; background: rgba(0,0,0,0.45); color: #fff; font-size: 0.55rem; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.sp-hero { display: flex; gap: 18px; padding: 20px 24px 14px; align-items: flex-end; }
.sp-cover { width: 175px; height: 175px; box-shadow: 0 20px 50px rgba(0,0,0,0.55); overflow: hidden; flex-shrink: 0; }
.sp-cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero-text { flex: 1; padding-bottom: 6px; }
.sp-hero-text .label { font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; opacity: 0.85; }
.sp-hero-text h1 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 2.4rem; line-height: 1; margin-bottom: 10px; letter-spacing: -1px; }
.sp-hero-text .desc { font-size: 0.7rem; opacity: 0.78; line-height: 1.4; margin-bottom: 8px; }
.sp-hero-text .meta { font-size: 0.65rem; opacity: 0.7; display: flex; align-items: center; gap: 5px; }
.sp-hero-text .meta strong { color: #fff; font-weight: 600; opacity: 1; }
.sp-controls { display: flex; align-items: center; gap: 16px; padding: 16px 24px; }
.sp-play { width: 52px; height: 52px; background: var(--spotify-green); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #000; box-shadow: 0 6px 16px rgba(30,215,96,0.35); }
.sp-play::before { content: ""; width: 0; height: 0; border-left: 14px solid #000; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.sp-icon { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,0.65); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.7rem; color: rgba(255,255,255,0.85); }
.sp-icon.heart { border: none; font-size: 1.6rem; color: #f43f5e; }
.sp-tracks { padding: 6px 24px 20px; }
.sp-track-head { display: grid; grid-template-columns: 24px 1fr 60px; font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 6px; }
.sp-track { display: grid; grid-template-columns: 24px 1fr 60px; gap: 10px; padding: 7px 0; align-items: center; }
.sp-track .num { font-size: 0.8rem; color: rgba(255,255,255,0.55); text-align: center; }
.sp-track .info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sp-track .thumb { width: 36px; height: 36px; flex-shrink: 0; overflow: hidden; background: #333; }
.sp-track .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-track .title { font-size: 0.82rem; color: #fff; line-height: 1.1; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-track .artist { font-size: 0.65rem; color: rgba(255,255,255,0.65); }
.sp-track .time { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-align: right; }
.sp-track.playing .title { color: var(--spotify-green); }

.sp-insight {
    background: rgba(30, 215, 96, 0.1);
    border: 1px solid rgba(30, 215, 96, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 15px 24px;
    font-size: 0.72rem;
    line-height: 1.5;
}
.sp-insight .insight-head {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--spotify-green);
    margin-bottom: 6px;
    font-weight: 700;
}
.sp-insight .insight-body strong {
    color: var(--spotify-green);
}

.sp-nowplaying { position: absolute; bottom: 0; left: 0; right: 0; background: #181818; border-top: 1px solid #2a2a2a; padding: 8px 14px; display: flex; align-items: center; gap: 10px; }
.sp-np-thumb { width: 38px; height: 38px; flex-shrink: 0; overflow: hidden; }
.sp-np-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-np-info { flex: 1; min-width: 0; }
.sp-np-info .t { font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-np-info .a { font-size: 0.6rem; color: rgba(255,255,255,0.6); }
.sp-np-bar { width: 100%; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.sp-np-bar > div { height: 100%; width: 38%; background: #fff; }

/* ============================================
   PAGES 9 & 10 — NETFLIX SPREAD
============================================ */
.netflix-page {
    width: 100%; height: 100%;
    background: var(--netflix-bg);
    color: #fff;
    padding: 22px 24px;
    position: relative;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Faint hero background image (only left page) */
.nf-hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 400px;
    object-fit: cover;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

/* Netflix logo wordmark */
.nf-logo {
    position: relative; z-index: 5;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--netflix-red);
    font-size: 1.6rem;
    letter-spacing: 2px;
    font-weight: 400;
}

/* top mini nav */
.nf-topnav {
    position: relative; z-index: 5;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 30px;
}
.nf-topnav .links {
    display: flex; gap: 12px;
    font-size: 0.55rem; letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}
.nf-topnav .links span.active { color: #fff; font-weight: 600; }

/* Title block */
.nf-title {
    position: relative; z-index: 5;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 0.95;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* ranking pill */
.nf-rank {
    position: relative; z-index: 5;
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}
.nf-rank .badge {
    background: var(--netflix-red);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    padding: 1px 4px;
    line-height: 1;
}

/* description */
.nf-desc {
    position: relative; z-index: 5;
    font-size: 0.65rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    max-width: 90%;
}

/* buttons */
.nf-buttons {
    position: relative; z-index: 5;
    display: flex; gap: 8px;
    margin-bottom: 24px;
}
.nf-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: default;
}
.nf-btn.play { background: #fff; color: #000; }
.nf-btn.play::before {
    content: ""; width: 0; height: 0;
    border-left: 7px solid #000;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
.nf-btn.list { background: rgba(255,255,255,0.2); color: #fff; }
.nf-btn.list::before {
    content: "+"; font-size: 0.95rem; font-weight: 400; line-height: 0.7;
}

/* Section: Top Moments */
.nf-section-title {
    position: relative; z-index: 5;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Grid of numbered thumbs */
.nf-grid {
    position: relative; z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.nf-thumb {
    position: relative;
    aspect-ratio: 1 / 1.1;
    background: #1a1a1a;
    overflow: hidden;
    border-radius: 2px;
}
.nf-thumb img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    /* keep image to the right so big number fits left */
    object-position: right center;
}
.nf-thumb .nf-num {
    position: absolute;
    bottom: -8px;
    left: -8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.2rem;
    line-height: 0.9;
    color: #0b0b0b;
    -webkit-text-stroke: 1.5px #fff;
    text-stroke: 1.5px #fff;
    z-index: 2;
    font-weight: 400;
}

/* Right page — big bleed photo */
.netflix-right {
    width: 100%; height: 100%;
    background: var(--netflix-bg);
    position: relative;
    overflow: hidden;
}
.netflix-right .big-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.netflix-right .photo-grad {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
}

/* Episode bar */
.nf-episode {
    position: absolute;
    bottom: 22px; left: 22px; right: 22px;
    display: flex; align-items: center; gap: 12px;
    color: #fff;
    z-index: 5;
}
.nf-episode .ctrls {
    display: flex; gap: 14px; align-items: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
}
.nf-episode .ctrls .play-tri {
    width: 0; height: 0;
    border-left: 9px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.nf-episode .info {
    flex: 1; min-width: 0;
}
.nf-episode .info .ep {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}
.nf-episode .info .t {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: #fff;
}
.nf-episode .right-ctrls {
    display: flex; gap: 10px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
}

/* small Netflix tag bottom-left of right page */
.nf-right-tag {
    position: absolute; top: 20px; left: 22px;
    z-index: 5;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--netflix-red);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ============================================
   PAGE 11 — POSTCARD LETTER (from v4)
============================================ */
.postcard-page {
    height: 100%; width: 100%;
    background:
        repeating-linear-gradient(0deg, transparent 0, transparent 32px, rgba(0,0,0,0.06) 32px, rgba(0,0,0,0.06) 33px),
        var(--paper);
    padding: 50px 45px; position: relative;
    overflow-y: auto;
}
.pc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.pc-header h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.6rem; line-height: 0.95; font-weight: 500; }
.pc-stamp { width: 110px; height: 130px; border: 2px dashed var(--ink); padding: 4px; position: relative; transform: rotate(4deg); }
.pc-stamp img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.4) contrast(1.1); }
.pc-stamp .pmark {
    position: absolute; bottom: -10px; left: -10px;
    border: 1.5px solid var(--accent); color: var(--accent);
    border-radius: 50%; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Major Mono Display', monospace;
    font-size: 0.5rem; text-align: center; line-height: 1;
    background: rgba(240,233,221,0.85); transform: rotate(-15deg);
}
.pc-divider { width: 100%; height: 1px; background: var(--ink); margin: 10px 0 18px; }
.pc-body { font-family: 'Cormorant Garamond', serif; font-size: 0.82rem; line-height: 1.5; color: var(--ink); }
.pc-body p { margin-bottom: 8px; font-style: italic; }
.pc-body p:first-child { font-style: normal; }
.pc-sign { text-align: right; margin-top: 20px; }
.pc-sign .name { font-family: 'Italianno', cursive; font-size: 3.6rem; color: var(--accent); line-height: 0.9; }
.pc-sign .date { font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* ============================================
   PAGE 12 — BACK COVER (from v4)
============================================ */
.back-page {
    width: 100%; height: 100%;
    background: var(--ink); color: #f0e9dd;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 60px 50px;
    text-align: center; position: relative;
}
.back-monogram, .back-photo, .back-page .kicker, .back-page h2, .back-page p {
    position: relative; z-index: 2;
}
.back-page .back-fin {
    position: relative; z-index: 2; margin-top: auto;
}
.back-photo { width: 240px; height: 320px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.back-photo img { width: 100%; height: 100%; object-fit: cover; }

.sunflower-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    pointer-events: none;
    opacity: 0.4;
    padding: 10px;
}
.sunflower-bg span {
    font-size: 1.8rem;
    margin: 8px;
    animation: sway 3s ease-in-out infinite alternate;
}
.sunflower-bg span:nth-child(even) { animation-delay: 1.5s; }

@keyframes sway {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

.back-page .kicker { font-size: 0.6rem; letter-spacing: 6px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.back-page h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 2.6rem; line-height: 1.05; margin-bottom: 14px; color: #f0e9dd; }
.back-page h2 em { color: #d6b97a; font-weight: 500; }
.back-page .quote { font-size: 0.75rem; font-style: italic; opacity: 0.7; max-width: 320px; line-height: 1.6; }
.back-fin { position: absolute; bottom: 30px; width: 100%; text-align: center; font-size: 0.55rem; letter-spacing: 6px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.back-monogram { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; letter-spacing: 8px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
