/* ============================================================
   HUANG JINTANG & XIAO QIUYI · MODERN CRIMSON EDITORIAL WEDDING
   ============================================================ */

:root {
  --crimson-deep: #5e0c0c;
  --crimson: #821313;
  --crimson-bright: #a41d1c;
  --crimson-soft: #c93834;
  --paper: #faf4eb;
  --paper-warm: #f3e8d8;
  --paper-card: #fffcf7;
  --gold: #d8b26e;
  --gold-light: #f2dfb2;
  --gold-dark: #a67c37;
  --ink: #221715;
  --ink-muted: #6e5752;
  --border-gold: rgba(216, 178, 110, 0.42);
  --border-crimson: rgba(130, 19, 19, 0.18);

  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", "FangSong", Georgia, serif;
  --font-calligraphy: "STKaiti", "Kaiti SC", "KaiTi", "BiauKai", "DFKai-SB", "Songti SC", serif;
  --font-display-en: "Didot", "Bodoni MT", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-editorial: 0 24px 60px rgba(45, 7, 7, 0.18);
  --shadow-float: 0 14px 34px rgba(34, 12, 10, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--crimson-deep);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

body.envelope-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* Ambient Fireworks & Petals Canvas */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

/* ============================================================
   OPENING RITUAL: WAX-SEAL ENVELOPE OVERLAY
   ============================================================ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}

.envelope-overlay.is-opening {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(164, 29, 28, 0.92), rgba(70, 9, 9, 0.98) 72%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.015) 0 2px,
      transparent 2px 6px
    );
}

.envelope-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  perspective: 1200px;
}

.envelope-card {
  position: relative;
  background: linear-gradient(155deg, #981918 0%, #761010 55%, #5b0b0b 100%);
  border-radius: 24px;
  padding: 14px;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 232, 190, 0.3);
  border: 1px solid rgba(216, 178, 110, 0.45);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.75s ease;
}

.envelope-overlay.is-opening .envelope-card {
  transform: scale(1.09) translateY(-18px);
}

.envelope-border-inner {
  border: 1px solid rgba(242, 223, 178, 0.36);
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  color: var(--gold-light);
  position: relative;
  overflow: hidden;
}

.envelope-border-inner::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(242, 223, 178, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.envelope-top-meta {
  font-family: var(--font-display-en);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: rgba(242, 223, 178, 0.85);
  margin-bottom: 18px;
}

.dot-sep {
  margin: 0 6px;
}

.envelope-avatar-frame {
  width: 152px;
  height: 152px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark), var(--gold-light));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.envelope-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
}

.envelope-names {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.envelope-names .amp {
  font-family: var(--font-display-en);
  font-style: italic;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
}

.envelope-tagline {
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: rgba(255, 244, 224, 0.78);
}

/* Wax Seal Interactive Button */
.wax-seal-btn {
  position: relative;
  margin: 26px auto 14px;
  width: 106px;
  height: 106px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

.wax-seal-btn:hover {
  transform: scale(1.07);
}

.wax-seal-btn:active {
  transform: scale(0.95);
}

.wax-seal-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 223, 178, 0.55);
  animation: pulseRing 2.4s ease-out infinite;
}

.wax-seal-core {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f9e9be 0%, #d9ae62 46%, #9b6e26 100%);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.45),
    inset 0 2px 5px rgba(255, 255, 255, 0.65),
    inset 0 -4px 8px rgba(90, 56, 8, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b110f;
  border: 3px solid rgba(255, 245, 215, 0.45);
}

.wax-xi {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.wax-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-top: 3px;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.38);
    opacity: 0;
  }
}

.envelope-hint {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.silent-enter-btn {
  margin-top: 12px;
  background: none;
  border: none;
  color: rgba(255, 244, 224, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s ease;
}

.silent-enter-btn:hover {
  color: #fff;
}

/* ============================================================
   FLOATING VINYL MUSIC PLAYER & NAV DOCK
   ============================================================ */
.music-fab {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(242, 223, 178, 0.42);
  background: rgba(60, 9, 9, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff7e9;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.music-fab:hover {
  transform: translateY(-2px);
  background: rgba(94, 12, 12, 0.92);
}

.vinyl-disc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold) 0 34%, #181414 36% 62%, #2e2524 64% 66%, #141010 68% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: spinVinyl 7s linear infinite;
  animation-play-state: paused;
}

.music-fab.is-playing .vinyl-disc {
  animation-play-state: running;
}

.vinyl-label {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 900;
  color: #6b110f;
}

@keyframes spinVinyl {
  to {
    transform: rotate(360deg);
  }
}

.music-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.music-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.music-artist {
  font-size: 0.64rem;
  color: var(--gold-light);
  opacity: 0.85;
}

.floating-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 115;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(42, 8, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 223, 178, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}

.floating-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  white-space: nowrap;
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255, 245, 228, 0.78);
  transition: all 0.25s ease;
}

.nav-pill:hover {
  color: #fff;
}

.nav-pill.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #5d0d0c;
  font-weight: 700;
}

/* ============================================================
   HERO SECTION: LAYERED EDITORIAL CRIMSON POSTER
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 34%, #9c1a19 0%, #7d1212 52%, #550909 100%);
  color: #fff6e8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 82px;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 48%, rgba(30, 3, 3, 0.45) 100%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(242, 223, 178, 0.32);
  border-radius: 26px;
  padding: 20px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 245, 225, 0.04), rgba(0, 0, 0, 0.14));
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.hero-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(242, 223, 178, 0.22);
  padding-bottom: 14px;
  padding-right: 170px;
}

.masthead-left,
.masthead-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.issue-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  color: var(--gold-light);
}

.masthead-en {
  font-family: var(--font-display-en);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: rgba(255, 244, 224, 0.85);
}

.date-badge {
  font-family: var(--font-display-en);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.lunar-badge {
  font-size: 0.8rem;
  color: rgba(255, 244, 224, 0.78);
}

/* Layered Depth Poster */
.hero-poster {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 10px 0 0;
  overflow: hidden;
}

.poster-bg-type {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 18px;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.giant-en {
  font-family: var(--font-display-en);
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 0.85;
  color: rgba(242, 223, 178, 0.14);
}

.giant-zh {
  font-family: var(--font-calligraphy);
  font-size: clamp(3.6rem, 10vw, 8.2rem);
  line-height: 1.05;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff4d9 0%, #e1b86d 65%, #b9893d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 24px rgba(36, 4, 4, 0.45));
  margin-top: -12px;
}

.poster-gold-arch {
  position: absolute;
  bottom: 0;
  width: min(440px, 84vw);
  height: min(460px, 82%);
  border-radius: 260px 260px 0 0;
  border: 1px solid rgba(242, 223, 178, 0.34);
  background: radial-gradient(circle at 50% 40%, rgba(255, 224, 170, 0.12), transparent 68%);
  z-index: 2;
}

.poster-cutout-wrap {
  position: relative;
  z-index: 3;
  width: min(470px, 88vw);
  display: flex;
  justify-content: center;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.poster-cutout {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(26, 2, 2, 0.5));
}

.hero-stamp-left {
  position: absolute;
  left: 10px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(66, 9, 9, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 12px 16px;
}

.stamp-box {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--gold-light);
  line-height: 1;
}

.couple-plates {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plate-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plate-role {
  font-size: 0.74rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.plate-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}

.hero-stamp-right {
  position: absolute;
  right: 10px;
  bottom: 24px;
  z-index: 4;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero-mini-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  line-height: 1.6;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-location-pill {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(66, 9, 9, 0.78);
  border: 1px solid var(--border-gold);
  color: #fff5e3;
}

/* Live Countdown Bar */
.countdown-bar {
  position: relative;
  z-index: 4;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(45, 5, 5, 0.65);
  border: 1px solid rgba(242, 223, 178, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffd479;
  box-shadow: 0 0 0 0 rgba(255, 212, 121, 0.7);
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 121, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 212, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 212, 121, 0); }
}

.countdown-digits {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display-en);
}

.cd-unit {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.cd-unit span {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  min-width: 2ch;
  text-align: center;
}

.cd-unit small {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--gold-light);
}

.cd-colon {
  color: var(--gold);
  opacity: 0.6;
}

.hero-cta-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #5d0c0b;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.scroll-cue {
  position: relative;
  z-index: 3;
  margin: 14px auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display-en);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(242, 223, 178, 0.7);
}

.scroll-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
}

/* ============================================================
   COMMON SECTIONS & EDITORIAL TYPOGRAPHY
   ============================================================ */
.section {
  position: relative;
  padding: 88px 20px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.paper-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 178, 110, 0.13), transparent 36%),
    radial-gradient(circle at 88% 85%, rgba(130, 19, 19, 0.06), transparent 42%),
    var(--paper);
}

.crimson-section {
  background:
    radial-gradient(ellipse at 20% 0%, #9b1a19 0%, #7d1212 52%, #590a0a 100%);
  color: #fff6e8;
}

.crimson-dark-section {
  background:
    radial-gradient(circle at 50% 20%, #7f1313 0%, #4e0808 75%);
  color: #fff6e8;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.chapter-eyebrow {
  display: inline-block;
  font-family: var(--font-display-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-header.light .chapter-eyebrow {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--crimson);
  line-height: 1.25;
}

.section-header.light .section-title {
  color: #fff8eb;
}

.section-subtitle {
  margin-top: 10px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.section-header.light .section-subtitle {
  color: rgba(255, 243, 224, 0.8);
}

.ornament-divider {
  margin: 16px auto 0;
  width: 140px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-dark);
}

.ornament-divider::before,
.ornament-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CHAPTER I: INVITATION LETTER + COLLAGE
   ============================================================ */
.invitation-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.invitation-letter-card {
  position: relative;
  background: var(--paper-card);
  border: 1px solid rgba(130, 19, 19, 0.22);
  border-radius: 22px;
  padding: 40px 34px;
  box-shadow: var(--shadow-editorial);
}

.invitation-letter-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 178, 110, 0.45);
  border-radius: 14px;
  pointer-events: none;
}

.letter-seal {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--crimson);
  color: var(--crimson);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.15rem;
  transform: rotate(10deg);
  opacity: 0.85;
}

.letter-salutation {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 18px;
}

.letter-body {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 2.15;
  color: #36221e;
}

.letter-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed rgba(130, 19, 19, 0.22);
}

.letter-en {
  font-family: var(--font-display-en);
  font-style: italic;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.letter-sign {
  margin-top: 10px;
  font-family: var(--font-calligraphy);
  font-size: 1.6rem;
  color: var(--crimson);
  text-align: right;
}

.invitation-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.collage-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--crimson);
  box-shadow: 0 18px 38px rgba(72, 12, 12, 0.16);
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.collage-card:hover {
  transform: translateY(-4px);
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.collage-card:hover img {
  transform: scale(1.04);
}

.collage-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(40, 4, 4, 0.78));
  color: #fff6e9;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.collage-main {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}

.collage-sub-a,
.collage-sub-b {
  aspect-ratio: 3 / 4;
}

/* ============================================================
   CHAPTER II: BRIDE & GROOM DUAL SPOTLIGHT
   ============================================================ */
.couple-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.profile-card {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 248, 236, 0.1), rgba(40, 4, 4, 0.42));
  border: 1px solid rgba(242, 223, 178, 0.32);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 24px 60px rgba(25, 2, 2, 0.38);
}

.profile-card:hover {
  box-shadow: 0 32px 72px rgba(25, 2, 2, 0.55);
}

.profile-badge {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 4;
  font-family: var(--font-display-en);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(54, 7, 7, 0.72);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.profile-visual {
  position: relative;
  height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(255, 225, 175, 0.16), transparent 68%);
}

.profile-bg-word {
  position: absolute;
  top: 48px;
  font-family: var(--font-display-en);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(242, 223, 178, 0.14);
  user-select: none;
}

.profile-cutout {
  position: relative;
  z-index: 2;
  max-height: 410px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(25, 2, 2, 0.45));
  transition: transform 0.45s ease;
}

.profile-card:hover .profile-cutout {
  transform: scale(1.03) translateY(-4px);
}

.profile-info {
  padding: 26px 28px 30px;
  background: rgba(38, 4, 4, 0.42);
  border-top: 1px solid rgba(242, 223, 178, 0.2);
  flex: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-name-row h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 0.16em;
  color: #fff;
}

.profile-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 178, 110, 0.18);
  color: var(--gold-light);
}

.profile-poem {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--gold-light);
  line-height: 1.7;
}

.profile-en {
  margin-top: 10px;
  font-family: var(--font-display-en);
  font-style: italic;
  font-size: 0.94rem;
  color: rgba(255, 243, 224, 0.74);
  line-height: 1.55;
}

/* ============================================================
   CHAPTER III: INTERACTIVE POLAROID DECK + EDITORIAL GALLERY
   ============================================================ */
.polaroid-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  background: var(--paper-card);
  border: 1px solid var(--border-crimson);
  border-radius: 28px;
  padding: 36px 34px;
  box-shadow: var(--shadow-editorial);
  margin-bottom: 58px;
}

.mini-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(130, 19, 19, 0.09);
  color: var(--crimson);
  margin-bottom: 14px;
}

.polaroid-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--crimson);
  line-height: 1.4;
}

.polaroid-active-caption {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink-muted);
  min-height: 3.2em;
}

.polaroid-controls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(130, 19, 19, 0.3);
  background: #fff;
  color: var(--crimson);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.deck-counter {
  font-family: var(--font-display-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--crimson);
  min-width: 64px;
  text-align: center;
}

.text-pill-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: var(--crimson);
  color: #fff7e8;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.text-pill-btn:hover {
  background: var(--crimson-bright);
  transform: translateY(-1px);
}

.polaroid-deck-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.polaroid-deck {
  position: relative;
  width: min(360px, 100%);
  height: 420px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.polaroid-deck:active {
  cursor: grabbing;
}

.polaroid-item {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 46px;
  box-shadow: 0 18px 42px rgba(45, 9, 9, 0.22);
  border: 1px solid rgba(130, 19, 19, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  display: flex;
  flex-direction: column;
}

.polaroid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
}

.polaroid-item .polaroid-foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 0.84rem;
  color: var(--crimson);
}

.polaroid-item.fly-left {
  transform: translateX(-140%) rotate(-18deg) !important;
  opacity: 0 !important;
}

.polaroid-item.fly-right {
  transform: translateX(140%) rotate(18deg) !important;
  opacity: 0 !important;
}

/* Gallery Grid */
.gallery-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-subhead h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--crimson);
}

.gallery-subhead small {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.gallery-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(130, 19, 19, 0.24);
  background: transparent;
  color: var(--crimson);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--crimson);
  color: #fff6e8;
}

.editorial-gallery {
  columns: 3 260px;
  column-gap: 18px;
}

.gallery-tile {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--crimson);
  box-shadow: 0 12px 28px rgba(60, 10, 10, 0.14);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-tile:hover {
  transform: translateY(-4px);
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile .tile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(36, 4, 4, 0.78));
  color: #fff5e3;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-tile:hover .tile-overlay {
  opacity: 1;
}

/* ============================================================
   CHAPTER IV: INTERACTIVE GOLD-FOIL SCRATCH TICKET
   ============================================================ */
.scratch-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.scratch-ticket {
  position: relative;
  background: linear-gradient(155deg, #fffaf0 0%, #f5e6cc 100%);
  color: var(--ink);
  border-radius: 26px;
  padding: 28px 28px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--gold);
}

.ticket-perforation {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5c0b0b;
  transform: translateY(-50%);
}

.ticket-perforation.left {
  left: -16px;
}

.ticket-perforation.right {
  right: -16px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display-en);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--crimson);
  margin-bottom: 16px;
}

.ticket-no {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(130, 19, 19, 0.1);
}

.scratch-area-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed rgba(130, 19, 19, 0.35);
  background: radial-gradient(circle at center, #fffdf8, #f7e6c4);
  user-select: none;
  touch-action: none;
}

.scratch-prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.prize-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--crimson);
  color: var(--gold-light);
  margin-bottom: 10px;
}

.prize-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  color: var(--crimson);
}

.prize-desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: opacity 0.45s ease;
}

.scratch-canvas.cleared {
  opacity: 0;
  pointer-events: none;
}

.ticket-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gold-solid-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #5d0c0b;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(92, 11, 11, 0.2);
}

.gold-solid-btn:hover {
  transform: translateY(-2px);
}

.gold-outline-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--crimson);
  background: transparent;
  color: var(--crimson);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* ============================================================
   CHAPTER V: VENUE, PRESENTER & ONE-TAP NAVIGATION
   ============================================================ */
.venue-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
}

.presenter-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.presenter-halo {
  position: absolute;
  bottom: 24px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 19, 19, 0.16), transparent 70%);
}

.presenter-cutout {
  position: relative;
  z-index: 2;
  max-height: 490px;
  width: auto;
  filter: drop-shadow(0 20px 34px rgba(80, 14, 14, 0.22));
}

.presenter-bubble {
  position: relative;
  z-index: 3;
  margin-top: -12px;
  background: var(--crimson);
  color: #fff6e8;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 26px rgba(130, 19, 19, 0.28);
}

.venue-card {
  background: var(--paper-card);
  border: 1px solid var(--border-crimson);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow-editorial);
}

.venue-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.venue-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(130, 19, 19, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.venue-kicker {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 700;
}

.venue-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--crimson);
  margin: 2px 0 4px;
}

.venue-detail p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.venue-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 19, 19, 0.18), transparent);
  margin: 20px 0;
}

.stylized-map-card {
  position: relative;
  margin-top: 22px;
  border-radius: 18px;
  padding: 24px 18px 18px;
  background: linear-gradient(150deg, #7f1313, #5a0a0a);
  color: #fff;
  overflow: hidden;
}

.map-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 223, 178, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 223, 178, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-road-line {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(242, 223, 178, 0.16), transparent 46%);
}

.map-pin-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.map-pin-ripple {
  position: absolute;
  top: 2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  animation: pulseRing 2.2s infinite;
}

.map-pin-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--crimson-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.map-pin-label {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.map-nav-buttons {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(242, 223, 178, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #fff6e8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-action-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.nav-action-btn.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--crimson-deep);
  border-color: transparent;
}

.nav-action-btn.accent {
  background: rgba(216, 178, 110, 0.24);
  color: var(--gold-light);
}

.contact-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(130, 19, 19, 0.14);
}

.contact-role {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.contact-item strong {
  font-size: 0.86rem;
  color: var(--crimson);
}

.contact-btns {
  display: flex;
  gap: 6px;
}

.mini-call-btn,
.mini-copy-btn {
  font-size: 0.74rem;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid rgba(130, 19, 19, 0.25);
  background: #fff;
  color: var(--crimson);
  cursor: pointer;
}

.mini-call-btn {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

/* ============================================================
   CHAPTER VI: LIVE DANMU BLESSING WALL & FIREWORKS
   ============================================================ */
.danmu-console {
  background: rgba(45, 5, 5, 0.48);
  border: 1px solid rgba(242, 223, 178, 0.3);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.danmu-stage {
  position: relative;
  height: 250px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(164, 29, 28, 0.45), rgba(40, 4, 4, 0.85));
  border: 1px solid rgba(242, 223, 178, 0.22);
  overflow: hidden;
}

.danmu-stage-bg-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display-en);
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(242, 223, 178, 0.09);
  pointer-events: none;
  user-select: none;
}

.danmu-pill {
  position: absolute;
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.14);
  border: 1px solid rgba(242, 223, 178, 0.36);
  color: #fff8eb;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  will-change: transform;
  animation: danmuGlide linear forwards;
}

.danmu-pill.is-mine {
  background: linear-gradient(135deg, rgba(242, 223, 178, 0.95), rgba(216, 178, 110, 0.95));
  color: var(--crimson-deep);
  font-weight: 700;
  border-color: #fff;
}

@keyframes danmuGlide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-140%);
  }
}

.celebrate-bar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.celebrate-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 16px;
  border: 1px solid rgba(242, 223, 178, 0.34);
  background: rgba(255, 248, 236, 0.08);
  color: #fff6e8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.celebrate-btn:hover {
  background: rgba(216, 178, 110, 0.24);
  transform: translateY(-2px);
}

.celebrate-btn:active {
  transform: scale(0.97);
}

.celebrate-btn b {
  font-family: var(--font-display-en);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.quick-wishes {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wish-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(242, 223, 178, 0.35);
  background: transparent;
  color: rgba(255, 244, 224, 0.85);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wish-chip:hover {
  background: rgba(242, 223, 178, 0.18);
  color: #fff;
}

.danmu-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 10px;
}

.danmu-form input {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(242, 223, 178, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.danmu-form input::placeholder {
  color: rgba(255, 243, 224, 0.58);
}

.danmu-form input:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.16);
}

/* ============================================================
   CHAPTER VII: RSVP FORM & DIGITAL WEDDING PASS
   ============================================================ */
.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.rsvp-card {
  background: var(--paper-card);
  border: 1px solid var(--border-crimson);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow-editorial);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--crimson);
  margin-bottom: 8px;
}

.req {
  color: #d62828;
}

.rsvp-card input,
.rsvp-card select,
.rsvp-card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(130, 19, 19, 0.24);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-card input:focus,
.rsvp-card select:focus,
.rsvp-card textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(130, 19, 19, 0.1);
}

.relation-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rel-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(130, 19, 19, 0.25);
  background: var(--paper);
  color: var(--crimson);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rel-pill.active {
  background: var(--crimson);
  color: #fff6e8;
  border-color: var(--crimson);
}

.rsvp-submit-btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(130, 19, 19, 0.28);
  transition: transform 0.2s ease;
}

.rsvp-submit-btn:hover {
  transform: translateY(-2px);
}

/* Digital Wedding Boarding Pass */
.wedding-pass {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(155deg, #911716 0%, #680d0d 62%, #4a0707 100%);
  color: #fff6e8;
  border: 1.5px solid var(--gold);
  box-shadow: 0 24px 56px rgba(70, 9, 9, 0.34);
  overflow: hidden;
}

.wedding-pass::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 223, 178, 0.26);
  border-radius: 16px;
  pointer-events: none;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pass-tag {
  font-family: var(--font-display-en);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
}

.pass-stamp {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--crimson-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 900;
}

.pass-couple {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.pass-guest-block {
  margin: 18px 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.08);
  border: 1px dashed rgba(242, 223, 178, 0.32);
}

.pass-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(242, 223, 178, 0.72);
}

.pass-guest-block strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #fff;
  margin-top: 2px;
}

.pass-seats {
  font-size: 0.86rem;
  color: var(--gold-light);
}

.pass-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.pass-meta-row b {
  font-size: 0.92rem;
  color: #fff;
}

.pass-quote {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: rgba(255, 243, 224, 0.86);
}

.pass-barcode {
  margin-top: 18px;
  height: 24px;
  display: flex;
  gap: 4px;
  opacity: 0.45;
}

.pass-barcode span {
  flex: 1;
  background: var(--gold-light);
  border-radius: 2px;
}

.pass-barcode span:nth-child(even) {
  flex: 0.4;
}

.pass-barcode span:nth-child(3n) {
  flex: 1.5;
}

.pass-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.crimson-outline-btn {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--crimson);
  background: transparent;
  color: var(--crimson);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.rsvp-history {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper-card);
  border: 1px solid rgba(130, 19, 19, 0.16);
}

.rsvp-history h4 {
  font-size: 0.84rem;
  color: var(--crimson);
  margin-bottom: 8px;
}

.rsvp-history ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ============================================================
   FINALE SECTION ("花开时赏花")
   ============================================================ */
.finale-section {
  background:
    radial-gradient(circle at 80% 30%, #991a19 0%, #6d0f0f 55%, #480707 100%);
  color: #fff6e8;
  padding-bottom: 110px;
}

.finale-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(242, 223, 178, 0.32);
  border-radius: 30px;
  padding: 44px 40px 0;
  background: rgba(34, 4, 4, 0.3);
  overflow: hidden;
}

.finale-text {
  padding-bottom: 44px;
}

.finale-heading {
  font-family: var(--font-calligraphy);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 18px;
}

.finale-essay {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 245, 228, 0.9);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.essay-highlight {
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(242, 223, 178, 0.08);
  border-radius: 0 12px 12px 0;
}

.finale-essay strong {
  color: var(--gold-light);
}

.finale-goodbye {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 223, 178, 0.22);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goodbye-big {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #fff;
}

.goodbye-sub {
  font-family: var(--font-display-en);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.finale-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.finale-cutout {
  max-height: 490px;
  width: auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.45));
}

.site-footer {
  background: #380505;
  color: rgba(242, 223, 178, 0.72);
  text-align: center;
  padding: 28px 20px 92px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.76rem;
  opacity: 0.72;
}

/* ============================================================
   LIGHTBOX & TOAST
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(20, 3, 3, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(92vw, 960px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-height: 76vh;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

.lightbox-figure figcaption {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  border: 1px solid rgba(242, 223, 178, 0.35);
  background: rgba(66, 9, 9, 0.72);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
}

.lightbox-arrow.prev { left: 18px; }
.lightbox-arrow.next { right: 18px; }

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--gold);
  color: var(--crimson-deep);
}

.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(34, 6, 6, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE WECHAT FIRST POLISH)
   ============================================================ */
@media (max-width: 920px) {
  .hero-masthead {
    padding-right: 0;
    padding-top: 44px;
  }

  .invitation-grid,
  .couple-showcase,
  .polaroid-stage,
  .venue-layout,
  .rsvp-grid,
  .finale-card {
    grid-template-columns: 1fr;
  }

  .finale-card {
    padding: 32px 24px 0;
  }

  .finale-text {
    padding-bottom: 12px;
  }

  .hero-stamp-left,
  .hero-stamp-right {
    position: static;
    margin-top: 10px;
  }

  .hero-poster {
    flex-direction: column;
    align-items: center;
    min-height: 430px;
  }

  .hero-stamp-right {
    align-items: center;
    text-align: center;
  }

  .danmu-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 14px;
  }

  .hero-section {
    padding: 14px 12px 76px;
  }

  .hero-frame {
    padding: 16px 14px 18px;
  }

  .poster-bg-type {
    padding-top: 8px;
  }

  .poster-cutout-wrap {
    margin-top: 96px;
    width: min(360px, 84vw);
  }

  .floating-nav {
    padding: 5px 6px;
    gap: 2px;
  }

  .nav-pill {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .music-fab {
    top: 12px;
    right: 12px;
    padding: 5px 10px 5px 5px;
  }

  .music-meta {
    display: none;
  }

  .countdown-bar {
    justify-content: center;
    text-align: center;
  }

  .celebrate-bar,
  .contact-strip,
  .map-nav-buttons {
    grid-template-columns: 1fr;
  }

  .editorial-gallery {
    columns: 2 140px;
    column-gap: 12px;
  }

  .gallery-tile {
    margin-bottom: 12px;
  }

  .polaroid-stage {
    padding: 24px 18px;
  }

  .polaroid-deck {
    height: 360px;
  }

  .venue-card,
  .rsvp-card,
  .invitation-letter-card {
    padding: 24px 20px;
  }
}
