
:root {
  --mg-maroon: #640e1b;
  --mg-gold: #ab7a45;
  --mg-bg: #f7e3cd;
  --mg-border-gold: rgba(171, 122, 69, 0.25);
  --mg-text-primary: #640e1b;
  --mg-text-muted: #ab7a45;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.mg-html, body.mg-body {
  width: 100%;
  min-height: 100%;
  background-color: var(--mg-bg);
  color: var(--mg-maroon);
  font-family: 'EB Garamond', 'Baskerville', 'Amiri', serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mg-envelope-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(100,14,27,0.88), rgba(140,45,45,0.84), rgba(171,122,69,0.82)), url('/mahal-gold/paper.webp') center / cover;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mg-envelope-screen.opened {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.mg-env-flower {
  position: absolute;
  z-index: 0;
  width: 46%;
  max-width: 190px;
  aspect-ratio: 1;
  pointer-events: none;
  animation: mgFloat 5s ease-in-out infinite alternate;
}
.mg-env-flower.fl-top-left {
  top: 0;
  left: 0;
  translate: -38% -38%;
  scale: -1 1;
}
.mg-env-flower.fl-bottom-right {
  bottom: 0;
  right: 0;
  translate: 38% 38%;
  scale: 1 -1;
}
.mg-falling-petal {
  position: absolute;
  top: -20px;
  border-radius: 50% 0 50% 50%;
  opacity: 0.75;
  pointer-events: none;
  animation: mgPetalFall linear infinite;
  z-index: 2;
}
.mg-envelope-box {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 380px;
}
.mg-envelope-card {
  position: relative;
  z-index: 1;
  background: rgba(247, 227, 205, 0.98);
  border: 1px solid var(--mg-border-gold);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(171, 122, 69, 0.2);
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mg-polaroid-frame {
  position: relative;
  width: 140px;
  height: 175px;
  background: #ffffff;
  padding: 8px 8px 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-3deg);
  margin-bottom: 16px;
  border-radius: 3px;
  transition: transform 0.3s ease;
}
.mg-polaroid-frame:hover {
  transform: rotate(0deg) scale(1.03);
}
.mg-polaroid-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mg-polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-polaroid-flower {
  position: absolute;
  bottom: -16px;
  right: -18px;
  width: 54px;
  height: 54px;
  pointer-events: none;
  animation: mgFlowerPulse 3s ease-in-out infinite alternate;
}
.mg-envelope-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.mg-name-script {
  font-family: 'The Nautigal', cursive;
  font-size: 38px;
  color: var(--mg-maroon);
  line-height: 1.1;
}
.mg-ampersand {
  font-family: 'Alex Brush', cursive;
  font-size: 24px;
  color: var(--mg-gold);
}
.mg-envelope-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 60%;
  margin: 6px 0 10px;
}
.mg-divider-line {
  flex: 1;
  height: 1px;
  background: var(--mg-gold);
  opacity: 0.4;
}
.mg-divider-ornament {
  font-size: 11px;
  color: var(--mg-gold);
}
.mg-envelope-date {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--mg-gold);
  margin-bottom: 12px;
}
.mg-envelope-guest-name {
  font-size: 15px;
  color: var(--mg-maroon);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.mg-envelope-guest-name span {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mg-gold);
}
.mg-envelope-intro {
  font-size: 12.5px;
  color: var(--mg-gold);
  line-height: 1.4;
  margin-bottom: 18px;
}
.mg-open-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mg-maroon);
  color: #f7e3cd;
  border: 1px solid var(--mg-gold);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 15px;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(100, 14, 27, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mg-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 14, 27, 0.5);
}
.mg-open-btn-seal {
  display: grid;
  place-items: center;
}
.mg-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: mgShine 3s infinite;
}
.mg-main {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--mg-bg);
  color: var(--mg-maroon);
  border-inline: 1px solid var(--mg-border-gold);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) {
  .mg-main {
    max-width: 780px;
  }
}
.mg-paper-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -20;
  mix-blend-mode: darken;
  background-image: url('/mahal-gold/paper.webp');
  background-size: 100% auto;
  background-repeat: repeat-y;
  opacity: 0.4;
}
.mg-hero-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding-top: 13.2%;
  padding-bottom: 16.6%;
}
.mg-hero-wrap {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
}
@media (min-width: 768px) {
  .mg-hero-wrap {
    max-width: 680px;
  }
}
.mg-hero-bells {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 1.4%;
  margin-top: -17.9%;
  z-index: 2;
  width: 32.7%;
  aspect-ratio: 1086 / 1448;
  background: url('/mahal-gold/bells.webp') center / contain no-repeat;
}
.mg-hero-flower1 {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 40.6%;
  margin-top: -17.5%;
  z-index: 3;
  width: 77.1%;
  aspect-ratio: 1;
  background: url('/mahal-gold/flower1.webp') center / contain no-repeat;
}
@media (min-width: 768px) {
  .mg-hero-flower1 {
    width: 90%;
    top: -5%;
  }
}
.mg-arch-container {
  position: relative;
  margin: 0 auto;
  width: 96.1%;
  aspect-ratio: 424 / 529;
}
.mg-arch-frame {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  background: url('/mahal-gold/arch-frame.webp') center / contain no-repeat;
  opacity: 0.54;
}
.mg-arch-emblem {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 20%;
  width: 13.7%;
  transform: translateX(-50%);
  aspect-ratio: 579 / 699;
  background: url('/mahal-gold/ganesha.webp') center / contain no-repeat;
}
.mg-arch-names {
  position: absolute;
  left: 50%;
  top: 43.9%;
  z-index: 20;
  display: flex;
  width: 68%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
}
.mg-arch-name-groom, .mg-arch-name-bride {
  font-family: 'The Nautigal', cursive;
  color: var(--mg-maroon);
  font-size: clamp(32px, 12.5vw, 58px);
}
.mg-arch-amp {
  font-family: 'Alex Brush', cursive;
  color: var(--mg-maroon);
  font-size: clamp(18px, 6.8vw, 30px);
  margin: .12em 0;
}
.mg-hero-bottom-scene {
  position: relative;
  z-index: 0;
  margin-top: -59.6%;
  width: 100%;
  aspect-ratio: 441 / 546;
}
.mg-sandstone-pillar {
  pointer-events: none;
  position: absolute;
  left: 74.8%;
  top: 0;
  z-index: 2;
  width: 55.8%;
  aspect-ratio: 808 / 1402;
  background: url('/mahal-gold/sandstone.webp') center / contain no-repeat;
}
.mg-castle-watermark {
  pointer-events: none;
  position: absolute;
  left: -25.9%;
  top: 13.4%;
  z-index: 1;
  width: 176.6%;
  aspect-ratio: 1635 / 962;
  background: url('/mahal-gold/castle.webp') center / contain no-repeat;
}
.mg-flower2-left {
  pointer-events: none;
  position: absolute;
  left: 54.6%;
  top: 60.6%;
  z-index: 4;
  width: 47.6%;
  aspect-ratio: 1;
  background: url('/mahal-gold/flower2.webp') center / contain no-repeat;
}
.mg-flower2-right {
  pointer-events: none;
  position: absolute;
  right: 54.6%;
  top: 60.6%;
  z-index: 4;
  width: 47.6%;
  aspect-ratio: 1;
  background: url('/mahal-gold/flower2.webp') center / contain no-repeat;
  transform: scaleX(-1);
}
.mg-stone-fence {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 75.5%;
  z-index: 3;
  width: 58.5%;
  transform: translateX(-50%);
  aspect-ratio: 1774 / 887;
  background: url('/mahal-gold/fence.webp') center / contain no-repeat;
}
.mg-ceremony-section, .mg-reception-section {
  position: relative;
  isolation: isolate;
  z-index: 10;
  width: 100%;
  padding: 7% 8.5% 10.9%;
}
@media (min-width: 768px) {
  .mg-ceremony-section, .mg-reception-section {
    padding: 5% 12% 8%;
  }
}
.mg-castle2-watermark {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: -18.8%;
  margin-top: 12%;
  z-index: -10;
  opacity: 0.12;
  width: 244%;
  aspect-ratio: 1448 / 1086;
  background: url('/mahal-gold/castle2.webp') center / contain no-repeat;
}
.mg-pattern-top {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 6.1%;
  margin-top: -9.5%;
  z-index: 1;
  width: 87.5%;
  aspect-ratio: 1302 / 253;
  background: url('/mahal-gold/pattern.webp') center / contain no-repeat;
}
.mg-sandstone-flower-side {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: -40%;
  margin-top: 15.6%;
  z-index: 1;
  width: 56.7%;
  aspect-ratio: 837 / 1843;
  background: url('/mahal-gold/sandstone-flower.webp') center / contain no-repeat;
}
.mg-flower3-decor-side {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 80%;
  margin-top: 61%;
  z-index: 1;
  width: 52.4%;
  aspect-ratio: 806 / 1254;
  background: url('/mahal-gold/flower3-decoration.webp') center / contain no-repeat;
}
.mg-ceremony-content, .mg-reception-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.mg-section-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mg-maroon);
  font-family: 'Cinzel', 'Amiri', 'Times New Roman', serif;
}
@media (min-width: 768px) {
  .mg-section-title {
    font-size: 26px;
  }
}
.mg-parents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 10px 0;
}
.mg-parent-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mg-parent-label {
  font-size: 13px;
  color: var(--mg-gold);
}
.mg-parent-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--mg-maroon);
}
.mg-parent-mother {
  font-size: 12px;
  color: var(--mg-gold);
}
.mg-parent-divider {
  width: 1px;
  height: 50px;
  background-color: var(--mg-gold);
  opacity: 0.5;
}
.mg-host-item{margin:2px 0}
.mg-host-role{margin-inline-end:.4em}
.mg-announcement {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mg-maroon);
  max-width: 440px;
  margin: 6px 0;
}
.mg-couple-full-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mg-full-name {
  font-size: 34px;
  font-family: 'EB Garamond', serif;
  color: var(--mg-maroon);
  font-weight: 600;
}
.mg-couple-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mg-gold);
}
.mg-couple-amp {
  font-size: 26px;
  color: var(--mg-maroon);
  font-family: 'EB Garamond', serif;
}
.mg-gold-line {
  width: 80%;
  max-width: 320px;
  height: auto;
  margin: 10px 0;
}
.mg-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--mg-maroon);
  line-height: 1.7;
  max-width: 460px;
  opacity: 0.9;
}
.mg-gallery-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6% 8.5% 8%;
  text-align: center;
}
.mg-gallery-counter {
  font-size: 13px;
  color: var(--mg-gold);
  margin-top: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.mg-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.mg-gallery-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.mg-gallery-collage .mg-gallery-card:first-child,
.mg-gallery-collage .mg-gallery-card:nth-child(5n+1) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.mg-gallery-3d {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 15px 12px 25px;
  max-width: 460px;
  margin: 0 auto;
  perspective: 900px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mg-gallery-3d::-webkit-scrollbar { display: none; }
.mg-gallery-3d .mg-gallery-card {
  flex: 0 0 76%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(100, 14, 27, 0.2);
  transform: scale(0.96);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mg-gallery-card {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mg-border-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.mg-gallery-card:hover {
  transform: scale(1.02);
}
.mg-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mg-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.mg-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.mg-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mg-reception-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mg-reception-intro {
  font-size: 14px;
  color: var(--mg-maroon);
  font-weight: 600;
}
.mg-reception-time {
  font-size: 28px;
  color: var(--mg-gold);
  font-weight: 700;
}
.mg-reception-day-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--mg-maroon);
}
.mg-dot-sep {
  color: var(--mg-gold);
}
.mg-calendar-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 310 / 340;
  margin: 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mg-calendar-frame-bg {
  position: absolute;
  inset: 0;
  background: url('/mahal-gold/calendar-frame.webp') center / contain no-repeat;
  pointer-events: none;
}
.mg-calendar-table-inner {
  position: relative;
  z-index: 2;
  width: 80%;
  padding: 10px;
}
.mg-calendar-month-title {
  font-family: 'Cinzel', 'Amiri', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--mg-maroon);
  margin-bottom: 8px;
  text-align: center;
}
.mg-calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
  color: var(--mg-maroon);
}
.mg-calendar-table th {
  padding: 4px 2px;
  font-size: 11px;
  color: var(--mg-gold);
  border-bottom: 1px solid var(--mg-border-gold);
}
.mg-calendar-table td {
  padding: 6px 2px;
  font-size: 12px;
  height: 26px;
}
.mg-cal-circled-day {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  font-weight: 700;
}
.mg-cal-heart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--mg-maroon);
  z-index: -1;
}
.mg-countdown-wrapper {
  margin: 16px 0;
  text-align: center;
}
.mg-countdown-heading {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--mg-gold);
  margin-bottom: 8px;
}
.mg-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mg-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}
.mg-cd-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--mg-maroon);
}
.mg-cd-lbl {
  font-size: 10.5px;
  color: var(--mg-gold);
}
.mg-cd-sep {
  font-size: 18px;
  color: var(--mg-gold);
  font-weight: 700;
  align-self: flex-start;
  margin-top: 2px;
}
.mg-timeline-container {
  width: 100%;
  max-width: 380px;
  margin: 18px auto 0;
  text-align: start;
}
.mg-timeline-heading {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--mg-maroon);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.mg-zigzag-timeline {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 26px auto 10px;
  padding: 8px 0;
  direction: ltr !important;
}
.mg-zigzag-line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1.5px;
  background: var(--mg-border-gold, rgba(197, 160, 89, 0.45));
  transform: translateX(-50%);
}
.mg-zigzag-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 26px;
  min-height: 48px;
}
.mg-zigzag-row:last-child {
  margin-bottom: 0;
}
.mg-zigzag-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 2;
  box-sizing: border-box;
}
.mg-zigzag-dot.solid {
  background: var(--mg-maroon, #640e1b);
  border: 2px solid var(--mg-maroon, #640e1b);
}
.mg-zigzag-dot.ring {
  background: #ffffff;
  border: 2.5px solid var(--mg-maroon, #640e1b);
}
.mg-zigzag-side {
  width: 50%;
  box-sizing: border-box;
  display: flex;
}
.mg-zigzag-row.on-right .mg-zigzag-side.left {
  visibility: hidden;
}
.mg-zigzag-row.on-right .mg-zigzag-side.right {
  padding-left: 20px;
  padding-right: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mg-zigzag-row.on-left .mg-zigzag-side.right {
  visibility: hidden;
}
.mg-zigzag-row.on-left .mg-zigzag-side.left {
  padding-right: 20px;
  padding-left: 0;
  justify-content: flex-end;
  align-items: flex-end;
}
.mg-zigzag-content {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  direction: rtl;
  text-align: right;
}
[dir="ltr"] .mg-zigzag-content {
  direction: ltr;
  text-align: left;
}
.mg-zigzag-time {
  font-family: 'Readex Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mg-gold, #c5a059);
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.mg-zigzag-title {
  font-family: 'Amiri', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--mg-maroon, #640e1b);
  line-height: 1.35;
  word-break: break-word;
}
.mg-map-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6% 8.5% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.mg-venue-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mg-venue-name {
  font-size: 16px;
  color: var(--mg-maroon);
}
.mg-venue-city {
  font-size: 13px;
  color: var(--mg-gold);
}
.mg-map-card {
  width: 100%;
  max-width: 420px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--mg-border-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.mg-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.mg-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mg-maroon);
  color: #f7e3cd;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(100, 14, 27, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.mg-directions-btn:hover {
  transform: translateY(-2px);
  background: #7a1523;
}
.mg-rsvp-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6% 8.5% 8%;
  text-align: center;
}
.mg-rsvp-intro {
  font-size: 13.5px;
  color: var(--mg-gold);
  margin-top: 6px;
  margin-bottom: 20px;
  max-width: 420px;
  margin-inline: auto;
}
.mg-rsvp-main-btn {
  background: var(--mg-maroon);
  color: #f7e3cd;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(100, 14, 27, 0.35);
}
.mg-rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
  text-align: start;
}
.mg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mg-form-group label {
  font-size: 13px;
  color: var(--mg-maroon);
  font-weight: 600;
}
.mg-form-group input[type="text"],
.mg-form-group input[type="number"],
.mg-form-group select {
  width: 100%;
  background: #ffffff;
  color: var(--mg-maroon);
  border: 1px solid var(--mg-border-gold);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}
.mg-rsvp-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.mg-rsvp-card.rsvp-collapsed > *:not(.rsvp-open-btn) {
  display: none;
}
.mg-rsvp-card:not(.rsvp-collapsed) .rsvp-open-btn {
  display: none;
}
.mg-count {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.mg-count input[type="number"] {
  flex: 1;
  min-width: 0;
  text-align: center;
  -moz-appearance: textfield;
}
.mg-count input::-webkit-outer-spin-button,
.mg-count input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mg-step {
  flex: 0 0 44px;
  min-height: 40px;
  border: 1px solid var(--mg-border-gold);
  border-radius: 6px;
  background: #faf6f0;
  color: var(--mg-maroon);
  font-size: 20px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
.mg-step:active {
  background: #f3e8d8;
}
.mg-rsvp-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.mg-rsvp-choice .mg-choice {
  margin-top: 0;
}
.mg-rsvp-submit-btn.mg-choice-alt {
  background: transparent;
  color: var(--mg-maroon);
  border: 1px solid var(--mg-maroon);
  box-shadow: none;
}
.mg-choice.on {
  box-shadow: 0 0 0 3px rgba(171, 122, 69, 0.4);
}
.mg-choice.on::after {
  content: '\2713';
  margin-inline-start: 6px;
}
#rsvp-form.sending {
  opacity: 0.6;
  pointer-events: none;
}
#rsvp-form.declined .mg-party {
  opacity: 0.45;
  pointer-events: none;
}
.mg-alert {
  display: none;
  max-width: 380px;
  margin: 14px auto 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #faf6f0;
  border: 1px solid var(--mg-border-gold);
  color: var(--mg-maroon);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.mg-alert.is-error {
  background: #fbedeb;
  border-color: #e9c1ba;
  color: #8a2f24;
}
.mg-rsvp-submit-btn {
  background: var(--mg-maroon);
  color: #f7e3cd;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(100, 14, 27, 0.35);
}
.mg-wishes-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6% 8.5% 8%;
}
.mg-wishes-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--mg-border-gold);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 18px 24px;
  text-align: center;
}
.mg-wishes-intro {
  font-size: 13px;
  color: var(--mg-gold);
  margin-top: 6px;
  margin-bottom: 18px;
}
.mg-wish-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mg-wishes-card .mg-feed-head {
  margin-top: 24px;
}
.mg-input, .mg-textarea {
  width: 100%;
  background: #faf6f0;
  border: 1px solid var(--mg-border-gold);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--mg-maroon);
}
.mg-wish-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--mg-maroon);
  color: #f7e3cd;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 500;
  cursor: pointer;
  align-self: center;
  box-shadow: 0 3px 12px rgba(100, 14, 27, 0.3);
}
.mg-wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  text-align: start;
}
.mg-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mg-maroon);
}
.mg-badge {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mg-gold);
  background: rgba(171, 122, 69, 0.12);
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}
.mg-wishes-feed .wish-card {
  background: #faf6f0;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(171, 122, 69, 0.15);
}
.mg-wishes-feed .wish-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--mg-maroon);
  margin-bottom: 2px;
}
.mg-wishes-feed .wish-content {
  font-size: 13px;
  color: #4a1c22;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.mg-wishes-feed .empty-wishes {
  font-size: 13px;
  color: var(--mg-gold);
  padding: 16px 0;
  text-align: center;
}
.mg-footer {
  text-align: center;
  padding: 24px 16px 16px;
  font-size: 12px;
  color: var(--mg-gold);
}
.mg-footer-thanks {
  max-width: 30em;
  margin: 0 auto 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mg-maroon);
  white-space: pre-line;
}
.mg-notes-section { padding-bottom: 2%; }
.mg-footer-names {
  font-family: 'The Nautigal', cursive;
  font-size: 26px;
  color: var(--mg-maroon);
  margin-bottom: 4px;
}
.mg-footer-koroty a {
  color: var(--mg-maroon);
  text-decoration: none;
  font-weight: 600;
}
.mg-music-widget {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 999;
}
.mg-music-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mg-maroon);
  color: #f7e3cd;
  border: 2px solid var(--mg-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mg-music-btn.playing svg {
  animation: mgSpin 4s linear infinite;
}
@keyframes mgFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes mgFlowerPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}
@keyframes mgShine {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}
@keyframes mgSpin {
  100% { transform: rotate(360deg); }
}
@keyframes mgPetalFall {
  0% {
    transform: translateY(-20px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) rotate(360deg) translateX(40px);
    opacity: 0;
  }
}
.mg-name-script,.mg-arch-name-groom,.mg-arch-name-bride,.mg-footer-names{font-family:'The Nautigal','Noto Nastaliq Urdu',cursive}
.mg-full-name{font-family:'EB Garamond','Noto Nastaliq Urdu',serif}
.mg-arch-names.is-caps .mg-arch-name-groom,.mg-arch-names.is-caps .mg-arch-name-bride{font-family:'EB Garamond',serif;font-style:italic;font-weight:600;letter-spacing:.04em;font-size:clamp(22px,7vw,34px);overflow-wrap:anywhere;max-width:100%}
.mg-envelope-names.is-caps .mg-name-script{font-family:'EB Garamond',serif;font-style:italic;font-weight:600;letter-spacing:.04em;font-size:26px;overflow-wrap:anywhere}
