/* Romantic Editorial Theme for Soud & Aliyaah */
:root {
    --bg-primary: #fff8f9;
    --bg-secondary: #fdf0f3;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --rose: #c94a6a;
    --rose-deep: #9e2a4b;
    --rose-soft: #f6d5de;
    --gold: #cfa170;
    --text-main: #352028;
    --text-muted: #725560;
    --border-soft: rgba(201, 74, 106, 0.16);
    --shadow-soft: 0 18px 45px rgba(158, 42, 75, 0.08);
    --shadow-card: 0 12px 30px rgba(53, 32, 40, 0.07);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-lg: 24px;
    --radius-md: 18px;
    --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.candlelight {
    --bg-primary: #1a1016;
    --bg-secondary: #261520;
    --surface: rgba(42, 24, 34, 0.88);
    --surface-strong: #2f1b27;
    --rose: #e97592;
    --rose-deep: #ff9cb5;
    --rose-soft: rgba(233, 117, 146, 0.22);
    --gold: #e4b889;
    --text-main: #fdf2f5;
    --text-muted: #d4b8c2;
    --border-soft: rgba(255, 156, 181, 0.22);
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.38);
    --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.32);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
}

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

button {
    font-family: inherit;
}

/* Ambient Floating Background */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.glow-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(201, 74, 106, 0.25), transparent 70%);
}

.glow-orb-2 {
    width: 380px;
    height: 380px;
    bottom: 5%;
    left: -100px;
    background: radial-gradient(circle, rgba(207, 161, 112, 0.22), transparent 70%);
}

.hearts-container {
    position: absolute;
    inset: 0;
}

.floating-heart {
    position: absolute;
    bottom: -40px;
    opacity: 0;
    animation: floatUp linear infinite;
    user-select: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.85) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 0.35;
    }
    85% {
        opacity: 0.28;
    }
    100% {
        transform: translateY(-110vh) scale(1.1) rotate(24deg);
        opacity: 0;
    }
}

/* Top Bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.brand-pill {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rose-deep);
    box-shadow: var(--shadow-card);
}

.top-actions {
    display: flex;
    gap: 0.6rem;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 1.15rem;
    text-decoration: none;
    color: inherit;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--rose);
}

.icon-btn.active {
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
}

/* Layout Helpers */
main {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-pad {
    padding: 4.2rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 2.8rem;
}

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--rose-deep);
    line-height: 1.15;
    margin-bottom: 0.55rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Hero Section */
.hero {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 0.65rem;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(3.6rem, 8vw, 5.6rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--rose-deep);
    margin-bottom: 1.1rem;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.9rem 1.85rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    border: none;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    box-shadow: 0 10px 25px rgba(158, 42, 75, 0.28);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(158, 42, 75, 0.36);
}

.ghost-btn {
    border: 1px solid var(--border-soft);
    background: var(--surface);
    color: var(--rose-deep);
}

.ghost-btn:hover {
    border-color: var(--rose);
    transform: translateY(-2px);
}

/* Polaroid & Photo Frame System */
.hero-frame-wrap {
    display: flex;
    justify-content: center;
}

.polaroid {
    background: var(--surface-strong);
    padding: 1rem 1rem 1.35rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    width: 100%;
    max-width: 440px;
    transform: rotate(1.5deg);
    transition: var(--transition);
}

.polaroid:hover {
    transform: rotate(0deg) translateY(-4px);
}

.polaroid-caption {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.9rem;
}

.photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(201, 74, 106, 0.08), rgba(207, 161, 112, 0.14));
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.photo-frame.awaiting-photo img {
    display: none;
}

.photo-frame.has-photo .photo-placeholder {
    display: none;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.4rem;
    border: 1.5px dashed rgba(201, 74, 106, 0.35);
    border-radius: 16px;
    gap: 0.45rem;
}

.placeholder-icon {
    font-size: 2rem;
}

.placeholder-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rose-deep);
}

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

.placeholder-hint code {
    background: var(--rose-soft);
    color: var(--rose-deep);
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
}

/* Couple Showcase */
.couple-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.couple-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.avatar-frame {
    width: 150px;
    height: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px solid var(--rose-soft);
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 24px rgba(158, 42, 75, 0.14);
}

.avatar-frame .photo-placeholder {
    border-radius: 50%;
    padding: 0.75rem;
}

.avatar-frame .placeholder-icon {
    font-size: 1.5rem;
}

.avatar-frame .placeholder-title {
    font-size: 0.98rem;
}

.avatar-frame .placeholder-hint {
    font-size: 0.68rem;
}

.couple-card h3 {
    font-family: var(--font-script);
    font-size: 2.3rem;
    font-weight: 400;
    color: var(--rose-deep);
    margin-bottom: 0.4rem;
}

.couple-card p {
    font-size: 0.94rem;
    color: var(--text-muted);
    max-width: 280px;
}

.tap-hint {
    margin-top: 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.heart-bridge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bridge-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
}

.bridge-heart {
    color: var(--rose);
    animation: heartbeat 1.8s ease-in-out infinite;
}

.heart-svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 6px 14px rgba(201, 74, 106, 0.3));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.14); }
    45% { transform: scale(1); }
    65% { transform: scale(1.1); }
}

/* Journey Banner */
.journey-banner {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.8rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.journey-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--rose-deep);
    margin-bottom: 1rem;
}

.journey-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.timer-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.timer-unit {
    min-width: 96px;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.timer-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--rose-deep);
}

.timer-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* Tangled / Rapunzel Spotlight Section */
.tangled-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.4rem;
    background: linear-gradient(135deg, #2b1838 0%, #442357 52%, #592b56 100%);
    color: #fff7eb;
    border: 1px solid rgba(245, 199, 107, 0.32);
    box-shadow: 0 24px 55px rgba(43, 24, 56, 0.24);
}

.lantern-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(245, 199, 107, 0.24), transparent 36%),
        radial-gradient(circle at 86% 78%, rgba(245, 199, 107, 0.2), transparent 40%),
        radial-gradient(circle at 65% 18%, rgba(233, 117, 146, 0.18), transparent 35%);
}

.tangled-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
}

.tangled-frame {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    border: 3px solid rgba(245, 199, 107, 0.5);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 0 28px rgba(245, 199, 107, 0.18);
}

.tangled-copy .section-kicker {
    color: #f6ca72;
}

.tangled-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.15;
    color: #fff6e6;
    margin-bottom: 0.75rem;
}

.tangled-quote {
    font-family: var(--font-script);
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    color: #f6ca72;
    margin-bottom: 1rem;
}

.tangled-copy p {
    color: rgba(255, 247, 235, 0.9);
    font-size: 0.98rem;
    margin-bottom: 1.65rem;
}

.lantern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2b1838;
    background: linear-gradient(135deg, #fbd582, #e59d3c);
    box-shadow: 0 10px 26px rgba(245, 199, 107, 0.32);
    transition: var(--transition);
}

.lantern-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 32px rgba(245, 199, 107, 0.46);
}

/* Real Floating Tangled Sky Lanterns */
.lantern-sky {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 350;
    overflow: hidden;
    transition: background 0.8s ease;
}

.lantern-sky.active {
    background: radial-gradient(circle at 50% 85%, rgba(255, 185, 76, 0.14), rgba(32, 16, 48, 0.22) 70%);
}

.sky-lantern {
    position: absolute;
    bottom: -160px;
    left: 0;
    width: var(--lantern-size, 56px);
    height: auto;
    opacity: 0;
    will-change: transform, opacity;
    filter: drop-shadow(0 0 14px rgba(255, 186, 66, 0.72)) drop-shadow(0 0 32px rgba(255, 138, 36, 0.45));
    animation: riseLantern var(--rise-duration, 10s) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--rise-delay, 0s) forwards;
}

.sky-lantern svg {
    display: block;
    width: 100%;
    height: auto;
}

.sky-lantern .lantern-flame {
    transform-origin: center bottom;
    animation: flickerFlame 1.4s ease-in-out infinite alternate;
}

@keyframes riseLantern {
    0% {
        transform: translate3d(0, 0, 0) rotate(var(--tilt-start, -2deg)) scale(var(--lantern-scale, 1));
        opacity: 0;
    }
    8% {
        opacity: var(--lantern-opacity, 0.95);
    }
    35% {
        transform: translate3d(calc(var(--drift-x, 24px) * 0.45), -40vh, 0) rotate(var(--tilt-mid, 2.5deg)) scale(var(--lantern-scale, 1));
    }
    70% {
        transform: translate3d(calc(var(--drift-x, 24px) * -0.35), -82vh, 0) rotate(var(--tilt-start, -2deg)) scale(var(--lantern-scale, 1));
        opacity: var(--lantern-opacity, 0.95);
    }
    100% {
        transform: translate3d(var(--drift-x, 24px), -125vh, 0) rotate(var(--tilt-end, 3deg)) scale(calc(var(--lantern-scale, 1) * 0.88));
        opacity: 0;
    }
}

@keyframes flickerFlame {
    0% {
        opacity: 0.82;
        transform: scaleY(0.95);
    }
    100% {
        opacity: 1;
        transform: scaleY(1.08);
    }
}

/* Memories Gallery */
.memories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.memory-card {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 0.9rem 0.9rem 1.4rem;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    color: inherit;
    display: flex;
    flex-direction: column;
}

.memory-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: var(--rose);
}

.memory-card:hover .photo-frame img {
    transform: scale(1.04);
}

.memory-card .photo-frame {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.memory-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.memory-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--rose-deep);
    margin-bottom: 0.4rem;
}

.memory-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    border-color: var(--rose);
}

.reason-icon {
    font-size: 2rem;
    margin-bottom: 0.85rem;
}

.reason-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--rose-deep);
    margin-bottom: 0.5rem;
}

.reason-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Interactive Panels */
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.glass-panel h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--rose-deep);
    margin-bottom: 1.4rem;
}

.love-meter {
    position: relative;
    height: 36px;
    background: var(--rose-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.meter-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--rose), var(--rose-deep), var(--gold));
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.love-percentage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.panel-caption {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.kiss-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.kiss-count {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--rose-deep);
}

.kiss-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.kiss-particle {
    position: absolute;
    font-size: 1.5rem;
    animation: burstUp 1.5s ease-out forwards;
}

@keyframes burstUp {
    0% {
        transform: translateY(0) scale(0.7);
        opacity: 1;
    }
    100% {
        transform: translateY(-90px) scale(1.25);
        opacity: 0;
    }
}

/* Younger Me Section */
.younger-me-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.4rem;
    box-shadow: var(--shadow-soft);
}

.younger-me-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 2.5rem;
    align-items: center;
}

.younger-photo-wrap {
    display: flex;
    justify-content: center;
}

.younger-polaroid {
    max-width: 340px;
    transform: rotate(-1.5deg);
}

.younger-frame {
    aspect-ratio: 1 / 1;
}

.younger-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    line-height: 1.15;
    color: var(--rose-deep);
    margin-bottom: 0.65rem;
}

.younger-quote {
    font-family: var(--font-script);
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    color: var(--rose);
    margin-bottom: 1rem;
}

.younger-body p {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-bottom: 1rem;
}

.younger-body p:last-child {
    margin-bottom: 1.5rem;
}

/* Our Song Section */
.song-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.6rem 2.2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    max-width: 780px;
    margin: 0 auto;
}

.song-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--rose-deep);
    margin-bottom: 0.45rem;
}

.song-track-title {
    font-family: var(--font-script);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    color: var(--rose);
    line-height: 1.2;
}

.song-artist {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.song-note {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 0.55rem;
}

.song-embed-wrap {
    margin: 1.6rem 0;
}

.song-embed-wrap iframe {
    width: 100%;
    border-radius: 14px;
    border: 0;
}

.song-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

/* Secret Envelope / Love Letter */
.envelope-wrapper {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.envelope-btn {
    position: relative;
    width: 260px;
    height: 170px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1.35rem;
    transition: var(--transition);
    overflow: hidden;
}

.envelope-btn:hover {
    transform: translateY(-5px);
    border-color: var(--rose);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    background: linear-gradient(135deg, var(--rose-soft), rgba(207, 161, 112, 0.25));
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.wax-seal {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 6px 18px rgba(158, 42, 75, 0.35);
}

.envelope-cta {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--rose-deep);
}

.letter-card {
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
    animation: fadeInCard 0.6s ease forwards;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.letter-greeting {
    font-family: var(--font-script);
    font-size: 2.3rem;
    color: var(--rose-deep);
    margin-bottom: 1.3rem;
}

.letter-body p {
    font-family: var(--font-display);
    font-size: 1.32rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.15rem;
}

.letter-signoff {
    margin-top: 2rem;
    text-align: right;
}

.letter-signoff p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.letter-signature {
    font-family: var(--font-script) !important;
    font-style: normal !important;
    font-size: 2.4rem !important;
    color: var(--rose-deep) !important;
}

.spotify-wrap {
    margin-top: 2rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2.5rem 1.5rem 3.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal Lightbox */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 15, 0.72);
    backdrop-filter: blur(8px);
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-card {
    position: relative;
    background: var(--surface-strong);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    padding: 1.4rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-soft);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface-strong);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
}

.modal-photo-frame {
    aspect-ratio: auto;
    max-height: 60vh;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-photo-frame img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    object-position: center;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--rose-deep);
    margin-bottom: 0.45rem;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* Toast Notification */
.love-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 24px);
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 500;
    box-shadow: 0 14px 30px rgba(158, 42, 75, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 600;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.love-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .couple-showcase {
        grid-template-columns: 1fr;
    }

    .tangled-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .younger-me-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .memories-grid {
        grid-template-columns: 1fr;
    }

    .heart-bridge {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .section-pad {
        padding: 3rem 0;
    }

    .tangled-card {
        padding: 2rem 1.35rem;
    }

    .younger-me-card {
        padding: 2rem 1.35rem;
    }

    .letter-card {
        padding: 2rem 1.35rem;
    }
}
