:root {
  --maroon: #7b1025;
  --deep-maroon: #4f0717;
  --red: #b81f3a;
  --gold: #d8a641;
  --saffron: #ee9b2d;
  --cream: #fff8ea;
  --ivory: #fffdf7;
  --henna: #70412e;
  --green: #245b4d;
  --ink: #261513;
  --muted: #77625b;
  --line: rgba(123, 16, 37, 0.16);
  --shadow: 0 24px 70px rgba(79, 7, 23, 0.16);
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --brand-font: "Cinzel", serif;
}

body[data-theme="minimal"] {
  --maroon: #2d2623;
  --deep-maroon: #171310;
  --red: #8d5f49;
  --gold: #b9985a;
  --saffron: #c9a86a;
  --cream: #f7f2ea;
  --ivory: #fffdf8;
  --henna: #75665f;
  --green: #4f665f;
  --ink: #24211e;
  --muted: #716a63;
  --line: rgba(45, 38, 35, 0.14);
  --shadow: 0 18px 58px rgba(36, 33, 30, 0.12);
}

body[data-theme="traditional"] {
  --maroon: #9c132d;
  --deep-maroon: #66091d;
  --red: #d4243f;
  --gold: #f0bd43;
  --saffron: #f39a22;
  --cream: #fff3d8;
  --ivory: #fffaf0;
  --henna: #783a24;
  --green: #11633f;
  --ink: #2d130e;
  --muted: #765344;
  --line: rgba(156, 19, 45, 0.18);
  --shadow: 0 26px 80px rgba(102, 9, 29, 0.18);
}

body[data-font="classic"] {
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --brand-font: "Cinzel", serif;
}

body[data-font="modern"] {
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Inter", system-ui, sans-serif;
  --brand-font: "Inter", system-ui, sans-serif;
}

body[data-font="royal"] {
  --body-font: "Cormorant Garamond", Georgia, serif;
  --heading-font: "Cinzel", Georgia, serif;
  --brand-font: "Cinzel", Georgia, serif;
}

body[data-font="soft"] {
  --body-font: "Inter", system-ui, sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --brand-font: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body-font);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(216, 166, 65, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(123, 16, 37, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

body[data-theme="minimal"]::before {
  opacity: 0.35;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.footer-title,
.wedding-card strong,
.couple-symbol,
.countdown-box strong,
.date-panel strong {
  font-family: var(--heading-font);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 248, 234, 0.16);
  color: var(--ivory);
  background: rgba(79, 7, 23, 0.96);
  backdrop-filter: blur(14px);
}

.header-actions {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(216, 166, 65, 0.5);
  border-radius: 6px;
  background: rgba(255, 248, 234, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--gold);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-family: var(--brand-font);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(216, 166, 65, 0.8);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 253, 247, 0.78);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.control-panel {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
}

.theme-select,
.font-select,
.language-toggle,
.whatsapp-share {
  min-height: 38px;
  border: 1px solid rgba(216, 166, 65, 0.5);
  border-radius: 6px;
  color: var(--ivory);
  background: rgba(255, 248, 234, 0.1);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.theme-select {
  max-width: 96px;
  padding: 0 10px;
}

.font-select {
  max-width: 126px;
  padding: 0 10px;
}

.theme-select option,
.font-select option {
  color: var(--ink);
  background: var(--ivory);
}

.language-toggle,
.whatsapp-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
}

.whatsapp-share {
  border-color: rgba(37, 211, 102, 0.6);
  color: #eafff1;
  background: rgba(37, 211, 102, 0.16);
}

.language-toggle:hover,
.whatsapp-share:hover,
.theme-select:hover,
.font-select:hover {
  transform: translateY(-1px);
}

.page-hero {
  min-height: calc(100vh - 75px);
  display: grid;
  align-content: center;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 96px);
  color: var(--ivory);
  background:
    radial-gradient(circle at 88% 16%, rgba(216, 166, 65, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(79, 7, 23, 0.96), rgba(123, 16, 37, 0.92) 45%, rgba(36, 91, 77, 0.88)),
    var(--deep-maroon);
}

.page-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 8vw, 108px);
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 6vw, 96px);
  color: var(--ivory);
  background:
    radial-gradient(circle at 88% 16%, rgba(216, 166, 65, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(79, 7, 23, 0.96), rgba(123, 16, 37, 0.92) 45%, rgba(36, 91, 77, 0.88)),
    var(--deep-maroon);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(30deg, rgba(255, 248, 234, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(255, 248, 234, 0.16) 87.5%),
    linear-gradient(150deg, rgba(255, 248, 234, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(255, 248, 234, 0.16) 87.5%);
  background-size: 86px 150px;
  animation: patternDrift 18s linear infinite;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.blessing-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 12vw, 10rem);
}

.hero h1 span,
.hero h1 em {
  display: block;
  animation: heroRise 900ms ease both;
}

.hero h1 em {
  color: var(--gold);
  font-size: 0.46em;
  font-style: normal;
  line-height: 0.9;
  animation-delay: 140ms;
}

.hero h1 span:last-child {
  animation-delay: 260ms;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 253, 247, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.primary-action {
  background: var(--gold);
  color: var(--deep-maroon);
}

.secondary-action {
  border: 1px solid rgba(255, 253, 247, 0.54);
  color: var(--ivory);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.wedding-card {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(216, 166, 65, 0.5);
  border-radius: 8px;
  color: var(--ivory);
  text-align: center;
  background: rgba(255, 248, 234, 0.1);
  box-shadow: var(--shadow);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.wedding-card span,
.wedding-card small {
  color: rgba(255, 253, 247, 0.74);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.wedding-card strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
}

.couple-section,
.countdown-section,
.welcome-section,
.story-section,
.photo-section,
.album-section,
.event-gallery-section,
.guest-upload-section,
.schedule-section,
.varmala-section,
.swagat-section,
.live-section,
.travel-section,
.ritual-section,
.blessing-section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 96px);
}

.couple-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(18px, 5vw, 56px);
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 166, 65, 0.2), transparent 30%),
    var(--ivory);
}

.couple-name {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.78);
  box-shadow: var(--shadow);
}

.couple-name span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.couple-name h2,
.countdown-section h2,
.story-section h2,
.photo-section h2 {
  margin: 8px 0 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.couple-name p {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.couple-symbol {
  display: grid;
  width: clamp(72px, 10vw, 120px);
  height: clamp(72px, 10vw, 120px);
  place-items: center;
  border: 1px solid rgba(216, 166, 65, 0.7);
  border-radius: 50%;
  color: var(--gold);
  background: var(--deep-maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  box-shadow: var(--shadow);
  animation: softPulse 2.8s ease-in-out infinite;
}

.countdown-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(79, 7, 23, 0.95), rgba(123, 16, 37, 0.92)),
    var(--maroon);
}

.countdown-section h2 {
  color: var(--ivory);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.countdown-box {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 20px 10px;
  border: 1px solid rgba(216, 166, 65, 0.38);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.1);
}

.countdown-box strong {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.countdown-box strong.tick {
  animation: countdownTick 360ms ease;
}

.countdown-box span {
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.welcome-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  background: var(--ivory);
}

.story-section {
  background:
    linear-gradient(135deg, rgba(123, 16, 37, 0.08), transparent 40%),
    var(--cream);
}

.timeline {
  position: relative;
  max-width: 920px;
  margin: 48px auto 0;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  content: "";
  background: linear-gradient(var(--gold), var(--maroon), var(--green));
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: timelineGrow 1.6s ease forwards;
}

.timeline-item {
  position: relative;
  display: grid;
  width: 50%;
  padding: 0 46px 44px 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 44px 46px;
}

.timeline-item > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.timeline-dot {
  position: absolute;
  top: 28px;
  right: -10px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: var(--maroon);
  box-shadow: 0 0 0 8px rgba(216, 166, 65, 0.16);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}

.timeline-item small {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 10px 0 12px;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-section {
  background: var(--ivory);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 38px;
}

.photo-card {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--ivory);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.photo-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 30px 90px rgba(79, 7, 23, 0.22);
}

.photo-card-tall {
  grid-row: span 2;
  min-height: 560px;
}

.photo-art {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-size: cover;
}

.photo-one {
  background:
    radial-gradient(circle at 52% 26%, rgba(255, 253, 247, 0.88) 0 7%, transparent 7.3%),
    radial-gradient(circle at 42% 37%, rgba(123, 16, 37, 0.92) 0 10%, transparent 10.3%),
    radial-gradient(circle at 62% 38%, rgba(216, 166, 65, 0.92) 0 10%, transparent 10.3%),
    linear-gradient(135deg, rgba(216, 166, 65, 0.9), rgba(123, 16, 37, 0.82)),
    var(--gold);
}

.photo-two {
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 253, 247, 0.9) 0 9%, transparent 9.3%),
    radial-gradient(circle at 45% 45%, rgba(36, 91, 77, 0.9) 0 14%, transparent 14.3%),
    linear-gradient(145deg, rgba(79, 7, 23, 0.92), rgba(216, 166, 65, 0.76));
}

.photo-three {
  background:
    radial-gradient(circle at 54% 30%, rgba(255, 253, 247, 0.9) 0 8%, transparent 8.3%),
    radial-gradient(circle at 50% 45%, rgba(184, 31, 58, 0.9) 0 15%, transparent 15.3%),
    linear-gradient(145deg, rgba(238, 155, 45, 0.84), rgba(112, 65, 46, 0.92));
}

.photo-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ivory);
  background: rgba(79, 7, 23, 0.78);
  font-weight: 900;
}

.schedule-section {
  background:
    linear-gradient(135deg, rgba(216, 166, 65, 0.14), transparent 42%),
    #fff3dd;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.schedule-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.schedule-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(79, 7, 23, 0.2);
}

.event-number {
  color: var(--red);
  font-weight: 900;
}

.schedule-card h3 {
  margin: 26px 0 14px;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1;
}

.schedule-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.event-meta {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.event-meta div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.event-meta dt,
.event-meta dd {
  margin: 0;
}

.event-meta dt {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-meta dd {
  margin-top: 5px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 6px;
  color: var(--ivory);
  background: var(--green);
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease;
}

.map-link:hover {
  transform: translateY(-2px);
  background: var(--maroon);
}

.varmala-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  background:
    radial-gradient(circle at 82% 16%, rgba(216, 166, 65, 0.18), transparent 32%),
    var(--ivory);
}

.varmala-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--maroon);
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.varmala-copy p:not(.section-kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.varmala-visual {
  position: relative;
  min-height: clamp(420px, 46vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.58), rgba(255, 253, 247, 0.94)),
    radial-gradient(circle at 50% 16%, rgba(216, 166, 65, 0.24), transparent 34%);
  box-shadow: var(--shadow);
}

.mandap-arch {
  position: absolute;
  inset: 40px 44px 70px;
  border: 10px solid rgba(216, 166, 65, 0.42);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.mandap-arch::before,
.mandap-arch::after {
  position: absolute;
  bottom: -70px;
  width: 12px;
  height: 120px;
  content: "";
  background: linear-gradient(var(--gold), var(--maroon));
}

.mandap-arch::before {
  left: 10%;
}

.mandap-arch::after {
  right: 10%;
}

.couple-figure {
  position: absolute;
  bottom: 74px;
  width: 150px;
  height: 270px;
}

.groom-figure {
  left: 23%;
}

.bride-figure {
  right: 23%;
}

.couple-figure .head {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f0c9a9;
  transform: translateX(-50%);
  box-shadow: inset 0 -8px rgba(112, 65, 46, 0.16);
}

.turban,
.veil {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.turban {
  top: 4px;
  width: 82px;
  height: 36px;
  border-radius: 999px 999px 12px 12px;
  background: var(--gold);
}

.turban::after {
  position: absolute;
  right: 8px;
  top: -9px;
  width: 18px;
  height: 26px;
  border-radius: 50%;
  content: "";
  background: var(--red);
}

.veil {
  top: 0;
  width: 112px;
  height: 150px;
  border-radius: 70px 70px 38px 38px;
  background: rgba(184, 31, 58, 0.72);
}

.couple-figure .body {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 112px;
  height: 190px;
  border-radius: 54px 54px 12px 12px;
  background: var(--maroon);
  transform: translateX(-50%);
}

.groom-figure .body {
  background: linear-gradient(160deg, var(--ivory), #e5d5b3);
}

.bride-figure .body {
  background: linear-gradient(160deg, var(--red), var(--maroon));
}

.arm {
  position: absolute;
  top: 102px;
  width: 100px;
  height: 18px;
  border-radius: 999px;
  background: #f0c9a9;
  transform-origin: left center;
}

.groom-figure .arm-right {
  left: 84px;
  top: 96px;
  width: 136px;
  transform: rotate(-25deg);
}

.bride-figure .arm-left {
  right: 84px;
  top: 96px;
  width: 136px;
  transform: rotate(205deg);
}

.garland {
  position: absolute;
  top: 58px;
  width: 186px;
  height: 154px;
  border: 12px dotted var(--gold);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  animation: garlandSway 2.9s ease-in-out infinite;
  z-index: 4;
}

.garland-left {
  left: 78px;
  transform: rotate(-34deg);
}

.garland-right {
  right: 78px;
  transform: rotate(34deg);
  animation-delay: 380ms;
}

.neck-garland {
  position: absolute;
  top: 84px;
  left: 50%;
  z-index: 5;
  width: 74px;
  height: 86px;
  border: 10px dotted var(--gold);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.bride-neck-garland {
  border-color: #fff4b0;
}

.flower-rain span {
  position: absolute;
  top: -30px;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  animation: flowerFall 5s linear infinite;
}

.flower-rain span:nth-child(1) { left: 18%; animation-delay: 0s; }
.flower-rain span:nth-child(2) { left: 36%; animation-delay: 1.1s; background: var(--gold); }
.flower-rain span:nth-child(3) { left: 52%; animation-delay: 2.2s; }
.flower-rain span:nth-child(4) { left: 68%; animation-delay: 0.7s; background: var(--gold); }
.flower-rain span:nth-child(5) { left: 82%; animation-delay: 1.8s; }

.swagat-section {
  background:
    radial-gradient(circle at 16% 16%, rgba(216, 166, 65, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(184, 31, 58, 0.07), transparent 42%),
    var(--cream);
}

.swagat-stage {
  position: relative;
  min-height: clamp(460px, 48vw, 620px);
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(260px, 1fr) minmax(170px, 0.72fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: end;
  overflow: hidden;
  margin-top: 38px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.84), rgba(255, 248, 234, 0.96)),
    radial-gradient(circle at 50% 10%, rgba(216, 166, 65, 0.18), transparent 36%);
  box-shadow: var(--shadow);
}

.welcome-girl {
  position: relative;
  justify-self: center;
  width: min(190px, 100%);
  height: 350px;
}

.girl-head {
  position: absolute;
  top: 42px;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f0c9a9;
  transform: translateX(-50%);
}

.girl-hair {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 78px;
  height: 82px;
  border-radius: 48px 48px 30px 30px;
  background: #2b1714;
  transform: translateX(-50%);
}

.girl-body {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 128px;
  height: 250px;
  border-radius: 70px 70px 18px 18px;
  background: linear-gradient(160deg, var(--red), var(--maroon));
  transform: translateX(-50%);
}

.welcome-girl-right .girl-body {
  background: linear-gradient(160deg, var(--green), var(--maroon));
}

.girl-arm {
  position: absolute;
  top: 132px;
  z-index: 4;
  width: 126px;
  height: 18px;
  border-radius: 999px;
  background: #f0c9a9;
}

.welcome-girl-left .girl-arm {
  right: 10px;
  transform: rotate(-28deg);
}

.welcome-girl-right .girl-arm {
  left: 10px;
  transform: rotate(208deg);
}

.kalash {
  position: absolute;
  top: 96px;
  z-index: 5;
  width: 58px;
  height: 64px;
  border-radius: 14px 14px 26px 26px;
  background: linear-gradient(160deg, var(--gold), #fff0a8);
  box-shadow: inset 0 -10px rgba(112, 65, 46, 0.15);
}

.kalash::before {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 44px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  transform: translateX(-50%);
}

.kalash-left {
  right: -8px;
  transform: rotate(-24deg);
}

.kalash-right {
  left: -8px;
  transform: rotate(24deg);
}

.swagat-copy {
  align-self: center;
  justify-self: center;
  max-width: 520px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.swagat-copy span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.swagat-copy h3 {
  margin: 10px 0 0;
  color: var(--maroon);
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.swagat-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.swagat-flower-rain {
  position: absolute;
  top: 106px;
  width: 180px;
  height: 360px;
  pointer-events: none;
}

.swagat-left-rain {
  left: 14%;
}

.swagat-right-rain {
  right: 14%;
}

.swagat-flower-rain span {
  position: absolute;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  animation: swagatFlowerFall 3.8s linear infinite;
}

.swagat-flower-rain span:nth-child(1) { left: 6%; animation-delay: 0s; }
.swagat-flower-rain span:nth-child(2) { left: 22%; animation-delay: 0.45s; background: var(--gold); }
.swagat-flower-rain span:nth-child(3) { left: 38%; animation-delay: 0.9s; }
.swagat-flower-rain span:nth-child(4) { left: 54%; animation-delay: 1.35s; background: var(--gold); }
.swagat-flower-rain span:nth-child(5) { left: 70%; animation-delay: 1.8s; }
.swagat-flower-rain span:nth-child(6) { left: 86%; animation-delay: 2.25s; background: var(--gold); }

@keyframes swagatFlowerFall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(330px) rotate(280deg);
  }
}

@keyframes garlandSway {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 10px;
  }
}

@keyframes flowerFall {
  to {
    top: 108%;
    transform: rotate(260deg);
  }
}

.live-section {
  color: var(--ivory);
  background:
    radial-gradient(circle at 86% 18%, rgba(216, 166, 65, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(79, 7, 23, 0.96), rgba(36, 91, 77, 0.9));
}

.live-section .section-heading h2 {
  color: var(--ivory);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 38px;
}

.live-player,
.live-card {
  border: 1px solid rgba(216, 166, 65, 0.34);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.1);
  box-shadow: var(--shadow);
}

.live-player {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.live-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 34px);
}

.live-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--deep-maroon);
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-card h3 {
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
}

.live-card p {
  color: rgba(255, 253, 247, 0.82);
  line-height: 1.7;
}

.live-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.live-meta div {
  padding-top: 12px;
  border-top: 1px solid rgba(216, 166, 65, 0.26);
}

.live-meta dt,
.live-meta dd {
  margin: 0;
}

.live-meta dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-meta dd {
  margin-top: 5px;
  color: var(--ivory);
  font-weight: 900;
}

.live-action {
  margin-top: auto;
}

.travel-section {
  background: var(--ivory);
}

.travel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 38px;
}

.hotel-card,
.directions-card,
.nearby-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
}

.hotel-card,
.directions-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 34px);
}

.hotel-card span,
.directions-card span,
.nearby-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hotel-card h3,
.directions-card h3,
.nearby-card h3 {
  margin: 10px 0 0;
  color: var(--maroon);
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.hotel-card p,
.directions-card p,
.nearby-card p {
  color: var(--muted);
  line-height: 1.7;
}

.travel-meta,
.direction-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 24px;
}

.travel-meta div,
.direction-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.travel-meta dt,
.travel-meta dd {
  margin: 0;
}

.travel-meta dt {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.travel-meta dd {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 900;
}

.direction-list strong {
  color: var(--maroon);
  font-size: 1.05rem;
}

.direction-list p {
  margin: 6px 0 0;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.nearby-card {
  min-height: 220px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.nearby-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(79, 7, 23, 0.2);
}

.album-section {
  background: var(--ivory);
}

.album-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  margin-top: 38px;
}

.album-feature,
.mini-album,
.memory-card,
.upload-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.album-feature {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.album-stack {
  display: grid;
  gap: 20px;
}

.mini-album {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 1fr;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 12px;
}

.album-art {
  min-height: 100%;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.album-art-large {
  min-height: 620px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 253, 247, 0.9) 0 8%, transparent 8.3%),
    radial-gradient(circle at 42% 42%, rgba(123, 16, 37, 0.92) 0 12%, transparent 12.3%),
    radial-gradient(circle at 62% 42%, rgba(216, 166, 65, 0.9) 0 12%, transparent 12.3%),
    linear-gradient(135deg, rgba(36, 91, 77, 0.94), rgba(123, 16, 37, 0.86) 54%, rgba(216, 166, 65, 0.78));
}

.album-art-one {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 253, 247, 0.88) 0 12%, transparent 12.5%),
    linear-gradient(135deg, rgba(216, 166, 65, 0.92), rgba(123, 16, 37, 0.78));
}

.album-art-two {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 253, 247, 0.9) 0 12%, transparent 12.5%),
    linear-gradient(135deg, rgba(123, 16, 37, 0.92), rgba(36, 91, 77, 0.78));
}

.album-art-three {
  background:
    radial-gradient(circle at 52% 32%, rgba(255, 253, 247, 0.88) 0 12%, transparent 12.5%),
    linear-gradient(135deg, rgba(238, 155, 45, 0.9), rgba(112, 65, 46, 0.84));
}

.album-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  max-width: 560px;
  padding: 28px;
  border-radius: 8px;
  color: var(--ivory);
  background: rgba(79, 7, 23, 0.78);
  backdrop-filter: blur(12px);
}

.album-caption span,
.mini-album span,
.memory-card span,
.premium-pill {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.album-caption h3,
.memory-card h3,
.guest-upload-section h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}

.album-caption h3 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.album-caption p {
  margin: 16px 0 0;
  color: rgba(255, 253, 247, 0.82);
  line-height: 1.7;
}

.mini-album span {
  color: var(--maroon);
  font-size: 1rem;
}

.event-gallery-section {
  background:
    linear-gradient(135deg, rgba(123, 16, 37, 0.08), transparent 40%),
    var(--cream);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.gallery-filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--maroon);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.gallery-filter:hover,
.gallery-filter.active {
  color: var(--ivory);
  background: var(--maroon);
  transform: translateY(-2px);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  margin-top: 28px;
}

.memory-card {
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.memory-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(79, 7, 23, 0.22);
}

.memory-card.is-hidden {
  display: none;
}

.memory-card-wide {
  grid-column: span 2;
}

.memory-art {
  flex: 1;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.memory-haldi {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 253, 247, 0.88) 0 11%, transparent 11.4%),
    linear-gradient(135deg, rgba(238, 155, 45, 0.94), rgba(216, 166, 65, 0.78));
}

.memory-mehendi {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 253, 247, 0.88) 0 11%, transparent 11.4%),
    linear-gradient(135deg, rgba(36, 91, 77, 0.92), rgba(216, 166, 65, 0.78));
}

.memory-sangeet {
  background:
    radial-gradient(circle at 46% 34%, rgba(255, 253, 247, 0.88) 0 8%, transparent 8.4%),
    radial-gradient(circle at 58% 36%, rgba(255, 253, 247, 0.74) 0 8%, transparent 8.4%),
    linear-gradient(135deg, rgba(79, 7, 23, 0.94), rgba(184, 31, 58, 0.84), rgba(216, 166, 65, 0.72));
}

.memory-wedding {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 247, 0.9) 0 11%, transparent 11.4%),
    linear-gradient(135deg, rgba(123, 16, 37, 0.92), rgba(216, 166, 65, 0.8));
}

.memory-reception {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 253, 247, 0.9) 0 11%, transparent 11.4%),
    linear-gradient(135deg, rgba(45, 38, 35, 0.92), rgba(216, 166, 65, 0.74));
}

.memory-family {
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 253, 247, 0.86) 0 8%, transparent 8.4%),
    radial-gradient(circle at 50% 28%, rgba(255, 253, 247, 0.9) 0 8%, transparent 8.4%),
    radial-gradient(circle at 64% 30%, rgba(255, 253, 247, 0.86) 0 8%, transparent 8.4%),
    linear-gradient(135deg, rgba(36, 91, 77, 0.86), rgba(123, 16, 37, 0.86));
}

.memory-card span,
.memory-card h3 {
  margin-right: 20px;
  margin-left: 20px;
}

.memory-card span {
  margin-top: 20px;
  color: var(--red);
}

.memory-card h3 {
  margin-bottom: 22px;
  color: var(--maroon);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.guest-upload-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  color: var(--ivory);
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 166, 65, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(79, 7, 23, 0.96), rgba(36, 91, 77, 0.9));
}

.guest-upload-section h2 {
  max-width: 800px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.upload-copy p:not(.section-kicker) {
  max-width: 660px;
  color: rgba(255, 253, 247, 0.8);
  font-size: 1.04rem;
  line-height: 1.8;
}

.upload-panel {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  color: var(--ink);
}

.premium-pill {
  justify-self: start;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--deep-maroon);
  background: var(--gold);
}

.upload-panel label {
  display: grid;
  gap: 8px;
  color: var(--maroon);
  font-weight: 900;
}

.upload-panel input,
.upload-panel select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 248, 234, 0.72);
  font: inherit;
}

.drop-zone {
  display: grid;
  min-height: 138px;
  place-items: center;
  border: 2px dashed rgba(123, 16, 37, 0.24);
  border-radius: 8px;
  color: var(--maroon);
  text-align: center;
  background: rgba(216, 166, 65, 0.12);
}

.drop-zone small {
  color: var(--muted);
  font-weight: 700;
}

.disabled-action {
  width: 100%;
  border: 0;
  opacity: 0.72;
  cursor: not-allowed;
}

.gift-section,
.wishlist-section,
.help-section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 96px);
}

.gift-section,
.help-section {
  background: var(--ivory);
}

.wishlist-section {
  background:
    linear-gradient(135deg, rgba(216, 166, 65, 0.14), transparent 42%),
    var(--cream);
}

.gift-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 20px;
  margin-top: 38px;
}

.upi-card,
.bank-card,
.wishlist-card,
.family-contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
}

.upi-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
}

.upi-card h3,
.wishlist-card h3,
.family-contact-card h3 {
  margin: 8px 0 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
}

.upi-card p:not(.section-kicker),
.wishlist-card p,
.family-contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.qr-shell {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.fake-qr {
  display: grid;
  grid-template-columns: repeat(4, 42px);
  gap: 8px;
  padding: 14px;
  border: 8px solid var(--ivory);
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line);
}

.fake-qr span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--maroon);
}

.fake-qr span:nth-child(2n),
.fake-qr span:nth-child(7),
.fake-qr span:nth-child(13) {
  background: var(--gold);
}

.qr-shell strong {
  color: var(--maroon);
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
}

.qr-shell small {
  color: var(--muted);
  font-weight: 800;
}

.bank-card {
  padding: clamp(24px, 4vw, 34px);
}

.bank-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

.bank-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.bank-list dt,
.bank-list dd {
  margin: 0;
}

.bank-list dt {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bank-list dd {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 900;
}

.wishlist-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.wishlist-card,
.family-contact-card {
  min-height: 250px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.wishlist-card:hover,
.family-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(79, 7, 23, 0.2);
}

.wishlist-card span,
.family-contact-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.call-action,
.wa-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--ivory);
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease;
}

.call-action {
  background: var(--maroon);
}

.wa-action {
  background: #128c4a;
}

.call-action:hover,
.wa-action:hover {
  transform: translateY(-2px);
}

.section-heading h2,
.blessing-section h2 {
  font-size: clamp(2.5rem, 6vw, 5.3rem);
}

.welcome-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.ritual-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(216, 166, 65, 0.14), transparent 42%),
    #fff3dd;
}

.ritual-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}

.ritual-card span {
  color: var(--red);
  font-weight: 900;
}

.ritual-card h3 {
  margin: auto 0 16px;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1;
}

.ritual-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blessing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--ivory);
  background: var(--maroon);
}

.light-action {
  flex: 0 0 auto;
  background: var(--ivory);
  color: var(--maroon);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 96px);
  color: rgba(255, 253, 247, 0.74);
  background: var(--deep-maroon);
}

.site-footer p {
  margin: 0;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(216, 166, 65, 0.18), var(--shadow);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 16px rgba(216, 166, 65, 0), var(--shadow);
  }
}

@keyframes countdownTick {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes timelineGrow {
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes patternDrift {
  to {
    background-position: 86px 150px;
  }
}

@media (max-width: 980px) {
  .hero,
  .couple-section,
  .countdown-section,
  .varmala-section,
  .album-layout,
  .guest-upload-section,
  .gift-layout,
  .live-layout,
  .travel-layout,
  .welcome-section {
    grid-template-columns: 1fr;
  }

  .swagat-stage {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .welcome-girl-left,
  .welcome-girl-right {
    display: none;
  }

  .swagat-flower-rain {
    top: 40px;
  }

  .swagat-left-rain {
    left: 8%;
  }

  .swagat-right-rain {
    right: 8%;
  }

  .upi-card {
    grid-template-columns: 1fr;
  }

  .ritual-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .couple-symbol {
    margin: 0 auto;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wishlist-grid,
  .contact-grid,
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-tall {
    grid-column: span 2;
  }
}

@media (max-width: 1180px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 16px;
  }

  .site-footer {
    display: block;
  }

  .header-actions {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 14px;
  }

  body.menu-open .header-actions {
    display: block;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    white-space: normal;
  }

  .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 248, 234, 0.14);
  }

  .control-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
  }

  .theme-select,
  .font-select,
  .language-toggle,
  .whatsapp-share {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .control-panel {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .ritual-section {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .album-feature {
    min-height: 520px;
  }

  .album-art-large {
    min-height: 520px;
  }

  .mini-album {
    grid-template-columns: 1fr;
  }

  .mini-album .album-art {
    min-height: 220px;
  }

  .memory-grid {
    grid-template-columns: 1fr;
  }

  .memory-card-wide {
    grid-column: auto;
  }

  .schedule-card {
    min-height: 0;
  }

  .varmala-visual {
    min-height: 430px;
  }

  .groom-figure {
    left: 8%;
  }

  .bride-figure {
    right: 8%;
  }

  .garland-left {
    left: 56px;
    width: 158px;
  }

  .garland-right {
    right: 56px;
    width: 158px;
  }

  .fake-qr {
    grid-template-columns: repeat(4, minmax(34px, 1fr));
    width: min(100%, 240px);
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .countdown-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .countdown-box {
    min-height: 124px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 34px 38px;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    right: auto;
  }

  .photo-card,
  .photo-card-tall {
    grid-column: auto;
    min-height: 320px;
  }

  .blessing-section {
    display: block;
  }

  .light-action {
    margin-top: 22px;
  }

  .footer-note {
    margin-top: 16px;
  }
}
