/* ================================================================
   WEDDING INVITATION — OMAR & SALMA
   Theme: Modern White with a touch of Navy
   ================================================================ */

/* ── CSS Variables ── */
:root {
  --navy:        #1a2744;
  --navy-deep:   #0d1535;
  --navy-mid:    #253660;
  --gold:        #c9a84c;
  --gold-light:  #e0c97f;
  --gold-pale:   #f8f2e0;
  --white:       #ffffff;
  --off-white:   #f9f9fb;
  --cream:       #faf7f2;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a4a6a;
  --text-light:  #9999bb;
  --border:      rgba(201, 168, 76, 0.25);

  --font-script: 'Great Vibes', cursive;
  --font-serif:  'Cormorant Garamond', serif;
  --font-sans:   'Lato', sans-serif;

  --max-w:        1100px;
  --section-py:   100px;
  --radius:       12px;
  --shadow:       0 4px 32px rgba(26, 39, 68, 0.08);
  --shadow-lg:    0 12px 60px rgba(26, 39, 68, 0.14);
  --transition:   0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; }
sup   { font-size: 0.55em; vertical-align: super; }

/* ── Utility ── */
.hidden { display: none !important; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Typography Helpers ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title-light { color: var(--white); }
.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-subtitle-light { color: rgba(255, 255, 255, 0.72); }
.section-header { text-align: center; margin-bottom: 56px; }

/* ── Buttons ── */
.btn-navy,
.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-navy  { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-gold  { background: var(--gold);  color: var(--navy);  border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }

.btn-navy:hover,
.btn-navy:focus-visible  { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold:hover,
.btn-gold:focus-visible  { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.btn-outline:hover,
.btn-outline:focus-visible { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; }

/* ── ════════════════════════════════ ── */
/*    NAVBAR                             */
/* ── ════════════════════════════════ ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--white);
  padding: 14px 44px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}
.nav-brand {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--white);
  transition: color var(--transition);
  white-space: nowrap;
}
#navbar.scrolled .nav-brand { color: var(--navy); }

#nav-menu {
  display: flex;
  gap: 34px;
}
#nav-menu a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}
#nav-menu a:hover,
#nav-menu a:focus-visible   { color: var(--gold); }
#navbar.scrolled #nav-menu a              { color: var(--text-mid); }
#navbar.scrolled #nav-menu a:hover,
#navbar.scrolled #nav-menu a:focus-visible { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
}
#navbar.scrolled .nav-toggle { color: var(--navy); }

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

#navbar.scrolled .lang-toggle {
  border-color: rgba(26, 39, 68, 0.2);
  color: var(--navy);
  background: var(--off-white);
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ── ════════════════════════════════ ── */
/*    HERO                               */
/* ── ════════════════════════════════ ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-mid) 100%);
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 18%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 92%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 168, 76, 0.13);
}
.ring-1 { width: 380px;  height: 380px; }
.ring-2 { width: 680px;  height: 680px; border-color: rgba(201,168,76,0.07); }
.ring-3 { width: 980px;  height: 980px; border-color: rgba(201,168,76,0.04); }

.hero-content { position: relative; z-index: 1; }

.hero-pre {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-names {
  font-family: var(--font-script);
  font-size: clamp(3.8rem, 10vw, 8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 26px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero-amp {
  color: var(--gold);
  font-size: 0.78em;
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}
.divider-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.7), transparent);
}
.divider-ornament {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.hero-weekday {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 6px;
}
.hero-time {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}
.hero-venue-rooftop {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-venue {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition);
  z-index: 1;
}
.hero-scroll:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── ════════════════════════════════ ── */
/*    EVENT HIGHLIGHTS                   */
/* ── ════════════════════════════════ ── */
#event-highlights {
  background: linear-gradient(180deg, var(--white), var(--off-white));
  padding: 36px 24px 56px;
}

.highlights-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.highlight-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.highlight-rooftop {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.highlight-main {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 5px;
  font-weight: 600;
}

.highlight-sub {
  color: var(--text-mid);
  font-size: 0.96rem;
}

.highlight-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
  flex-wrap: wrap;
}

/* ── ════════════════════════════════ ── */
/*    COUNTDOWN                          */
/* ── ════════════════════════════════ ── */
#countdown {
  background: var(--cream);
  padding: var(--section-py) 24px;
  text-align: center;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.countdown-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px 26px 22px;
  min-width: 105px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.countdown-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.count-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.count-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.countdown-sep {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 300;
  opacity: 0.35;
  padding: 0 2px;
  margin-top: -18px;
  align-self: center;
}
.countdown-done {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  font-style: italic;
  margin-top: 20px;
}

/* ── ════════════════════════════════ ── */
/*    COUPLE PHOTO                       */
/* ── ════════════════════════════════ ── */
#couple-photo {
  background: var(--white);
  padding: var(--section-py) 24px;
}
.photo-wrapper {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.photo-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 92px;
  gap: 12px;
  align-items: stretch;
}

.photo-frame {
  position: relative;
  width: 100%;
  padding-top: 125%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--cream);
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-pale) 100%);
  z-index: 0;
}
.ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
}
.ph-initials {
  font-family: var(--font-script);
  font-size: 5.5rem;
  color: var(--navy);
  line-height: 1;
}
.ph-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  font-style: italic;
}
.ph-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}
#couple-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mini-cards {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.mini-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 0;
  min-height: 0;
}

.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-caption { margin-top: 28px; }
.photo-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.photo-names {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── ════════════════════════════════ ── */
/*    DETAILS                            */
/* ── ════════════════════════════════ ── */
#details {
  position: relative;
  background:
    linear-gradient(120deg, rgba(13, 21, 53, 0.74) 0%, rgba(26, 39, 68, 0.6) 48%, rgba(13, 21, 53, 0.8) 100%),
    url('images/MasjedAlShorta.jpg') center/cover no-repeat;
  padding: var(--section-py) 24px;
  text-align: center;
  overflow: hidden;
}
#details::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
#details .section-header,
#details .details-grid {
  position: relative;
  z-index: 1;
}
#details .section-label {
  color: rgba(248, 242, 224, 0.95);
}
#details .section-title {
  color: var(--white);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.detail-card {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 42px 28px;
  box-shadow: 0 12px 30px rgba(13, 21, 53, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.detail-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.detail-icon {
  width: 54px; height: 54px;
  margin: 0 auto 22px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.detail-icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.detail-card h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.detail-card p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}
.detail-highlight {
  font-family: var(--font-serif) !important;
  font-size: 1.34rem !important;
  font-weight: 600 !important;
  color: var(--gold-pale) !important;
  margin-top: 4px;
}

/* ── ════════════════════════════════ ── */
/*    LOCATION / MAP                     */
/* ── ════════════════════════════════ ── */
#location {
  background: var(--white);
  padding: var(--section-py) 0 0;
  text-align: center;
}
.map-header { padding: 0 24px; }
.map-container {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
  overflow: hidden;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
.location-actions { padding: 0 24px var(--section-py); }

/* ── ════════════════════════════════ ── */
/*    REMINDER                           */
/* ── ════════════════════════════════ ── */
#reminder {
  padding: var(--section-py) 24px;
  background: var(--off-white);
  text-align: center;
}

.reminder-buttons {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reminder-btn {
  min-width: 230px;
}

/* ── ════════════════════════════════ ── */
/*    PHOTO SHARING / QR CODE            */
/* ── ════════════════════════════════ ── */
#photos.section-dark {
  background: var(--navy);
  padding: var(--section-py) 24px;
  text-align: center;
}
.qr-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}
.qr-outer-frame {
  background: var(--white);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.qr-inner-frame {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#qr-code canvas,
#qr-code img {
  display: block;
  width: 180px !important;
  height: 180px !important;
}
.qr-corner-text {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 14px;
}
.qr-info { text-align: left; }
.qr-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}
.qr-num {
  display: flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.qr-info .btn-gold { margin-top: 26px; }

/* ── ════════════════════════════════ ── */
/*    GUESTBOOK                          */
/* ── ════════════════════════════════ ── */
#guestbook {
  background: var(--cream);
  padding: var(--section-py) 24px;
}
.guestbook-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.wish-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.char-count {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 6px;
  transition: color var(--transition);
}

.checkbox-field {
  margin-bottom: 18px;
}

.checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 0 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
  line-height: 1.5;
}

.export-btn {
  margin-top: 14px;
}

.wish-feedback {
  min-height: 1.25rem;
  margin-top: 12px;
  margin-bottom: 6px;
  text-align: center;
  color: var(--navy-mid);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.wish-feedback.show {
  opacity: 1;
}

/* Wishes panel */
.wishes-panel {
  display: flex;
  flex-direction: column;
  max-height: 620px;
}
.wishes-panel-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.wishes-list {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 6px;
  scroll-behavior: smooth;
}
.wishes-list::-webkit-scrollbar        { width: 4px; }
.wishes-list::-webkit-scrollbar-track  { background: transparent; }
.wishes-list::-webkit-scrollbar-thumb  { background: var(--gold-light); border-radius: 2px; }

.wish-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
  animation: slideIn 0.45s ease forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wish-card-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.wish-card-msg {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.65;
}
.wish-card-time {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 10px;
}
.wishes-empty {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  padding: 48px 20px;
}

/* ── ════════════════════════════════ ── */
/*    FOOTER                             */
/* ── ════════════════════════════════ ── */
#footer {
  background: var(--navy-deep);
  padding: 70px 24px;
  text-align: center;
}
.footer-content { max-width: 520px; margin: 0 auto; }
.footer-ornament {
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.6em;
  margin-bottom: 26px;
  opacity: 0.65;
}
.footer-names {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.footer-note {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 22px;
  line-height: 1.7;
}
.footer-hashtag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.75;
}

/* ── ════════════════════════════════ ── */
/*    RESPONSIVE — TABLET (≤ 900px)      */
/* ── ════════════════════════════════ ── */
@media (max-width: 900px) {
  .guestbook-layout { grid-template-columns: 1fr; }
  .wishes-panel     { max-height: 440px; }
}

/* ── ════════════════════════════════ ── */
/*    RESPONSIVE — MOBILE (≤ 768px)      */
/* ── ════════════════════════════════ ── */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  #details::before {
    background: rgba(255, 255, 255, 0.1);
  }

  .detail-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
  }

  #navbar         { padding: 16px 20px; }
  #navbar.scrolled { padding: 12px 20px; }

  .nav-toggle { display: block; }
  .lang-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }
  #nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 28px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
  }
  #nav-menu.open   { display: flex; }
  #nav-menu a      { color: var(--text-mid) !important; font-size: 0.9rem; }
  #nav-menu a:hover { color: var(--navy) !important; }

  .ring-2, .ring-3 { display: none; }

  .highlights-wrap { grid-template-columns: 1fr; }
  .highlight-actions {
    justify-content: stretch;
  }
  .highlight-actions a {
    width: 100%;
    justify-content: center;
  }

  .countdown-grid  { gap: 8px; }
  .countdown-card  { min-width: 74px; padding: 20px 14px 16px; }
  .countdown-sep   { font-size: 1.8rem; margin-top: -14px; }

  .photo-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mini-cards {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }

  .mini-card {
    aspect-ratio: 1 / 1;
  }

  .qr-wrapper      { flex-direction: column; gap: 36px; }
  .qr-info         { text-align: center; }
  .qr-step         { justify-content: center; }

}

/* ── ════════════════════════════════ ── */
/*    RESPONSIVE — SMALL (≤ 480px)       */
/* ── ════════════════════════════════ ── */
@media (max-width: 480px) {
  .countdown-sep   { display: none; }
  .countdown-grid  { gap: 10px; }
  #navbar          { padding: 14px 16px; }
  #navbar.scrolled { padding: 10px 16px; }

  .lang-toggle {
    margin-right: 6px;
    padding: 6px 10px;
    font-size: 0.68rem;
  }
}
