/* envelope.css */
/* ==================================================
   ORIGINAL 3D FROSTED PAPER ENVELOPE
   ================================================== */
.envelope-wrapper { position: absolute; top: 50%; left: 50%; margin-top: 20px; width: var(--env-width); max-width: 90vw; height: var(--env-height); z-index: 25; opacity: 0; transform: translate(-50%, -50%) scale(var(--env-start-scale)); pointer-events: none; perspective: 1500px; }
.scene.envelope-revealing .envelope-wrapper { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity var(--env-duration) ease-out, transform var(--env-duration) cubic-bezier(0.2, 0.8, 0.2, 1); }
.scene.envelope-settled .envelope-wrapper { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.envelope-wrapper.dissolve-envelope { opacity: 0 !important; transform: translate(-50%, -50%) scale(1.3) !important; transition: all 1s ease-in-out !important; pointer-events: none !important; }

.envelope-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; cursor: grab; }
.envelope-card:active { cursor: grabbing; }

.env-face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; background: rgba(240, 245, 255, 0.08); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 15px 40px rgba(0, 0, 0, 0.6); }
.envelope-card.opened .env-face { overflow: visible !important; }

.env-front { transform: rotateY(0deg); }
.env-back { transform: rotateY(180deg); flex-direction: column; padding: 24px; justify-content: center; }

.paper-noise { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.3; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: inherit; }
.env-flap { position: absolute; top: 0; left: 0; width: 100%; height: 55%; clip-path: polygon(0 0, 100% 0, 50% 100%); z-index: 10; background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent); border-bottom: 1px solid rgba(255,255,255,0.2); }
.envelope-card.opened .env-flap { transform: rotateX(180deg); transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1); z-index: 10; pointer-events: none; }

.wax-seal { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; z-index: 11; transition: transform 0.2s ease; background: #fdfbf7; border: 1px solid rgba(255,255,255,0.8); box-shadow: inset 0 -2px 6px rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.4); cursor: pointer;}
.wax-seal:hover { transform: translate(-50%, -50%) scale(1.15); }
.scene.envelope-settled .wax-seal { animation: wax-pulse var(--env-pulse) infinite ease-in-out; }
.envelope-card.opened .wax-seal { opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: all 0.5s ease; pointer-events: none; }
@keyframes wax-pulse { 0%, 100% { box-shadow: inset 0 -2px 6px rgba(0,0,0,0.2), 0 0 5px rgba(253, 251, 247, 0.4); filter: brightness(1); } 50% { box-shadow: inset 0 -2px 6px rgba(0,0,0,0.2), 0 0 20px 4px rgba(253, 251, 247, 0.8); filter: brightness(1.2); } }

.env-scribble { position: absolute; top: 45%; left: 15%; font-family: "Comic Sans MS", cursive, sans-serif; font-size: 1.1rem; color: rgba(255,255,255,0.7); transform: rotate(-5deg); z-index: 5; }
.env-stamp { position: absolute; top: 30px; right: 20px; width: 35px; height: 45px; border: 1px solid rgba(200, 160, 255, 0.4); border-radius: 2px; background: rgba(200, 160, 255, 0.1); z-index: 5; transform: rotate(3deg); display: flex; flex-direction: column; align-items: center; padding: 3px; }
.stamp-inner { width: 100%; height: 60%; background: rgba(200, 160, 255, 0.2); margin-top: 2px; position: relative; }
.stamp-inner::after { content: '❁'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.6); font-size: 14px; }
.env-doodles { position: absolute; bottom: 15px; left: 15px; width: 40px; height: 50px; border-left: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid transparent; border-radius: 0 0 0 15px; z-index: 5; }
.env-doodles::after { content: '♡'; position: absolute; top: -10px; left: -8px; color: rgba(255,255,255,0.5); font-size: 16px; transform: rotate(-15deg); }

.back-content { position: relative; z-index: 5; color: rgba(255,255,255,0.9); font-family: "Brush Script MT", "Lucida Handwriting", cursive; font-size: 1.1rem; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hw-title { margin-bottom: 12px; }
.hw-address-block { margin-bottom: 15px; text-align: left; line-height: 1.4; }
.hw-pin { letter-spacing: 1px; margin-bottom: auto; }
.hw-sender { text-align: right; margin-top: 15px; width: 100%; }

.directional-guide { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity 0.8s ease; z-index: 15; color: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; width: 100%; }
.directional-guide.visible { opacity: 1; }
.guide-c-text { display: block; font-family: cursive; font-size: 0.9rem; opacity: 0.6; animation: drift-h 3s infinite alternate ease-in-out; }
@keyframes drift-h { 0% { transform: translateX(-5px); } 100% { transform: translateX(5px); } }

/* ==================================================
   PURE GLOWING ARROW HINT OVERLAY
   ================================================== */
.flip-hint-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; z-index: 30; }
.flip-hint-overlay.visible { opacity: 1; }
.flip-hint-text { font-family: cursive; font-size: 0.85rem; color: #ffffff; text-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(200, 220, 255, 0.6); opacity: 0.9; letter-spacing: 2px; }
.glowing-arrow { width: 22px; height: 22px; border-top: 4px solid #ffffff; border-left: 4px solid #ffffff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1)) drop-shadow(0 0 15px rgba(200, 220, 255, 0.8)); }
.flip-hint-overlay.visible .glowing-arrow { animation: glow-swipe-left 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes glow-swipe-left { 0% { transform: translateX(15px) rotate(-45deg); opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(-20px) rotate(-45deg); opacity: 0; } }
.flip-hint-overlay.reverse-hint .glowing-arrow { animation: glow-swipe-right 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes glow-swipe-right { 0% { transform: translateX(-15px) rotate(135deg); opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(20px) rotate(135deg); opacity: 0; } }

/* ==================================================
   MULTI-NOTE SYSTEM & LUXURY STATIONERY
   ================================================== */
.notes-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 4; clip-path: inset(-500% -20% 45% -20%); pointer-events: none; }
.note-stack-bg { position: absolute; top: 15%; left: 5%; width: 90%; height: 150%; background: #E8E0D5; border-radius: 4px; border-top: 1px solid rgba(255,255,255,0.6); box-shadow: inset 0 0 20px rgba(180, 190, 220, 0.15), 0 -2px 10px rgba(0,0,0,0.1); transition: transform 1s ease; opacity: 0; }
.envelope-card.opened .note-stack-bg { opacity: 1; }
.envelope-card.opened .stack-1 { transform: translateY(0px) scale(0.96) rotate(-1deg); z-index: 1; }
.envelope-card.opened .stack-2 { transform: translateY(4px) scale(0.94) rotate(1.5deg); z-index: 2; }
.envelope-card.opened .stack-3 { transform: translateY(8px) scale(0.92) rotate(-0.5deg); z-index: 3; }

.love-note { position: absolute; top: 12%; left: 5%; width: 90%; height: 160%; background: linear-gradient(135deg, #F9F6F0 0%, #EAE3D8 100%); border-radius: 4px 4px 6px 6px; border-top: 1px solid rgba(255,255,255,0.95); border-left: 1px solid rgba(255,255,255,0.7); border-right: 1px solid rgba(200, 210, 230, 0.3); box-shadow: 0 -15px 40px rgba(0,0,0,0.45), 0 -2px 15px rgba(200, 220, 255, 0.25), inset 0 0 40px rgba(170, 190, 220, 0.12), inset 0 0 8px rgba(100, 80, 70, 0.05); transform: translateY(100%) rotate(-3deg); pointer-events: auto; display: flex; flex-direction: column; z-index: 5; overflow: hidden; will-change: transform; }
.love-note.revealed { animation: note-emerge 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes note-emerge { 0% { transform: translateY(100%) rotate(-3deg); } 70% { transform: translateY(-112%) rotate(0.5deg); } 100% { transform: translateY(-110%) rotate(0deg); } }
.love-note.dismissed { animation: note-drift-away 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; pointer-events: none; }
@keyframes note-drift-away { 0% { transform: translateY(-110%) rotate(0deg); opacity: 1; filter: blur(0px); } 100% { transform: translateY(-135%) rotate(3deg); opacity: 0; filter: blur(5px); } }

.scene.envelope-settled .envelope-wrapper.reading-mode { transform: translate(-50%, 22vh) scale(0.95); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }

.note-moonlight-wash { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(220, 235, 255, 0.15) 0%, transparent 35%); }
.note-paper-texture { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.35; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }

.note-content-inner { position: relative; z-index: 3; padding: 35px 28px 25px 28px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.note-greeting { font-family: 'Georgia', 'Times New Roman', serif; font-size: 1.35rem; color: #2C2621; font-style: italic; margin-bottom: 15px; letter-spacing: 0.5px; text-shadow: 0 1px 1px rgba(255,255,255,0.6); }

.note-body-wrapper { position: relative; flex-grow: 1; overflow: hidden; display: flex; flex-direction: column; -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%); mask-image: linear-gradient(to bottom, black 85%, transparent 100%); transition: -webkit-mask-image 0.5s ease, mask-image 0.5s ease; }
.note-body-wrapper.scrolled-bottom { -webkit-mask-image: linear-gradient(to bottom, black 100%, black 100%); mask-image: linear-gradient(to bottom, black 100%, black 100%); }
.note-body { font-family: 'Georgia', 'Times New Roman', serif; font-size: 0.95rem; color: #332D28; line-height: 1.7; white-space: pre-wrap; padding-right: 5px; padding-bottom: 30px; flex-grow: 1; overflow-y: auto; min-height: 0; touch-action: pan-y; text-shadow: 0 1px 1px rgba(255,255,255,0.4); scrollbar-width: none; -ms-overflow-style: none; }
.note-body::-webkit-scrollbar { display: none; }
.note-suspense { font-family: 'Georgia', 'Times New Roman', serif; font-size: 1.1rem; color: #5A3A3A; font-style: italic; text-align: center; margin-top: 0px; margin-bottom: 0px; padding: 0px; position: relative; }

.note-edge-cue { position: absolute; bottom: 18px; right: 28px; font-family: 'Brush Script MT', 'Lucida Handwriting', cursive; font-size: 0.9rem; color: #8B7366; opacity: 0.8; pointer-events: none; transition: opacity 0.8s ease; z-index: 10; }
.note-edge-cue.hidden { opacity: 0; }
.note-actions { position: relative; margin-top: 0px; padding-top: 0px; padding-bottom: 0px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.note-tap-hint { font-family: 'Brush Script MT', 'Lucida Handwriting', cursive; font-size: 1.15rem; font-weight: bold; color: #8C8C8C; text-align: center; cursor: pointer; pointer-events: auto; transition: color 0.3s ease; transform-origin: center center; animation: text-breathe 3s infinite ease-in-out; line-height: 1; }
.note-tap-hint:hover { color: #555555; }
.note-tap-hint.locked { opacity: 0.2; pointer-events: none; animation: none; filter: grayscale(1); }
@keyframes text-breathe { 
    0%, 100% { transform: scale(1); opacity: 0.7; text-shadow: 0 0 2px rgba(255, 255, 255, 0.2); } 
    50% { transform: scale(1.12); opacity: 1; text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(200, 220, 255, 0.5); } 
}
.note-helper-cta { font-family: 'Spectral', 'Georgia', serif; font-size: 0.85rem; color: #8C8C8C; font-style: italic; letter-spacing: 1px; pointer-events: none; animation: note-helper-bounce 2s infinite ease-in-out; opacity: 0.8; }
.photo-helper-cta { text-align: center; width: 100%; margin-bottom: 8px; transition: opacity 0.4s ease; }
.photo-helper-cta.hidden { opacity: 0; pointer-events: none; animation: none; }
.action-helper-cta { margin-bottom: 2px; }
@keyframes note-helper-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); color: #555; } }

.keepsake-photos { display: flex; justify-content: center; gap: 15px; margin: 25px 0; padding: 10px; }
.keepsake-thumb { position: relative; width: 110px; height: 130px; background: #FDFCF9; padding: 6px 6px 20px 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08); transform: rotate(var(--rot)) translateZ(0); cursor: pointer; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; will-change: transform; }
.keepsake-thumb:hover { transform: rotate(calc(var(--rot) * 0.5)) scale(1.05) translateY(-5px) !important; box-shadow: 0 10px 25px rgba(0,0,0,0.15), 0 5px 10px rgba(0,0,0,0.1); z-index: 10; }
.keepsake-thumb.viewed { opacity: 0.85; box-shadow: 0 2px 5px rgba(0,0,0,0.08); transform: rotate(calc(var(--rot) * 1.2)) scale(0.98); }
.keepsake-thumb.viewed::after { content: '♡'; position: absolute; bottom: 3px; right: 8px; font-size: 10px; color: #8C8C8C; opacity: 0.5; }
.thumb-inner { width: 100%; height: 100%; background: #EAE3D8; overflow: hidden; }
.thumb-inner img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) contrast(0.95); }
.note-closing-text { font-family: 'Georgia', 'Times New Roman', serif; font-size: 0.95rem; color: #332D28; line-height: 1.7; text-align: center; margin-top: 10px; white-space: pre-wrap; }

/* Cinematic Viewer for photos */
.cinematic-viewer { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.cinematic-viewer.active { pointer-events: auto; opacity: 1; }
.cinematic-backdrop { position: absolute; inset: 0; background: rgba(12, 8, 5, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cinematic-image-wrapper { position: relative; z-index: 2; max-width: 85vw; max-height: 80vh; padding: 10px; background: #FDFCF9; box-shadow: 0 20px 50px rgba(0,0,0,0.5); opacity: 0; filter: blur(20px); transform: scale(1.1); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.cinematic-viewer.active .cinematic-image-wrapper { opacity: 1; filter: blur(0px); transform: scale(1) rotate(-1deg); }
.cinematic-image { display: block; max-width: 100%; max-height: calc(80vh - 20px); object-fit: contain; }
.cinematic-hint { position: absolute; bottom: 5vh; z-index: 2; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: rgba(255,255,255,0.6); font-size: 0.85rem; letter-spacing: 2px; opacity: 0; transform: translateY(10px); transition: all 0.8s ease 0.4s; }
.cinematic-viewer.active .cinematic-hint { opacity: 1; transform: translateY(0); }

/* Magical Reveal Text */
.magical-reveal-container { margin-top: 30px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 24px; }
.magical-line { font-family: 'Georgia', 'Times New Roman', serif; font-size: 1.05rem; color: #4A3A35; line-height: 1.6; text-align: center; margin: 0; opacity: 0; filter: blur(12px); transform: translateY(18px) scale(0.96); transition: opacity 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: opacity, filter, transform; }
.magical-line.revealed { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }

/* Note Finale Threshold */
.finale-layout { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; flex-grow: 1; padding-bottom: 10px; box-sizing: border-box; }
.finale-text-wrapper { flex-grow: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.finale-main-text { font-family: 'Georgia', 'Times New Roman', serif; font-size: clamp(1.1rem, 4.5vw, 1.35rem); color: #2C2621; line-height: 1.8; text-align: center; max-width: 95%; margin: 0; opacity: 0; filter: blur(20px); transform: translateY(25px) scale(0.95); }
.love-note.revealed .finale-main-text { animation: finale-morph-reveal 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.2s; }
@keyframes finale-morph-reveal { 0% { opacity: 0; filter: blur(20px); transform: translateY(25px) scale(0.95); } 40% { opacity: 1; filter: blur(0px); transform: translateY(-2px) scale(1.01); } 100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); } }
.magical-cta { margin-top: auto; flex-shrink: 0; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; font-size: 1.15rem; color: #7A6A63; letter-spacing: 2px; cursor: pointer; padding: 15px 25px; opacity: 0; pointer-events: none; transform: translateY(10px); }
.love-note.revealed .magical-cta { animation: cta-soft-emerge 2s ease-out forwards 3.5s, cta-moonlight-shimmer 4s ease-in-out infinite 5.5s; }
@keyframes cta-soft-emerge { 0% { opacity: 0; transform: translateY(10px); pointer-events: none; } 100% { opacity: 0.85; transform: translateY(0); pointer-events: auto; } }
@keyframes cta-moonlight-shimmer { 0%, 100% { opacity: 0.85; text-shadow: 0 0 0px rgba(255, 255, 255, 0); transform: scale(1); } 50% { opacity: 1; text-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 25px rgba(200, 220, 255, 0.5); transform: scale(1.04); color: #4A3A35; } }
.magical-cta:hover { color: #2C2621; text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(200, 220, 255, 0.8); transition: all 0.4s ease; }

.finale-sanctuary { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: 30px 20px; box-sizing: border-box; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.finale-sanctuary::-webkit-scrollbar { display: none; }
.finale-poem { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; margin-top: auto; margin-bottom: 40px; opacity: 0; filter: blur(15px); transform: translateY(15px) scale(0.96); }
.love-note.revealed .finale-poem { animation: poem-materialize 3.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s; }
@keyframes poem-materialize { 0% { opacity: 0; filter: blur(15px); transform: translateY(15px) scale(0.96); } 50% { opacity: 1; filter: blur(2px); transform: translateY(-2px) scale(1.01); } 100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); } }
.poem-line { font-family: 'Baskerville', 'Palatino Linotype', 'Georgia', serif; font-size: clamp(1.05rem, 4.5vw, 1.25rem); color: #3D342E; line-height: 1.9; text-align: center; letter-spacing: 0.5px; display: block; width: 100%; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4); }
.poem-spacer { height: 22px; display: block; }
.poem-emphasis { font-style: italic; font-size: 1.08em; color: #2A221E; letter-spacing: 0.8px; text-shadow: 0 0 8px rgba(255, 255, 255, 0.7); }

.whisper-cta { margin-top: auto; margin-bottom: 10px; font-family: 'Baskerville', 'Palatino Linotype', 'Georgia', serif; font-style: italic; font-size: 1.1rem; font-weight: bold; color: #3D342E; letter-spacing: 2px; cursor: pointer; padding: 14px 32px; background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3)); border: 1px solid rgba(140, 126, 119, 0.3); border-radius: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 0 10px rgba(255,255,255,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transform: translateY(15px); }
.love-note.revealed .whisper-cta { animation: cta-emerge 2s ease-out forwards 4.5s, cta-glow-pulse 4s ease-in-out infinite 6.5s; }
@keyframes cta-emerge { 0% { opacity: 0; transform: translateY(15px); pointer-events: none; } 100% { opacity: 0.9; transform: translateY(0); pointer-events: auto; } }
@keyframes cta-glow-pulse { 0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 0 10px rgba(255,255,255,0.6); } 50% { box-shadow: 0 4px 25px rgba(200, 220, 255, 0.4), inset 0 0 15px rgba(255,255,255,0.9); transform: scale(1.02); } }
.whisper-cta:hover { background: rgba(255,255,255,0.95); color: #1A1512; box-shadow: 0 6px 25px rgba(200, 220, 255, 0.7); transform: translateY(-2px) scale(1.02); transition: all 0.4s ease; }

@media (prefers-reduced-motion: reduce) { 
    .scene.envelope-settled .envelope-wrapper.reading-mode { transition-duration: 0.1s; }
    .love-note.revealed { animation: none; transform: translateY(-110%) rotate(0deg); }
    .love-note.dismissed { animation: none; opacity: 0; }
    .guide-c-text { animation: none !important; }
    .magical-line { filter: none !important; transform: none !important; transition: opacity 1s ease !important; }
    .finale-main-text { filter: none !important; transform: none !important; }
    .love-note.revealed .finale-main-text { animation: simple-fade 2s ease forwards 1s; }
    .love-note.revealed .magical-cta { animation: simple-fade 2s ease forwards 2.5s; }
    .finale-poem { filter: none !important; transform: none !important; }
    .love-note.revealed .finale-poem { animation: simple-fade 2s ease forwards 0.5s; }
    .love-note.revealed .whisper-cta { animation: simple-fade 2s ease forwards 2s; }
    .note-helper-cta { animation: none !important; } /* ADDED */
    @keyframes simple-fade { to { opacity: 1; pointer-events: auto; } }
}