:root {
  --gold: #d4af37;
  --gold-dark: #9b7516;
  --ink: #11100c;
  --ivory: #fff8ea;
  --champagne: #f4e2b7;
  --beige: #ead9b8;
  --rose: #b96d71;
  --sage: #6e7f6b;
  --glass: rgba(255, 250, 240, 0.76);
  --glass-dark: rgba(17, 16, 12, 0.68);
  --shadow: 0 24px 70px rgba(23, 18, 8, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 5rem;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.18), transparent 26rem),
    radial-gradient(circle at 85% 12%, rgba(185, 109, 113, 0.13), transparent 20rem),
    linear-gradient(135deg, #fffaf0 0%, #f8f0dc 38%, #fffaf5 100%);
}

body:not(.invitation-opened) {
  overflow: hidden;
}

body.dark-mode {
  --ink: #fff8ea;
  --ivory: #14120d;
  --glass: rgba(22, 20, 15, 0.72);
  color: #fff8ea;
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.17), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(185, 109, 113, 0.15), transparent 21rem),
    linear-gradient(135deg, #11100c 0%, #1d1910 48%, #0f0e0b 100%);
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: #11100c;
  color: var(--champagne);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__ring {
  width: 5.5rem;
  height: 5.5rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spin 1.1s linear infinite;
  box-shadow: 0 0 52px rgba(212, 175, 55, 0.28);
}

.confetti-canvas,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 60;
}

.confetti-canvas {
  inset: 0;
}

.cursor-glow {
  top: 0;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.82), rgba(212, 175, 55, 0));
  transform: translate3d(-4rem, -4rem, 0);
  filter: blur(1px);
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #fff2b5);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.68);
}

.intro-invitation {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.1rem, 5vw, 5rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(244, 226, 183, 0.72)),
    radial-gradient(circle at 25% 15%, rgba(212, 175, 55, 0.18), transparent 20rem),
    #fff8ea;
  color: #11100c;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.intro-invitation::before,
.intro-invitation::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro-invitation::before {
  inset: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 1.4rem;
}

.intro-invitation::after {
  width: 38rem;
  height: 38rem;
  left: -14rem;
  bottom: -16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 109, 113, 0.16), transparent 70%);
}

body.invitation-opened .intro-invitation {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
}

.intro-invitation__frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 38rem);
  margin-inline: auto;
  min-height: min(76vh, 42rem);
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 234, 0.92)),
    repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0 1px, transparent 1px 20px);
  box-shadow: 0 34px 90px rgba(17, 16, 12, 0.17);
  text-align: center;
}

.intro-invitation__eyebrow {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
}

.intro-invitation h2 {
  margin: 0.4rem 0 1rem;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}

.intro-invitation h2 span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.55em;
}

.intro-invitation__date {
  display: inline-grid;
  min-width: 11rem;
  margin: 0.3rem auto 1rem;
  border-block: 1px solid rgba(212, 175, 55, 0.38);
  padding: 0.9rem 1.2rem;
}

.intro-invitation__date strong {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95;
}

.intro-invitation__date span,
.intro-invitation__venue {
  font-weight: 900;
}

.intro-invitation__venue {
  color: rgba(17, 16, 12, 0.68);
}

.intro-invitation__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.4rem;
  margin-top: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #11100c, #4b3b18);
  color: #fff8ea;
  box-shadow: 0 18px 44px rgba(17, 16, 12, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.intro-invitation__seal i {
  color: #f4cf6a;
}

.intro-invitation__phone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(68vw, 18.5rem);
  aspect-ratio: 9 / 17;
  overflow: hidden;
  border: 10px solid #11100c;
  border-radius: 2.4rem;
  background: #11100c;
  box-shadow: 0 30px 90px rgba(17, 16, 12, 0.32);
  transform: rotate(-5deg);
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 50%;
  width: 5.2rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  transform: translateX(50%);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.phone-shell div {
  position: absolute;
  inset: auto 1rem 1rem;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 248, 234, 0.26);
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(17, 16, 12, 0.58);
  color: #fff8ea;
  text-align: center;
  backdrop-filter: blur(12px);
}

.phone-shell span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.phone-shell strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.site-header {
  position: fixed;
  inset: 1rem clamp(0.8rem, 3vw, 2.4rem) auto;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(17, 16, 12, 0.62);
  color: #fff8ea;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.62);
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.14);
}

.brand-mark small {
  margin: 0 0.16rem;
  color: #fff8ea;
  font-size: 0.7rem;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.4rem);
  min-width: 0;
}

.header-nav a {
  color: rgba(255, 248, 234, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--gold);
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50%;
  background: rgba(255, 248, 234, 0.08);
  color: var(--gold);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.14);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7rem clamp(1rem, 4vw, 3rem) 4rem;
  overflow: hidden;
  color: #fff8ea;
  isolation: isolate;
}

.hero__video,
.hero__image-fallback,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) brightness(0.68);
}

.hero__image-fallback {
  z-index: -5;
  background-image:
    linear-gradient(rgba(17, 16, 12, 0.28), rgba(17, 16, 12, 0.34)),
    url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.hero__veil {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.15), transparent 17rem),
    linear-gradient(180deg, rgba(17, 16, 12, 0.62), rgba(17, 16, 12, 0.34) 44%, rgba(17, 16, 12, 0.74));
}

.particle-field span {
  position: absolute;
  z-index: -2;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 237, 170, 0.92);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.8);
  animation: floatParticle 9s linear infinite;
}

.particle-field span:nth-child(1) { right: 8%; top: 24%; animation-delay: 0s; }
.particle-field span:nth-child(2) { right: 20%; top: 70%; animation-delay: 1.8s; }
.particle-field span:nth-child(3) { right: 38%; top: 18%; animation-delay: 2.7s; }
.particle-field span:nth-child(4) { right: 52%; top: 76%; animation-delay: 0.9s; }
.particle-field span:nth-child(5) { right: 70%; top: 29%; animation-delay: 3.5s; }
.particle-field span:nth-child(6) { right: 82%; top: 62%; animation-delay: 1.1s; }
.particle-field span:nth-child(7) { right: 45%; top: 46%; animation-delay: 4.2s; }
.particle-field span:nth-child(8) { right: 14%; top: 50%; animation-delay: 5.1s; }
.particle-field span:nth-child(9) { right: 61%; top: 12%; animation-delay: 2.1s; }
.particle-field span:nth-child(10) { right: 91%; top: 38%; animation-delay: 3.1s; }

.hero__content {
  width: min(100%, 70rem);
  margin: 0 auto;
  text-align: center;
}

.basmala {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0;
  color: rgba(255, 248, 234, 0.9);
}

.gold-divider {
  width: min(13rem, 42vw);
  height: 1px;
  margin: 1.1rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), #fff2b5, var(--gold), transparent);
  position: relative;
}

.gold-divider::after {
  content: "";
  position: absolute;
  inset: -3px 50% auto auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.eyebrow,
.section-heading p,
.ring-showcase__copy span {
  color: var(--gold);
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 800;
}

.couple-title {
  margin: 0.5rem auto 0;
  max-width: 68rem;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(2.25rem, 8vw, 6.7rem);
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.couple-title span {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--gold);
}

.hero__invite {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: rgba(255, 248, 234, 0.88);
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  font-weight: 600;
}

.venue-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.15rem auto 0;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(17, 16, 12, 0.48);
  color: #fff8ea;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18), inset 0 0 18px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(16px);
}

.venue-pill i {
  color: var(--gold);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(4.3rem, 1fr));
  gap: 0.75rem;
  width: min(100%, 38rem);
  margin: 2rem auto 0;
}

.countdown div,
.detail-card,
.story-card,
.rsvp-panel,
.qr-card,
.map-card {
  border: 1px solid rgba(212, 175, 55, 0.23);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.countdown div {
  display: grid;
  min-height: 5.8rem;
  place-items: center;
  padding: 0.75rem;
  border-radius: 1.35rem;
  color: var(--ink);
}

.countdown strong {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1;
}

.countdown span {
  color: rgba(17, 16, 12, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  border: 1px solid rgba(255, 241, 182, 0.34);
  background: linear-gradient(135deg, #9b7516, var(--gold) 48%, #fff0a6);
  color: #14110a;
  box-shadow: 0 16px 38px rgba(155, 117, 22, 0.3);
}

.secondary-button {
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(255, 248, 234, 0.1);
  color: inherit;
}

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

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50%;
  color: var(--gold);
  animation: bounce 1.9s ease-in-out infinite;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  width: min(100%, 48rem);
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0.55rem auto 0;
  max-width: 100%;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.story-grid,
.details-grid,
.share-grid {
  display: grid;
  width: min(100%, 72rem);
  margin: 0 auto;
  gap: 1.2rem;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.story-card,
.detail-card,
.qr-card,
.map-card {
  border-radius: 1.5rem;
}

.story-card {
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover,
.detail-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
}

.story-card i,
.detail-card i {
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.story-card h3,
.detail-card strong,
.qr-card h3,
.map-card h3,
.ring-showcase__copy h3 {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 800;
}

.story-card p,
.qr-card p,
.map-card p,
.ring-showcase__copy p {
  color: rgba(17, 16, 12, 0.68);
  line-height: 1.85;
}

body.dark-mode .story-card p,
body.dark-mode .qr-card p,
body.dark-mode .map-card p,
body.dark-mode .ring-showcase__copy p {
  color: rgba(255, 248, 234, 0.72);
}

.details-grid {
  grid-template-columns: repeat(4, 1fr);
}

.detail-card {
  min-height: 12rem;
  padding: 1.6rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.detail-card span {
  display: block;
  color: rgba(17, 16, 12, 0.58);
  font-weight: 800;
}

.detail-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.12rem;
}

.detail-card--wide {
  grid-column: span 4;
}

.schedule {
  position: relative;
  display: grid;
  width: min(100%, 48rem);
  margin: 0 auto;
  gap: 0.8rem;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5.2rem;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(212, 175, 55, 0.08));
}

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.8rem;
}

.schedule-item::before {
  content: "";
  position: absolute;
  right: 4.92rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.12);
}

.schedule-item time {
  color: var(--gold-dark);
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 800;
}

.schedule-item span {
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 42px rgba(17, 16, 12, 0.08);
  font-weight: 800;
}

.gallery-swiper {
  width: min(100%, 75rem);
  padding: 0.5rem 0 3.4rem;
}

.gallery-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 1.6rem;
  background: #11100c;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease, opacity 0.25s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-card span {
  position: absolute;
  inset: auto 1rem 1rem;
  border: 1px solid rgba(255, 248, 234, 0.22);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(17, 16, 12, 0.58);
  color: #fff8ea;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.swiper-pagination-bullet-active {
  background: var(--gold);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--gold);
}

.hall-preview {
  position: relative;
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: clamp(4rem, 10vw, 8rem) 1rem;
  overflow: hidden;
  color: #fff8ea;
  text-align: center;
  background:
    linear-gradient(rgba(17, 16, 12, 0.34), rgba(17, 16, 12, 0.62)),
    url("https://image-tc.galaxy.tf/wijpeg-7qarmb6rh7l5upzfl5t30adld/untitled-hdr-26.jpg?rotate=0&crop=0%2C443%2C1920%2C837&width=1920") center / cover fixed;
}

.hall-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
  animation: shimmer 5s ease-in-out infinite;
}

.hall-preview__inner {
  position: relative;
  width: min(100%, 48rem);
}

.hall-preview__inner p {
  color: var(--gold);
  font-weight: 900;
}

.hall-preview__inner h2 {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.ring-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.4rem;
  width: min(100%, 66rem);
  margin: 0 auto;
  align-items: center;
}

.ring-showcase__image {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.ring-showcase__image::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 248, 234, 0.48);
  border-radius: 1.2rem;
  pointer-events: none;
}

.ring-showcase__image img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.ring-showcase__copy {
  border-right: 3px solid var(--gold);
  padding: 1.5rem 1.4rem;
}

.ring-showcase__copy h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.32;
}

.wish-form {
  display: grid;
  width: min(100%, 50rem);
  margin: 0 auto 1.6rem;
  gap: 0.9rem;
}

.wish-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 8rem;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 1.4rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.64);
  color: #11100c;
  box-shadow: var(--shadow);
  outline: none;
}

.wish-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16), var(--shadow);
}

.wishes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 66rem);
  margin: 0 auto;
  gap: 1rem;
}

.wish-card {
  min-height: 9rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1.4rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 45px rgba(17, 16, 12, 0.08);
}

.wish-card p {
  margin: 0;
  line-height: 1.8;
}

.wish-card time {
  display: block;
  margin-top: 1rem;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.rsvp-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 48rem);
  margin: 0 auto;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 1.6rem;
}

.rsvp-name-field {
  display: grid;
  flex-basis: 100%;
  gap: 0.45rem;
  text-align: right;
  font-weight: 900;
}

.rsvp-name-field span {
  color: var(--gold-dark);
}

.rsvp-name-field input {
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  color: #11100c;
  font: inherit;
  font-weight: 800;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-name-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.rsvp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: min(100%, 16rem);
  min-height: 3.6rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.rsvp-button:hover {
  transform: translateY(-2px);
}

.rsvp-button:disabled {
  cursor: wait;
  filter: grayscale(0.25);
  opacity: 0.72;
}

.rsvp-button--yes {
  background: linear-gradient(135deg, #3d6e4e, #87a66f);
}

.rsvp-button--no {
  background: linear-gradient(135deg, #8b3f46, #c07973);
}

.rsvp-button.is-selected {
  filter: saturate(1.22);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 16px 38px rgba(17, 16, 12, 0.18);
}

.rsvp-status {
  flex-basis: 100%;
  margin: 0.4rem 0 0;
  text-align: center;
  font-weight: 800;
  color: var(--gold-dark);
}

.rsvp-responses {
  width: min(100%, 62rem);
  margin: 1.1rem auto 0;
}

.rsvp-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.rsvp-summary span {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  padding: 0.68rem 1rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(17, 16, 12, 0.07);
  font-weight: 900;
}

.rsvp-summary strong {
  color: var(--gold-dark);
}

.attendance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.attendance-card {
  min-height: 12rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 1.4rem;
  padding: 1.15rem;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.attendance-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(17, 16, 12, 0.62);
  font-weight: 800;
  line-height: 1.8;
}

.name-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  background: rgba(255, 255, 255, 0.68);
  color: #11100c;
  box-shadow: 0 8px 20px rgba(17, 16, 12, 0.06);
}

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

.qr-card,
.map-card {
  min-height: 28rem;
  padding: 1.5rem;
  text-align: center;
}

.qr-box {
  display: grid;
  width: 13rem;
  height: 13rem;
  place-items: center;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 1.2rem;
  background: #fff;
  padding: 0.9rem;
  box-shadow: inset 0 0 0 7px rgba(212, 175, 55, 0.08);
}

.qr-box img,
.qr-box canvas {
  border-radius: 0.65rem;
}

.map-card__visual {
  display: grid;
  min-height: 15rem;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 1.2rem;
  background:
    linear-gradient(135deg, rgba(17, 16, 12, 0.78), rgba(17, 16, 12, 0.24)),
    url("https://image-tc.galaxy.tf/wijpeg-50iuej0z9mgukyccmiw0w161d/untitled-hdr-12.jpg?width=1920") center / cover;
  color: var(--gold);
  font-size: 3.2rem;
}

.site-footer {
  padding: 3.5rem 1rem 6rem;
  background: #11100c;
  color: #fff8ea;
  text-align: center;
}

.site-footer p {
  margin: 1rem 0 0.35rem;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 800;
}

.site-footer small {
  color: rgba(255, 248, 234, 0.68);
}

.floating-action,
.scroll-top {
  position: fixed;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.floating-action {
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.8rem 1rem;
  color: #fff8ea;
  font-weight: 900;
  text-decoration: none;
}

.floating-action--music {
  right: 1rem;
  bottom: 1rem;
  background: rgba(17, 16, 12, 0.76);
}

.floating-action--whatsapp {
  left: 1rem;
  bottom: 1rem;
  background: rgba(30, 126, 72, 0.86);
}

.scroll-top {
  right: 1rem;
  bottom: 5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(17, 16, 12, 0.72);
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  width: min(92vw, 68rem);
  border: 0;
  border-radius: 1.5rem;
  padding: 0;
  background: #11100c;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(17, 16, 12, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(17, 16, 12, 0.66);
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.5rem); }
}

@keyframes floatParticle {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-8rem) scale(1.2); opacity: 0; }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-35%); opacity: 0; }
  50% { transform: translateX(35%); opacity: 1; }
}

@media (max-width: 980px) {
  .story-grid,
  .details-grid,
  .wishes-list,
  .share-grid,
  .ring-showcase,
  .attendance-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  .intro-invitation {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1rem;
    padding: 1rem;
  }

  .intro-invitation::before {
    inset: 0.65rem;
    border-radius: 1rem;
  }

  .intro-invitation__frame {
    min-height: auto;
    padding: 1.35rem 1rem;
  }

  .intro-invitation__phone {
    position: absolute;
    left: -1.8rem;
    bottom: -3.8rem;
    z-index: 0;
    display: grid;
    opacity: 0.22;
    filter: saturate(0.8);
  }

  .phone-shell {
    width: 11rem;
    border-width: 7px;
    border-radius: 1.7rem;
    transform: rotate(-9deg);
  }

  .phone-shell div {
    display: none;
  }

  .intro-invitation__seal:hover {
    transform: none;
  }

  .site-header {
    inset: 0.7rem 0.7rem auto;
    border-radius: 1.2rem;
  }

  .header-nav {
    gap: 0.62rem;
  }

  .header-nav a {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  section {
    scroll-margin-top: 4.6rem;
  }

  #rsvp.section {
    padding-top: 3.5rem;
  }

  .section-heading h2 {
    max-width: 21rem;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.35;
  }

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

  .story-grid,
  .details-grid,
  .wishes-list,
  .share-grid,
  .ring-showcase,
  .attendance-grid {
    grid-template-columns: 1fr;
  }

  .venue-pill {
    max-width: 100%;
    padding-inline: 0.85rem;
    font-size: 0.88rem;
  }

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

  .schedule::before {
    right: 4.7rem;
  }

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

  .schedule-item::before {
    right: 4.42rem;
  }

  .hall-preview {
    background-attachment: scroll;
  }

  .floating-action span {
    display: none;
  }

  .floating-action {
    width: 3.2rem;
    padding: 0;
  }

  .story-card:hover,
  .detail-card:hover,
  .gallery-card:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .rsvp-button:hover {
    transform: none;
  }

  .gallery-card img,
  .gallery-card:hover img {
    transform: none;
  }
}

@media (max-width: 440px) {
  .header-nav a:nth-child(2),
  .header-nav a:nth-child(3) {
    display: none;
  }

  .couple-title {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .section {
    padding-inline: 0.85rem;
  }

  .schedule-item {
    grid-template-columns: 5.4rem 1fr;
    gap: 0.7rem;
  }

  .schedule::before {
    right: 3.9rem;
  }

  .schedule-item::before {
    right: 3.62rem;
  }

  .rsvp-button {
    width: 100%;
  }

  .site-header {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .header-nav a {
    font-size: 0.75rem;
  }

  .icon-button,
  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
  }

  .countdown div {
    min-height: 5.25rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .story-card:hover,
  .detail-card:hover,
  .gallery-card:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .rsvp-button:hover {
    transform: none;
  }

  .gallery-card:hover img {
    transform: none;
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
