/* ==========================================================================
   THIỆP CƯỚI THÀNH TÂN & MỸ NHUNG - PHIÊN BẢN HỌ HÀNG & GIA TỘC
   Tông màu: Đỏ rượu hoàng gia (Burgundy/Crimson), Vàng ánh kim (Gold), Kem ngà (Ivory)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  --primary-red: #8B1E29;       /* Đỏ rượu nhung quý phái */
  --primary-dark: #5e0d16;      /* Đỏ đô đậm */
  --primary-light: #b33947;     /* Đỏ tươi thanh lịch */
  --gold-accent: #c59b27;       /* Vàng kim */
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #edd887 50%, #c59b27 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  
  --bg-cream: #FAF7F2;          /* Màu kem giấy mộc sang trọng */
  --bg-card: #FFFFFF;
  --bg-card-soft: #FDFBF7;
  
  --text-main: #2C2727;
  --text-muted: #6E6562;
  --text-light: #9B918E;
  
  --border-gold: rgba(197, 155, 39, 0.3);
  --border-subtle: rgba(139, 30, 41, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(94, 13, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(94, 13, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(94, 13, 22, 0.12);
  --shadow-gold: 0 8px 25px rgba(197, 155, 39, 0.25);
  
  --font-serif: 'Playfair Display', serif;
  --font-script: 'Alex Brush', cursive;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Background Texture subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(197, 155, 39, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.main-container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(94, 13, 22, 0.08);
  z-index: 1;
}

/* ==========================================================================
   CANVAS HIỆU ỨNG HOA RƠI
   ========================================================================== */
#flower-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
}

/* ==========================================================================
   AUDIO PLAYER NỔI (ĐĨA THAN & NỐT NHẠC)
   ========================================================================== */
.floating-music-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid var(--gold-accent);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-music-btn:hover {
  transform: scale(1.08);
}

.disc-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.disc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: spinDisc 10s linear infinite;
  animation-play-state: paused;
}

.disc-img.playing {
  animation-play-state: running;
}

.music-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(94, 13, 22, 0.3);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.music-waves.active {
  opacity: 1;
}

.music-waves span {
  width: 2.5px;
  height: 12px;
  background-color: #fff;
  border-radius: 2px;
  animation: soundBars 1.2s ease-in-out infinite alternate;
}

.music-waves span:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.music-waves span:nth-child(3) { animation-delay: 0.4s; height: 10px; }

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

@keyframes soundBars {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* ==========================================================================
   NAVIGATION NỔI DƯỚI ĐÁY MÀN HÌNH (QUICK ACTIONS)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(94, 13, 22, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  max-width: 92vw;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.bottom-nav a svg {
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: var(--primary-red);
}

/* ==========================================================================
   BANNER THÔNG BÁO KHÁCH MỜI RIÊNG (PERSONALIZED GUEST GREETING)
   ========================================================================== */
.guest-welcome-card {
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  text-align: center;
  border-top: 3px solid var(--primary-red);
}

.guest-welcome-card .greeting-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.guest-welcome-card .guest-name-highlight {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================================================
   HERO COVER / ĐẦU TRANG
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 40px 24px 30px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  overflow: hidden;
}

.hero-corner-decor {
  position: absolute;
  width: 70px;
  height: 70px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-corner-tl { top: 12px; left: 12px; }
.hero-corner-tr { top: 12px; right: 12px; transform: scaleX(-1); }

.wedding-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-red);
  padding: 4px 16px;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 16px;
}

.couple-names-wrap {
  margin-bottom: 12px;
}

.couple-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 1px;
  line-height: 1.25;
}

.couple-ampersand {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--gold-accent);
  display: block;
  line-height: 0.9;
  margin: 6px 0;
}

.wedding-dates-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 24px;
  padding: 8px 22px;
  background: #FFF;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.wedding-dates-badge .dot-divider {
  width: 5px;
  height: 5px;
  background-color: var(--gold-accent);
  border-radius: 50%;
}

.hero-photo-container {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 200px 200px 20px 20px;
  padding: 8px;
  background: var(--gold-gradient);
  box-shadow: var(--shadow-lg);
}

.hero-photo-frame {
  border-radius: 192px 192px 14px 14px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  aspect-ratio: 4/5;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-photo-img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   CÁC SECTION CHUNG
   ========================================================================== */
section {
  padding: 44px 20px;
  position: relative;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-divider .line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold-gradient);
}

.section-divider svg {
  color: var(--gold-accent);
}

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

.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================================================
   THƯ MỜI CƯỚI & THÔNG TIN HAI HỌ
   ========================================================================== */
.invitation-section {
  background-color: #fff;
}

.invitation-card {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FCF9F4 100%);
  position: relative;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.invitation-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(197, 155, 39, 0.4);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.invitation-letter-badge {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 8px;
}

.invitation-letter-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.family-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  text-align: center;
}

.family-box {
  background: rgba(255, 255, 255, 0.7);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.family-box-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.parent-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.parent-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.35;
}

.parent-holy {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-accent);
  display: block;
}

.family-address {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
}

.invitation-announcement {
  margin: 20px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.couple-focus-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 24px;
}

.couple-focus-card {
  flex: 1;
}

.couple-role-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
}

.couple-focus-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-red);
}

.couple-focus-sym {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold-accent);
}

/* ==========================================================================
   LỜI NGỎ & TRI ÂN
   ========================================================================== */
.foreword-section {
  background: linear-gradient(180deg, #FAF7F2 0%, #FFF 100%);
}

.foreword-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  position: relative;
  text-align: center;
}

.foreword-quote-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--gold-accent);
  opacity: 0.8;
}

.foreword-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4A423F;
  margin-bottom: 24px;
}

.foreword-content p {
  margin-bottom: 16px;
}

.foreword-content p:last-child {
  margin-bottom: 0;
}

.foreword-signature {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-top: 16px;
}

/* ==========================================================================
   SỰ KIỆN CƯỚI (LỄ THÀNH HÔN & TIỆC ĐÃI KHÁCH)
   ========================================================================== */
.events-section {
  background-color: #FAF7F2;
}

.event-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-item-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-card-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
  color: #fff;
  padding: 18px 20px;
  text-align: center;
  position: relative;
}

.event-card-header .event-tag {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #edd887;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.event-card-header .event-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-card-body {
  padding: 24px 20px;
  text-align: center;
}

.event-time-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 24px;
  background: #FCF9F4;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-gold);
  margin-bottom: 16px;
}

.event-hour {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-red);
}

.event-day-lunar {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.event-venue-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.event-venue-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.event-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-event-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary-action {
  background: var(--gold-gradient);
  color: #3b2800;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.3);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.45);
}

.btn-secondary-action {
  background: #FFF;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
}

.btn-secondary-action:hover {
  background: rgba(139, 30, 41, 0.05);
}

/* ==========================================================================
   BỘ ĐẾM NGƯỢC (COUNTDOWN TIMER) & LỊCH CƯỚI
   ========================================================================== */
.countdown-section {
  background: linear-gradient(135deg, #FAF7F2 0%, #FFFFFF 100%);
  text-align: center;
}

.countdown-box-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.countdown-item {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px 6px;
  box-shadow: var(--shadow-sm);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1.1;
  display: block;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Lịch tháng 11 */
.calendar-card {
  max-width: 380px;
  margin: 0 auto;
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.calendar-header {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 0.82rem;
}

.calendar-day-name {
  font-weight: 700;
  color: var(--gold-accent);
  padding-bottom: 8px;
}

.calendar-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-main);
  position: relative;
}

.calendar-cell.muted {
  color: #D1CBC9;
}

.calendar-cell.wedding-highlight {
  background: var(--primary-red);
  color: #FFF;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(139, 30, 41, 0.4);
  animation: pulseHeart 2s infinite ease-in-out;
}

.calendar-cell.wedding-highlight-secondary {
  background: var(--gold-gradient);
  color: #3b2800;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(197, 155, 39, 0.35);
}

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

/* ==========================================================================
   HÀNH TRÌNH YÊU THƯƠNG (LOVE STORY TIMELINE)
   ========================================================================== */
.story-section {
  background-color: #FFF;
}

.story-timeline {
  position: relative;
  padding: 20px 0;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-accent) 0%, rgba(197, 155, 39, 0.2) 100%);
}

.story-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 36px;
}

.story-item:last-child {
  margin-bottom: 0;
}

.story-node {
  position: absolute;
  left: 14px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 3px solid #FFF;
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-card {
  background: #FCF9F4;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.story-time-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 8px;
}

.story-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ALBUM ẢNH CƯỚI (GALLERY & LIGHTBOX)
   ========================================================================== */
.gallery-section {
  background-color: #FAF7F2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3/4;
  background-color: #eee;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(94, 13, 22, 0.6) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.3s ease;
}

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

.gallery-item-overlay span {
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFF;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
}

/* ==========================================================================
   HỘP MỪNG CƯỚI / CHÚC PHÚC TỪ XA (GIFT BOX & QR LPBANK)
   ========================================================================== */
.gift-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
}

.gift-card-box {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.gift-intro-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.qr-code-frame {
  max-width: 260px;
  margin: 0 auto 20px;
  padding: 12px;
  background: #FFF;
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.qr-code-frame img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

.bank-info-details {
  background: #FCF9F4;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.bank-name-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-accent);
  font-weight: 700;
}

.bank-account-num {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 2px;
  margin: 4px 0;
}

.bank-account-owner {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
}

.gift-btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FORM XÁC NHẬN THAM DỰ (RSVP) & SỔ LƯU BÚT ONLINE
   ========================================================================== */
.rsvp-section {
  background-color: #FAF7F2;
}

.rsvp-form-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

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

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

.form-label .required {
  color: var(--primary-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #DDD3CB;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-main);
  background-color: #FAF8F5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  background-color: #FFF;
  box-shadow: 0 0 0 3px rgba(139, 30, 41, 0.1);
}

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

.radio-pills-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #FAF8F5;
  border: 1px solid #DDD3CB;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.radio-pill-label input[type="radio"] {
  accent-color: var(--primary-red);
}

.radio-pill-label:has(input[type="radio"]:checked) {
  border-color: var(--primary-red);
  background: rgba(139, 30, 41, 0.05);
  color: var(--primary-red);
  font-weight: 600;
}

.btn-submit-rsvp {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
  color: #FFF;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(94, 13, 22, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(94, 13, 22, 0.35);
}

/* Sổ lưu bút trực quan */
.guestbook-wrap {
  text-align: left;
}

.guestbook-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--primary-red);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.guestbook-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.guestbook-item {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  animation: fadeIn 0.4s ease;
}

.guestbook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.guestbook-author {
  font-weight: 700;
  color: var(--primary-red);
  font-size: 0.95rem;
}

.guestbook-role {
  font-size: 0.72rem;
  background: #FAF3EB;
  color: var(--gold-accent);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.guestbook-msg {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
  font-style: italic;
}

.guestbook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.guestbook-like-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: color 0.2s;
}

.guestbook-like-btn.liked {
  color: #E0245E;
}

/* ==========================================================================
   FOOTER CHÂN TRANG
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #FFFFFF 0%, #1f0b0f 100%);
  color: #FFF;
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #edd887;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-thankyou {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin: 0 auto 24px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-msg {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(30, 24, 25, 0.95);
  color: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

/* ==========================================================================
   RESPONSIVE CHO MÀN HÌNH NHỎ
   ========================================================================== */
@media (max-width: 480px) {
  .couple-name {
    font-size: 1.85rem;
  }
  .couple-ampersand {
    font-size: 2.2rem;
  }
  .family-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .countdown-num {
    font-size: 1.5rem;
  }
  .radio-pills-group {
    grid-template-columns: 1fr;
  }
}

