/* -------------------------------------------------------------------------- */
/* Modern Luxury Romantic Proposal Theme - Dedicated to Agrika               */
/* -------------------------------------------------------------------------- */

:root {
    --bg-dark: #090114;
    --bg-darker: #05000c;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    --border-color: rgba(255, 255, 255, 0.12);
    --border-rose: rgba(255, 77, 109, 0.35);
    --border-gold: rgba(255, 209, 102, 0.4);

    --primary-rose: #ff4d6d;
    --primary-blush: #ff758f;
    --accent-purple: #c77dff;
    --accent-violet: #9d4edd;
    --accent-gold: #ffd166;
    --accent-emerald: #52b788;
    --code-green: #70e000;
    
    --text-white: #ffffff;
    --text-muted: #d0c2e8;
    --text-dim: #9b8bb8;

    --font-heading: 'Playfair Display', serif;
    --font-royal: 'Cinzel', serif;
    --font-handwriting: 'Dancing Script', cursive;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.55);
    --glow-rose: 0 0 35px rgba(255, 77, 109, 0.55);
    --glow-purple: 0 0 35px rgba(199, 125, 255, 0.45);
    --glow-gold: 0 0 35px rgba(255, 209, 102, 0.5);

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
    overflow: hidden !important;
}

/* -------------------------------------------------------------------------- */
/* Romantic Preloader & Intro Screen                                          */
/* -------------------------------------------------------------------------- */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #090114;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease, transform 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    pointer-events: none;
}

.loader-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 77, 109, 0.25), rgba(157, 78, 221, 0.2), transparent 70%);
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 440px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-heart-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.loader-heart {
    font-size: 3.5rem;
    color: var(--primary-rose);
    filter: drop-shadow(0 0 20px rgba(255, 77, 109, 0.8));
    animation: loaderHeartPulse 1.4s ease-in-out infinite alternate;
}

.loader-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 209, 102, 0.5);
    animation: loaderRingSpin 6s linear infinite;
}

@keyframes loaderHeartPulse {
    0% { transform: scale(0.92); filter: drop-shadow(0 0 15px rgba(255, 77, 109, 0.6)); }
    100% { transform: scale(1.12); filter: drop-shadow(0 0 35px rgba(255, 77, 109, 1)); }
}

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

.loader-title {
    font-family: var(--font-royal);
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.loader-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.loader-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-rose), var(--accent-purple), var(--accent-gold));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.btn-enter {
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-gold));
    color: #120224;
    font-weight: 700;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.5), 0 0 35px rgba(255, 77, 109, 0.4);
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    animation: enterBtnGlow 2s ease-in-out infinite alternate;
}

@keyframes enterBtnGlow {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 77, 109, 0.5); }
    100% { transform: scale(1.04); box-shadow: 0 0 35px rgba(255, 209, 102, 0.8), 0 0 50px rgba(255, 77, 109, 0.6); }
}

.btn-enter:hover {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgba(255, 77, 109, 0.9);
}

.loader-tap-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------- */
/* Ambient Particles, Starry Cosmos & Hardware-Accelerated Glowing Backdrops  */
/* -------------------------------------------------------------------------- */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 25%, rgba(255, 77, 109, 0.2), transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(199, 125, 255, 0.18), transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(255, 209, 102, 0.06), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.stars-backdrop {
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(1.5px 1.5px at 25px 35px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 80px, #ffd166, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 280px 190px, #ff758f, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 420px 120px, #c77dff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 560px 260px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 720px 370px, #ffd166, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 860px 90px, #ff4d6d, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 980px 300px, #c77dff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 800px 450px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
    animation: twinkleStars 8s ease-in-out infinite alternate;
}

@keyframes twinkleStars {
    0% { opacity: 0.3; }
    100% { opacity: 0.65; }
}

.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.42;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: orbFloat 22s ease-in-out infinite alternate;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.4) 0%, rgba(255, 77, 109, 0.12) 40%, transparent 70%);
    top: -120px;
    left: -120px;
    animation-duration: 20s;
}

.orb-2 {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.35) 0%, rgba(157, 78, 221, 0.1) 45%, transparent 70%);
    bottom: 5%;
    right: -120px;
    animation-duration: 25s;
    animation-delay: -6s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.28) 0%, rgba(255, 209, 102, 0.06) 45%, transparent 70%);
    top: 40%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(25px, 30px, 0) scale(1.08); }
    100% { transform: translate3d(-15px, 15px, 0) scale(0.96); }
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem 1.5rem 6rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* -------------------------------------------------------------------------- */
/* Top Developer Ribbon                                                       */
/* -------------------------------------------------------------------------- */

.dev-banner {
    background: linear-gradient(90deg, rgba(255, 77, 109, 0.25), rgba(199, 125, 255, 0.25), rgba(255, 209, 102, 0.25));
    border-bottom: 1px solid var(--border-rose);
    text-align: center;
    padding: 0.6rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 101;
    backdrop-filter: blur(14px);
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------- */
/* Persistent Floating Music Controller (Arz Kiya Hai - Anuv Jain)            */
/* -------------------------------------------------------------------------- */

.music-controller {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    z-index: 9999 !important;
    background: rgba(18, 4, 32, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    padding: 0.5rem 1rem 0.5rem 0.7rem;
    border-radius: 50px;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 209, 102, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.music-controller:hover {
    background: rgba(30, 8, 55, 0.98);
    border-color: var(--primary-rose);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 77, 109, 0.45);
    transform: translateY(-2px);
}

.music-disc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #222, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.4rem;
    border: 2px solid rgba(255, 209, 102, 0.4);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.music-controller.playing .music-disc {
    animation: spinDisc 3s linear infinite;
    color: var(--primary-rose);
    border-color: var(--primary-rose);
}

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

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

.music-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.music-artist {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.music-toggle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(255, 77, 109, 0.4);
}

.music-toggle-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(255, 77, 109, 0.7);
}

/* -------------------------------------------------------------------------- */
/* Hero Section                                                               */
/* -------------------------------------------------------------------------- */

.hero-section {
    text-align: center;
    padding: 3rem 0 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 77, 109, 0.15);
    border: 1px solid var(--border-rose);
    color: var(--primary-blush);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 20px rgba(255, 77, 109, 0.2);
}

.main-title {
    font-family: var(--font-royal);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.accent-text {
    font-family: var(--font-handwriting);
    font-size: 3.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.2rem 0;
}

.hero-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-showcase {
    position: relative;
    width: 290px;
    height: 380px;
    margin-bottom: 2.5rem;
}

.showcase-glow {
    position: absolute;
    inset: -15px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple), var(--accent-gold));
    opacity: 0.65;
    filter: blur(25px);
    z-index: 0;
    animation: pulseShowcase 4s ease-in-out infinite alternate;
}

@keyframes pulseShowcase {
    0% { opacity: 0.45; filter: blur(18px); transform: scale(0.98); }
    100% { opacity: 0.85; filter: blur(28px); transform: scale(1.02); }
}

.portrait-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--glass-shadow);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-showcase:hover .hero-img {
    transform: scale(1.04);
}

.floating-badge {
    position: absolute;
    z-index: 2;
    background: rgba(13, 2, 28, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-gold);
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    box-shadow: var(--glass-shadow);
    white-space: nowrap;
    animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.badge-top { top: -15px; left: -30px; }
.badge-bottom { bottom: -15px; right: -30px; animation-delay: 1.75s; }

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.play-prompt {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 77, 109, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.play-prompt:hover {
    background: rgba(255, 77, 109, 0.28);
    transform: scale(1.05);
    box-shadow: var(--glow-rose);
}

.play-prompt strong {
    color: #ffffff;
}

.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1rem;
}

.bounce {
    animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* -------------------------------------------------------------------------- */
/* Special Highlight: Wo Nashili Aankhein (Her Eyes)                          */
/* -------------------------------------------------------------------------- */

.eyes-highlight-section {
    margin-top: 3.5rem;
}

.eyes-card {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.12), rgba(157, 78, 221, 0.15), rgba(255, 209, 102, 0.08));
    padding: 2.5rem;
}

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

.eyes-img-wrap {
    position: relative;
    width: 320px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-gold);
    box-shadow: var(--glow-gold);
}

.eyes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eyes-img-wrap:hover .eyes-img {
    transform: scale(1.08);
}

.eyes-glow-ring {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 25px rgba(255, 209, 102, 0.4);
    pointer-events: none;
}

.eyes-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(13, 2, 28, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.eyes-text-wrap {
    flex-grow: 1;
}

.eyes-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.eyes-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* -------------------------------------------------------------------------- */
/* Heartfelt Confession Card (Direct Raw Words)                               */
/* -------------------------------------------------------------------------- */

.confession-highlight-section {
    margin-top: 3.5rem;
}

.heartfelt-card {
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.08), rgba(157, 78, 221, 0.08));
    border: 1.5px solid var(--border-gold);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 209, 102, 0.15);
    position: relative;
    overflow: hidden;
}

.heartfelt-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 7rem;
    color: var(--accent-gold);
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.heartfelt-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.heartfelt-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: #ffffff;
    margin-top: 0.3rem;
}

.heartfelt-quote {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #f7efff;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: justify;
}

/* -------------------------------------------------------------------------- */
/* Sections General Headers                                                   */
/* -------------------------------------------------------------------------- */

.section {
    margin-top: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-rose);
}

/* -------------------------------------------------------------------------- */
/* Story Timeline (The 5 Chapters of Love)                                   */
/* -------------------------------------------------------------------------- */

.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-rose), var(--accent-purple), var(--accent-gold));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple));
    border: 3px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.7);
    z-index: 2;
}

.timeline-card {
    border-left: 3px solid var(--primary-rose);
}

.timeline-content-flex {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.timeline-text-side {
    flex: 1;
}

.timeline-img-side {
    width: 140px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-rose);
    box-shadow: var(--glass-shadow);
}

.timeline-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-card:hover .timeline-thumb {
    transform: scale(1.08);
}

.chapter-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chapter-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.chapter-text {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.code-note {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(112, 224, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

.code-note code {
    color: var(--code-green);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* Cinematic Polaroid Scrapbook Stage (Focal Presentation)                    */
/* -------------------------------------------------------------------------- */

.scrapbook-section {
    position: relative;
    margin-top: 5rem;
}

.scrapbook-stage {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-backdrop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.22) 0%, rgba(199, 125, 255, 0.12) 40%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.polaroid-focal-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    background: rgba(22, 6, 40, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 209, 102, 0.25);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    user-select: none;
    will-change: transform;
    backface-visibility: hidden;
}

.polaroid-focal-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 77, 109, 0.45);
}

.polaroid-pin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd166, #ff4d6d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.6);
    z-index: 3;
}

.focal-img-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    background: #0d0118;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
}

.focal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
    cursor: pointer;
}

.polaroid-focal-card:hover .focal-img {
    transform: scale(1.04);
}

.focal-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(13, 2, 28, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.4rem 0.95rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.focal-details {
    margin-top: 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.focal-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: opacity 0.35s ease;
}

.focal-story {
    font-family: var(--font-handwriting);
    font-size: 1.55rem;
    color: var(--primary-blush);
    line-height: 1.5;
    padding: 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: opacity 0.35s ease;
}

.focal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.focal-counter {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-weight: 600;
}

.focal-tag {
    color: var(--accent-purple);
    font-weight: 500;
    font-size: 0.85rem;
}

.scrapbook-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 2;
    width: 100%;
}

.nav-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    color: #ffffff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-control-btn:hover {
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple));
    border-color: var(--primary-rose);
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(255, 77, 109, 0.7);
}

.memory-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 320px;
}

.memory-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.memory-dot:hover {
    background: rgba(255, 209, 102, 0.6);
}

.memory-dot.active {
    width: 26px;
    border-radius: 13px;
    background: linear-gradient(90deg, var(--primary-rose), var(--accent-gold));
    border-color: var(--accent-gold);
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.75);
}

.swipe-hint {
    margin-top: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
}

/* -------------------------------------------------------------------------- */
/* Shayaris Section                                                           */
/* -------------------------------------------------------------------------- */

.shayari-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.8rem;
}

.shayari-box {
    position: relative;
    border-top: 3px solid var(--accent-gold);
    padding: 2.5rem 2rem 1.8rem 2rem;
}

.quote-sign {
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-gold);
    opacity: 0.25;
    line-height: 1;
}

.shayari-verses {
    font-family: var(--font-handwriting);
    font-size: 1.85rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.shayari-meaning code {
    color: var(--code-green);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

/* -------------------------------------------------------------------------- */
/* Pickup Lines / Confessions Card                                            */
/* -------------------------------------------------------------------------- */

.confession-card {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-rose);
    padding: 3rem 2rem;
}

.confession-icon {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.quote-display {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 18px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.8rem 0;
    line-height: 1.7;
    transition: var(--transition);
}

.btn {
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    outline: none;
}

.btn-sparkle {
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple));
    color: white;
    box-shadow: var(--glow-rose);
}

.btn-sparkle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 77, 109, 0.7);
}

/* -------------------------------------------------------------------------- */
/* Proposal Grand Section & Dodging Button                                    */
/* -------------------------------------------------------------------------- */

.proposal-box {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.18), rgba(157, 78, 221, 0.22), rgba(255, 209, 102, 0.12));
    backdrop-filter: blur(25px);
    border: 2px solid var(--accent-gold);
    padding: 4rem 2.5rem;
    border-radius: 35px;
    box-shadow: var(--glow-gold);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
}

.ring-box-container {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-emoji {
    font-size: 4rem;
    animation: ringFloat 2.5s ease-in-out infinite alternate;
}

@keyframes ringFloat {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-10px) rotate(5deg); }
}

.ring-sparkles {
    position: absolute;
    top: -15px;
    font-size: 1.2rem;
    animation: sparkleSpin 3s linear infinite;
}

@keyframes sparkleSpin {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
    100% { transform: scale(0.9) rotate(360deg); opacity: 0.6; }
}

.proposal-badge {
    display: inline-block;
    color: var(--accent-gold);
    font-family: var(--font-royal);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.proposal-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.proposal-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.8;
}

.proposal-buttons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    min-height: 60px;
    position: relative;
}

.btn-proposal-yes {
    background: linear-gradient(135deg, #ff4d6d, #ffd166);
    color: #120224;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 0 35px rgba(255, 209, 102, 0.7);
    animation: pulseProposal 2s infinite;
}

@keyframes pulseProposal {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(255, 209, 102, 0.6); }
    50% { transform: scale(1.06); box-shadow: 0 0 45px rgba(255, 77, 109, 0.9); }
}

.btn-proposal-yes:hover {
    transform: scale(1.1) !important;
}

.btn-proposal-dodge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    transition: all 0.15s ease-out;
}

.btn-proposal-dodge.dodging {
    position: absolute;
}

.proposal-hint {
    margin-top: 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--code-green);
}

/* -------------------------------------------------------------------------- */
/* Modal Overlay & Proposal Celebration (Fully Scrollable & Responsive)       */
/* -------------------------------------------------------------------------- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 0, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2.5rem 1rem 3rem 1rem;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay::-webkit-scrollbar {
    width: 8px;
}

.modal-overlay::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

.modal-overlay::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 520px;
    width: 100%;
    margin: auto;
    text-align: center;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(18, 4, 32, 0.98);
    border: 2px solid var(--accent-gold);
    border-radius: 28px;
    padding: 2.5rem 1.8rem 2rem 1.8rem;
    box-shadow: 0 0 50px rgba(255, 209, 102, 0.45);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-ring-animation {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.modal-portrait {
    width: 95px;
    height: 95px;
    margin: 0 auto 1rem auto;
    position: relative;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.7);
}

.modal-title {
    font-family: var(--font-royal);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.modal-body-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Special Bracelet Promise Card (Long-Distance Promise)                      */
/* -------------------------------------------------------------------------- */

.bracelet-card {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(255, 77, 109, 0.16));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 1.4rem 1.2rem;
    margin: 1.2rem 0 1.8rem 0;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.bracelet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    animation: shimmerBracelet 3.5s infinite;
}

@keyframes shimmerBracelet {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bracelet-icon {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
    animation: pulseIcon 2s ease-in-out infinite alternate;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.bracelet-title {
    font-family: var(--font-royal);
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.bracelet-text {
    font-size: 0.95rem;
    color: #f7efff;
    line-height: 1.65;
}

.bracelet-text strong {
    color: var(--accent-gold);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: white;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.45);
    width: 100%;
    justify-content: center;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752c4, #5865f2);
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.65);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-modal:hover {
    background: var(--primary-rose);
    color: white;
    transform: scale(1.1);
}

/* -------------------------------------------------------------------------- */
/* Toast & Helpers                                                            */
/* -------------------------------------------------------------------------- */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 77, 109, 0.95);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.footer {
    margin-top: 6rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.footer strong {
    color: var(--accent-gold);
}

.footer .copyright {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

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

/* -------------------------------------------------------------------------- */
/* Responsive Tweaks (Mobile, Tablet, Desktop)                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .container {
        padding: 0.8rem 1rem 4rem 1rem;
    }
    .dev-banner {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    .music-controller {
        top: auto !important;
        bottom: 1.4rem !important;
        right: 1rem !important;
        padding: 0.45rem 0.85rem 0.45rem 0.6rem !important;
        gap: 0.6rem !important;
        z-index: 9999 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 77, 109, 0.35) !important;
    }
    .music-disc {
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
    }
    .music-title {
        font-size: 0.78rem;
    }
    .music-artist {
        font-size: 0.65rem;
    }
    .music-toggle-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    .main-title {
        font-size: 2.1rem;
    }
    .accent-text {
        font-size: 2.7rem;
    }
    .hero-showcase {
        width: 230px;
        height: 310px;
    }
    .floating-badge {
        font-size: 0.72rem;
        padding: 0.4rem 0.8rem;
    }
    .badge-top { left: -5px; }
    .badge-bottom { right: -5px; }
    
    .eyes-layout {
        flex-direction: column;
        text-align: center;
    }
    .eyes-img-wrap {
        width: 100%;
        height: 180px;
    }
    .eyes-title {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-dot {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .timeline-content-flex {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .timeline-img-side {
        width: 100%;
        height: 200px;
    }

    .heartfelt-card {
        padding: 1.8rem 1.3rem;
    }
    .heartfelt-title {
        font-size: 1.35rem;
    }
    .heartfelt-quote {
        font-size: 0.98rem;
        line-height: 1.75;
    }
    .loader-title {
        font-size: 1.8rem;
    }
    .loader-subtitle {
        font-size: 0.85rem;
    }

    /* Scrapbook mobile */
    .focal-img-container {
        height: 380px;
    }
    .polaroid-focal-card {
        padding: 1.2rem 1.1rem 1.5rem 1.1rem;
        border-radius: 22px;
    }
    .focal-title {
        font-size: 1.35rem;
    }
    .focal-story {
        font-size: 1.25rem;
    }
    .nav-control-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .scrapbook-controls {
        gap: 1rem;
    }

    .shayari-container {
        grid-template-columns: 1fr;
    }
    .shayari-verses {
        font-size: 1.5rem;
    }

    .proposal-box {
        padding: 3rem 1.5rem;
    }
    .proposal-title {
        font-size: 2.1rem;
    }
    .proposal-buttons-wrap {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-proposal-yes {
        width: 100%;
        font-size: 1.1rem;
        justify-content: center;
    }

    /* Modal mobile */
    .modal-overlay {
        padding: 1.5rem 0.8rem 2.5rem 0.8rem;
    }
    .modal-content {
        padding: 2rem 1.2rem 1.8rem 1.2rem;
        max-width: 95%;
        border-radius: 22px;
    }
    .modal-portrait {
        width: 80px;
        height: 80px;
        margin-bottom: 0.8rem;
    }
    .modal-title {
        font-size: 1.3rem;
    }
    .modal-body-text {
        font-size: 0.9rem;
    }
    .bracelet-card {
        padding: 1rem 0.85rem;
        margin: 1rem 0 1.3rem 0;
    }
    .bracelet-text {
        font-size: 0.85rem;
    }
    .btn-discord {
        font-size: 0.92rem;
        padding: 0.85rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .focal-img-container {
        height: 320px;
    }
    .main-title {
        font-size: 1.85rem;
    }
    .accent-text {
        font-size: 2.3rem;
    }
    .proposal-title {
        font-size: 1.75rem;
    }
    .proposal-box {
        padding: 2.5rem 1.2rem;
    }
    .focal-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    .focal-meta {
        font-size: 0.78rem;
    }
}
