@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   REASONS WHY I LOVE YOU - COMPONENT STYLES
   Template: Reasons Why I Love You ❤️
   ========================================================================== */

:root {
    --rw-crimson: #e11d48;
    --rw-rose-deep: #be123c;
    --rw-wine: #881337;
    --rw-rose-soft: rgba(225, 29, 72, 0.12);
    --rw-rose-glow: rgba(225, 29, 72, 0.28);
    --rw-cream: #fffdf9;
    --rw-paper: #fbf7ee;
    --rw-gold: #f59e0b;
    --rw-gold-glow: rgba(245, 158, 11, 0.35);
    --rw-text-main: #2b1118;
    --rw-text-muted: #6b4c55;
    --rw-border: rgba(225, 29, 72, 0.18);
    --rw-radius-sm: 8px;
    --rw-radius-md: 16px;
    --rw-radius-lg: 24px;
}

#reasonsKeepsakeContainer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 15%, #2a0814 0%, #150309 60%, #0c0105 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    padding: 24px 16px 80px 16px;
    box-sizing: border-box;
}

#rwAmbientCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.rw-experience-wrap {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 120px);
    justify-content: center;
}

/* Floating Top Audio Bar */
.rw-top-audio-bar {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rw-audio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(42, 8, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--rw-border);
    border-radius: 30px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.rw-audio-pill:hover {
    background: rgba(225, 29, 72, 0.25);
    border-color: var(--rw-crimson);
    transform: scale(1.03);
}

.rw-audio-pill .audio-disc-icon {
    font-size: 1rem;
    display: inline-block;
    animation: rwSpinDisc 4s linear infinite;
    animation-play-state: paused;
}

.rw-audio-pill.playing .audio-disc-icon {
    animation-play-state: running;
}

.rw-btn-change-song-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(225, 29, 72, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(225, 29, 72, 0.45);
    border-radius: 30px;
    color: #fda4af;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.rw-btn-change-song-pill:hover {
    background: rgba(225, 29, 72, 0.45);
    border-color: #fb7185;
    color: #fff;
    transform: scale(1.04);
}

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

/* Step Progress Dots */
.rw-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    z-index: 5;
}

.rw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rw-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--rw-crimson);
    box-shadow: 0 0 12px var(--rw-crimson);
}

.rw-dot.completed {
    background: rgba(225, 29, 72, 0.65);
}

/* Step Sections */
.rw-step {
    width: 100%;
    display: none;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rw-step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: rwFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rwFadeInUp {
    0% { opacity: 0; transform: translateY(18px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Romantic Card Container */
.rw-card {
    background: rgba(255, 253, 249, 0.05);
    border: 1px solid rgba(225, 29, 72, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--rw-radius-lg);
    padding: 36px 24px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Glow Orb behind cards */
.rw-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.rw-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Typography & Elements */
.rw-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--rw-rose-soft);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.35);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rw-hero-heart {
    font-size: 3.6rem;
    display: inline-block;
    margin-bottom: 16px;
    animation: rwHeartPulse 1.8s infinite ease-in-out;
    filter: drop-shadow(0 0 18px rgba(225, 29, 72, 0.65));
}

@keyframes rwHeartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}

.rw-quote-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.rw-quote-sub {
    font-size: 1.05rem;
    color: #fecdd3;
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 400;
}

.rw-cursive-name {
    font-family: 'Caveat', cursive;
    font-size: 2.3rem;
    color: #fb7185;
    display: inline-block;
    margin: 0 4px;
    line-height: 1;
}

/* Dedicated Music Dedication Box */
.rw-music-dedication-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(225, 29, 72, 0.28);
    border-radius: 16px;
    padding: 12px 18px;
    margin: 6px auto 26px auto;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.rw-music-dedication-box:hover {
    border-color: rgba(225, 29, 72, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.rw-music-box-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.rw-music-disc-visual {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d48, #881337);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
    flex-shrink: 0;
}

.rw-music-details {
    min-width: 0;
    flex: 1;
}

.rw-music-tag {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #fda4af;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.rw-music-track-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.rw-music-track-artist {
    font-size: 0.76rem;
    color: #fecdd3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.rw-btn-choose-song {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    transition: all 0.2s ease;
}

.rw-btn-choose-song:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

@media (max-width: 480px) {
    .rw-music-dedication-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }
    .rw-music-box-left {
        justify-content: center;
        text-align: left;
    }
    .rw-btn-choose-song {
        justify-content: center;
        width: 100%;
    }
}

/* Primary Romantic Action Buttons */
.rw-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.rw-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 26px rgba(225, 29, 72, 0.6);
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.rw-btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.rw-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fecdd3;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rw-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ==========================================================================
   STEP 4: REASONS CAROUSEL (ONE BY ONE)
   ========================================================================== */
.rw-reasons-container {
    width: 100%;
}

.rw-reason-progress-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fda4af;
    letter-spacing: 0.06em;
}

.rw-progress-bar-bg {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    margin-bottom: 22px;
    overflow: hidden;
}

.rw-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e11d48, #f43f5e);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.8);
}

.rw-reason-viewport {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rw-reason-card {
    background: #fffdf9;
    color: var(--rw-text-main);
    border-radius: var(--rw-radius-md);
    padding: 30px 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ebd7d9;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.rw-reason-num-badge {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #e11d48;
    line-height: 1;
    margin-bottom: 12px;
    display: inline-block;
    border-bottom: 2px solid #ffe4e6;
    padding-bottom: 4px;
}

.rw-reason-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1c060d;
    margin-bottom: 12px;
    line-height: 1.3;
}

.rw-reason-desc {
    font-size: 0.98rem;
    color: #4a2c34;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Optional Reason Polaroid Photo */
.rw-reason-photo-wrap {
    width: 100%;
    margin-top: 14px;
    background: #ffffff;
    padding: 8px 8px 18px 8px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid #e8ded4;
    transform: rotate(-1.5deg);
    position: relative;
}

.rw-reason-photo-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.rw-reason-photo-tape {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 16px;
    background: rgba(225, 29, 72, 0.45);
    border-left: 2px dashed rgba(255, 255, 255, 0.5);
    border-right: 2px dashed rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* Reasons Controls */
.rw-reasons-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
    width: 100%;
}

.rw-nav-btn {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.rw-creator-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    width: 100%;
}

.rw-btn-tool {
    background: rgba(225, 29, 72, 0.18);
    border: 1px solid rgba(225, 29, 72, 0.4);
    color: #fda4af;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rw-btn-tool:hover {
    background: var(--rw-crimson);
    color: #fff;
}

/* ==========================================================================
   STEP 5: MEMORY POLAROID CARDS
   ========================================================================== */
.rw-memories-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin-top: 20px;
}

.rw-polaroid-card {
    background: #ffffff;
    color: #2b1118;
    padding: 12px 12px 22px 12px;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid #ebdcd5;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rw-polaroid-card:nth-child(even) {
    transform: rotate(1.2deg);
}

.rw-polaroid-card:nth-child(odd) {
    transform: rotate(-1.2deg);
}

.rw-polaroid-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.rw-polaroid-tape {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: rgba(245, 158, 11, 0.55);
    border-left: 2px dashed rgba(255, 255, 255, 0.6);
    border-right: 2px dashed rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.rw-polaroid-img-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f5ebe6;
    border-radius: 2px;
    position: relative;
}

.rw-polaroid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rw-btn-polaroid-cam {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(28, 6, 13, 0.82);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.rw-btn-polaroid-cam:hover {
    background: var(--rw-crimson);
}

.rw-polaroid-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    text-align: center;
}

.rw-polaroid-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9f1239;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rw-polaroid-caption {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    font-weight: 600;
    color: #1e0910;
    line-height: 1.25;
}

/* ==========================================================================
   STEP 6: 3 HIDDEN REASONS (ENVELOPE / SECRET SEALS)
   ========================================================================== */
.rw-hidden-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.rw-secret-card {
    background: rgba(255, 253, 249, 0.06);
    border: 1.5px dashed rgba(225, 29, 72, 0.35);
    border-radius: var(--rw-radius-md);
    padding: 20px;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rw-secret-card:hover {
    border-color: var(--rw-crimson);
    background: rgba(225, 29, 72, 0.12);
    transform: translateY(-2px);
}

.rw-secret-card.unsealed {
    border-style: solid;
    border-color: rgba(225, 29, 72, 0.5);
    background: rgba(42, 8, 20, 0.8);
}

.rw-secret-card.gold-secret {
    border-color: rgba(245, 158, 11, 0.4);
}

.rw-secret-card.gold-secret:hover {
    border-color: var(--rw-gold);
    background: rgba(245, 158, 11, 0.12);
}

.rw-secret-card.gold-secret.unsealed {
    border-color: var(--rw-gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.rw-secret-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffe4e6;
}

.rw-secret-seal-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.rw-secret-card:hover .rw-secret-seal-icon {
    transform: scale(1.15) rotate(5deg);
}

.rw-secret-hint {
    font-size: 0.76rem;
    color: #fda4af;
    margin-top: 4px;
    font-weight: 500;
}

.rw-secret-body {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
    animation: rwExpandText 0.4s ease forwards;
}

.rw-secret-card.unsealed .rw-secret-body {
    display: block;
}

.rw-secret-card.unsealed .rw-secret-hint {
    display: none;
}

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

/* ==========================================================================
   STEP 7: PERSONAL HANDWRITTEN LETTER
   ========================================================================== */
.rw-letter-stationery {
    background: #fffdf9;
    color: var(--rw-text-main);
    border-radius: var(--rw-radius-md);
    padding: 38px 24px 32px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 0 60px rgba(230, 215, 200, 0.25);
    border: 1px solid #ebd8ce;
    position: relative;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.rw-letter-postage {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 62px;
    border: 1.5px dashed var(--rw-crimson);
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--rw-crimson);
    transform: rotate(3deg);
}

.rw-letter-postage span { font-size: 1.2rem; }

.rw-letter-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a040b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.rw-letter-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: #3b1d25;
    line-height: 1.85;
    white-space: pre-wrap;
    margin-bottom: 26px;
}

.rw-letter-signoff-wrap {
    text-align: right;
    margin-top: 20px;
    border-top: 1px dashed rgba(225, 29, 72, 0.2);
    padding-top: 16px;
}

.rw-letter-signoff {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    color: var(--rw-crimson);
    font-weight: 700;
    display: block;
}

.rw-letter-sender {
    font-family: 'Caveat', cursive;
    font-size: 2.1rem;
    color: #1a040b;
    font-weight: 700;
    display: block;
    line-height: 1;
}

/* ==========================================================================
   STEP 8: FINAL REVEAL (SLOW, EMOTIONAL FINALE)
   ========================================================================== */
.rw-final-slow-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.rw-final-line-1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: #fda4af;
    font-style: italic;
    opacity: 0;
    animation: rwFadeInUp 1s ease forwards 0.2s;
}

.rw-final-line-2 {
    font-size: 1.05rem;
    color: #fecdd3;
    line-height: 1.6;
    max-width: 380px;
    opacity: 0;
    animation: rwFadeInUp 1s ease forwards 1s;
}

.rw-final-huge-heart {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin: 14px 0;
    text-shadow: 0 0 25px rgba(225, 29, 72, 0.7);
    opacity: 0;
    animation: rwFadeInUp 1.2s ease forwards 1.8s;
}

.rw-final-huge-heart span {
    color: #fb7185;
}

.rw-final-line-3 {
    font-size: 1.15rem;
    color: #ffe4e6;
    opacity: 0;
    animation: rwFadeInUp 1s ease forwards 2.6s;
}

.rw-final-choose {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fda4af;
    opacity: 0;
    animation: rwFadeInUp 1.2s ease forwards 3.3s;
}

.rw-final-always {
    font-family: 'Caveat', cursive;
    font-size: 3.2rem;
    color: #fb7185;
    font-weight: 700;
    margin-top: 6px;
    opacity: 0;
    animation: rwFadeInUp 1.4s ease forwards 4.1s;
}

.rw-final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin: 32px auto 0 auto !important;
    opacity: 0;
    animation: rwFadeInUp 1s ease forwards 4.8s;
}

.rw-final-actions .rw-btn-primary,
.rw-final-actions .rw-btn-ghost {
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

/* Universal Inline Edit Highlighting */
#reasonsKeepsakeContainer .editable-text {
    outline: none;
    transition: background 0.2s ease, outline 0.2s ease;
    border-radius: 4px;
}

#reasonsKeepsakeContainer .editable-text[contenteditable="true"]:hover {
    outline: 1px dashed rgba(225, 29, 72, 0.5);
    background: rgba(225, 29, 72, 0.08);
}

#reasonsKeepsakeContainer .editable-text[contenteditable="true"]:focus {
    outline: 2px solid var(--rw-crimson);
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   VIEWER MODE OVERRIDES (PURE IMMERSIVE CARD FOR RECIPIENT)
   ========================================================================== */
.viewer-mode #reasonsKeepsakeContainer .rw-creator-tools,
.viewer-mode #reasonsKeepsakeContainer .rw-btn-polaroid-cam,
.viewer-mode #reasonsKeepsakeContainer .rw-btn-tool,
.viewer-mode #reasonsKeepsakeContainer .rw-btn-change-song-pill,
.viewer-mode #reasonsKeepsakeContainer .rw-btn-choose-song {
    display: none !important;
}

.viewer-mode #reasonsKeepsakeContainer .editable-text {
    outline: none !important;
    background: transparent !important;
    cursor: default !important;
    user-select: auto;
}

@media (max-width: 480px) {
    #reasonsKeepsakeContainer {
        padding: 16px 12px 60px 12px;
    }

    .rw-card {
        padding: 28px 18px;
    }

    .rw-quote-title {
        font-size: 1.6rem;
    }

    .rw-reason-card {
        padding: 24px 18px;
    }

    .rw-letter-stationery {
        padding: 28px 16px 24px 16px;
    }

    .rw-letter-body {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .rw-final-huge-heart {
        font-size: 2.3rem;
    }

    .rw-final-choose {
        font-size: 1.5rem;
    }

    .rw-final-always {
        font-size: 2.7rem;
    }
}
