/* ========================================================
   11. MINIMALISM DARK RED — VISUAL REFINEMENT
   ======================================================== */
:root {
  --red-primary: #3B4C31;
  --red-dark: #233827;
  --red-light: #526746;
  --red-card: #3B4C31;
  --gold: #b99b55;
  --gold-light: #e4d8b8;
  --paper-bg: #f7f7f1;
  --paper-card: #f8f5ea;
  --ink: #2d4030;
  --muted: #6d796c;
  --shadow-card: 0 18px 42px rgba(40, 62, 43, 0.18);
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
}

body {
  background: #e4dcce url("../assets/rough-paper.png") center top / auto repeat;
  font-family: var(--font-body);
  line-height: 1.45;
}

.app-container {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 28px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--paper-bg);
  background-image: url("../assets/rough-paper.png");
  background-size: 100% auto;
  background-repeat: repeat-y;
  box-shadow: 0 0 30px rgba(44, 26, 20, .12);
  transition: opacity 2.2s ease, transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.invite-open):not(.invite-opening) .app-container {
  opacity: 0;
  transform: translateY(110px);
  pointer-events: none;
}

body.invite-opening .app-container,
body.invite-open .app-container {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.app-container::before {
  display: none !important;
}

/* Nền hoa sen chìm nghệ thuật (Thay thế nền ngôi nhà) */
.lotus-bg-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.lotus-bg-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* 1. Hoa sen nét mảnh góc trên bên trái */
.lotus-bg-top-left {
  top: 10px;
  left: -20px;
  width: clamp(210px, 48vw, 300px);
  height: auto;
  opacity: 0.28;
}

/* 2. Cành sen nở góc dưới bên trái */
.lotus-bg-bottom-left {
  top: 540px;
  left: -35px;
  width: clamp(190px, 44vw, 280px);
  height: auto;
  opacity: 0.26;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 95%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 95%);
}

/* 3. Búp sen sóng nước góc bên phải */
.lotus-bg-right {
  top: 300px;
  right: -70px;
  width: clamp(190px, 45vw, 290px);
  height: auto;
  opacity: 0.28;
}

.reveal-section:not(.hero-section):not(#hero) {
  width: 88%;
  max-width: 420px;
  margin: 0 auto 16px;
  transform: translateY(16px);
  transition-duration: .7s;
}

.floating-music {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #681720 0%, #450c12 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(35, 8, 12, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-music .music-inner-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.floating-music .music-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.floating-music.playing .music-icon {
  animation: spin-vinyl 4s linear infinite;
}

.floating-music:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(35, 8, 12, 0.55);
}

/* Hero Theme Refinement */
.hero-section,
.hero-section.reveal-section,
#hero {
  width: 100% !important;
  max-width: 900px !important;
  min-height: auto;
  padding-top: 48px;
  padding-bottom: 24px;
  margin-bottom: 0;
  position: relative;
}

.hero-kicker {
  margin-bottom: 55px;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  letter-spacing: .25em;
  font-weight: 700;
}

.envelope-stage {
  width: min(315px, 78vw);
  height: 365px;
  margin: 0 auto 0;
}

.envelope-back {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: url("../assets/envelope-background.webp") center / 100% 100% no-repeat;
  box-shadow: none;
}

.envelope-back::before { display: none; }

.envelope-photo-wrap {
  position: absolute;
  top: 4%;
  left: 26%;
  right: auto;
  width: 53%;
  height: 63%;
  z-index: 2 !important;
  transform: rotate(7deg);
  transform-origin: 50% 85%;
  animation: heroPhotoFloat 6s ease-in-out infinite;
}

.envelope-photo-wrap:hover {
  animation-play-state: paused;
  transform: rotate(5deg) scale(1.02);
}

.photo-frame {
  padding: 6px 6px 21px;
  border-radius: 0;
  box-shadow: 0 7px 13px rgba(0,0,0,.2);
}

.hero-peony-deco {
  position: absolute;
  top: 1%;
  left: -1%;
  width: 46%;
  height: 72%;
  z-index: 46!important;
  pointer-events: none;
  object-fit: contain;
  transform: rotate(-10deg);
  transform-origin: 30% 90%;
  mix-blend-mode: normal;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,.25));
  animation: heroFlowerSway 5.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 89%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 89%);
}

@keyframes heroPhotoFloat {
  0%, 100% {
    transform: rotate(7deg) translateY(0);
  }
  40% {
    transform: rotate(5.2deg) translateY(-5px) scale(1.012);
  }
  75% {
    transform: rotate(8.2deg) translateY(-2px) scale(0.995);
  }
}

@keyframes heroFlowerSway {
  0%, 100% {
    transform: rotate(-12deg) translateY(0) scale(1);
  }
  45% {
    transform: rotate(-8.5deg) translateY(-3px) scale(1.02);
  }
  80% {
    transform: rotate(-14.5deg) translateY(2px) scale(0.99);
  }
}

.envelope-front-flaps {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: url("../assets/envelope-cover.webp") bottom center / 100% 100% no-repeat;
  z-index: 5 !important;
  pointer-events: none;
}

.envelope-front-flaps::before,
.envelope-front-flaps::after { display: none; }


.hero-title-box { margin: 34px auto 38px; }

.hero-invite-guest {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: calc(clamp(1.3rem, 4.2vw, 1.7rem) - 2px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-align: center;
  margin: 0 auto 16px;
  line-height: 1.4;
}

.hero-names {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 6.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.015em;
  color: #481015;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-names .amp {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 4.2vw, 2.15rem);
  font-weight: 400;
  color: #481015;
  line-height: 1.15;
  margin: 2px 0 3px;
  display: block;
}

.hero-quote { display: none; }

/* Shared Green Paper Cards */
.red-card,
.reception-card,
.timeline-card {
  border: 1px solid rgba(212, 197, 151, .35);
  border-radius: 10px;
  color: #fff9ef;
  background: #3B4C31 !important;
  background-color: #3B4C31 !important;
  background-image: none !important;
  background-blend-mode: normal !important;
  opacity: 1 !important;
  box-shadow: var(--shadow-card);
}

.card-flower-right,
.card-flower-left {
  display: none !important;
}

.card-flower-lotus-wrap {
  position: absolute;
  top: 39%;
  right: -48px;
  width: 185px;
  max-width: 48vw;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

.card-flower-lotus-right {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(4px 8px 18px rgba(35, 47, 28, 0.35));
  transform-origin: 75% 90%;
  animation: lotusBouquetSway 6.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes lotusBouquetSway {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  35% {
    transform: translateY(-3.5px) rotate(1.4deg) scale(1.01);
  }
  70% {
    transform: translateY(-1.5px) rotate(-1.1deg) scale(1.005);
  }
}

.red-card { min-height: 786px; padding: 34px 22px 30px; overflow: visible; position: relative; }
.red-card > *:not(.card-flower-lotus-wrap):not(img) { position: relative; z-index: 1; }

.card-heading {
  margin-bottom: 26px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #d6bfa8;
}

.card-heading::after { display: none; }

.parents-grid {
  gap: 18px;
  min-height: 132px;
  padding: 0 4px 18px;
  margin-bottom: 24px;
  border-bottom: none;
}

.parents-grid::after { background: rgba(214, 191, 168, 0.2); }

.family-side small {
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: .75rem;
  letter-spacing: .04em;
  color: #caa58a;
  text-transform: uppercase;
}

.family-side h4 {
  font-size: .94rem;
  line-height: 1.5;
  font-weight: 600;
  color: #d6bfa8;
}

.family-side p {
  margin-top: 7px;
  font-size: .8rem;
  line-height: 1.35;
  color: #caa58a;
}

.announcement-text {
  max-width: 330px;
  margin: 0 auto 26px;
  font-size: .95rem;
  line-height: 1.55;
  letter-spacing: .05em;
  color: #dfcaa9;
  font-weight: 600;
}

.couple-highlight-names {
  display: flex;
  min-height: 235px;
  margin-bottom: 18px;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.groom-name,
.bride-name { 
  font-size: 2rem; 
  font-weight: 400; 
  color: #d6bfa8; 
}

.role-badge {
  margin-top: 4px;
  font-family: var(--font-title);
  font-size: .74rem;
  letter-spacing: .06em;
  color: #caa58a;
}

.couple-highlight-names .amp {
  margin: 8px 0;
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: #caa58a;
}

.ceremony-note {
  max-width: 330px;
  margin: 0 auto 14px;
  font-size: .95rem;
  line-height: 1.5;
  letter-spacing: .05em;
  color: #dfcaa9;
  font-weight: 600;
}

.ceremony-time-badge {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 6px;
}

.ceremony-time-badge .time {
  font-family: var(--font-title);
  font-size: .95rem;
  letter-spacing: .06em;
  color: #dfcaa9;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.ceremony-time-badge .date-big {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 7px 0;
  color: #d6bfa8;
  letter-spacing: .04em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.ceremony-time-badge .lunar {
  font-size: .86rem;
  font-style: normal;
  color: #d6bea7;
}

/* Gallery Section Refinement */
#gallery {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 458px;
  padding-top: 34px;
  overflow: hidden;
  background: transparent;
}



#gallery > * {
  position: relative;
  z-index: 1;
}



.section-header { margin-bottom: 23px; }
.section-header h2 { font-size: 1.12rem; letter-spacing: .04em; }
.section-header p { display: none; }

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  perspective: 900px;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  margin: 15px 0 10px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: block;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(210px, 56vw);
  height: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(35, 8, 12, 0.28);
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.55s ease, filter 0.55s ease;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
}

.slide-caption { display: none; }

.carousel-btn {
  display: flex !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(36, 55, 38, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 25;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
  background: #3B4C31;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(35, 55, 30, 0.45);
}

.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }

.carousel-dots { gap: 6px; margin-top: 14px; }
.carousel-dot { width: 6px; height: 6px; background: rgba(59, 76, 49, .25); }
.carousel-dot.active { width: 18px; background: var(--red-primary); }

/* Reception Section Refinement */
#reception {
  margin-bottom: 16px;
  position: relative;
}

#reception::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -110px;
  width: clamp(240px, 55vw, 360px);
  height: 560px;
  z-index: 0;
  opacity: .24;
  background: url("../assets/25920b9a-3e81-4e3c-9fc1-eff6a3847b35.png") right center / contain no-repeat;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 95%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 95%);
  pointer-events: none;
}

.reception-card {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 38px 24px 34px;
  overflow: visible;
}

.reception-card::before {
  content: none !important;
  display: none !important;
}

.reception-card > *:not(img) {
  position: relative;
  z-index: 6;
}

.reception-header small { display: none; }
.reception-header h3 {
  margin-bottom: 22px;
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d6bfa8;
}

.reception-lead {
  margin-bottom: 16px;
  font-family: var(--font-title);
  font-size: .88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #caa58a;
}

.reception-day-time {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 8px;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #caa58a;
  text-transform: uppercase;
}

.reception-date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 8px;
}

.reception-date-num {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 1;
  color: #d6bfa8;
}

.reception-date-divider {
  width: 1px;
  height: 38px;
  background: rgba(214, 191, 168, 0.25);
}

.reception-date-month-year {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.reception-date-month-year span {
  font-family: var(--font-title);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #caa58a;
}

.reception-date-month-year strong {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: #d6bfa8;
}

.reception-lunar {
  margin: 10px auto 22px;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #caa58a;
}

.reception-times {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
}

.reception-time-col small {
  display: block;
  font-family: var(--font-title);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #caa58a;
  margin-bottom: 4px;
}

.reception-time-col strong {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: #d6bfa8;
}

/* Tờ Lịch Giấy Kem Mini */
.calendar-paper {
  max-width: 295px;
  min-height: auto;
  margin: 0 auto 20px;
  padding: 16px 18px 16px;
  border: 1px solid rgba(185, 155, 85, .25);
  border-radius: 12px;
  background: #faf8f2 !important;
  background-color: #faf8f2 !important;
  background-image: none !important;
  opacity: 1 !important;
  box-shadow: 0 8px 24px rgba(25, 4, 7, 0.25);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.calendar-paper-title {
  font-family: "Playfair Display", "Cormorant Garamond", cursive, Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #561118;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(86, 17, 24, 0.2);
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: .68rem;
  font-weight: 600;
  color: #724d52;
  margin-bottom: 6px;
  padding-bottom: 0;
  border: none;
}

.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}

.calendar-grid-days span {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: .75rem;
  color: #3b2326;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-grid-days .wedding-day {
  background: #460c12;
  color: #ffffff !important;
  border-radius: 50%;
  font-weight: 700;
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.calendar-grid-days .wedding-day::after {
  content: "♥";
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 8px;
  color: #c9a24a;
}

.countdown-container { display: none; }

.reception-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

.btn-gold-outline {
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: .8rem;
  color: #f7ede2;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: none;
}

.btn-gold-outline:hover {
  color: #ffffff;
}

.btn-cream-solid {
  padding: 11px 32px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #f7ede2 !important;
  color: #3B4C31 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cream-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Venue Section Refinement */
#venue {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 38px 0 25px;
  overflow: visible;
  background: transparent;
}



#venue > * {
  position: relative;
  z-index: 1;
}

.venue-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.venue-heading {
  display: block;
  margin: 0 auto 12px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #3B4C31;
}

.venue-name {
  display: block;
  max-width: 500px;
  margin: 0 auto 6px;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  color: #3B4C31;
  text-align: center;
}

.venue-name .venue-name-text {
  display: inline;
}

.venue-address {
  display: block;
  max-width: 480px;
  margin: 0 auto 22px;
  font-family: "Playfair Display", "Cormorant Garamond", "Lora", Georgia, "Times New Roman", serif !important;
  font-style: normal !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: #576554;
  text-align: center;
}

.venue-address .venue-address-text {
  font-family: inherit !important;
  font-style: normal !important;
}

.venue-location-icon {
  display: inline-block;
  vertical-align: -2.5px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #3B4C31;
  stroke: #3B4C31;
  stroke-width: 2.2px;
  margin-right: 5px;
  margin-top: 0;
}

.map-embed-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 310px;
  margin: 0 auto 22px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(35, 47, 28, 0.18);
  border: 1px solid rgba(59, 76, 49, 0.15);
  background: #eae4da;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.venue-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 22px;
  background: #3B4C31 !important;
  color: #ffffff !important;
  border: 1px solid #3B4C31 !important;
  border-radius: 999px !important;
  font-family: var(--font-title), 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(48, 75, 53, 0.22) !important;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.venue-direction-btn .direction-icon {
  width: 15px;
  height: 15px;
  stroke: #ffffff !important;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}

.venue-direction-btn:hover {
  background: #2b3924 !important;
  color: #ffffff !important;
  border-color: #2b3924 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(48, 75, 53, 0.32) !important;
  text-decoration: none !important;
}

.venue-direction-btn:hover .direction-icon {
  stroke: #ffffff !important;
  transform: translate(1px, -1px);
}

/* Dress Code Refinement */
#dresscode {
  position: relative;
  min-height: 180px;
  margin-bottom: 28px;
  padding-top: 24px;
  overflow: visible;
  background: transparent;
}

#dresscode::before {
  display: none !important;
}

#dresscode > * {
  position: relative;
  z-index: 1;
}

#dresscode .section-header { margin-bottom: 16px; }
#dresscode .section-header h2 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #3B4C31;
  margin-bottom: 4px;
}
#dresscode .section-header p {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: .98rem;
  font-weight: 500;
  color: #3B4C31;
  margin-top: 0;
}
.color-swatches { gap: 14px; margin-top: 14px; }
.swatch-circle { width: 36px; height: 36px; border: 1.5px solid rgba(255, 255, 255, 0.9); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.swatch-item span { display: none; }

/* Timeline Refinement */
#timeline {
  position: relative;
}

#timeline::before {
  display: none !important;
}

.timeline-card {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 40px 24px 36px;
  overflow: visible;
}

.timeline-card::before {
  display: none !important;
}

.timeline-card > * {
  position: relative;
  z-index: 6;
}

.timeline-card .card-heading {
  text-align: center;
  margin-bottom: 28px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e5d1bd;
}

.timeline-list {
  position: relative;
  width: auto;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(214, 191, 168, 0.25);
  transform: none;
  z-index: 1;
  display: block;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: max-content;
  min-height: 0;
  margin: 0 0 28px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
}

.timeline-time {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #caa58a;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  white-space: nowrap;
}

.timeline-line-col {
  position: relative;
  left: auto;
  transform: none;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 10px;
  flex: 0 0 10px;
  padding-top: 6px;
}

.timeline-dot {
  position: static;
  left: auto;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #caa58a;
  box-shadow: 0 0 0 2px rgba(202, 165, 138, 0.25);
  display: block;
}

.timeline-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 18px;
}

.timeline-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: #caa58a;
  letter-spacing: .02em;
  text-align: left;
  white-space: nowrap;
}

/* Countdown Section Refinement */
#countdown {
  position: relative;
  overflow: visible;
}

#countdown::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -40px;
  width: clamp(210px, 48vw, 310px);
  height: 600px;
  z-index: 0;
  opacity: 0.28;
  background: url("../assets/61db62d4-a721-49b5-a350-f8d196bb596c.png") left top / contain no-repeat;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
  pointer-events: none;
}

#countdown > * {
  position: relative;
  z-index: 1;
}

#love-story { display: none; }

/* Guestbook Refinement */
#guestbook {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 34px;
  padding: 20px clamp(14px, 4vw, 20px) 10px;
  box-sizing: border-box;
  overflow: visible;
  background: transparent;
  min-height: auto;
}

#guestbook::before { display: none; }

.guestbook-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 24px;
  background: #f7f1e6;
  border-radius: 20px;
  padding: 26px 18px 20px;
  border: 1px solid rgba(81, 20, 25, 0.14);
  box-shadow: 0 10px 28px rgba(48, 23, 20, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: visible;
  box-sizing: border-box;
}

.guestbook-card::before { display: none; }

.guestbook-flower-left { display: none !important; }

.guestbook-heading {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3B4C31;
  text-align: center;
  margin: 0 0 16px;
}

.guestbook-form {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  max-width: 100%;
}

.guestbook-form .form-input,
.guestbook-form .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.2px solid #3B4C31;
  background: #fbf8f2;
  font-family: "Lora", "Cormorant Garamond", Georgia, serif;
  font-size: 16px; /* >=16px: Safari iOS không auto-zoom khi focus */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
  color: #263520;
  outline: none;
  transition: all 0.2s ease;
}

.guestbook-form .form-input::placeholder,
.guestbook-form .form-textarea::placeholder {
  color: rgba(59, 76, 49, 0.52);
  font-style: italic;
  font-family: "Lora", "Cormorant Garamond", Georgia, serif;
  font-size: 16px; /* giữ >=16px để WebView không zoom khi hiện placeholder */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.guestbook-form .form-input:focus,
.guestbook-form .form-textarea:focus {
  border-color: #3B4C31;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 76, 49, 0.12);
}

.guestbook-form .form-textarea {
  min-height: 80px;
  resize: vertical;
}

.guestbook-actions {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.btn-wish-icon {
  position: relative;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #cdd8c8;
  background: #edf2ea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3B4C31;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.btn-wish-icon:hover {
  background: #dbe4d7;
  color: #3B4C31;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(59, 76, 49, 0.15);
}

.btn-submit-wish {
  padding: 8px 24px;
  border-radius: 999px;
  background: #3B4C31;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 76, 49, 0.25);
  transition: all 0.2s ease;
}

.btn-submit-wish:hover {
  background: #273420;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 76, 49, 0.35);
}

.wishes-list {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
  box-sizing: border-box;
}

.wishes-list::-webkit-scrollbar {
  width: 6px;
  height: 0px;
}

.wishes-list::-webkit-scrollbar:horizontal {
  display: none;
  height: 0px;
}

.wishes-list::-webkit-scrollbar-track {
  background: rgba(59, 76, 49, 0.06);
  border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: rgba(59, 76, 49, 0.4);
  border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb:hover {
  background: #3B4C31;
}

.wish-item {
  background: #faf7f0;
  border: 1px solid rgba(59, 76, 49, 0.12);
  border-radius: 9px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(59, 76, 49, 0.04);
  animation: fadeIn 0.4s ease;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}

.wish-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.wish-author {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: #3B4C31;
}

.wish-time {
  font-family: "Playfair Display", "Lora", serif;
  font-size: 0.74rem;
  color: #6d7d6b;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
}

.wish-message {
  font-family: var(--font-body), "Lora", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #2b3a25;
  line-height: 1.5;
  margin: 0;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Modal Gợi Ý Lời Chúc */
.wish-suggestions-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wish-suggestions-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.wish-modal-card {
  width: 100%;
  max-width: 390px;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transform: scale(0.95) translateY(8px);
  transition: transform 0.25s ease;
}

.wish-suggestions-modal.open .wish-modal-card {
  transform: scale(1) translateY(0);
}

.wish-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.wish-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wish-modal-icon {
  font-size: 1.15rem;
}

.wish-modal-title h3 {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #3B4C31;
  margin: 0;
}

.wish-modal-close {
  background: none;
  border: 0;
  font-size: 1.25rem;
  color: #888888;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.wish-modal-close:hover {
  color: #111111;
}

.wish-modal-subtitle {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 0.82rem;
  color: #666666;
  margin: 0 0 14px;
  line-height: 1.4;
}

.wish-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-suggestion-item {
  padding: 11px 13px;
  background: #ffffff;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 0.84rem;
  color: #333333;
  line-height: 1.45;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wish-suggestion-item:hover {
  border-color: #3B4C31;
  background: #f4f7f2;
  color: #3B4C31;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 76, 49, 0.1);
}

.wish-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.btn-modal-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #d4d8de;
  background: #ffffff;
  color: #333333;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-refresh:hover {
  border-color: #3B4C31;
  color: #3B4C31;
  background: #f4f7f2;
}

.btn-modal-cancel {
  padding: 8px 24px;
  border-radius: 6px;
  border: 0;
  background: #e8ecf1;
  color: #4a5568;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
  background: #dde2e8;
  color: #1a202c;
}

/* Gift Section Refinement */
#gift {
  position: relative;
  width: 88%;
  max-width: 420px;
  min-height: auto;
  margin: 0 auto 20px;
  padding: 30px 20px 24px;
  overflow: visible;
  background: transparent;
}

#gift .gift-flower-right {
  position: absolute !important;
  top: 50px;
  right: -100px;
  width: clamp(180px, 42vw, 250px);
  height: auto;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 96%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 96%);
  object-fit: contain;
  pointer-events: none;
}

#gift > *:not(.gift-flower-right) {
  position: relative;
  z-index: 1;
}

footer { display: none; }
.footer-monogram { font-size: 1rem; }
.footer-date { font-size: .62rem; }
.footer-thankyou { display: none; }

/* Bride reception: reuse reception layout, venue nested inside card */
#reception-bride { margin-bottom: 24px; position: relative; }
#reception-bride .venue-card { width: 100%; margin: 28px auto 0; padding: 0; background: transparent; border: 0; box-shadow: none; text-align: center; }
#reception-bride .venue-heading,
.reception-card .venue-heading {
  font-family: var(--font-title), 'Montserrat', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #5c7358 !important;
  margin: 0 auto 6px !important;
  line-height: 1.4 !important;
}

/* Ceremony address + direction button */
.ceremony-address { margin: -6px auto 12px; max-width: 320px; font-size: .78rem; line-height: 1.5; opacity: .9; text-align: center; color: inherit; }
.ceremony-direction-btn { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 18px; padding: 7px 18px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; transition: background .25s, color .25s; }
.ceremony-direction-btn:hover { background: #2b3924; color: #fff; border-color: rgba(212, 197, 151, 0.55); }
