/* ==========================================================================
   Template M23: Hàn Quốc Sang Trọng (Korean Editorial Luxury)
   Template Code: m23 | Palette: vang-gold
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & Color Palette
   -------------------------------------------------------------------------- */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-cormorant: 'Cormorant Garamond', Garamond, serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  --bg-page: #fdfcf7;
  --bg-card: #ffffff;
  --bg-subtle: #f8f6f0;

  --color-gold: #c59232;
  --color-gold-hover: #b07e24;
  --color-gold-light: #f5eedf;
  --color-gold-border: #e2d5be;

  --text-main: #242220;
  --text-muted: #6e6962;
  --text-light: #948e86;

  --border-light: #ece5d8;
  --shadow-soft: 0 8px 24px rgba(36, 34, 32, 0.06);
  --shadow-float: 0 12px 32px rgba(36, 34, 32, 0.12);

  --stage-width: 500px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

[data-palette="vang-gold"] {
  --theme-accent: #c59232;
  --theme-accent-hover: #b07e24;
  --theme-bg-warm: #fdfcf7;
  --theme-border: #e2d5be;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: #2b2926;
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cormorant);
  line-height: 1.6;
  background-color: #2b2926;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* Desktop Blurred Backdrop */
.desktop-bg-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #3d3934 0%, #1f1d1b 100%);
  z-index: 0;
  pointer-events: none;
}

/* Mobile Stage Container (500px centered) */
.invitation-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--stage-width);
  min-height: 100vh;
  background-color: var(--bg-page);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

button, input, textarea {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   Floating Audio Control (Top-Right)
   -------------------------------------------------------------------------- */
.audio-control {
  position: fixed;
  top: 18px;
  right: calc(50% - (var(--stage-width) / 2) + 18px);
  z-index: 100;
}

@media (max-width: 540px) {
  .audio-control {
    right: 18px;
  }
}

.music-disc-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(253, 252, 247, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.music-disc-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
}

.disc-vinyl {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: conic-gradient(from 0deg, #333 0%, #111 25%, #333 50%, #111 75%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-disc-btn.is-playing .disc-vinyl {
  animation: spinVinyl 5s linear infinite;
}

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

.disc-center-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Floating Heart / Like Control (Bottom-Right)
   -------------------------------------------------------------------------- */
.like-control {
  position: fixed;
  bottom: 24px;
  right: calc(50% - (var(--stage-width) / 2) + 20px);
  z-index: 100;
}

@media (max-width: 540px) {
  .like-control {
    right: 20px;
  }
}

.floating-like-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-like-btn:hover {
  transform: scale(1.06);
}

.floating-like-btn:active {
  transform: scale(0.94);
}

.floating-like-btn .heart-icon {
  color: #e54b4b;
  font-size: 18px;
  line-height: 1;
  animation: heartPulse 1.8s infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.floating-like-btn .like-counter {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* Floating flying hearts */
.flying-heart {
  position: fixed;
  color: #e54b4b;
  font-size: 20px;
  pointer-events: none;
  z-index: 1000;
  animation: flyUpAndFade 1.6s forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes flyUpAndFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-80px) scale(1.3) rotate(-15deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-160px) scale(1) rotate(15deg);
  }
}

/* --------------------------------------------------------------------------
   SECTION 1: HERO / COVER SLIDER
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  width: 100%;
  height: 780px;
  overflow: hidden;
  background-color: #f5eedf;
}

.hero-top-banner {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  z-index: 10;
  pointer-events: none;
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-slider-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
  background: #ffffff;
  width: 22px;
}

.hero-sparkle-sun {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 445px;
  z-index: 12;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   SECTION 2: INVITATION HEADER & MONOGRAM
   -------------------------------------------------------------------------- */
.section-invitation-monogram {
  position: relative;
  width: 100%;
  padding: 36px 24px 60px;
  text-align: center;
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-formal-greeting {
  font-family: var(--font-cormorant);
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.invitation-split-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 6px;
}

.invitation-split-title .split-word {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-main);
}

.split-crest-wrap {
  width: 58px;
  flex-shrink: 0;
}

.invitation-sub-label {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.intro-photo-card {
  width: 262px;
  height: 394px;
  border-radius: 130px 130px 4px 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  margin-bottom: 24px;
}

.intro-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.intro-photo-card:hover .intro-couple-img {
  transform: scale(1.04);
}

.intro-couple-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.intro-spring-quote {
  max-width: 380px;
  font-family: var(--font-cormorant);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.table-sketch-wrap {
  width: 100%;
  max-width: 420px;
  margin-bottom: 12px;
}

.eternal-love-tag {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   SECTION 3: LANDSCAPE FEATURE BANNER
   -------------------------------------------------------------------------- */
.section-landscape-feature {
  width: 100%;
  padding: 0 0 40px;
  text-align: center;
  background-color: var(--bg-page);
}

.landscape-photo-wrap {
  width: 100%;
  height: 335px;
  overflow: hidden;
  margin-bottom: 30px;
}

.landscape-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.vine-divider-wrap {
  width: 280px;
  margin: 0 auto 20px;
}

.sweet-whisper-quote {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: var(--font-cormorant);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   SECTION 4: COUPLE ASYMMETRIC STORY & VERTICAL COUNTDOWN
   -------------------------------------------------------------------------- */
.section-couple-countdown {
  position: relative;
  width: 100%;
  padding: 40px 20px 60px;
  background-color: var(--bg-page);
}

.couple-story-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.couple-left-photo-card {
  width: 58%;
  height: 420px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.couple-woods-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-right-welcome {
  width: 38%;
  text-align: left;
}

.welcome-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 14px;
}

.welcome-sub-quote {
  font-family: var(--font-cormorant);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.golden-seal-badge {
  position: absolute;
  top: 480px;
  left: 45px;
  width: 75px;
  z-index: 10;
  pointer-events: none;
}

.couple-story-bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 30px;
}

/* Vertical Column Countdown */
.vertical-countdown-box {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 10px;
  border-left: 1px solid var(--color-gold-border);
  margin-left: 15px;
}

.vertical-countdown-box .cd-unit {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.vertical-countdown-box .cd-number {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.vertical-countdown-box .cd-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
}

.couple-right-photo-card {
  width: 62%;
  height: 340px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.couple-smile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-philosophy-quote {
  max-width: 440px;
  margin: 30px auto 0;
  text-align: center;
  font-family: var(--font-cormorant);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   SECTION 5: CALENDAR & WEDDING EVENTS
   -------------------------------------------------------------------------- */
.section-calendar-events {
  position: relative;
  width: 100%;
  padding: 40px 24px 60px;
  background-color: var(--bg-subtle);
  text-align: center;
}

.calendar-branch-icon {
  width: 70px;
  margin: 0 auto 20px;
}

.calendar-card {
  max-width: 420px;
  margin: 0 auto 30px;
  background: #ffffff;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.calendar-header-title h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 2.5px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.calendar-days-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.calendar-week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
}

.calendar-day-cell {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.calendar-day-cell.other-month {
  color: #ccc;
}

.calendar-day-cell.wedding-day {
  font-weight: 700;
  color: #ffffff;
}

.calendar-day-cell.wedding-day::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
  z-index: 1;
}

.calendar-day-cell.wedding-day .day-num {
  position: relative;
  z-index: 2;
}

.calendar-day-cell .day-heart-icon {
  position: absolute;
  top: -2px;
  right: 2px;
  width: 14px;
  height: 14px;
  z-index: 3;
}

.wedding-datetime-banner {
  margin-bottom: 30px;
}

.datetime-gregorian {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.datetime-lunar {
  font-family: var(--font-cormorant);
  font-size: 16px;
  color: var(--color-gold);
  font-style: italic;
  font-weight: 600;
}

.wedding-events-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}

.event-card-item {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: left;
  position: relative;
}

.event-card-item.is-main-event {
  border: 1.5px solid var(--color-gold-border);
  background: linear-gradient(to bottom, #ffffff, #fdfbf7);
}

.event-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--color-gold-light);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.event-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.event-time, .event-place, .event-address {
  font-family: var(--font-cormorant);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.event-map-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.event-map-btn:hover {
  background: var(--color-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SECTION 6: LARGE EDITORIAL GOWN PORTRAIT
   -------------------------------------------------------------------------- */
.section-editorial-gown {
  width: 100%;
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--bg-page);
}

.editorial-gown-card {
  width: 100%;
  height: 720px;
  overflow: hidden;
  margin-bottom: 28px;
}

.editorial-gown-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.editorial-gown-quote {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: var(--font-cormorant);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   SECTION 7: THE L-O-V-E INVITATION FRAME
   -------------------------------------------------------------------------- */
.section-love-frame {
  position: relative;
  width: 100%;
  padding: 60px 20px 80px;
  background-color: var(--bg-page);
  text-align: center;
  overflow: hidden;
}

/* 4 Giant Corner Letters */
.love-decor-letter {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  color: rgba(197, 146, 50, 0.28);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.corner-l { top: 30px; left: 16px; }
.corner-o { top: 30px; right: 16px; }
.corner-v { bottom: 30px; left: 16px; }
.corner-e { bottom: 30px; right: 16px; }

.love-side-tag {
  position: absolute;
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--color-gold);
  z-index: 5;
}

.tag-left { top: 120px; left: 12px; }
.tag-right { top: 120px; right: 12px; }

.love-center-photo-wrap {
  width: 320px;
  height: 220px;
  margin: 0 auto 30px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.love-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-invitation-body {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 10px;
}

.love-invitation-text {
  font-family: var(--font-cormorant);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.love-couple-signature {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}

.love-portrait-wrap {
  width: 280px;
  height: 380px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.love-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-ribbon-wrap {
  width: 220px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SECTION 8: VENUE ADDRESS & LOCATION MAP
   -------------------------------------------------------------------------- */
.section-venue-address {
  width: 100%;
  padding: 40px 24px 60px;
  background-color: var(--bg-subtle);
  text-align: center;
}

.stardust-quote {
  max-width: 420px;
  margin: 0 auto 24px;
  font-family: var(--font-cormorant);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}

.glass-sketch-wrap {
  width: 110px;
  margin: 0 auto 16px;
}

.address-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.venue-info-card {
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.venue-address-detail {
  font-family: var(--font-cormorant);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.venue-map-link-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 146, 50, 0.3);
  transition: all 0.25s ease;
}

.venue-map-link-btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 146, 50, 0.4);
}

/* --------------------------------------------------------------------------
   SECTION 9: EDITORIAL LAKE PORTRAIT & RSVP FORM
   -------------------------------------------------------------------------- */
.section-lake-rsvp {
  width: 100%;
  padding-bottom: 60px;
  background-color: var(--bg-page);
  text-align: center;
}

.lake-photo-card {
  width: 100%;
  height: 720px;
  overflow: hidden;
  margin-bottom: 40px;
}

.lake-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.rsvp-card-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
}

.rsvp-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 24px;
}

.rsvp-form-container {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: left;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 146, 50, 0.15);
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cormorant);
  font-size: 16px;
  cursor: pointer;
  color: var(--text-main);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-gold);
  width: 17px;
  height: 17px;
}

.rsvp-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 146, 50, 0.35);
  transition: all 0.25s ease;
}

.rsvp-submit-btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 146, 50, 0.45);
}

.open-gift-modal-btn {
  display: inline-block;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.open-gift-modal-btn:hover {
  background: var(--color-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SECTION 10: THANK YOU & FOOTER
   -------------------------------------------------------------------------- */
.section-footer-thanks {
  width: 100%;
  padding: 40px 24px 60px;
  background-color: var(--bg-page);
  text-align: center;
}

.footer-twilight-quote {
  max-width: 420px;
  margin: 0 auto 30px;
  font-family: var(--font-cormorant);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}

.footer-photo-card {
  width: 320px;
  height: 220px;
  margin: 0 auto 28px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.footer-thanks-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wine-sketch-wrap {
  width: 220px;
  margin: 0 auto 20px;
}

.footer-eternal-tagline {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.footer-catalog-brand {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.catalog-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-light);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.2s ease;
}

.catalog-link:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   MODAL: GIFT BOX / BANK QR CODES
   -------------------------------------------------------------------------- */
.gift-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gift-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.gift-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-float);
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
}

.gift-modal-backdrop.is-open .gift-modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.gift-modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.gift-modal-sub {
  font-family: var(--font-cormorant);
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.gift-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-account-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.gift-qr-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.gift-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gift-info {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
}

.gift-info p {
  margin-bottom: 4px;
}

.gift-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-acc-btn {
  padding: 4px 10px;
  background: var(--color-gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-acc-btn:hover {
  background: var(--color-gold-hover);
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-message {
  background: rgba(36, 34, 32, 0.9);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  animation: toastFadeIn 0.3s ease, toastFadeOut 0.3s ease 2.7s forwards;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY: Prefers Reduced Motion (CRITICAL for Headless Screenshot)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
