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

:root {
  --bg: #08080c;
  --bg-soft: #101018;
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-faint: #6b6b76;
  --accent: #ff4d7a;
  --accent-2: #ff8fb1;
  --accent-3: #b98cff;
  --gold: #ffd66b;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 45%, var(--accent-3) 100%);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

#gate {
  position: fixed; inset: 0; z-index: 20000;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 77, 122, 0.16), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(185, 140, 255, 0.14), transparent 55%),
              var(--bg);
  padding: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#gate.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-box {
  width: 100%; max-width: 360px;
  text-align: center;
  padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 36px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}
.gate-box.shake { animation: gateShake 0.45s ease; }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(9px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}
.gate-heart { font-size: 2.2rem; line-height: 1; animation: heartbeat 1.4s ease-in-out infinite; margin-bottom: 10px; }
.gate-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 8px;
}
.gate-title {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.1rem); margin-bottom: 12px;
}
.gate-hint { color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; margin-bottom: 24px; }
.gate-inputs { display: flex; justify-content: center; gap: 12px; }
.gate-digit {
  width: clamp(48px, 12vw, 58px); height: clamp(56px, 14vw, 66px);
  text-align: center;
  font-size: 1.5rem; font-weight: 700; font-family: var(--font-body); color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}
.gate-digit:focus { outline: none; border-color: var(--accent); transform: translateY(-2px); }
.gate-error {
  min-height: 1.4em; margin-top: 18px;
  color: var(--accent); font-size: 0.85rem; font-style: italic;
  opacity: 0; transition: opacity 0.3s ease;
}
.gate-error.show { opacity: 1; }

#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-heart {
  font-size: 3rem;
  line-height: 1;
  animation: heartbeat 1.1s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.25); }
  40% { transform: scale(0.95); }
  60% { transform: scale(1.15); }
}

#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 122, 0.16) 0%, rgba(255, 77, 122, 0) 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
#cursor-glow.active { opacity: 1; }
@media (pointer: coarse) { #cursor-glow { display: none; } }

#dot-nav {
  position: fixed;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
#dot-nav.visible { opacity: 1; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  display: block;
}
.dot:hover { background: rgba(255, 255, 255, 0.6); }
.dot.active { background: var(--accent); transform: scale(1.5); }
@media (max-width: 900px) { #dot-nav { display: none; } }

#ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}
.blob-1 {
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -15%; left: -10%;
  animation: drift1 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 45vw; height: 45vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  bottom: -15%; right: -10%;
  animation: drift2 22s ease-in-out infinite alternate;
}
.blob-3 {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: 40%; left: 55%;
  opacity: 0.2;
  animation: drift3 14s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(6%, 8%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-8%, -6%) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-10%, 10%) scale(0.9); } }

#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 40;
  display: flex; align-items: center;
  background: rgba(8, 8, 12, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}
#site-header.scrolled {
  background: rgba(8, 8, 12, 0.65);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--glass-border);
}
#site-header.hide { transform: translateY(-100%); }
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.header-logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.5s var(--ease);
}
#site-header.scrolled .header-logo { opacity: 1; transform: translateY(0); }

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-inner--narrow { max-width: 760px; }
.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 6vw, 80px);
  line-height: 1.1;
}

.reveal { opacity: 0; transform: translateY(40px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-side { opacity: 0; transform: translateX(-60px) rotate(-2deg); }
.reveal-side--right { transform: translateX(60px) rotate(2deg); }
.reveal-pop { opacity: 0; transform: scale(0.82); }
.title-word { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(3deg); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-side, .reveal-pop { opacity: 1 !important; transform: none !important; }
  .title-word { opacity: 1 !important; transform: none !important; }
}

#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

#hearts-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 0.15em;
  margin-bottom: 24px;
  padding-bottom: 0.08em;
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  clip-path: inset(0 100% 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-title { clip-path: inset(0 0% 0 0); }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 56px;
}

.counter {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  flex-wrap: wrap;
  opacity: 0;
}
.counter.is-visible { opacity: 1; }
.counter-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: clamp(14px, 2vw, 22px) clamp(12px, 2.4vw, 26px);
  min-width: 76px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.counter-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.counter-value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-top: 4px;
}
.counter-caption {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-style: italic;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  z-index: 2;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: var(--glass-border);
}
.timeline-progress {
  position: absolute;
  left: 20px; top: 0;
  width: 2px;
  background: var(--gradient);
  height: 0%;
  transition: height 0.2s linear;
}
.timeline-item {
  position: relative;
  padding: 0 0 56px 60px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 12px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 77, 122, 0.08);
}
.timeline-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.timeline-title {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-text {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

@media (min-width: 900px) {
  .timeline::before, .timeline-progress { left: 50%; margin-left: -1px; }
  .timeline-item { width: 50%; padding: 0 0 80px 0; }
  .timeline-item:nth-child(odd) { padding-right: 60px; text-align: right; margin-left: 0; }
  .timeline-item:nth-child(even) { padding-left: 60px; margin-left: 50%; }
  .timeline-item:nth-child(odd) .timeline-dot { right: -9px; left: auto; }
  .timeline-item:nth-child(even) .timeline-dot { left: -9px; }
  .timeline-item:nth-child(odd) .timeline-text { margin-left: auto; }
  .timeline-item:nth-child(odd) .story-bubble-wrap,
  .timeline-item:nth-child(odd) .tg-chat { margin-left: auto; }
  .timeline-item:nth-child(odd) .story-bubble { align-self: flex-end; }
  .timeline-item:nth-child(odd) .story-bubble.thought { margin-left: 0; margin-right: 24px; }
  .timeline-item:nth-child(odd) .chat-bubble-row.from-b { margin-left: auto; margin-right: 0; flex-direction: row-reverse; }
}

.story-bubble-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}
.story-bubble {
  position: relative;
  align-self: flex-start;
  padding: 14px 18px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
}
.story-bubble-label {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.story-bubble.quote {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.story-bubble.thought {
  margin-left: 24px;
  background: transparent;
  border: 1.5px dashed var(--glass-border);
  color: var(--text-dim);
}
.story-bubble.thought::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px dashed var(--glass-border);
  background: var(--bg-soft);
}

.tg-chat {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
}
.chat-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
}
.chat-bubble-row.from-a { flex-direction: row-reverse; margin-left: auto; }
.chat-bubble-row.from-b { margin-right: auto; }
.chat-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chat-avatar.a { background: var(--gradient); }
.chat-avatar.b { background: linear-gradient(135deg, var(--accent-3), var(--gold)); }
.chat-bubble {
  position: relative;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.chat-bubble-row.from-a .chat-bubble { background: var(--gradient); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble-row.from-b .chat-bubble { background: var(--glass); border: 1px solid var(--glass-border); border-bottom-left-radius: 4px; }
.chat-read { display: block; text-align: right; font-size: 0.62rem; opacity: 0.8; margin-top: 4px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.gallery-item:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--text-faint);
  border: 1px dashed var(--glass-border);
  text-align: center;
  padding: 12px;
}
.gallery-placeholder .icon { font-size: 1.6rem; opacity: 0.6; }
.gallery-placeholder .hint { font-size: 0.7rem; line-height: 1.4; }

#gallery-reveal {
  position: relative;
  height: 0;
  display: none;
}
#gallery-reveal.active { height: 220vh; display: block; }

#gallery { padding-bottom: clamp(32px, 5vw, 64px); }
#videos { padding-top: clamp(40px, 6vw, 90px); }
.reveal-pin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reveal-pin-img-wrap {
  position: relative;
  width: min(44vw, 260px);
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  will-change: transform;
}
.reveal-pin-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.reveal-pin-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
}
.reveal-pin-caption {
  position: absolute;
  bottom: clamp(28px, 6vw, 64px);
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  #gallery-reveal.active { height: auto; }
  .reveal-pin-stage { position: relative; height: auto; padding: 60px 0; }
  .reveal-pin-caption { opacity: 1; position: static; margin-top: 18px; color: var(--text); text-shadow: none; }
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

.video-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.35s ease;
}
.video-play::after {
  content: "";
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  transition: transform 0.35s var(--ease);
}
.video-play::before {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
  margin-left: 6px;
  z-index: 1;
}
.video-card:hover .video-play { background: rgba(0,0,0,0.15); }
.video-card:hover .video-play::after { transform: scale(1.1); }
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.quiz-progress {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.quiz-progress-track {
  height: 3px;
  background: var(--glass-border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.5s var(--ease);
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 5vw, 40px) 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, opacity 0.3s ease;
}
.quiz-option:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.quiz-option:active { transform: scale(0.96); }
.quiz-option .emoji { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.quiz-option .emoji img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.quiz-option .label { font-weight: 600; font-size: 0.95rem; }
.quiz-option.selected { border-color: var(--accent); background: rgba(255, 77, 122, 0.12); }
.quiz-option.faded { opacity: 0.35; transform: scale(0.97); }
.quiz-option[disabled], .quiz-option.locked { pointer-events: none; }

.quiz-comment {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease);
}
.quiz-comment.show { opacity: 1; transform: translateY(0); }

.quiz-next {
  display: block;
  margin: 26px auto 0;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease), filter 0.3s ease;
}
.quiz-next.show { opacity: 1; transform: translateY(0); }
.quiz-next:hover { filter: brightness(1.1); }

.quiz-final { text-align: center; }
.quiz-final .quiz-final-score {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.quiz-final .quiz-final-message { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 24px; }
.quiz-replay {
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.quiz-replay:hover { border-color: var(--accent-2); transform: translateY(-2px); }

.forever-avatar {
  display: block;
  width: clamp(88px, 20vw, 128px);
  height: clamp(88px, 20vw, 128px);
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 12px 24px rgba(255, 77, 122, 0.25));
}
.forever-avatar.pop { animation: avatarPop 0.4s var(--ease); }
@keyframes avatarPop {
  0% { transform: scale(0.85) rotate(-4deg); }
  50% { transform: scale(1.12) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.forever-question {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 8px;
}
.forever-stage {
  position: relative;
  min-height: clamp(240px, 46vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.forever-btn {
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  transition: transform 0.15s var(--ease);
}
.forever-yes {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 122, 0.35);
}
.forever-yes:hover { transform: scale(1.06); }
.forever-yes:active { transform: scale(0.96); }
.forever-no {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
}
.forever-no.dodging { position: absolute; }

.forever-taunt {
  text-align: center;
  margin-top: 18px;
  min-height: 1.4em;
  color: var(--accent-2);
  font-size: 0.92rem;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.forever-taunt.show { opacity: 1; }

.forever-reveal {
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s var(--ease);
  pointer-events: none;
}
.forever-reveal.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.forever-reveal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 2.8rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.forever-reveal-text { color: var(--text-dim); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

.confetti-burst { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetti-heart { position: absolute; left: 50%; top: 50%; font-size: 1.4rem; will-change: transform, opacity; }

.letter-body { display: flex; flex-direction: column; gap: 22px; }
.letter-paragraph {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.65;
  color: var(--text-dim);
}
.letter-paragraph .word { display: inline-block; opacity: 0.15; transition: opacity 0.4s ease; }
.letter-paragraph .word.lit { opacity: 1; color: var(--text); }
.letter-signature {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-2);
}

#site-footer {
  text-align: center;
  padding: 60px 24px 48px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.footer-heart { margin-top: 10px; animation: heartbeat 1.6s ease-in-out infinite; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(4, 4, 8, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 78vh;
  border-radius: 12px;
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox.open img { transform: scale(1); }
#lightbox-caption { margin-top: 18px; color: var(--text-dim); font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.16); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 1rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.6rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.3rem; }
}

.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 4, 8, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 24px;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal video {
  max-width: min(92vw, 1000px);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

@media (max-width: 600px) {
  #dot-nav { display: none; }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3.4rem); }
}
