/* ==========================================================================
   "I BET YOU DIDN'T SEE THIS COMING" - ROMANTIC CONFESSION
   Sender: Sanjero | Recipient: Ayden
   Aesthetic: Warm, candlelit romantic, mature, modern, clean, personal
   Palette: Deep Warm Charcoal (#161315), Warm Surface (#1E1519),
            Warm Cream (#F5F2EB), Muted Taupe (#A89895),
            Deep Burgundy (#6B3038), Dusty Wine (#8C4A50)
   Typography: Inter (Clean, Modern, Understated Elegance)
   ========================================================================== */

:root {
    --bg-deep: #0E090B;
    --bg-main: #161315;
    --bg-surface: #1E1519;
    --bg-surface-hover: #261B20;
    --bg-letter: #FAF6EE;
    --text-primary: #F5F2EB;
    --text-romantic: #A89895;
    --text-subtle: #706260;
    --text-letter: #2A1C20;
    --accent-wine: #6B3038;
    --accent-wine-hover: #8C4A50;
    --border-subtle: rgba(245, 242, 235, 0.09);
    --border-card: rgba(245, 242, 235, 0.16);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.4);
    --shadow-deep: 0 25px 50px rgba(0, 0, 0, 0.55);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    font-size: 16px;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-main);
    background: radial-gradient(circle at 50% 15%, #24171D 0%, #161315 60%, #0E090B 100%);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient soft background glow */
.ambient-glow {
    position: fixed;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(107, 48, 56, 0.15) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

/* Container */
.experience-container {
    width: 100%;
    max-width: 640px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .experience-container {
        padding: 1.25rem 1rem;
    }
}

/* ==========================================================================
   SCENE ENGINE & CARD PRESENTATION
   ========================================================================== */
.scene {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.scene.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Base Scene Card */
.scene-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-deep);
    position: relative;
}

@media (max-width: 480px) {
    .scene-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Scene Header with working Back Button */
.scene-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(245, 242, 235, 0.07);
}

.btn-back {
    background: transparent;
    border: 1px solid rgba(245, 242, 235, 0.14);
    color: var(--text-romantic);
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-back:hover {
    background-color: rgba(245, 242, 235, 0.06);
    color: var(--text-primary);
    border-color: rgba(245, 242, 235, 0.3);
}

.btn-back:active {
    transform: scale(0.96);
}

.scene-indicator {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-subtle);
}

/* ==========================================================================
   SCENE 1: ASYMMETRIC STAGGERED HERO (DYNAMIC EDITORIAL - BREAK "RATA KIRI")
   ========================================================================== */
.opening-asymmetric {
    min-height: 78vh;
    min-height: 78dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem 3rem;
    background: radial-gradient(ellipse at 75% 20%, rgba(140, 74, 80, 0.22) 0%, rgba(26, 17, 21, 0.98) 55%, #120B0E 100%);
    border: 1px solid rgba(245, 242, 235, 0.12);
    border-radius: 12px;
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .opening-asymmetric {
        padding: 2.25rem 1.4rem;
        min-height: 70vh;
        min-height: 70dvh;
    }
}

/* Ambient glow accent */
.opening-asymmetric::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 140, 150, 0.5), transparent);
    pointer-events: none;
}

/* Top Strip: Left pill vs Right meta */
.asym-top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 242, 235, 0.07);
}

.asym-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(107, 48, 56, 0.3);
    border: 1px solid rgba(140, 74, 80, 0.4);
    padding: 0.35rem 0.95rem;
    border-radius: 100px;
}

.asym-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E28C96;
    box-shadow: 0 0 10px #E28C96;
    animation: warmPulse 2.5s infinite ease-in-out;
}

@keyframes warmPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.asym-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FAF2EC;
}

.asym-meta {
    font-size: 0.78rem;
    color: #8F7E7B;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Staggered Dynamic Headline (Break Rata Kiri) */
.asym-headline-wrap {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.headline-row {
    display: flex;
    width: 100%;
}

.headline-row.row-left {
    justify-content: flex-start;
    text-align: left;
}

.headline-row.row-center {
    justify-content: center;
    text-align: center;
    padding-left: 2rem;
}

.headline-row.row-right {
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 600px) {
    .headline-row.row-center {
        padding-left: 1rem;
    }
}

.headline-word {
    font-size: clamp(2.7rem, 7.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #FFFDF9;
    display: inline-block;
}

.word-highlight {
    color: #E28C96;
    text-shadow: 0 0 35px rgba(226, 140, 150, 0.4);
    position: relative;
}

/* Lower Section: Balanced Offset Split */
.asym-lower-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: flex-end;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 242, 235, 0.08);
}

@media (max-width: 600px) {
    .asym-lower-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

.asym-note-col {
    max-width: 440px;
}

.asym-lead {
    font-size: 1.22rem;
    font-weight: 500;
    color: #FAF2EC;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.asym-sub {
    font-size: 1.02rem;
    color: #B09F9C;
    line-height: 1.6;
    font-weight: 400;
}

.asym-action-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 600px) {
    .asym-action-col {
        align-items: flex-start;
        text-align: left;
    }
}

.btn-asym-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #843943 0%, #5C232A 100%);
    color: #FFFDF9;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 1.25rem 2.6rem;
    min-height: 56px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 30px rgba(107, 48, 56, 0.45);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-asym-start:hover {
    background: linear-gradient(135deg, #96424D 0%, #702B33 100%);
    box-shadow: 0 14px 40px rgba(140, 74, 80, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.btn-asym-start:active {
    transform: scale(0.98);
}

.asym-author {
    font-size: 0.85rem;
    color: #8F7E7B;
    font-weight: 500;
    margin-top: 0.75rem;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   3:2 ASPECT RATIO PHOTO FRAME (Above Questions)
   ========================================================================== */
.question-photo-frame {
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 270px;
    background-color: #171114;
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-3-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.96) contrast(1.02);
    transition: filter 0.25s ease;
}

.question-photo-frame:hover .photo-3-2 {
    filter: brightness(1.01) contrast(1.03);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.headline {
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.question-title {
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (max-width: 480px) {
    .question-title {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
}

.photo-reveal-title,
.discovery-title {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    color: #FFFDF9;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-size: 0.85rem;
    color: var(--text-romantic);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.body-text {
    font-size: 1.05rem;
    font-weight: 400;
}

.text-romantic {
    color: var(--text-romantic);
}

/* ==========================================================================
   UNIFIED QUESTION OPTION CARDS (SCENES 2, 3, 4)
   ========================================================================== */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.option-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.05rem 1.35rem;
    background-color: #241A1F;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.98rem;
    font-weight: 400;
    text-align: left;
    transition: all 0.2s ease;
    user-select: none;
}

.option-card:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--border-card);
    color: #FFFDF9;
    transform: translateX(3px);
}

.option-card:active {
    transform: scale(0.99);
}

.option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 242, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-card:hover .option-radio {
    border-color: var(--accent-wine-hover);
}

.option-card.selected {
    background-color: #2D1E25;
    border-color: var(--accent-wine-hover);
    color: #FFFDF9;
}

.option-card.selected .option-radio {
    border-color: var(--accent-wine-hover);
    background-color: var(--accent-wine-hover);
    box-shadow: inset 0 0 0 3px #241A1F;
}

.option-text {
    flex: 1;
    line-height: 1.4;
}

/* ==========================================================================
   DYNAMIC INTERACTIVE REPLY CARD
   ========================================================================== */
.interactive-reply {
    background-color: #241A1F;
    border: 1px solid rgba(107, 48, 56, 0.4);
    border-left: 3px solid var(--accent-wine);
    border-radius: 6px;
    padding: 1.4rem 1.5rem;
    margin-top: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    animation: replyFadeIn 0.3s var(--ease-out) forwards;
}

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

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.reply-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--accent-wine);
    color: #FFFDF9;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reply-sender {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-romantic);
    text-transform: lowercase;
}

.reply-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFDF9;
    margin-bottom: 0.2rem;
}

.reply-sub {
    font-size: 0.95rem;
    color: var(--text-romantic);
    font-weight: 400;
}

.reply-action {
    margin-top: 1.25rem;
    display: flex;
}

.reply-action .btn {
    width: 100%;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.95rem 1.75rem;
    min-height: 48px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-wine);
    color: #FFFDF9;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(107, 48, 56, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-wine-hover);
    box-shadow: 0 6px 20px rgba(140, 74, 80, 0.4);
    transform: translateY(-1px);
}

.action-group {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.3s var(--ease-out) forwards;
}

.action-group.hidden {
    display: none;
}

/* ==========================================================================
   SCENE 5: KEEPSAKE POCKET SLIDE PHOTO
   ========================================================================== */
.photo-reveal-card {
    text-align: center;
}

.keepsake-frame {
    width: 100%;
    max-width: 330px;
    margin: 1.5rem auto 2rem auto;
    cursor: pointer;
    user-select: none;
}

.keepsake-pocket {
    position: relative;
    width: 100%;
    height: 430px;
    background-color: #171114;
    border: 1px solid var(--border-card);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.hidden-note-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #FAF6EE;
    color: var(--text-letter);
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.note-text {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.45;
    color: #24181C;
    margin-bottom: 1.5rem;
}

.note-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-wine);
}

.sliding-photo-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #241A1F;
    border-radius: 6px;
    padding: 12px 12px 16px 12px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: transform 0.65s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.photo-matting {
    flex: 1;
    background-color: #161013;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.98) contrast(1.02);
}

.photo-ribbon-bar {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.photo-caption {
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFDF9;
}

.interaction-hint {
    font-size: 0.76rem;
    color: var(--text-romantic);
    font-weight: 500;
}

.keepsake-pocket.pulled-out .sliding-photo-layer {
    transform: translateY(-82%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   SCENE 6: SINCERE CONFESSION (2 PARAGRAPHS)
   ========================================================================== */
.letter-card {
    padding: 2.75rem 2.25rem;
}

.letter-paper {
    background-color: var(--bg-letter);
    color: var(--text-letter);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 1rem 0 1.5rem 0;
}

@media (max-width: 480px) {
    .letter-paper {
        padding: 1.75rem 1.25rem;
    }
}

.letter-body {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.letter-paragraph {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #24181C;
    text-align: left;
    font-weight: 400;
}

.letter-paragraph.highlight-paragraph {
    font-size: 1.2rem;
    color: #1A0D11;
    font-weight: 500;
    border-left: 2px solid var(--accent-wine);
    padding-left: 1.1rem;
}

@media (max-width: 480px) {
    .letter-paragraph {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    .letter-paragraph.highlight-paragraph {
        font-size: 1.1rem;
    }
}

.letter-sign-off {
    margin-top: 1.8rem;
    text-align: right;
}

.sign-off-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-wine);
}

/* ==========================================================================
   SCENE 7: SECOND PHOTO (ROMANTIC FOCUS ILLUMINATION)
   ========================================================================== */
.memory-scene-card {
    text-align: center;
}

.romantic-photo-holder {
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 1.75rem auto;
    cursor: pointer;
    user-select: none;
}

.photo-glow-border {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    padding: 8px;
    background-color: #241A1F;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-deep);
    transition: all 0.3s ease;
}

.romantic-photo-holder:hover .photo-glow-border {
    border-color: rgba(140, 74, 80, 0.4);
}

.romantic-photo-holder.illuminated .photo-glow-border {
    border-color: var(--accent-wine-hover);
    box-shadow: 0 0 35px rgba(107, 48, 56, 0.35);
}

.romantic-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    filter: brightness(0.94) contrast(1.02);
    transition: all 0.4s ease;
}

.romantic-photo-holder.illuminated .romantic-img {
    filter: brightness(1.03) contrast(1.02);
}

.touch-invite {
    margin-top: 0.85rem;
}

.touch-text {
    font-size: 0.82rem;
    color: var(--text-romantic);
    font-weight: 500;
}

.memory-box {
    text-align: center;
    background-color: #241A1F;
    border-radius: 6px;
    border: 1px solid rgba(107, 48, 56, 0.35);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.memory-line.lead-line {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-romantic);
}

.memory-line.emphasis-line {
    font-size: 1.9rem;
    font-weight: 700;
    color: #FFFDF9;
    letter-spacing: -0.02em;
    margin: 0.3rem 0;
}

.memory-line.truth-line {
    font-size: 1.05rem;
    color: #FAF5F0;
}

/* ==========================================================================
   SCENE 8: FINAL PROPOSAL ("PAS NEMBAK" - ATMOSPHERIC, SINCERE CLIMAX)
   ========================================================================== */
.proposal-view {
    background: radial-gradient(circle at 50% 10%, rgba(107, 48, 56, 0.28) 0%, rgba(30, 21, 25, 0.98) 55%, #150F13 100%);
    border: 1px solid rgba(245, 242, 235, 0.14);
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 0 60px rgba(107, 48, 56, 0.16);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .proposal-view {
        padding: 2.25rem 1.25rem;
    }
}

.proposal-content {
    max-width: 480px;
    margin: 0 auto;
}

.proposal-lead-in {
    margin: 1rem 0 2.5rem 0;
}

.proposal-sentence {
    font-size: 1.15rem;
    color: #B3A4A1;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 0.35rem;
}

.proposal-pause {
    height: 1.6rem;
}

.proposal-sentence.proposal-emphasis {
    font-size: 1.45rem;
    font-weight: 600;
    color: #FFFDF9;
    letter-spacing: -0.01em;
}

.proposal-climax-frame {
    margin: 2.5rem auto 3rem auto;
    padding: 2.25rem 1.5rem;
    background: rgba(22, 15, 19, 0.75);
    border: 1px solid rgba(245, 242, 235, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 40px rgba(107, 48, 56, 0.18);
}

.final-proposal-question {
    font-size: clamp(2.5rem, 6.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #FFFDF9;
    text-transform: lowercase;
    text-shadow: 0 4px 24px rgba(107, 48, 56, 0.45);
}

.proposal-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 380px;
    margin: 0 auto 2.5rem auto;
}

.btn-decision-yes {
    width: 100%;
    padding: 1.25rem 2rem;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    min-height: 56px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7E363F 0%, #5B242A 100%);
    color: #FFFDF9;
    border: 1px solid rgba(245, 242, 235, 0.25);
    box-shadow: 0 8px 26px rgba(107, 48, 56, 0.45);
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-decision-yes:hover {
    background: linear-gradient(135deg, #943F4A 0%, #6E2A32 100%);
    box-shadow: 0 12px 32px rgba(140, 74, 80, 0.6);
    transform: translateY(-2px);
}

.btn-decision-yes:active {
    transform: scale(0.98);
}

.btn-decision-no {
    width: 100%;
    padding: 1.1rem 1.8rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    min-height: 52px;
    border-radius: 6px;
    background-color: transparent;
    color: #A89895;
    border: 1px solid rgba(245, 242, 235, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-decision-no:hover {
    background-color: rgba(245, 242, 235, 0.05);
    color: #FFFDF9;
    border-color: rgba(245, 242, 235, 0.3);
}

.btn-decision-no:active {
    transform: scale(0.98);
}

.proposal-outcome {
    background: rgba(28, 18, 23, 0.92);
    border: 1px solid rgba(245, 242, 235, 0.16);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    margin: 1.5rem auto 2.5rem auto;
    max-width: 440px;
    box-shadow: var(--shadow-deep);
    animation: fadeIn 0.45s ease;
}

.outcome-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFDF9;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.outcome-desc {
    font-size: 1.05rem;
    color: #C7B7B4;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.outcome-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-wine);
    color: #FFFDF9;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.outcome-link:hover {
    background: var(--accent-wine-hover);
}

.proposal-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 242, 235, 0.06);
}

.proposal-credit {
    font-size: 0.85rem;
    color: var(--text-subtle);
    letter-spacing: 0.04em;
}

/* ==========================================================================
   FALLBACK PLACEHOLDERS & TOAST
   ========================================================================== */
.fallback-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #241A1F;
    color: var(--text-primary);
    padding: 1.25rem;
    text-align: center;
}

.placeholder-tag {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-wine-hover);
    letter-spacing: 0.04em;
}

.placeholder-monogram {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-wine-hover);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.placeholder-caption {
    font-size: 0.88rem;
    color: var(--text-romantic);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #261B20;
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 0.95rem 1.6rem;
    border-radius: 4px;
    font-size: 0.92rem;
    box-shadow: var(--shadow-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
    z-index: 200;
    max-width: 90vw;
    text-align: center;
}

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

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   FLOATING BACKGROUND MUSIC CONTROLLER
   ========================================================================== */
.music-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(26, 17, 21, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 140, 150, 0.28);
    border-radius: 100px;
    padding: 0.55rem 1rem 0.55rem 0.85rem;
    color: #FAF2EC;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
}

.music-toggle:hover {
    background: rgba(42, 24, 31, 0.96);
    border-color: rgba(226, 140, 150, 0.55);
    box-shadow: 0 12px 35px rgba(107, 48, 56, 0.45);
    transform: translateY(-2px);
}

.music-toggle:active {
    transform: scale(0.96);
}

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    width: 14px;
}

.eq-bar {
    width: 2.5px;
    background-color: #E28C96;
    border-radius: 1px;
    height: 3px;
    transition: height 0.2s ease, opacity 0.2s ease;
    opacity: 0.55;
}

/* When playing: animated equalizer rhythm */
.music-toggle.playing .eq-bar {
    opacity: 1;
    animation: eqPulse 1.2s ease-in-out infinite alternate;
}

.music-toggle.playing .bar-1 {
    animation-delay: 0s;
    height: 11px;
}

.music-toggle.playing .bar-2 {
    animation-delay: 0.35s;
    height: 14px;
}

.music-toggle.playing .bar-3 {
    animation-delay: 0.18s;
    height: 8px;
}

@keyframes eqPulse {
    0% { height: 3px; }
    50% { height: 14px; }
    100% { height: 5px; }
}

.music-label {
    color: #FAF2EC;
    transition: color 0.2s ease;
}

.music-toggle.playing .music-label {
    color: #FFFDF9;
}

@media (max-width: 480px) {
    .music-toggle {
        bottom: 1.15rem;
        right: 1.15rem;
        padding: 0.45rem 0.85rem 0.45rem 0.75rem;
        font-size: 0.72rem;
    }
}

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