/* ============================================
   WEDDING INVITATION - Minh Nhựt & Thị Mơ
   Color Palette: Brown, Cream, Deep Red
   ============================================ */

:root {
  --brown-dark: #5C3D2E;
  --brown: #7B5B3A;
  --brown-light: #A67C52;
  --cream: #F5EDE0;
  --cream-light: #FDF8F2;
  --cream-dark: #E8DDD0;
  --red-deep: #8B2323;
  --red: #B03A2E;
  --red-light: #C0544A;
  --gold: #C5A35A;
  --gold-light: #D4B96E;
  --text-dark: #3A2718;
  --text-medium: #5C3D2E;
  --text-light: #8B7355;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* ============================================
   ENVELOPE OPENING
   ============================================ */
#envelope-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 50%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#envelope-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.envelope-container {
  text-align: center;
}

.envelope {
  width: 320px;
  height: 220px;
  margin: 0 auto 30px;
  position: relative;
  perspective: 800px;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(135deg, var(--brown-light) 0%, var(--brown) 100%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  z-index: 2;
  transform-origin: top;
  transition: transform 0.6s ease;
}

.envelope.open .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-dark) 100%);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(92, 61, 46, 0.3);
}

.envelope-content {
  background: var(--cream-light);
  width: 85%;
  height: 80%;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: transform 0.6s ease 0.3s;
}

.envelope.open .envelope-content {
  transform: translateY(-60px);
}

.envelope-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 8px;
}

.envelope-names {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: var(--brown-dark);
  margin-bottom: 5px;
}

.envelope-names span {
  color: var(--red-deep);
  margin: 0 5px;
}

.envelope-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 2px;
}

.open-envelope-btn {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  border: none;
  padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(92, 61, 46, 0.3);
  animation: pulse-btn 2s infinite;
}

.open-envelope-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 61, 46, 0.4);
}

.open-envelope-btn i {
  margin-right: 8px;
}

@keyframes pulse-btn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   MUSIC BUTTON
   ============================================ */
.music-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--brown-light);
  background: rgba(245, 237, 224, 0.9);
  color: var(--brown);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.music-btn:hover {
  background: var(--brown);
  color: var(--cream);
}

.music-btn.playing {
  animation: music-pulse 1s infinite;
}

@keyframes music-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123, 91, 58, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(123, 91, 58, 0); }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 40px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #4A2C1A 50%, var(--brown-dark) 100%);
  color: var(--cream);
  position: relative;
  min-height: 100vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(197, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(197, 163, 90, 0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A35A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.save-the-date-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.double-happiness {
  font-size: 60px;
  color: var(--red-deep);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(139, 35, 35, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.couple-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 25px;
}

.bride-name,
.groom-name {
  font-family: 'Great Vibes', cursive;
  font-size: 56px;
  font-weight: 400;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.ampersand {
  font-family: 'Great Vibes', cursive;
  font-size: 40px;
  color: var(--gold);
  display: block;
  margin: 5px 0;
}

.wedding-date-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.wedding-date-hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--gold-light);
}

.date-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.scroll-indicator {
  margin-top: 50px;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 20px;
  color: var(--gold);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

/* Floating Petals */
.floating-petals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -20px;
  opacity: 0.6;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(100px);
    opacity: 0;
  }
}

/* ============================================
   COUNTDOWN SECTION
   ============================================ */
.countdown-section {
  background: var(--cream-light);
  min-height: auto;
  padding: 60px 0;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  border-radius: 12px;
  padding: 20px 15px;
  min-width: 90px;
  box-shadow: 0 8px 25px rgba(92, 61, 46, 0.2);
}

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

.countdown-separator {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--brown);
  font-weight: 700;
  padding-bottom: 20px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  min-height: auto;
  padding: 80px 0;
}

.gallery-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gallery-item {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
}

.gallery-frame {
  background: white;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(92, 61, 46, 0.18);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(92, 61, 46, 0.25);
}

.gallery-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .gallery-item {
    max-width: 90%;
  }
}

/* ============================================
   COUPLE SECTION
   ============================================ */
.couple-section {
  background: var(--cream);
  position: relative;
}

.couple-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

.families-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.family-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(92, 61, 46, 0.15);
}

.family-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.family-icon i {
  color: var(--cream);
  font-size: 20px;
}

.family-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 15px;
}

.parents-info {
  margin-bottom: 12px;
}

.parents-info p {
  font-size: 17px;
  color: var(--text-medium);
  margin-bottom: 4px;
  line-height: 1.6;
}

.family-address {
  font-size: 15px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}

.heart-divider {
  display: flex;
  align-items: center;
  padding-top: 40px;
}

.heart-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heartbeat 1.5s infinite;
}

.heart-icon i {
  color: var(--cream);
  font-size: 20px;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

.couple-highlight {
  margin-top: 10px;
}

.couple-card {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #4A2C1A 100%);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(92, 61, 46, 0.25);
  position: relative;
  overflow: hidden;
}

.couple-card::before {
  content: '囍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 150px;
  color: rgba(197, 163, 90, 0.05);
  z-index: 0;
}

.couple-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.couple-person {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  color: var(--cream);
  margin: 5px 0 10px;
  position: relative;
  z-index: 1;
}

.couple-and {
  margin: 10px 0;
  position: relative;
  z-index: 1;
}

.couple-and span {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: var(--red);
}

/* ============================================
   EVENT SECTION
   ============================================ */
.event-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 50%, var(--cream) 100%);
  min-height: auto;
}

.event-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.event-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  padding: 35px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(92, 61, 46, 0.15);
}

.event-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.event-card-icon i {
  color: var(--cream);
  font-size: 24px;
}

.event-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  text-align: left;
}

.event-detail i {
  color: var(--brown-light);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.event-detail p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.5;
}

.event-detail.lunar p {
  font-style: italic;
  color: var(--text-light);
}

/* ============================================
   CALENDAR SECTION
   ============================================ */
.calendar-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #4A2C1A 100%);
  color: var(--cream);
  min-height: auto;
  padding: 60px 0;
}

.calendar-section .section-title {
  color: var(--cream);
}

.calendar-section .section-title::after {
  background: var(--gold);
}

.calendar-wrapper {
  max-width: 420px;
  margin: 30px auto 0;
}

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

.calendar-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  color: var(--gold);
}

.calendar-header.sunday {
  color: var(--red-light);
}

.calendar-day {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  padding: 10px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: var(--cream-dark);
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day.today {
  background: rgba(197, 163, 90, 0.2);
  color: var(--gold);
}

.calendar-day.wedding-day {
  background: var(--red-deep);
  color: var(--cream);
  font-weight: 700;
  position: relative;
  animation: glow 2s infinite;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(139, 35, 35, 0.5); }
  50% { box-shadow: 0 0 20px rgba(139, 35, 35, 0.8), 0 0 30px rgba(139, 35, 35, 0.3); }
}

.calendar-day.sunday {
  color: var(--red-light);
}

/* ============================================
   MESSAGE SECTION
   ============================================ */
.message-section {
  background: var(--cream-light);
  min-height: auto;
  padding: 80px 0;
}

.invitation-message {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px 30px;
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(92, 61, 46, 0.1);
}

.message-ornament {
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 20px;
}

.message-ornament.bottom {
  margin-bottom: 0;
  margin-top: 20px;
  transform: rotate(180deg);
}

.message-text {
  font-size: 20px;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.kinh-moi {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  color: var(--red-deep);
  margin-top: 10px;
}

/* ============================================
   WISHES SECTION
   ============================================ */
.wishes-section {
  background: var(--cream);
  min-height: auto;
  padding: 60px 0 80px;
}

.wishes-form-wrapper {
  max-width: 500px;
  margin: 0 auto 40px;
}

.wishes-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  border: 2px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--cream-light);
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown-light);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

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

.submit-btn {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  border: none;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(92, 61, 46, 0.2);
  align-self: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 61, 46, 0.3);
}

.submit-btn i {
  margin-right: 8px;
}

.wishes-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wish-item {
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  animation: fadeInUp 0.5s ease;
}

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

.wish-item .wish-author {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.wish-item .wish-text {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.6;
  font-style: italic;
}

.wish-item .wish-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ============================================
   QR CODE SECTION
   ============================================ */
.qrcode-section {
  background: var(--cream-light);
  min-height: auto;
  padding: 60px 0 80px;
}

.qrcode-wrapper {
  display: flex;
  justify-content: center;
}

.qrcode-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(92, 61, 46, 0.15);
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(92, 61, 46, 0.2);
}

.qrcode-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

@media (max-width: 480px) {
  .qrcode-img {
    max-width: 220px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3A1F12 100%);
  color: var(--cream);
  padding: 40px 20px;
  text-align: center;
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-names i {
  color: var(--red);
  font-size: 18px;
  animation: heartbeat 1.5s infinite;
}

.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-thanks {
  font-size: 16px;
  color: var(--cream-dark);
  font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .bride-name,
  .groom-name {
    font-size: 42px;
  }

  .ampersand {
    font-size: 30px;
  }

  .double-happiness {
    font-size: 48px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 15px 10px;
  }

  .countdown-number {
    font-size: 32px;
  }

  .countdown-separator {
    font-size: 28px;
  }

  .families-container {
    flex-direction: column;
    align-items: center;
  }

  .heart-divider {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .family-card {
    max-width: 100%;
  }

  .couple-person {
    font-size: 34px;
  }

  .event-cards {
    flex-direction: column;
    align-items: center;
  }

  .event-card {
    max-width: 100%;
  }

  .kinh-moi {
    font-size: 38px;
  }

  .message-text {
    font-size: 17px;
  }

  .envelope {
    width: 260px;
    height: 180px;
  }

  .footer-names {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .bride-name,
  .groom-name {
    font-size: 36px;
  }

  .wedding-date-hero p {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .date-divider {
    width: 30px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 12px 8px;
  }

  .countdown-number {
    font-size: 26px;
  }

  .countdown-separator {
    font-size: 22px;
  }

  .section-container {
    padding: 60px 15px;
  }

  .couple-card {
    padding: 30px 20px;
  }

  .couple-person {
    font-size: 28px;
  }

  .envelope {
    width: 220px;
    height: 150px;
  }

  .envelope-names {
    font-size: 18px;
  }
}

/* ============================================
   SCROLL ANIMATIONS (supplement AOS)
   ============================================ */
.section-container > * {
  opacity: 1;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--brown-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown);
}
