:root {
  --bg: #f6f0ff;
  --bg-2: #e7dbff;
  --surface: rgba(255, 255, 255, 0.65);
  --accent: #b58cff;
  --accent-2: #ff9ad5;
  --accent-3: #7bd7ff;
  --text: #2b1f3f;
  --muted: #5b4c78;
  --shadow: 0 20px 45px rgba(88, 48, 140, 0.25);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, rgba(255, 154, 213, 0.22), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(123, 215, 255, 0.18), transparent 45%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(88, 48, 140, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(181, 140, 255, 0.22), transparent 45%),
    linear-gradient(-130deg, rgba(255, 154, 213, 0.18), transparent 45%);
  pointer-events: none;
  mix-blend-mode: screen;
}
body.theme-night {
  --accent: #9c7bff;
  --accent-2: #ff9ad5;
  --accent-3: #7bd7ff;
}
body.theme-breeze {
  --accent: #b08bff;
  --accent-2: #ffb3e3;
  --accent-3: #8edbff;
}
body.theme-rose {
  --accent: #c39bff;
  --accent-2: #ff9ad5;
  --accent-3: #7bd7ff;
}
body.theme-gold {
  --accent: #b58cff;
  --accent-2: #ffb0df;
  --accent-3: #8edbff;
}
body.theme-ember {
  --accent: #a980ff;
  --accent-2: #ff9ad5;
  --accent-3: #7bd7ff;
}
img {
  max-width: 100%;
}
h1, h2, h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 12px;
  letter-spacing: 0.4px;
}
a {
  text-decoration: none;
  color: inherit;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6vw 10px;
  background: linear-gradient(180deg, rgba(246, 240, 255, 0.92), rgba(246, 240, 255, 0.6), transparent);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 4px;
}
.brand-mark::before {
  left: 6px;
  transform: rotate(-35deg);
}
.brand-mark::after {
  left: 10px;
  transform: rotate(35deg);
}
.brand-text {
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a.active,
.nav-links a:hover {
  border-color: rgba(88, 48, 140, 0.2);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 25px rgba(88, 48, 140, 0.18);
}
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(88, 48, 140, 0.2);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}
.page-shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 70px 0 90px;
}
.page-shell.center-flow {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.story-shell {
  width: min(1220px, 94vw);
}
.story-cinema {
  display: grid;
  gap: 34px;
}
.memory-page {
  display: grid;
  gap: 34px;
}
.memory-hero {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
.memory-hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  line-height: 0.94;
  margin-bottom: 14px;
}
.memory-hero .muted {
  line-height: 1.75;
}
.memory-chapter {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 250, 0.76));
  border: 1px solid rgba(181, 140, 255, 0.18);
  box-shadow: 0 24px 55px rgba(88, 48, 140, 0.1);
}
.chapter-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.chapter-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}
.chapter-copy .muted {
  max-width: 34rem;
  margin: 0;
}
.chapter-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}
.memory-grid {
  display: grid;
  gap: 14px;
}
.memory-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.memory-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.memory-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(27, 18, 42, 0.82);
  box-shadow: 0 18px 35px rgba(29, 18, 52, 0.14);
}
.memory-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.memory-shot-wide {
  grid-column: span 2;
}
.memory-shot-tall {
  grid-row: span 2;
}
.home-shell {
  padding-top: 44px;
}
.center-flow {
  padding-top: 40px;
}
.center-flow .section {
  width: min(640px, 92vw);
}
.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.home-hero-copy {
  padding: 20px 0;
}
.home-hero-copy h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.7rem);
  line-height: 0.95;
  max-width: 9ch;
  margin-bottom: 18px;
}
.home-hero-copy .muted {
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.home-love-note {
  position: relative;
  padding: 26px 26px 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(255, 239, 247, 0.92));
  border: 1px solid rgba(214, 124, 170, 0.22);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(120, 71, 135, 0.14);
  overflow: hidden;
}
.home-love-note::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 211, 0.55), transparent 70%);
}
.home-love-note h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  max-width: 12ch;
}
.home-love-note p:last-child {
  line-height: 1.65;
  max-width: 28rem;
}
.love-note-top {
  display: inline-flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.love-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.home-route {
  position: relative;
}
.home-head {
  text-align: center;
  margin-bottom: 28px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.route-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  border: 1px solid rgba(88, 48, 140, 0.12);
  box-shadow: 0 18px 35px rgba(88, 48, 140, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.route-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(181, 140, 255, 0), rgba(181, 140, 255, 0.45), rgba(181, 140, 255, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(88, 48, 140, 0.16);
  border-color: rgba(181, 140, 255, 0.26);
}
.route-card:hover::after {
  opacity: 1;
}
.route-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.route-card-wide {
  grid-column: span 2;
}
.route-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(181, 140, 255, 0.18), rgba(255, 154, 213, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
}
.glow-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 181, 107, 0.6), transparent 70%);
  top: -80px;
  right: -80px;
  filter: blur(10px);
  animation: floatSlow 12s ease-in-out infinite;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}
.muted {
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #161616;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.counter {
  margin-top: 16px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.section {
  margin-top: 60px;
}
.section-head {
  margin-bottom: 22px;
}
.center-flow .section-head {
  text-align: center;
}
.center-flow .unlock-card {
  width: min(520px, 92vw);
  margin: 0 auto;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 232, 255, 0.92));
  border: 1px solid rgba(181, 140, 255, 0.32);
  box-shadow: 0 30px 70px rgba(88, 48, 140, 0.16);
  position: relative;
  overflow: hidden;
}
.center-flow .unlock-card::before {
  content: "";
  position: absolute;
  inset: -40% 10% auto 10%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 154, 213, 0.4), transparent 65%);
  opacity: 0.8;
}
.center-flow .unlock-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 50%;
  background: radial-gradient(circle, rgba(181, 140, 255, 0.35), transparent 70%);
  opacity: 0.7;
}
.unlock-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}
.center-flow .section-head h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}
.center-flow .section-head p {
  font-size: 1rem;
}
.center-flow .btn-row .btn {
  min-width: 140px;
}
.unlock-form label {
  text-align: center;
}
.question-block {
  display: grid;
  gap: 12px;
}
.question-block label {
  font-size: 1.05rem;
}
.btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn.primary {
  letter-spacing: 0.3px;
}
.btn.ghost {
  backdrop-filter: blur(6px);
}
.password-block {
  display: grid;
  gap: 12px;
}
.password-field {
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(181, 140, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.password-field input {
  border: none;
  background: transparent;
  margin-bottom: 0;
}
.pass-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(181, 140, 255, 0.35);
}
.form-note {
  text-align: center;
  line-height: 1.4;
}
.form-note.hint {
  background: rgba(181, 140, 255, 0.16);
  border: 1px solid rgba(181, 140, 255, 0.3);
  color: #4a3372;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(181, 140, 255, 0.18);
  animation: warnPop 0.35s ease;
}
.form-note.warning {
  background: rgba(255, 115, 140, 0.18);
  border: 1px solid rgba(255, 115, 140, 0.35);
  color: #8a1d45;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(255, 115, 140, 0.2);
  animation: warnPop 0.35s ease;
}
.form-note.good {
  background: rgba(123, 215, 255, 0.2);
  border: 1px solid rgba(123, 215, 255, 0.35);
  color: #1d4f77;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(123, 215, 255, 0.22);
  animation: warnPop 0.35s ease;
}
.form-note.warning::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 115, 140, 0.4);
  color: #7a1238;
  font-weight: 800;
}
.form-note.good::before {
  content: "♥";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(123, 215, 255, 0.35);
  color: #1b4c78;
  font-weight: 800;
}
@keyframes warnPop {
  0% { transform: scale(0.96); opacity: 0; }
  60% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); }
}
.bye-final {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 230, 242, 0.9);
  border: 1px solid rgba(209, 74, 146, 0.35);
  box-shadow: 0 18px 40px rgba(209, 74, 146, 0.15);
}
.center-flow .btn-row {
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(181, 140, 255, 0.25);
  border-radius: 999px;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.center-flow .btn-row .btn {
  flex: 1 1 140px;
}
.bye-final {
  padding: 24px;
  text-align: center;
  font-weight: 700;
  color: #d14a92;
}
.blocked .site-nav,
.blocked .site-footer {
  pointer-events: none;
  opacity: 0.3;
  filter: blur(3px);
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(88, 48, 140, 0.15);
  box-shadow: var(--shadow);
}
.unlock-card {
  padding: 24px;
}
.unlock-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  margin-bottom: 12px;
}
.password-field {
  position: relative;
  display: grid;
}
.password-field input {
  padding-right: 68px;
}
.pass-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.pass-toggle .pass-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.question-block label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text);
}
.bye-msg {
  margin-top: 12px;
  color: #d14a92;
  font-weight: 700;
  text-align: center;
}
.portal-grid,
.promise-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.portal-card,
.promise-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(88, 48, 140, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portal-card:hover,
.promise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.page-hero {
  margin-bottom: 40px;
}
.countdown-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.counted-shell {
  padding-top: 34px;
}
.counted-simple {
  max-width: 920px;
  margin: 0 auto;
}
.counted-simple-head {
  text-align: center;
  margin-bottom: 26px;
}
.counted-simple-head h1 {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 12px;
}
.counted-simple-head .muted {
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.7;
}
.together-panel {
  padding: 30px 28px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 251, 253, 0.96), rgba(255, 239, 247, 0.9));
  border: 1px solid rgba(213, 163, 213, 0.24);
  box-shadow: 0 28px 60px rgba(88, 48, 140, 0.12);
}
.tiny-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}
.together-panel h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 12ch;
  margin: 0 auto 16px;
  line-height: 1.08;
}
.together-number {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  margin-bottom: 14px;
  color: #8e4379;
}
.upcoming-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.mini-date-card {
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(181, 140, 255, 0.18);
  box-shadow: 0 18px 35px rgba(88, 48, 140, 0.08);
  text-align: center;
}
.mini-date-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 232, 245, 0.86));
}
.mini-date-card h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  min-height: 2.4em;
}
.mini-date-number {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
  margin: 12px 0 10px;
  color: #7c4cb5;
}
.mini-date-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.countdown-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(88, 48, 140, 0.18);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.countdown-card.special {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 220, 245, 0.7));
  border-color: rgba(255, 154, 213, 0.45);
  box-shadow: 0 30px 60px rgba(255, 154, 213, 0.25);
}
.countdown-card::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(181, 140, 255, 0.25), transparent 70%);
  opacity: 0.9;
}
.countdown-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(88, 48, 140, 0.2);
}
.countdown-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.date-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(181, 140, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
}
.countdown-timer {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 14px 16px;
  border-radius: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, rgba(181, 140, 255, 0.16), rgba(255, 154, 213, 0.14));
  border: 1px solid rgba(181, 140, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.countdown-pop {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(181, 140, 255, 0.3);
  font-size: 0.9rem;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.countdown-card:hover .countdown-pop {
  transform: translateY(-2px);
  opacity: 1;
}
.date-whisper {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(181, 140, 255, 0.25);
  color: var(--muted);
  line-height: 1.6;
}
@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-6px); opacity: 1; }
}
.password-block {
  position: relative;
}
.password-block.shake {
  animation: softShake 0.35s ease;
}
.password-block.heart-burst::after {
  content: "";
  position: absolute;
  inset: -10px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 154, 213, 0.45), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(181, 140, 255, 0.35), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(123, 215, 255, 0.35), transparent 45%);
  animation: burstGlow 1.1s ease;
  pointer-events: none;
}
@keyframes softShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
@keyframes burstGlow {
  0% { opacity: 0; transform: scale(0.98); }
  40% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.05); }
}
.timeline-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.timeline-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(88, 48, 140, 0.15);
}
.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.soundtrack {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.sound-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(88, 48, 140, 0.2);
  background: rgba(255, 255, 255, 0.6);
}
.quest-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.quest-card {
  min-height: 120px;
  border-radius: 16px;
  border: 1px solid rgba(88, 48, 140, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}
.quest-card.burst {
  box-shadow: 0 20px 45px rgba(242, 181, 107, 0.4);
}
.jar-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.jar-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(88, 48, 140, 0.15);
  background: rgba(255, 255, 255, 0.65);
}
.polaroid-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.polaroid {
  position: relative;
  height: 200px;
  border-radius: 14px;
  border: 1px solid rgba(88, 48, 140, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  cursor: pointer;
  perspective: 1000px;
  padding: 0;
  overflow: hidden;
}
.polaroid-front,
.polaroid-back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}
.polaroid-front {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}
.polaroid-back {
  transform: rotateY(180deg);
  background: linear-gradient(130deg, rgba(242, 181, 107, 0.2), rgba(231, 109, 138, 0.2));
}
.polaroid.flipped .polaroid-front {
  transform: rotateY(180deg);
}
.polaroid.flipped .polaroid-back {
  transform: rotateY(360deg);
}
.wish-grid {
  display: grid;
  gap: 16px;
}
.wish-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(88, 48, 140, 0.15);
}
.wish-item.done {
  background: rgba(105, 198, 194, 0.18);
}
.wishbook-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}
.wishbook-ask,
.wishbook-log {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  border: 1px solid rgba(88, 48, 140, 0.12);
  box-shadow: 0 24px 55px rgba(88, 48, 140, 0.1);
}
.wishbook-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}
.wishbook-head .muted {
  line-height: 1.65;
}
.wishbook-form {
  display: grid;
  gap: 14px;
}
.wishbook-label {
  font-weight: 600;
  color: var(--text);
}
.wishbook-form textarea {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(181, 140, 255, 0.25);
  background: rgba(255, 252, 255, 0.92);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.wishbook-form textarea:focus {
  outline: none;
  border-color: rgba(181, 140, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(181, 140, 255, 0.12);
}
.wishbook-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wishbook-list {
  display: grid;
  gap: 14px;
}
.wishbook-entry {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(246, 240, 255, 0.94));
  border: 1px solid rgba(181, 140, 255, 0.14);
}
.wishbook-entry-text {
  margin: 8px 0 10px;
  line-height: 1.65;
}
.wishbook-entry-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.envelope-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.envelope {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  border: 1px solid rgba(88, 48, 140, 0.18);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  cursor: pointer;
}
.envelope-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 55%);
  clip-path: polygon(0 0, 100% 0, 50% 55%);
  transition: transform 0.4s ease;
}
.envelope-card {
  position: absolute;
  inset: 18px;
  border-radius: 12px;
  padding: 16px;
  background: rgba(246, 240, 255, 0.9);
  border: 1px solid rgba(88, 48, 140, 0.15);
  transform: translateY(40px);
  transition: transform 0.4s ease;
}
.envelope.open .envelope-top {
  transform: translateY(-30px);
}
.envelope.open .envelope-card {
  transform: translateY(0);
}
.lock-screen {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.8);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}
.locked {
  overflow: hidden;
}
.locked .page-shell,
.locked .site-footer {
  filter: blur(12px);
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}
.locked .site-nav {
  filter: blur(8px);
  opacity: 0.35;
  pointer-events: none;
}
.lock-card {
  width: min(420px, 90vw);
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  box-shadow: var(--shadow);
}
.site-footer {
  text-align: center;
  padding: 20px 0 40px;
  color: var(--muted);
}
.float-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.float-heart {
  position: absolute;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
  border-radius: 4px;
  opacity: 0.8;
  animation: floatUp 12s linear infinite;
}
.float-heart::before,
.float-heart::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: inherit;
  border-radius: 50%;
}
.float-heart::before {
  top: -8px;
  left: 0;
}
.float-heart::after {
  top: 0;
  left: -8px;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes floatUp {
  0% {
    transform: translateY(110vh) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) rotate(45deg);
    opacity: 0;
  }
}
@media (max-width: 860px) {
  .chapter-copy {
    align-items: start;
  }
  .chapter-lead {
    grid-template-columns: 1fr;
  }
  .memory-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .upcoming-strip {
    grid-template-columns: 1fr;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
  .route-grid {
    grid-template-columns: 1fr 1fr;
  }
  .route-card-wide {
    grid-column: span 2;
  }
  .wishbook-shell {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 6vw;
    background: rgba(16, 24, 32, 0.95);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    display: none;
  }
  body.nav-open .nav-links {
    display: flex;
  }
}
@media (max-width: 640px) {
  .memory-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }
  .memory-chapter {
    padding: 18px;
  }
  .memory-grid-3,
  .memory-grid-4 {
    grid-template-columns: 1fr;
  }
  .memory-shot-wide {
    grid-column: auto;
  }
  .home-shell {
    padding-top: 28px;
  }
  .home-hero-copy h1 {
    max-width: none;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .route-card,
  .route-card-wide {
    grid-column: auto;
  }
  .wish-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.memory-board {
  display: grid;
  gap: 30px;
}
.memory-board-hero {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.memory-board-hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  line-height: 0.94;
  margin-bottom: 14px;
}
.memory-board-hero .muted {
  line-height: 1.75;
}
.story-mode-switch {
  display: inline-flex;
  gap: 8px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(181, 140, 255, 0.16);
  box-shadow: 0 16px 35px rgba(88, 48, 140, 0.08);
}
.story-mode-chip {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.story-mode-chip.is-active {
  background: linear-gradient(135deg, rgba(181, 140, 255, 0.22), rgba(255, 154, 213, 0.24));
  color: var(--text);
}
.story-mode-panel {
  display: none;
}
.story-mode-panel.is-active {
  display: block;
}
.memory-card-grid2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.memory-date-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 140, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.94), rgba(255, 239, 247, 0.86));
  box-shadow: 0 24px 55px rgba(88, 48, 140, 0.1);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-height: 365px;
}
.memory-date-card:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  box-shadow: 0 30px 65px rgba(88, 48, 140, 0.16);
  border-color: rgba(181, 140, 255, 0.34);
}
.memory-date-card.featured {
  grid-column: span 1;
}
.memory-date-stack {
  position: relative;
  min-height: 190px;
  padding-right: 50px;
}
.stack-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(27, 18, 42, 0.82);
  box-shadow: 0 18px 35px rgba(29, 18, 52, 0.18);
}
.stack-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.stack-photo.main {
  max-width: 100%;
  aspect-ratio: 4 / 5;
}
.stack-photo.side {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: min(38%, 120px);
  transform: rotate(9deg);
}
.memory-date-copy h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  margin-bottom: 6px;
  line-height: 1.08;
  min-height: 2.2em;
}
.memory-date-copy .eyebrow {
  margin-bottom: 6px;
}
.memory-date-copy .muted {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 4.5em;
}
.video-card-grid .memory-date-card {
  min-height: 210px;
  justify-content: center;
}
.memory-date-card-video {
  background: linear-gradient(180deg, rgba(255, 253, 255, 0.94), rgba(239, 244, 255, 0.88));
}
.memory-poker-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.memory-poker-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.memory-overlay-open {
  overflow: hidden;
}
.memory-poker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 10, 18, 0.82);
  cursor: pointer;
}
.memory-poker-board {
  position: relative;
  z-index: 1;
  width: min(1240px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: 30px 24px 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 205, 230, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(248, 239, 250, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 40px 90px rgba(15, 10, 24, 0.44);
}
.memory-poker-close {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(181, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}
.memory-poker-set {
  display: none;
  gap: 18px;
}
.memory-poker-set.is-active {
  display: grid;
}
.memory-poker-head {
  text-align: center;
  gap: 8px;
  display: grid;
}
.memory-poker-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.02;
}
.memory-overlay-note {
  max-width: 36rem;
  margin: 0 auto;
}
.memory-poker-spread {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 10px 10px 18px;
}
.memory-poker-card {
  margin: 0 0 0 -42px;
  width: min(240px, 32vw);
  padding: 12px 12px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff7fb);
  border: 1px solid rgba(199, 171, 255, 0.24);
  box-shadow: 0 24px 45px rgba(29, 18, 52, 0.16);
  transform: perspective(1200px) translateX(-140px) rotateY(90deg) rotate(-5deg);
  transform-origin: left center;
  opacity: 0;
}
.memory-poker-card:first-child {
  margin-left: 0;
}
.memory-poker-card:nth-child(2n) {
  margin-top: 22px;
  transform: perspective(1200px) translateX(-140px) rotateY(90deg) rotate(4deg);
}
.memory-poker-card:nth-child(3n) {
  margin-top: 10px;
  transform: perspective(1200px) translateX(-140px) rotateY(90deg) rotate(-8deg);
}
.memory-poker-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  cursor: zoom-in;
  background: rgba(31, 20, 46, 0.94);
}
.memory-poker-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  background: rgba(31, 20, 46, 0.94);
}
.memory-poker-card-video {
  width: min(280px, 36vw);
}
.memory-poker-overlay.is-open .memory-poker-card {
  animation: pokerSlideIn 0.74s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  animation-delay: calc(0.04s + (var(--card-index, 0) * 0.05s));
}
.memory-lightbox-open {
  overflow: hidden;
}
.memory-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.memory-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.memory-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 16, 0.88);
  cursor: pointer;
}
.memory-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
}
.memory-lightbox-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1280px);
  max-height: 90vh;
  display: grid;
  place-items: center;
}
.memory-lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .memory-board {
    justify-items: center;
  }
  .memory-card-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .memory-date-stack {
    min-height: 170px;
    padding-right: 44px;
  }
}

@media (max-width: 640px) {
  .memory-board-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }
  .memory-date-card {
    padding: 14px;
  }
  .memory-date-stack {
    min-height: 160px;
    padding-right: 0;
  }
  .stack-photo.side {
    width: 38%;
    right: 8px;
    bottom: 8px;
  }
  .memory-poker-overlay {
    padding: 12px;
  }
  .memory-poker-board {
    width: 100%;
    max-height: 94vh;
    padding: 22px 14px 16px;
    border-radius: 24px;
  }
  .memory-poker-spread {
    padding-inline: 0;
  }
  .memory-poker-card {
    width: min(170px, 42vw);
    margin-left: -26px;
  }
  .video-card-grid .memory-date-card {
    min-height: 180px;
  }
  .memory-lightbox {
    padding: 18px;
  }
}

@keyframes pokerSlideIn {
  0% {
    opacity: 0;
    transform: perspective(1400px) translateX(-120px) rotateY(90deg);
  }
  55% {
    opacity: 1;
    transform: perspective(1400px) translateX(12px) rotateY(-10deg);
  }
  100% {
    opacity: 1;
    transform: perspective(1400px) translateX(0) rotateY(0deg);
  }
}
