:root {
  --crimson: #8b0000;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --gold-dark: #8b6914;
  --cream: #fdf8f0;
  --dark: #1a0a00;
  --amber-rich: #d89b32;
  --amber-soft: #f5d89e;
  --dream-white: #fff8ef;
  --ivory-mist: #fff3e4;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--dark);
  font-family: "Cormorant Garamond", serif;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#entry {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  text-align: center;
  background: #030303;
  transition: opacity 1s ease, transform 1s ease;
  overflow: hidden;
}

#entry::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0) 0%, rgba(3, 3, 3, 0.9) 55%, #030303 100%);
  pointer-events: none;
  z-index: 3;
}

#entry.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
}

.entry-mandala {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    repeating-radial-gradient(circle at center, rgba(201, 168, 76, 0.12) 0 1px, transparent 1px 46px),
    radial-gradient(circle at center, rgba(201, 168, 76, 0.22), transparent 62%);
  animation: spin 95s linear infinite;
}

.cinematic-bg,
.entry-dust-glow,
.entry-light-flare,
.entry-gold-bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cinematic-bg {
  background:
    radial-gradient(circle at 50% 108%, rgba(216, 155, 50, 0.34), transparent 52%),
    radial-gradient(circle at 16% 22%, rgba(245, 216, 158, 0.12), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(245, 216, 158, 0.1), transparent 32%),
    linear-gradient(180deg, #000 0%, #0b0502 34%, #1a0c04 100%);
  animation: fadeReveal 2.8s ease forwards;
}

.entry-dust-glow {
  background:
    radial-gradient(circle at 15% 25%, rgba(245, 216, 158, 0.22), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(245, 216, 158, 0.2), transparent 32%),
    radial-gradient(circle at 50% 70%, rgba(216, 155, 50, 0.22), transparent 40%);
  filter: blur(1.4px);
  animation: pulseGlow 6.5s ease-in-out infinite;
}

.entry-light-flare {
  background: linear-gradient(130deg, transparent 36%, rgba(255, 224, 152, 0.22) 50%, transparent 64%);
  transform: translateX(-120%);
  animation: flareSlide 6.5s ease-in-out infinite 2.3s;
}

.entry-gold-bloom {
  opacity: 0;
  z-index: 5;
  background:
    radial-gradient(circle at center, rgba(255, 233, 168, 1) 0%, rgba(245, 198, 110, 0.88) 24%, rgba(216, 155, 50, 0.58) 42%, rgba(216, 155, 50, 0) 70%),
    radial-gradient(circle at center, rgba(255, 248, 239, 0.85), rgba(255, 248, 239, 0) 60%);
  mix-blend-mode: screen;
  filter: blur(3px);
}

.entry-gold-bloom::before,
.entry-gold-bloom::after {
  content: "";
  position: absolute;
  inset: 0;
}

.entry-gold-bloom::before {
  background:
    radial-gradient(circle at center, rgba(255, 250, 238, 0.98) 0%, rgba(255, 243, 223, 0.72) 36%, rgba(255, 243, 223, 0) 74%);
  mix-blend-mode: screen;
}

.entry-gold-bloom::after {
  background:
    linear-gradient(112deg, rgba(255, 240, 206, 0) 16%, rgba(255, 240, 206, 0.88) 50%, rgba(255, 240, 206, 0) 84%);
  transform: translateX(-130%);
}

@keyframes fadeReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes flareSlide {
  0%, 20% { transform: translateX(-120%); opacity: 0; }
  28% { opacity: 1; }
  45% { transform: translateX(120%); opacity: 0; }
  100% { transform: translateX(120%); opacity: 0; }
}

.entry-cinematic {
  width: min(980px, 100vw);
  min-height: 100svh;
  padding: clamp(20px, 5vh, 48px) 0 clamp(28px, 8vh, 62px);
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-items: center;
  gap: clamp(10px, 2vh, 18px);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.entry-top-line,
.entry-hint {
  position: relative;
  z-index: 2;
}

.entry-top-line {
  font-family: "Noto Serif Devanagari", serif;
  color: var(--gold-light);
  font-size: clamp(12px, 3vw, 18px);
}

.letter-card {
  width: min(560px, 92vw);
  height: clamp(270px, 44vw, 360px);
  border: 1px solid rgba(240, 208, 128, 0.45);
  border-radius: 10px;
  background: linear-gradient(160deg, #f7ecda 0%, #efd6b0 46%, #f9ebd3 100%);
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.royal-card-stage {
  perspective: 1400px;
  position: relative;
  width: min(560px, 92vw);
  height: clamp(270px, 44vw, 360px);
  margin-top: clamp(4px, 0.9vh, 12px);
}

.royal-card-layer {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(240, 208, 128, 0.3);
  transform-origin: center;
}

.layer-back {
  background: rgba(53, 28, 14, 0.4);
  transform: translateY(20px) scale(0.94);
}

.layer-mid {
  background: rgba(90, 50, 27, 0.3);
  transform: translateY(10px) scale(0.97);
}

.royal-card {
  z-index: 3;
}

.card-emboss {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Great Vibes", cursive;
  font-size: clamp(28px, 5vw, 42px);
  color: rgba(138, 88, 34, 0.75);
  text-shadow: 0 1px 0 rgba(255, 229, 178, 0.7), 0 3px 10px rgba(128, 78, 30, 0.25);
}

.letter-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  transform-origin: top;
  background: linear-gradient(180deg, #ecd1ad 0%, #e3bc8f 100%);
  clip-path: polygon(0 0, 100% 0, 50% 88%);
  box-shadow: inset 0 -12px 20px rgba(0, 0, 0, 0.1);
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

.letter-body {
  position: absolute;
  inset: 25% 8% 9%;
  border-radius: 6px;
  border: 1px dashed rgba(139, 105, 20, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 252, 245, 0.86));
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0;
  color: #5f3312;
  z-index: 2;
  opacity: 0.7;
}

.letter-seal-btn {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0;
  z-index: 6;
  transform: translate(-50%, -50%);
}

.letter-seal-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.letter-seal-btn:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.letter-seal {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: var(--gold-light);
  font-family: "Great Vibes", cursive;
  font-size: 38px;
  letter-spacing: 0.05em;
  background: radial-gradient(circle at 35% 30%, #c04a3b, #8b0000 60%, #630000);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.72), 0 14px 20px rgba(99, 0, 0, 0.45);
  position: relative;
  animation: sealPulse 2.2s ease-in-out infinite;
}

.letter-seal::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -120%;
  width: 48%;
  height: 22%;
  border-radius: 50%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 240, 220, 0.8), rgba(255, 255, 255, 0));
  transform: rotate(-18deg);
  animation: sealShine 2.8s linear infinite;
}

@keyframes sealPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.72), 0 14px 20px rgba(99, 0, 0, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(240, 208, 128, 0.9), 0 18px 24px rgba(99, 0, 0, 0.5), 0 0 26px rgba(201, 168, 76, 0.35);
  }
}

@keyframes sealShine {
  0% { left: -120%; opacity: 0; }
  12% { opacity: 0.95; }
  36% { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

#entry.opening .letter-flap {
  transform: rotateX(-185deg);
}

#entry.opening .letter-card {
  animation: letterLift 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#entry.opening .entry-gold-bloom {
  animation: goldBloomFlash 2.6s cubic-bezier(0.18, 0.8, 0.22, 1) 0.8s forwards;
}

#entry.opening .entry-gold-bloom::after {
  animation: bloomSweep 0.62s ease-out 1.02s forwards;
}

#entry.opening .entry-cinematic {
  animation: cinematicFadeOut 1.25s ease 1.9s forwards;
}

@keyframes letterLift {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-18px) scale(1.03); }
  100% { transform: translateY(-40px) scale(1.07); }
}

@keyframes goldBloomFlash {
  0% { opacity: 0; transform: scale(0.42); }
  22% { opacity: 1; transform: scale(1.02); }
  56% { opacity: 0.95; transform: scale(1.28); }
  100% { opacity: 0; transform: scale(1.85); }
}

@keyframes bloomSweep {
  0% { transform: translateX(-130%); opacity: 0; }
  30% { opacity: 0.95; }
  100% { transform: translateX(130%); opacity: 0; }
}

@keyframes cinematicFadeOut {
  0% { opacity: 1; filter: blur(0px); transform: scale(1); }
  100% { opacity: 0; filter: blur(5px); transform: scale(1.04); }
}

.entry-hint {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  font-size: clamp(11px, 1.8vw, 13px);
  margin-top: clamp(6px, 1vh, 12px);
}

@media (max-height: 760px) {
  .entry-cinematic {
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 18px;
    transform: scale(0.92);
    transform-origin: center;
  }
}

#main {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  background: var(--cream);
}

#main.show {
  opacity: 1;
  pointer-events: auto;
}

#hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 80px 24px 100px;
  overflow: hidden;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 216, 158, 0.28), transparent 38%),
    radial-gradient(circle at 84% 16%, rgba(216, 155, 50, 0.24), transparent 34%),
    radial-gradient(circle at 50% 66%, rgba(139, 0, 0, 0.36), transparent 60%),
    linear-gradient(180deg, rgba(10, 5, 3, 0.68) 0%, rgba(10, 5, 3, 0.46) 35%, rgba(10, 5, 3, 0.86) 100%),
    url("../assets/images/couple/1.jpeg") center 24% / cover no-repeat;
  z-index: -2;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at center, rgba(201, 168, 76, 0.08) 0 1px, transparent 1px 26px),
    radial-gradient(circle at center, rgba(201, 168, 76, 0.18), transparent 62%);
  mix-blend-mode: screen;
  z-index: -1;
}

#hero.hero-no-image::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(240, 208, 128, 0.32), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(192, 57, 43, 0.3), transparent 38%),
    radial-gradient(circle at 50% 70%, rgba(139, 0, 0, 0.36), transparent 58%),
    linear-gradient(155deg, #2c160f 0%, #3f2318 34%, #2e180f 58%, #130a06 100%);
}

.hero-content {
  width: min(720px, 100%);
  padding: clamp(1rem, 3vw, 2.2rem);
  border: 1px solid rgba(240, 208, 128, 0.45);
  background:
    linear-gradient(180deg, rgba(53, 30, 19, 0.36), rgba(20, 10, 6, 0.18)),
    radial-gradient(circle at 50% -20%, rgba(245, 216, 158, 0.28), transparent 47%),
    radial-gradient(circle at 18% 10%, rgba(255, 248, 239, 0.16), transparent 34%);
  backdrop-filter: blur(4px);
  text-align: center;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(245, 216, 158, 0.22);
  position: relative;
}

.hero-content::before,
.hero-content::after {
  content: "❀";
  position: absolute;
  color: rgba(240, 208, 128, 0.55);
  font-size: clamp(24px, 4vw, 34px);
  text-shadow: 0 0 12px rgba(139, 0, 0, 0.35);
}

.hero-content::before {
  top: 10px;
  left: 14px;
}

.hero-content::after {
  bottom: 10px;
  right: 14px;
}

.hero-top-text,
.hero-family,
.hero-invite-text,
.date-day {
  color: var(--gold-light);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-top-text {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(14px, 4vw, 22px);
}

.hero-divider-top {
  margin: 0.8rem auto 1.5rem;
  color: var(--gold);
}

.hero-family {
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
  font-size: clamp(10px, 2.5vw, 14px);
  text-transform: uppercase;
}

.hero-invite-text {
  margin: 0.8rem auto 1.8rem;
  max-width: 540px;
  font-size: clamp(14px, 2.8vw, 17px);
}

.hero-names {
  font-size: clamp(50px, 14vw, 92px);
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.amp-gold {
  display: block;
  color: var(--gold-light);
  font-size: 0.5em;
}

.hero-date-badge {
  margin: 1.8rem auto 0;
  width: fit-content;
  border: 1px solid var(--gold);
  padding: 12px 30px;
  background: rgba(18, 9, 6, 0.28);
}

.date-day {
  font-family: "Cinzel", serif;
  letter-spacing: 0.18em;
  font-size: clamp(13px, 2.4vw, 18px);
  font-weight: 700;
}

.date-main {
  color: #fff;
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(28px, 5.8vw, 40px);
  font-weight: 700;
}

.hero-countdown {
  margin: 1.2rem auto 0;
  width: fit-content;
  padding: 12px 18px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  background: rgba(16, 8, 5, 0.45);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  text-transform: uppercase;
  font-size: clamp(13px, 2.2vw, 16px);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(240, 208, 128, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
  white-space: nowrap;
}

.scroll-hint::after {
  content: "↓";
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1;
  color: var(--amber-soft);
  animation: scrollArrowBounce 1.45s ease-in-out infinite;
}

@keyframes scrollArrowBounce {
  0%, 100% { transform: translateY(0); opacity: 0.72; }
  50% { transform: translateY(7px); opacity: 1; }
}

#petal-layer {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

section {
  padding: 60px 24px;
  max-width: 760px;
  margin: 0 auto;
}

.ornament {
  color: var(--gold);
  text-align: center;
  margin: 1rem auto;
}

.section-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-family: "Cinzel", serif;
  color: var(--gold-dark);
  font-size: 12px;
}

.section-heading {
  text-align: center;
  color: var(--crimson);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(32px, 7vw, 48px);
}

#ganesh,
#countdown,
#blessings,
#gallery {
  max-width: 100%;
}

#ganesh,
#countdown,
#blessings {
  text-align: center;
}

#ganesh {
  background: linear-gradient(135deg, #140700, #2d1000);
  color: var(--gold-light);
}

.ganesh-symbol { font-size: clamp(64px, 16vw, 108px); }
.ganesh-shloka { font-family: "Noto Serif Devanagari", serif; line-height: 1.8; }
.ganesh-meaning { opacity: 0.75; margin-top: 10px; }

#countdown {
  background: #190900;
  color: #fff;
}

.countdown-label {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

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

.cd-num {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.cd-unit {
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.cd-sep {
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 700;
}

#story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 16%, rgba(201, 168, 76, 0.16), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(139, 0, 0, 0.1), transparent 32%),
    linear-gradient(180deg, #fffdf9, #f7ecdc);
}

#story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  pointer-events: none;
}

#story .reveal {
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 248, 239, 0.62), rgba(255, 243, 228, 0.33)),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.6), transparent 55%);
  box-shadow: 0 26px 55px rgba(70, 25, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(10px);
}

.story-text {
  font-size: clamp(16px, 3.8vw, 22px);
  text-align: center;
  color: #4a2000;
  line-height: 1.8;
  margin-top: 12px;
}

#gallery {
  padding: 60px 0;
  background: #fff;
}

#gallery .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-strip {
  display: flex;
  gap: 10px;
  padding: 20px 24px 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-strip::-webkit-scrollbar { display: none; }

.gallery-strip img {
  height: clamp(230px, 55vw, 340px);
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-strip img:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.event-cards { margin-top: 26px; display: grid; gap: 16px; }

.event-card {
  background: #fff;
  border: 1px solid rgba(201, 168, 76, 0.28);
  padding: 26px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(26px);
  transition: all 0.5s ease;
}

.event-card.visible { opacity: 1; transform: translateY(0); }

.event-name { color: var(--crimson); font-family: "Cinzel", serif; margin-top: 8px; }
.event-name-devanagari { color: var(--gold-dark); margin-top: 6px; font-family: "Noto Serif Devanagari", serif; }
.event-time { margin-top: 8px; font-size: 20px; }

#programme {
  background:
    radial-gradient(circle at 85% 14%, rgba(201, 168, 76, 0.16), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(139, 0, 0, 0.09), transparent 28%),
    linear-gradient(180deg, #fff8ef, #f6ead7);
}
.programme-list { margin-top: 16px; }

.prog-item {
  display: grid;
  grid-template-columns: 78px 10px 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 14px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.45s ease;
}

.prog-item.visible { opacity: 1; transform: translateX(0); }
.prog-time { color: var(--gold-dark); font-family: "Cinzel", serif; font-size: 13px; }
.prog-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--crimson); margin-top: 5px; }
.prog-ritual-deva { display: block; color: rgba(139, 0, 0, 0.72); font-family: "Noto Serif Devanagari", serif; }

#venue {
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 168, 76, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf9, #f5e9d7);
}

.venue-card {
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(60, 20, 0, 0.15);
}

.venue-photo {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.venue-info { padding: 22px; text-align: center; }
.venue-name { font-family: "Cinzel", serif; color: var(--crimson); font-size: 24px; }
.venue-address { color: #4a2000; line-height: 1.6; margin-top: 8px; }

.venue-map-frame {
  margin-top: 16px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  overflow: hidden;
  border-radius: 6px;
}

.venue-map-frame iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

#blessings {
  background: linear-gradient(135deg, #160800, #2d1000);
  color: var(--gold-light);
}

.blessings-heading {
  color: #fff;
  font-size: clamp(40px, 8vw, 70px);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.blessings-heading span { color: var(--gold-light); }
.blessings-ornament { color: var(--gold); }
.blessings-text { max-width: 560px; margin: 0 auto 20px; line-height: 1.8; font-size: clamp(17px, 3.5vw, 24px); }
.blessings-date { letter-spacing: 0.2em; font-family: "Cinzel", serif; font-size: 12px; }
.blessings-family { margin-top: 16px; opacity: 0.85; letter-spacing: 0.08em; }

.border-top-gold {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--crimson), var(--gold), transparent);
}

footer {
  background: #120700;
  color: rgba(201, 168, 76, 0.6);
  text-align: center;
  padding: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: all 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.93);
  padding: 20px;
}

#lightbox.open { display: flex; }
#lightbox-img { max-width: 100%; max-height: 90vh; border: 1px solid rgba(201, 168, 76, 0.4); }

#lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 768px) {
  #hero {
    padding: 64px 14px 88px;
  }

  .hero-content {
    width: min(680px, 100%);
    padding: 1rem 0.75rem;
  }

  .hero-countdown {
    width: 100%;
    padding: 10px 8px;
  }

  .countdown-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .countdown-grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .cd-block {
    min-width: 56px;
  }

  .cd-num {
    font-size: clamp(22px, 7vw, 28px);
  }

  .cd-unit {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .cd-sep {
    font-size: 18px;
  }

  .scroll-hint {
    bottom: max(0.6rem, env(safe-area-inset-bottom));
    font-size: 12px;
    letter-spacing: 0.14em;
    gap: 4px;
  }

  .scroll-hint::after {
    font-size: 20px;
  }

  .prog-item { grid-template-columns: 72px 10px 1fr; }
}
