/* star1.css */
/* ==================================================
   STAR 1 CINEMATIC JOURNEY
   ================================================== */
#warp-canvas { position: absolute; inset: 0; z-index: 21; pointer-events: none; opacity: 0; transition: opacity 0.8s ease; }
#warp-canvas.active { opacity: 1; }
#warp-canvas.blurred-reading { filter: blur(2.5px) brightness(0.95); transition: filter 2s ease; }

#deep-space-nebula { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, rgba(28, 48, 110, 0.4) 0%, rgba(6, 14, 38, 0) 60%), radial-gradient(circle at 30% 70%, rgba(65, 30, 90, 0.3) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(20, 65, 110, 0.25) 0%, transparent 50%); z-index: 22; opacity: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity 2s ease; transform-origin: center; }
#deep-space-nebula.living { opacity: 1; animation: nebula-drift 60s linear infinite; }

#flash-overlay-s1 { position: absolute; inset: 0; background: #ffffff; z-index: 23; opacity: 0; pointer-events: none; transition: opacity 0.5s ease-out; }

#star-1.centering { transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), top 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important; }
#star-1.traveling { transition: transform 1.5s cubic-bezier(0.5, 0, 0.2, 1), opacity 1.2s ease-in; transform: translate(-50%, -50%) scale(80); opacity: 0 !important; pointer-events: none; z-index: 99; }
#sky-bg.blurred-reading { filter: blur(3px) brightness(0.85); transition: filter 2s ease; }

#content-scene-s1 { position: absolute; inset: 0; z-index: 25; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 1.5s ease; }
#content-scene-s1.active { opacity: 1; pointer-events: auto; }

.story-card-s1 { width: 90%; max-width: 650px; height: 85vh; overflow-y: auto; padding: 50px 40px; background: rgba(12, 22, 45, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(163, 194, 255, 0.2); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 0 25px rgba(255,255,255,0.06); scrollbar-width: none; scroll-behavior: smooth; }
.story-card-s1::-webkit-scrollbar { display: none; }

.story-title-s1 { font-family: 'Spectral', serif; font-weight: 300; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: 4px; text-align: center; margin-bottom: 40px; color: #ffffff; text-shadow: 0 0 15px rgba(163, 194, 255, 0.4); }
.story-p-s1 { font-family: 'Spectral', serif; font-weight: 300; font-size: clamp(1.05rem, 2.8vw, 1.2rem); line-height: 1.8; letter-spacing: 0.5px; margin-bottom: 30px; color: #c2d4ec; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.story-p-s1:last-of-type { font-style: italic; color: #ffffff; margin-top: 40px; text-align: center; }

.ink-word { display: inline-block; opacity: 0; filter: blur(12px); transform: scale(1.08); color: rgba(255,255,255,0.3); will-change: opacity, filter, transform, color; }
.ink-word.reveal { animation: ink-bloom 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes ink-bloom { 0% { opacity: 0; filter: blur(12px); transform: scale(1.08); color: rgba(255,255,255,0.2); } 40% { opacity: 0.7; filter: blur(4px); transform: scale(1.02); color: rgba(200, 220, 255, 0.8); } 100% { opacity: 1; filter: blur(0px); transform: scale(1); color: inherit; } }

.cta-wrapper-s1 { text-align: center; margin-top: 60px; margin-bottom: 20px; position: sticky; bottom: 16px; z-index: 3; padding-top: 16px; background: linear-gradient(to top, rgba(12, 22, 45, 0.96), rgba(12, 22, 45, 0)); }

.whisper-cta-s1 { font-family: 'Spectral', serif; font-style: italic; font-size: 0.95rem; font-weight: 400; color: #ffffff; letter-spacing: 1.6px; padding: 10px 22px; cursor: pointer; background: linear-gradient(135deg, rgba(163, 194, 255, 0.2), rgba(163, 194, 255, 0.05)); border: 1px solid rgba(163, 194, 255, 0.4); border-radius: 36px; box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.1); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.98); transition: opacity 0.45s ease, transform 0.45s ease, background 0.4s ease, box-shadow 0.4s ease; min-height: 42px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.whisper-cta-s1.reveal { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.whisper-cta-s1:hover, .whisper-cta-s1:focus-visible { background: rgba(163, 194, 255, 0.3); box-shadow: 0 6px 25px rgba(163, 194, 255, 0.4); transform: translateY(-2px) scale(1.02); outline: none; }

@media (max-width: 600px) { .story-card-s1 { padding: 40px 25px; width: 95%; height: 90vh; } .cta-wrapper-s1 { margin-top: 44px; margin-bottom: 16px; } .whisper-cta-s1 { font-size: 0.92rem; padding: 10px 18px; } }