/* ══════════════════════════════════════════════════════════════
   style.css — Four Months of Us (for-my-ankuu-v4)
   Design System: Midnight Twilight × Golden Rose Glow
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Color Palette */
    --bg-deep: #08060e;
    --bg-surface: #110c1c;
    --bg-card: rgba(26, 18, 42, 0.65);
    --bg-card-hover: rgba(36, 25, 58, 0.85);
    
    --rose-bright: #ff6584;
    --rose-glow: #ff758c;
    --rose-soft: #ffb8c6;
    --rose-muted: rgba(255, 101, 132, 0.15);
    
    --gold-bright: #ffd166;
    --gold-glow: #f7d794;
    --gold-muted: rgba(255, 209, 102, 0.18);
    
    --purple-accent: #a29bfe;
    --lavender-mist: #e0dcfc;
    --cyan-accent: #74b9ff;
    
    --text-pure: #ffffff;
    --text-soft: #e2dbed;
    --text-muted: #a69bb8;
    
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-rose: rgba(255, 117, 140, 0.35);
    --border-gold: rgba(255, 209, 102, 0.4);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 101, 132, 0.25);
    --shadow-gold-glow: 0 0 35px rgba(255, 209, 102, 0.22);
    
    /* Typography */
    --font-serif: 'Fraunces', Georgia, serif;
    --font-cursive: 'Caveat', cursive;
    --font-romantic: 'Sacramento', cursive;
    --font-body: 'Quicksand', -apple-system, sans-serif;
    
    /* Transition */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background: radial-gradient(circle at 50% 10%, #1a102b 0%, #0c0817 40%, var(--bg-deep) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Ambient Canvas */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

#hearts-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

/* Typography Utilities */
.cursive {
    font-family: var(--font-cursive);
    font-size: 1.25em;
}

.gradient-text {
    background: linear-gradient(135deg, #ff758c 0%, #ff8e53 50%, #f7d794 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sparkle-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-rose);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rose-soft);
    margin-bottom: 0.75rem;
}

/* Glassmorphism card base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.35s var(--ease-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.glass-card.gold-border {
    border-color: var(--border-gold);
}

.glass-card.gold-border:hover {
    box-shadow: var(--shadow-soft), var(--shadow-gold-glow);
}

/* Top Sticky Floating Music Island */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 500;
    background: rgba(8, 6, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.heart-pulse {
    display: inline-block;
    animation: heartBeat 1.8s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
}

.nav-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-pure);
}

.nav-sub {
    font-size: 0.85rem;
    color: var(--rose-soft);
    font-weight: 500;
}

.music-island {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.8rem 0.4rem 0.5rem;
    background: rgba(30, 20, 50, 0.7);
    border: 1px solid var(--border-rose);
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mini-disc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff758c 20%, #1a1028 25%, #2a1640 60%, #ff758c 100%);
    border: 2px solid #ff758c;
    box-shadow: 0 0 10px rgba(255, 117, 140, 0.5);
    transition: transform 0.2s linear;
}

.mini-disc.spinning {
    animation: spinDisc 3s linear infinite;
}

.music-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.song-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-pure);
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-status {
    font-size: 0.7rem;
    color: var(--gold-glow);
}

.nav-audio-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rose-bright);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: 0 0 12px rgba(255, 101, 132, 0.6);
}

.nav-audio-btn:hover {
    transform: scale(1.08);
    background: #ff7f99;
}

/* MAIN WRAPPER (Notice the top padding to prevent desktop/mobile overlap behind fixed nav) */
.main-wrapper {
    position: relative;
    z-index: 10;
    padding-top: 85px; /* Ensures content is never hidden behind top nav */
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 5rem;
}

/* ══════════════ 1. HERO SECTION ══════════════ */
.hero-section {
    position: relative;
    padding: 3rem 1rem 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.18) 0%, rgba(247, 215, 148, 0.08) 45%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-rose);
    border-radius: 999px;
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rose-soft);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 117, 140, 0.15);
}

.badge-date {
    background: rgba(255, 101, 132, 0.25);
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #fff;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-handwritten {
    font-family: var(--font-cursive);
    font-size: clamp(1.4rem, 3.5vw, 2.1rem);
    color: var(--gold-glow);
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.35;
}

/* Vinyl Player Stage */
.hero-vinyl-stage {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-outer {
    position: relative;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: radial-gradient(circle, #251b36 0%, #130e20 40%, #0a0712 100%);
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 101, 132, 0.35);
    cursor: pointer;
    transition: transform 0.3s var(--ease-smooth);
}

.vinyl-outer.spinning {
    animation: spinDisc 8s linear infinite;
}

.vinyl-outer:hover {
    transform: scale(1.03);
}

.vinyl-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%, rgba(255, 255, 255, 0.08) 60%, transparent 100%);
    pointer-events: none;
}

.vinyl-groove {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.vinyl-groove.g1 { inset: 25px; }
.vinyl-groove.g2 { inset: 50px; }
.vinyl-groove.g3 { inset: 75px; }

.vinyl-center-art {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff6584 0%, #e056fd 60%, #1e1136 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 101, 132, 0.6);
}

.center-heart {
    font-size: 1.1rem;
}

.center-label {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.center-sub {
    font-size: 0.65rem;
    font-family: var(--font-cursive);
    color: #ffeaa7;
}

.center-spindle {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0a0712;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff6584 0%, #ff8e53 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 101, 132, 0.45);
    transition: all 0.3s var(--ease-smooth);
}

.cta-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 101, 132, 0.6);
}

.cta-play-icon {
    font-size: 1.15rem;
}

.hero-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ══════════════ 2. LIVE CLOCK SECTION ══════════════ */
.live-counter-section {
    padding: 2rem 0;
}

.counter-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.card-eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-glow);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto 1.8rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.time-number {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--rose-soft);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    font-size: 0.92rem;
    color: var(--gold-glow);
}

/* ══════════════ 3. CORE EMOTIONAL SANCTUARY: WHAT YOU SAW IN ME ══════════════ */
.emotional-sanctuary-section {
    padding: 4rem 0 2rem;
}

.sanctuary-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sanctuary-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, #fff 0%, #ffb8c6 50%, #f7d794 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sanctuary-sub {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 650px;
    margin: 0 auto;
}

.spotlight-quote-card {
    position: relative;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(35, 20, 55, 0.85) 0%, rgba(20, 14, 35, 0.9) 100%);
    overflow: hidden;
}

.quote-symbol {
    position: absolute;
    top: 15px;
    left: 25px;
    font-family: var(--font-serif);
    font-size: 7rem;
    line-height: 1;
    color: rgba(255, 209, 102, 0.12);
    pointer-events: none;
}

.ankuu-quote {
    position: relative;
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3.2vw, 1.85rem);
    line-height: 1.45;
    color: #fff;
    margin-bottom: 2rem;
    z-index: 2;
}

.highlight-text {
    color: var(--gold-bright);
    text-shadow: 0 0 20px rgba(255, 209, 102, 0.4);
    display: inline-block;
    margin-top: 0.5rem;
}

.quote-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6584, #ffd166);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.author-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quote-tag {
    margin-left: auto;
    background: rgba(255, 101, 132, 0.2);
    border: 1px solid var(--border-rose);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--rose-soft);
}

.gratitude-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gratitude-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.grat-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.grat-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.grat-desc {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.grat-quote {
    color: var(--rose-soft);
    font-size: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
}

/* ══════════════ 4. STATS WRAPPED SECTION ══════════════ */
.stats-wrapped-section {
    padding: 4rem 0 2rem;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
}

.big-stats-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mega-stat-card {
    padding: 3rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(35, 22, 55, 0.7) 0%, rgba(18, 12, 30, 0.85) 100%);
    border: 1px solid var(--border-rose);
}

.mega-stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mega-badge {
    background: var(--rose-bright);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.mega-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mega-number-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mega-number {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 35px rgba(255, 101, 132, 0.5);
}

.mega-unit {
    font-family: var(--font-cursive);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold-glow);
}

.mega-caption {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.split-meter {
    height: 38px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 720px;
    margin: 0 auto;
}

.split-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    transition: width 1.2s var(--ease-smooth);
    white-space: nowrap;
    padding: 0 0.5rem;
}

.javed-bar {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
}

.ankuu-bar {
    background: linear-gradient(90deg, #ff758c, #ff6584);
}

.key-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.stat-card {
    padding: 1.75rem 1.5rem;
    text-align: left;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-icon-wrap.rose { background: rgba(255, 101, 132, 0.2); }
.stat-icon-wrap.gold { background: rgba(255, 209, 102, 0.2); }
.stat-icon-wrap.purple { background: rgba(162, 155, 254, 0.2); }
.stat-icon-wrap.blue { background: rgba(116, 185, 255, 0.2); }
.stat-icon-wrap.pink { background: rgba(253, 121, 168, 0.2); }
.stat-icon-wrap.warm { background: rgba(255, 159, 67, 0.2); }

.stat-val {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-lbl {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}

.stat-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ══════════════ 5. THREE CHAPTERS TIMELINE ══════════════ */
.chapters-section {
    padding: 4rem 0 2rem;
}

.chapters-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.chapter-card {
    padding: 2.5rem;
    position: relative;
    border-left: 4px solid var(--rose-bright);
}

#chap-aero { border-left-color: #a29bfe; }
#chap-insta { border-left-color: #ff6584; }
#chap-whatsapp { border-left-color: #25d366; }

.chap-badge {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-glow);
    margin-bottom: 0.75rem;
}

.chap-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.plat-icon {
    font-size: 1.3rem;
}

.plat-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.chap-headline {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
}

.chap-text {
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 850px;
}

.chap-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chap-chip {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    color: var(--lavender-mist);
}

/* ══════════════ 6. NICKNAMES SECTION ══════════════ */
.words-section {
    padding: 3rem 0;
}

.nicknames-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.nick-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.nick-card:active {
    transform: scale(0.96);
}

.nick-emoji {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.nick-word {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.nick-count {
    display: inline-block;
    background: rgba(255, 101, 132, 0.2);
    color: var(--rose-soft);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.75rem;
}

.nick-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ══════════════ 7. KUCHUPUCHU VAULT (LETTERS) ══════════════ */
.vault-section {
    padding: 4rem 0 2rem;
}

.letters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.letter-card {
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
    border: 1px solid rgba(255, 117, 140, 0.25);
    background: linear-gradient(135deg, rgba(30, 20, 48, 0.7) 0%, rgba(18, 12, 28, 0.85) 100%);
}

.letter-card:hover {
    border-color: var(--rose-bright);
    transform: translateY(-6px);
}

.letter-seal {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.letter-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-glow);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.letter-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.letter-preview {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.tap-hint {
    font-family: var(--font-cursive);
    font-size: 1.15rem;
    color: var(--rose-bright);
}

/* ══════════════ 8. LETTER MODAL BACKDROP ══════════════ */
.letter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 2, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.letter-modal-backdrop.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.letter-modal-card {
    position: relative;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    background: #181126;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold-glow);
    animation: modalPop 0.35s var(--ease-smooth);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 101, 132, 0.4);
}

.modal-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-glow);
    font-weight: 700;
}

.modal-heading {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: #fff;
    margin: 0.4rem 0 1.5rem;
}

.modal-body {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 2rem;
    white-space: pre-line;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
}

.modal-sign {
    font-size: 1.4rem;
    color: var(--rose-soft);
}

.modal-ok-btn {
    background: linear-gradient(135deg, #ff6584, #ff8e53);
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-ok-btn:hover {
    transform: scale(1.04);
}

/* ══════════════ 9. CANDLE & WISH SECTION ══════════════ */
.wish-section {
    padding: 4rem 0 2rem;
    text-align: center;
}

.wish-card {
    padding: 3rem 2rem;
    max-width: 680px;
    margin: 0 auto;
}

.wish-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.75rem;
}

.wish-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.wish-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.candle-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    transition: transform 0.2s;
}

.candle-wrapper:hover {
    transform: scale(1.08);
}

.candle-flame {
    font-size: 2.2rem;
    animation: flicker 1s infinite alternate;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.candle-flame.blown {
    opacity: 0;
    transform: scale(0.2) translateY(-20px);
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.15) rotate(2deg); filter: drop-shadow(0 0 10px #ffd166); }
}

.candle-stick {
    width: 12px;
    height: 24px;
    background: linear-gradient(to bottom, #ff758c, #fff);
    border-radius: 4px;
}

.candle-cake {
    font-size: 3rem;
    margin-top: -8px;
}

.candle-status {
    font-size: 0.95rem;
    color: var(--gold-glow);
    font-weight: 600;
}

.wish-surprise {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 101, 132, 0.12);
    border: 1px solid var(--border-rose);
    border-radius: 20px;
    animation: fadeIn 0.8s ease;
}

.wish-surprise.hidden {
    display: none;
}

.wish-unlocked-text {
    font-size: clamp(1.3rem, 3.5vw, 1.75rem);
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cta-confetti {
    background: var(--rose-bright);
    border: none;
    border-radius: 999px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 101, 132, 0.4);
    transition: transform 0.2s;
}

.cta-confetti:hover {
    transform: scale(1.05);
}

/* ══════════════ 10. FINAL DEDICATION FOOTER ══════════════ */
.footer-section {
    padding: 4rem 1rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heart {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    animation: heartBeat 2s infinite;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-size: 1.4rem;
    color: var(--rose-soft);
    margin-bottom: 1.5rem;
}

.footer-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dot {
    color: var(--rose-bright);
}

/* ══════════════ FLOATING HEARTS FX ══════════════ */
.floating-heart {
    position: absolute;
    pointer-events: none;
    animation: floatUpward 4s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    user-select: none;
}

@keyframes floatUpward {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.6) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-120px) scale(1.2) rotate(15deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-260px) scale(1) rotate(-15deg);
    }
}

/* ══════════════ RESPONSIVE BREAKPOINTS ══════════════ */
@media (max-width: 960px) {
    .gratitude-grid {
        grid-template-columns: 1fr;
    }
    .key-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .letters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nicknames-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet & Intermediate */
@media (max-width: 768px) {
    .song-status {
        display: none;
    }
    .song-title {
        max-width: 105px;
        font-size: 0.75rem;
    }
}

/* Mobile Devices (iPhone, Android, Foldables) */
@media (max-width: 640px) {
    /* 1. Ultra-Clean, Non-Stressed Floating Top Navigation */
    .top-nav {
        height: 56px;
        padding: 0 0.85rem;
        background: rgba(8, 6, 14, 0.92);
        border-bottom: 1px solid rgba(255, 117, 140, 0.2);
    }

    .nav-brand {
        gap: 0.4rem;
    }

    .heart-pulse {
        font-size: 1.1rem;
    }

    .nav-title {
        font-size: 0.95rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .nav-sub {
        display: none; /* Removed on mobile so title never cramps */
    }

    /* Music Island becomes a chic, floating interactive sound pill */
    .music-island {
        padding: 0.28rem 0.5rem 0.28rem 0.35rem;
        gap: 0.45rem;
        background: rgba(36, 22, 58, 0.85);
        border: 1px solid var(--border-rose);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        cursor: pointer;
    }

    .music-info {
        display: none; /* Completely removes cramped, truncated text on mobile! */
    }

    .mini-disc {
        width: 26px;
        height: 26px;
    }

    .nav-audio-btn {
        width: 26px;
        height: 26px;
        font-size: 0.72rem;
    }

    /* 2. Main Wrapper Padding - Gives healthy breathing room below fixed header */
    .main-wrapper {
        padding-top: 66px;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        padding-bottom: 3.5rem;
    }

    /* 3. Hero Section */
    .hero-section {
        padding: 1.5rem 0.25rem 2.25rem;
    }

    .badge-pill {
        padding: 0.35rem 0.9rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2.1rem, 8vw, 2.75rem);
        margin-bottom: 0.65rem;
        line-height: 1.18;
    }

    .hero-handwritten {
        font-size: 1.35rem;
        margin-bottom: 1.75rem;
        line-height: 1.35;
    }

    .hero-vinyl-stage {
        width: 195px;
        height: 195px;
        margin: 0 auto 1.75rem;
    }

    .vinyl-outer {
        width: 185px;
        height: 185px;
        border-width: 3px;
    }

    .vinyl-center-art {
        width: 74px;
        height: 74px;
    }

    .center-label {
        font-size: 0.62rem;
    }

    .center-sub {
        font-size: 0.55rem;
    }

    .cta-primary {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* 4. Live Clock Section */
    .counter-card {
        padding: 1.75rem 0.9rem;
        border-radius: 20px;
    }

    .timer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .time-box {
        padding: 0.75rem 0.2rem;
        border-radius: 12px;
    }

    .time-number {
        font-size: 1.55rem;
        margin-bottom: 0.15rem;
    }

    .time-label {
        font-size: 0.65rem;
    }

    .streak-badge {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    /* 5. Spotlight Emotional Quote */
    .emotional-sanctuary-section {
        padding: 2.5rem 0 1.5rem;
    }

    .spotlight-quote-card {
        padding: 1.75rem 1.15rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }

    .ankuu-quote {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .quote-author-row {
        gap: 0.75rem;
    }

    .quote-tag {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 0.25rem;
        font-size: 0.75rem;
    }

    .gratitude-card {
        padding: 1.5rem 1.15rem;
        border-radius: 18px;
    }

    /* 6. Stats Section */
    .stats-wrapped-section {
        padding: 2.5rem 0 1.5rem;
    }

    .mega-stat-card {
        padding: 1.75rem 1rem;
        border-radius: 20px;
    }

    .mega-number {
        font-size: clamp(2.8rem, 8.5vw, 3.8rem);
    }

    .mega-caption {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .split-meter {
        height: 32px;
    }

    .split-bar {
        font-size: 0.72rem;
        padding: 0 0.35rem;
    }

    /* 2-column key stats dashboard on mobile */
    .key-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.2rem 0.9rem;
        border-radius: 16px;
    }

    .stat-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        border-radius: 10px;
    }

    .stat-val {
        font-size: 1.55rem;
        margin-bottom: 0.2rem;
    }

    .stat-lbl {
        font-size: 0.82rem;
        margin-bottom: 0.25rem;
    }

    .stat-note {
        font-size: 0.74rem;
    }

    /* 7. Chapters Timeline */
    .chapters-section {
        padding: 2.5rem 0 1.5rem;
    }

    .chapter-card {
        padding: 1.5rem 1.15rem;
        border-radius: 18px;
    }

    .chap-headline {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .chap-text {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    /* 8. Nicknames Grid */
    .nicknames-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .nick-card {
        padding: 1.2rem 0.75rem;
        border-radius: 16px;
    }

    .nick-word {
        font-size: 1.15rem;
    }

    /* 9. Kuchupuchu Letters Vault */
    .vault-section {
        padding: 2.5rem 0 1.5rem;
    }

    .letters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .letter-card {
        padding: 1.5rem 1.15rem;
        border-radius: 18px;
    }

    /* 10. Letter Modal (Mobile Sheet) */
    .letter-modal-card {
        max-width: calc(100vw - 20px);
        max-height: 85vh;
        padding: 1.6rem 1.2rem;
        border-radius: 20px;
    }

    .modal-heading {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .modal-body {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .modal-sign {
        font-size: 1.2rem;
    }

    /* 11. Wish Section */
    .wish-section {
        padding: 2.5rem 0 1.5rem;
    }

    .wish-card {
        padding: 2rem 1.15rem;
        border-radius: 20px;
    }

    .wish-unlocked-text {
        font-size: 1.25rem;
    }
}
