:root {
  --ink: #294b52;
  --deep: #17363c;
  --teal: #5e8b95;
  --teal-dark: #436c75;
  --gold: #b08a4b;
  --leaf: #768d68;
  --coral: #d99b88;
  --paper: #f9f7f0;
  --paper-soft: #eef1eb;
  --white: #fffdf8;
  --muted: #6f7d7d;
  --shadow: 0 22px 70px rgba(23, 54, 60, 0.2);
  --radius: 8px;
  --font-body: "Nunito Sans", sans-serif;
  --font-display: "Playfair Display", serif;
  --font-accent: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 139, 149, 0.48) rgba(255, 253, 248, 0.18);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 253, 248, 0.18);
}

::-webkit-scrollbar-thumb {
  border: 1px solid rgba(255, 253, 248, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(176, 138, 75, 0.56), rgba(94, 139, 149, 0.72));
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(176, 138, 75, 0.72), rgba(67, 108, 117, 0.86));
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 54, 60, 0.08), transparent 45%),
    var(--paper-soft);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

a {
  color: inherit;
}

body.lightbox-open {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  color: var(--deep);
  background:
    linear-gradient(rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.82)),
    url("assets/ornamen-sunda.svg") center / cover;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.page-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.page-loader p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader-mark {
  width: 58px;
  height: 58px;
  border: 3px solid rgba(176, 138, 75, 0.22);
  border-top-color: var(--teal-dark);
  border-radius: 50%;
  animation: spinDisc 1s linear infinite;
}

.site-shell {
  min-height: 100vh;
}

.desktop-stage {
  position: fixed;
  inset: 0 auto 0 0;
  display: none;
  width: calc(100vw - 500px);
  min-width: 520px;
  overflow: hidden;
  color: var(--white);
  background: #1d2a2e;
}

.desktop-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(16, 30, 33, 0.18), rgba(16, 30, 33, 0.72)),
    radial-gradient(circle at 20% 22%, rgba(217, 155, 136, 0.3), transparent 28%);
}

.desktop-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-copy {
  position: absolute;
  z-index: 1;
  right: 10%;
  bottom: 38%;
  left: 10%;
  text-align: center;
  text-transform: uppercase;
}

.stage-copy p,
.eyebrow,
.guest-label,
.short-date,
.event-day,
.wish-form span {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stage-copy h1 {
  margin: 0.2rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.96;
  text-transform: none;
}

.stage-copy strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.invitation {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin-left: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(94, 139, 149, 0.17), transparent 26%),
    radial-gradient(circle at 95% 40%, rgba(217, 155, 136, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(239, 242, 235, 0.94));
}

.panel-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 5.5rem 2rem;
  text-align: center;
  isolation: isolate;
}

.panel-section::before,
.cover::before {
  position: absolute;
  inset: -24px 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 253, 248, 0.58), rgba(255, 253, 248, 0.34)),
    url("assets/ornamen-sunda.svg");
  background-position: center;
  background-size: cover;
  opacity: 0.88;
  transform: translate3d(0, var(--ornament-y, 0), 0) scale(1.03);
  will-change: transform;
}

.panel-section::after,
.cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 7% 20%, rgba(118, 141, 104, 0.18), transparent 19%),
    radial-gradient(circle at 96% 75%, rgba(176, 138, 75, 0.15), transparent 23%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.36));
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 100vh;
  padding: 3rem 2rem;
  overflow: hidden;
  text-align: center;
  background: var(--paper);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    visibility 700ms ease;
}

.cover.is-open {
  animation: coverExit 700ms ease forwards;
  transition: none;
}

.cover-photo {
  width: 178px;
  height: 250px;
  margin: 0;
  padding: 4px;
  overflow: hidden;
  border: 2px solid rgba(255, 253, 248, 0.95);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cover-photo img {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  object-fit: cover;
}

.cover h2,
.panel-section h2,
.person-card h3,
.event-card h3,
.gift-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
}

.cover h2 {
  margin: 0.35rem 0 0;
  font-size: 2.55rem;
}

.cover h2 span,
.stacked-title em,
.couple-and {
  color: var(--teal-dark);
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 400;
}

.guest-label {
  color: var(--deep);
  font-size: 0.7rem;
}

.guest-name {
  margin: -0.8rem 0 0;
  font-size: 1.12rem;
  font-weight: 500;
}

.cover-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.42rem;
  width: min(100%, 310px);
  margin: 0.15rem 0 0.2rem;
}

.cover-countdown div {
  min-width: 0;
  padding: 0.48rem 0.25rem 0.42rem;
  border: 1px solid rgba(94, 139, 149, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 10px 24px rgba(41, 75, 82, 0.08);
  backdrop-filter: blur(8px);
}

.cover-countdown strong {
  display: block;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
}

.cover-countdown span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-button,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1.75rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 30px rgba(67, 108, 117, 0.22);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-button:hover,
.pill-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(67, 108, 117, 0.28);
}

.primary-button.as-link {
  gap: 0.5rem;
}

.calendar-actions {
  display: grid;
  gap: 0.6rem;
  width: min(100%, 340px);
  margin-top: 0.6rem;
}

.calendar-mini,
.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.calendar-mini {
  min-height: 34px;
  border: 1px solid rgba(94, 139, 149, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
  box-shadow: 0 10px 24px rgba(41, 75, 82, 0.08);
}

.hero-event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 58px;
  padding: 0.72rem 0.86rem;
  border: 1px solid rgba(176, 138, 75, 0.24);
  border-radius: 999px;
  color: var(--deep);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.64)),
    radial-gradient(circle at 10% 0%, rgba(176, 138, 75, 0.12), transparent 36%);
  box-shadow:
    0 14px 32px rgba(23, 54, 60, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-event-card:hover {
  border-color: rgba(176, 138, 75, 0.46);
  box-shadow:
    0 18px 38px rgba(23, 54, 60, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  transform: translateY(-2px);
}

.hero-event-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 10px 22px rgba(67, 108, 117, 0.2);
}

.hero-event-copy {
  min-width: 0;
  text-align: left;
}

.hero-event-copy strong,
.hero-event-copy span {
  display: block;
}

.hero-event-copy strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
}

.hero-event-copy span {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-event-time {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.cover-art {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 560px;
  background: url("assets/ornamen-sunda.svg") center / cover no-repeat;
  opacity: 0.58;
}

.cover-art::before,
.cover-art::after {
  display: none;
}

.cover-art-left {
  bottom: -126px;
  left: -170px;
  transform: rotate(-8deg);
}

.cover-art-right {
  right: -182px;
  bottom: -18px;
  transform: scaleX(-1) rotate(-8deg);
}

.hero-section {
  overflow: hidden;
  min-height: 100vh;
  padding-top: 5.2rem;
  padding-bottom: 6.5rem;
  align-content: center;
  gap: 0.72rem;
}

.hero-section::before {
  opacity: 0.72;
}

.hero-section::after {
  background:
    radial-gradient(circle at 5% 18%, rgba(118, 141, 104, 0.12), transparent 20%),
    radial-gradient(circle at 93% 72%, rgba(176, 138, 75, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.62), rgba(255, 253, 248, 0.34));
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.arch-frame {
  position: absolute;
  top: 4.6rem;
  left: 50%;
  z-index: 0;
  width: min(78%, 330px);
  height: 300px;
  border: 8px solid rgba(176, 138, 75, 0.78);
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
  transform: translateX(-50%);
  opacity: 0.46;
  pointer-events: none;
}

.arch-frame::before {
  position: absolute;
  inset: 17px;
  content: "";
  border: 2px solid rgba(94, 139, 149, 0.28);
  border-bottom: 0;
  border-radius: 108px 108px 0 0;
}

.stacked-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.55rem 0 0;
  font-size: 3.15rem;
}

.stacked-title em {
  font-size: 2.35rem;
  line-height: 0.8;
}

.short-date {
  margin: 0.35rem 0 0.75rem;
  color: var(--deep);
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 52px;
  margin-top: 1.45rem;
  border: 2px solid rgba(41, 75, 82, 0.52);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
  animation: floatCue 1.8s ease-in-out infinite;
}

.quote-section {
  min-height: 82vh;
}

.quote-section p,
.intro-lede,
.stream-section p,
.closing-section p,
.section-note {
  width: min(100%, 360px);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-section strong {
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 800;
}

.monogram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: var(--teal-dark);
}

.monogram span {
  font-family: var(--font-display);
  font-size: 3.4rem;
}

.monogram em {
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: 2.7rem;
  font-style: normal;
}

.panel-section h2 {
  max-width: 390px;
  margin: 0.65rem auto 0;
  font-size: 2.35rem;
}

.intro-section {
  align-content: start;
  min-height: 92vh;
  padding-top: 4.1rem;
  padding-bottom: 7.25rem;
}

.intro-kalam {
  display: inline-grid;
  place-items: center;
  min-width: 210px;
  margin: 0 auto 1.15rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(176, 138, 75, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 14px 38px rgba(23, 54, 60, 0.07);
}

.intro-kalam span {
  font-family: var(--font-accent);
  font-size: 1.34rem;
  line-height: 1;
}

.intro-section .eyebrow {
  margin-bottom: 0.25rem;
  color: var(--teal-dark);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.intro-section h2 {
  max-width: 325px;
  margin-top: 0.45rem;
  font-size: 1.92rem;
  line-height: 1.08;
}

.intro-lede {
  max-width: 330px;
  margin-top: 1.1rem;
  font-size: 0.94rem;
  line-height: 1.8;
}

.couple-list {
  display: grid;
  gap: 1.3rem;
  width: min(100%, 350px);
  margin-top: 2.2rem;
}

.person-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 0.62rem;
  padding: 1.35rem 1.2rem 1.45rem;
  border: 1px solid rgba(176, 138, 75, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.72)),
    radial-gradient(circle at 50% -12%, rgba(94, 139, 149, 0.14), transparent 42%);
  box-shadow: 0 18px 48px rgba(23, 54, 60, 0.1);
}

.person-card::before {
  position: absolute;
  inset: 0.7rem 0.7rem auto;
  height: 104px;
  content: "";
  border: 1px solid rgba(176, 138, 75, 0.22);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  opacity: 0.84;
  pointer-events: none;
}

.person-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.72rem;
  border: 1px solid rgba(176, 138, 75, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 253, 248, 0.82);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.person-photo {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 166px;
  margin: 0.1rem 0 0.25rem;
  padding: 5px;
  overflow: hidden;
  border-radius: 74px 74px 10px 10px;
  background: var(--white);
  box-shadow:
    0 14px 34px rgba(41, 75, 82, 0.16),
    0 0 0 1px rgba(176, 138, 75, 0.18);
}

.person-card img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 68px 68px 8px 8px;
  object-fit: cover;
  box-shadow: none;
}

.person-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.75rem;
}

.person-card p {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.person-card a,
.event-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.35rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.person-social {
  position: relative;
  z-index: 1;
  min-height: 32px;
  padding: 0 0.85rem;
  border: 1px solid rgba(94, 139, 149, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.64);
}

.couple-and {
  font-size: 3.4rem;
  line-height: 0.85;
}

.date-section {
  min-height: 100vh;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  width: min(100%, 360px);
  margin-top: 1.4rem;
}

.countdown div {
  min-width: 0;
  padding: 0.78rem 0.35rem;
  border: 1px solid rgba(94, 139, 149, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 10px 28px rgba(41, 75, 82, 0.08);
}

.countdown strong {
  display: block;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-list,
.gift-list {
  display: grid;
  gap: 1rem;
  width: min(100%, 370px);
  margin-top: 1.5rem;
}

.event-map {
  overflow: hidden;
  display: grid;
  width: min(100%, 370px);
  margin-top: 1rem;
  border: 1px solid rgba(176, 138, 75, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.74)),
    radial-gradient(circle at 12% 0%, rgba(94, 139, 149, 0.15), transparent 42%);
  box-shadow: 0 16px 44px rgba(23, 54, 60, 0.1);
}

.event-map-frame {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border-bottom: 1px solid rgba(176, 138, 75, 0.18);
  background: rgba(94, 139, 149, 0.12);
}

.event-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(0.94);
}

.event-map-copy {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1rem 1.1rem;
  text-align: left;
}

.event-map-copy span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-map-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.event-map-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.event-map-copy a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  min-height: 34px;
  margin-top: 0.38rem;
  padding: 0 0.88rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(67, 108, 117, 0.18);
}

.event-card {
  padding: 1.35rem 1.15rem;
  border: 1px solid rgba(176, 138, 75, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 42px rgba(23, 54, 60, 0.08);
}

.event-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-dark);
}

.event-card h3 {
  margin: 0;
  font-size: 1.9rem;
}

.event-card h4 {
  margin: 0.9rem 0 0.2rem;
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
}

.event-card p {
  margin: 0.28rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-day {
  margin-top: 0.55rem;
  color: var(--gold) !important;
  letter-spacing: 0.12em;
}

.stream-section {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
}

.stream-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.stream-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(15, 35, 39, 0.55);
  min-height: 76vh;
}

.stream-content p,
.stream-content h2 {
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  width: min(100%, 390px);
  margin-top: 1.6rem;
}

.gallery-item {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 118px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(23, 54, 60, 0.1);
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: translateY(-2px);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-row: span 2;
}

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(4) img {
  height: 245px;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  width: min(100%, 370px);
  margin-top: 1.6rem;
  text-align: left;
}

.timeline article {
  position: relative;
  padding: 1rem 1rem 1rem 4.25rem;
  border: 1px solid rgba(94, 139, 149, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
}

.timeline span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
}

.timeline h3 {
  margin: 0 0 0.2rem;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gift-section {
  color: var(--white);
  background:
    linear-gradient(rgba(41, 92, 101, 0.88), rgba(37, 83, 91, 0.92)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=900&q=70");
  background-position: center;
  background-size: cover;
}

.gift-section::before {
  opacity: 0.16;
  mix-blend-mode: screen;
}

.gift-section::after {
  background:
    radial-gradient(circle at 0 30%, rgba(217, 155, 136, 0.26), transparent 20%),
    radial-gradient(circle at 100% 0, rgba(176, 138, 75, 0.18), transparent 28%);
}

.gift-section h2,
.gift-section .section-note {
  color: var(--white);
}

.section-icon,
.address-icon {
  display: inline-grid;
  place-items: center;
  color: var(--white);
}

.section-icon .lucide {
  width: 48px;
  height: 48px;
  stroke-width: 2.2;
}

.gift-list {
  width: min(100%, 390px);
  gap: 1.15rem;
  margin-top: 2rem;
}

.gift-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  text-align: left;
  color: #5f666c;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2) 28%, transparent 31%),
    radial-gradient(circle at 92% 120%, rgba(206, 210, 210, 0.22), transparent 38%),
    linear-gradient(135deg, #fffdf8, #f8f8f4 58%, #eceeea);
  box-shadow: 0 20px 45px rgba(13, 39, 45, 0.18);
}

.gift-card::before {
  position: absolute;
  right: -42px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(41, 75, 82, 0.06);
  border-radius: 50%;
  content: "";
}

.gift-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 68px;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(41, 75, 82, 0.08) 1px, transparent 1px);
  background-size: 6px 6px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 72%, transparent);
  opacity: 0.55;
}

.bank-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
  padding: 1.25rem 1.35rem 1.15rem;
}

.card-top,
.card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-chip {
  display: block;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(130, 111, 45, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(130, 111, 45, 0.2) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 47%, rgba(130, 111, 45, 0.2) 48% 52%, transparent 53%),
    linear-gradient(135deg, #fff5a7, #c8a95b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.bank-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.bank-bni {
  color: #096170;
}

.bank-bni em {
  display: block;
  width: 28px;
  height: 24px;
  border-radius: 3px;
  background:
    linear-gradient(45deg, transparent 0 35%, #fff 36% 45%, transparent 46% 100%),
    linear-gradient(135deg, transparent 0 28%, #fff 29% 38%, transparent 39% 100%),
    #f26a2f;
}

.bank-bca {
  color: #0649aa;
  font-family: var(--font-body);
  font-size: 1.85rem;
  font-weight: 900;
  font-style: italic;
}

.bank-ewallet {
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.bank-gopay { color: #00a6d6; font-family: var(--font-body); font-size: 1.35rem; font-weight: 900; }
.bank-shopeepay { color: #ee4d2d; font-family: var(--font-body); font-size: 1.18rem; font-weight: 900; }
.bank-mandiri { color: #063f8d; font-family: var(--font-body); font-size: 1.35rem; font-weight: 900; }
.bank-bri { color: #00529c; font-family: var(--font-body); font-size: 1.6rem; font-weight: 900; }
.bank-dana { color: #118eea; font-family: var(--font-body); font-size: 1.55rem; font-weight: 900; }
.bank-jago { color: #f58220; font-family: var(--font-body); font-size: 1.55rem; font-weight: 900; }

.gift-card strong {
  display: block;
  margin: 0 0 0.15rem;
  color: #59616a;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  word-break: break-word;
}

.gift-card p {
  margin: 0.08rem 0;
  color: #667079;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.5rem 0.8rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: #b49c75;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(62, 52, 34, 0.16);
}

.copy-pill .lucide {
  width: 14px;
  height: 14px;
}

.address-card {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1.55rem 1.2rem 1.35rem;
  text-align: center;
}

.address-icon {
  color: #b49c75;
}

.address-icon .lucide {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
}

.address-card h3 {
  margin: 0.25rem 0 0.35rem;
  color: #5d6670;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
}

.address-card p {
  max-width: 280px;
  color: #69727c;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.address-card .copy-pill {
  margin-top: 0.85rem;
}

.floating-nav button,
.music-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-dark);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(41, 75, 82, 0.16);
}

.wish-form {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 370px);
  margin-top: 1.5rem;
  text-align: left;
}

.wish-form label {
  display: grid;
  gap: 0.35rem;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  width: 100%;
  border: 1px solid rgba(94, 139, 149, 0.28);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--deep);
  background: rgba(255, 253, 248, 0.88);
  outline: none;
}

.wish-form textarea {
  min-height: 112px;
  resize: vertical;
}

.wish-form input:focus,
.wish-form select:focus,
.wish-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(94, 139, 149, 0.15);
}

.wish-form select option[value="yes"] {
  color: #2d6a4f;
}

.wish-form select option[value="insyaallah"] {
  color: #8b6914;
}

.wish-form select option[value="no"] {
  color: #9b2335;
}

.wish-count {
  width: min(100%, 370px);
  margin: 1.2rem auto 0.8rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
}

.wish-list {
  display: grid;
  gap: 0.7rem;
  width: min(100%, 370px);
}

.wish-readmore {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px dashed rgba(94, 139, 149, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wish-readmore:hover {
  background: rgba(94, 139, 149, 0.06);
  border-color: var(--teal);
}

.wish-item {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(94, 139, 149, 0.16);
  border-radius: var(--radius);
  text-align: left;
  background: rgba(255, 253, 248, 0.82);
}

.wish-item-pinned {
  border-color: rgba(255, 193, 7, 0.4);
  background: rgba(255, 253, 248, 0.95);
}

.wish-item strong {
  display: block;
  color: var(--deep);
}

.wish-item span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.wish-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.closing-section {
  min-height: 78vh;
  padding-bottom: 8rem;
}

.closing-card {
  position: relative;
  width: min(100%, 370px);
  padding: 2.1rem 1.5rem 2.25rem;
  overflow: hidden;
  border: 1px solid rgba(176, 138, 75, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 155, 136, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.93), rgba(241, 241, 234, 0.84));
  box-shadow: 0 24px 60px rgba(23, 54, 60, 0.14);
}

.closing-card::before,
.closing-card::after {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(176, 138, 75, 0.18);
  border-radius: 50%;
  content: "";
}

.closing-card::before {
  top: -54px;
  left: -54px;
}

.closing-card::after {
  right: -62px;
  bottom: -58px;
}

.closing-card > * {
  position: relative;
  z-index: 1;
}

.family-note {
  color: var(--gold) !important;
  font-family: var(--font-accent);
  font-size: 2rem !important;
}

.site-footer {
  position: relative;
  min-height: 220px;
  background: #776858;
  text-align: center;
}

.site-footer p {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 2rem 1rem 5.8rem;
  color: #705f53;
  background: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.site-footer span {
  color: #e74d3d;
  font-size: 1.15em;
}

.floating-nav {
  position: fixed;
  right: 50%;
  bottom: 1rem;
  z-index: 12;
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 44px rgba(23, 54, 60, 0.18);
  backdrop-filter: blur(16px);
  transform: translateX(50%);
}

.floating-nav button {
  width: 36px;
  height: 36px;
  color: var(--teal-dark);
  background: transparent;
  box-shadow: none;
}

.floating-nav button:hover,
.music-toggle:hover,
.copy-pill:hover {
  transform: translateY(-1px);
}

.music-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  z-index: 13;
  width: 48px;
  height: 48px;
  padding: 5px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow:
    0 16px 34px rgba(23, 54, 60, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.music-toggle.is-playing {
  background: rgba(255, 253, 248, 0.94);
}

.music-disc {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf8 0 5px, transparent 6px),
    radial-gradient(circle at center, rgba(23, 54, 60, 0.18) 0 9px, transparent 10px),
    conic-gradient(from 40deg, #203f45, #b08a4b, #eef1eb, #5e8b95, #203f45);
  box-shadow:
    inset 0 0 0 2px rgba(23, 54, 60, 0.1),
    inset 0 0 16px rgba(23, 54, 60, 0.18);
}

.music-disc::before,
.music-disc::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.music-disc::before {
  inset: 8px;
  border: 1px solid rgba(255, 253, 248, 0.52);
}

.music-disc::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--deep);
  transform: translate(-50%, -50%);
}

.music-disc span {
  position: absolute;
  top: 6px;
  left: 19px;
  width: 3px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  transform: rotate(34deg);
  transform-origin: 50% 13px;
}

.music-toggle.is-playing .music-disc {
  animation: spinDisc 2.6s linear infinite;
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 5.2rem;
  z-index: 30;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(23, 54, 60, 0.92);
  box-shadow: 0 16px 36px rgba(23, 54, 60, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.9)),
    url("assets/ornamen-sunda.svg") center / cover fixed,
    var(--paper-soft);
}

.admin-shell {
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.admin-header {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0 1.4rem;
}

.admin-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1;
}

.admin-preview-link,
.admin-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(94, 139, 149, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 253, 248, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 54, 60, 0.08);
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-locked .admin-form {
  display: none;
}

.admin-page:not(.admin-locked) .admin-lock {
  display: none;
}

.admin-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem;
  border: 1px solid rgba(176, 138, 75, 0.24);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab {
  flex: 1;
  min-width: max-content;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-tab:hover {
  background: rgba(94, 139, 149, 0.08);
  color: var(--ink);
}

.admin-tab.active {
  background: var(--teal);
  color: white;
  box-shadow: 0 2px 8px rgba(94, 139, 149, 0.3);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: grid;
}

.admin-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(176, 138, 75, 0.24);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 16px 42px rgba(23, 54, 60, 0.08);
  backdrop-filter: blur(14px);
}

.admin-card.admin-tab-panel {
  display: none;
}

.admin-card.admin-tab-panel.active {
  display: grid;
}

.admin-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
}

.admin-form span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(94, 139, 149, 0.24);
  border-radius: var(--radius);
  padding: 0.75rem 0.82rem;
  color: var(--deep);
  background: rgba(255, 253, 248, 0.92);
  outline: none;
}

.admin-form textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(94, 139, 149, 0.14);
}

.admin-span-2 {
  grid-column: 1 / -1;
}

.admin-json {
  min-height: 360px !important;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.guest-import,
.guest-manual {
  padding: 1rem;
  border: 1px dashed rgba(94, 139, 149, 0.3);
  border-radius: 8px;
  background: rgba(94, 139, 149, 0.04);
}

.guest-import h3,
.guest-manual h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.guest-hint {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.guest-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(94, 139, 149, 0.24);
  border-radius: 8px;
  background: white;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.guest-upload-btn:hover {
  background: var(--teal);
  color: white;
}

.guest-upload-btn svg {
  width: 16px;
  height: 16px;
}

.guest-input-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.guest-input-row input[type="text"] {
  flex: 2;
  min-width: 150px;
}

.guest-input-row input[type="number"] {
  flex: 0.5;
  min-width: 60px;
}

.guest-input-row input[type="tel"] {
  flex: 1;
  min-width: 120px;
}

.guest-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.guest-list-header h3 {
  margin: 0;
  font-size: 0.95rem;
}

.guest-actions-top {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.guest-actions-top button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.guest-actions-top svg {
  width: 14px;
  height: 14px;
}

.guest-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.guest-empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.guest-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(176, 138, 75, 0.15);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.7);
}

.guest-info {
  display: grid;
  gap: 0.2rem;
}

.guest-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.guest-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.guest-btns {
  display: flex;
  gap: 0.35rem;
}

.guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(94, 139, 149, 0.2);
  border-radius: 6px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.guest-btn:hover {
  background: var(--teal);
  color: white;
}

.guest-btn svg {
  width: 14px;
  height: 14px;
}

.guest-btn.guest-btn-wa:hover {
  background: #25d366;
  border-color: #25d366;
}

.guest-btn.guest-btn-delete:hover {
  background: #dc3545;
  border-color: #dc3545;
}

.wishes-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(94, 139, 149, 0.06);
}

.wishes-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.wishes-stat strong {
  color: var(--teal-dark);
}

.wishes-list {
  display: grid;
  gap: 0.5rem;
  max-height: 500px;
  overflow-y: auto;
}

.wish-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(176, 138, 75, 0.15);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.7);
}

.wish-content {
  display: grid;
  gap: 0.3rem;
}

.wish-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wish-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.wish-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.wish-badge-yes {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.wish-badge-no {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.wish-badge-insyaallah {
  background: rgba(94, 139, 149, 0.15);
  color: var(--teal-dark);
}

.wish-message {
  font-size: 0.82rem;
  color: var(--deep);
  line-height: 1.5;
}

.wish-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.wish-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 6px;
  background: white;
  color: #dc3545;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wish-delete:hover {
  background: #dc3545;
  color: white;
}

.wish-delete svg {
  width: 14px;
  height: 14px;
}

.wish-btns {
  display: flex;
  gap: 0.35rem;
}

.wish-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(94, 139, 149, 0.2);
  border-radius: 6px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wish-pin:hover {
  background: var(--teal);
  color: white;
}

.wish-pin.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.wish-pin svg {
  width: 14px;
  height: 14px;
}

.wish-pinned-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 193, 7, 0.2);
  color: #d4a017;
}

.admin-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 16px 38px rgba(23, 54, 60, 0.12);
  backdrop-filter: blur(14px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(15, 35, 39, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  position: relative;
  width: min(92vw, 780px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  border: 6px solid rgba(255, 253, 248, 0.9);
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.lightbox figcaption {
  margin-top: 0.65rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  background: rgba(255, 253, 248, 0.92);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.reveal-item {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(30px) scale(0.97);
  transition:
    opacity 850ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 850ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.rsvp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rsvp-status-badge.status-yes {
  color: #2d6a4f;
  background: rgba(118, 141, 104, 0.18);
}

.rsvp-status-badge.status-insyaallah {
  color: #8b6914;
  background: rgba(176, 138, 75, 0.18);
}

.rsvp-status-badge.status-no {
  color: #9b2335;
  background: rgba(217, 155, 136, 0.18);
}

.rsvp-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: min(100%, 370px);
  margin: 1.2rem auto 1rem;
}

.rsvp-summary-item {
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(94, 139, 149, 0.15);
}

.rsvp-summary-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-dark);
  line-height: 1;
}

.rsvp-summary-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.rsvp-summary-item.yes strong { color: #2d6a4f; }
.rsvp-summary-item.insyaallah strong { color: #8b6914; }
.rsvp-summary-item.no strong { color: #9b2335; }

.rsvp-summary-item {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.rsvp-summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 54, 60, 0.1);
}

@keyframes floatCue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 14px 30px rgba(67, 108, 117, 0.22);
  }
  50% {
    box-shadow: 0 14px 40px rgba(67, 108, 117, 0.35);
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 500ms; }

.person-card,
.event-card,
.gift-card,
.timeline article {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.person-card.is-visible,
.event-card.is-visible,
.gift-card.is-visible,
.timeline article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes coverExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  40% {
    opacity: 0.8;
    transform: translateY(-10px) scale(0.98);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
    visibility: hidden;
  }
}

.primary-button {
  animation: pulseGlow 3s ease-in-out infinite;
}

.arch-frame {
  opacity: 0;
  transform: translateX(-50%) scale(0.92) translateY(18px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arch-frame.is-visible {
  opacity: 0.46;
  transform: translateX(-50%) scale(1) translateY(var(--hero-arch-y, 0));
}

.monogram {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 200ms,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 200ms;
}

.monogram.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-item {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (min-width: 900px) {
  .desktop-stage {
    display: block;
  }

  .invitation {
    width: 500px;
    box-shadow: -22px 0 60px rgba(23, 54, 60, 0.12);
  }

  .cover {
    left: auto;
    width: 500px;
  }

  .floating-nav {
    right: 250px;
  }

  .music-toggle {
    right: 1.6rem;
  }

  .toast {
    right: 250px;
  }
}

@media (max-width: 480px) {
  .panel-section {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .cover {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .cover-photo {
    width: 154px;
    height: 216px;
  }

  .cover h2 {
    font-size: 2.05rem;
  }

  .cover-countdown {
    width: min(100%, 292px);
  }

  .cover-countdown strong {
    font-size: 0.94rem;
  }

  .panel-section h2 {
    font-size: 2.05rem;
  }

  .stacked-title {
    font-size: 2.8rem;
  }

  .arch-frame {
    top: 4.6rem;
    width: 76%;
    height: 285px;
  }

  .hero-event-card {
    min-height: 54px;
    padding: 0.64rem 0.74rem;
  }

  .hero-event-time {
    font-size: 0.68rem;
  }

  .gallery-item img {
    height: 106px;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img {
    height: 222px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .music-toggle {
    right: 0.75rem;
    bottom: 5rem;
  }

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

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.analytics-stat-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(94, 139, 149, 0.08), rgba(94, 139, 149, 0.02));
  text-align: center;
  border: 1px solid rgba(94, 139, 149, 0.1);
}

.analytics-icon {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  color: var(--teal);
}

.analytics-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}

.analytics-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analytics-section {
  margin-top: 1.25rem;
}

.analytics-section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.analytics-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 140px;
  padding: 1rem 0.5rem;
  background: linear-gradient(180deg, rgba(94, 139, 149, 0.04), transparent);
  border-radius: 10px;
}

.analytics-col {
  flex: 1;
  display: grid;
  gap: 0.2rem;
  place-items: end center;
  height: 100%;
}

.analytics-col-value {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.analytics-col-bar {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(180deg, var(--teal), rgba(94, 139, 149, 0.7));
  border-radius: 6px 6px 2px 2px;
  transition: height 0.4s ease;
}

.analytics-col-day {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.analytics-col-date {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
}

.analytics-rsvp-chart {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.analytics-donut {
  width: 120px;
  height: 120px;
}

.analytics-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.analytics-donut-segment {
  transition: stroke-dasharray 0.4s ease;
}

.analytics-rsvp-legend {
  display: grid;
  gap: 0.6rem;
}

.analytics-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.analytics-legend-item span {
  min-width: 80px;
}

.analytics-legend-item strong {
  color: var(--teal-dark);
  margin-left: auto;
}

.analytics-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.analytics-ref-list {
  display: grid;
  gap: 0.5rem;
}

.analytics-ref-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: rgba(94, 139, 149, 0.04);
}

.analytics-ref-url {
  font-size: 0.78rem;
  color: var(--deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-ref-bar-wrapper {
  height: 6px;
  background: rgba(94, 139, 149, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.analytics-ref-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), rgba(94, 139, 149, 0.6));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.analytics-ref-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.analytics-devices-visual {
  display: grid;
  gap: 1rem;
}

.analytics-device-bar {
  display: flex;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9ecef;
}

.analytics-device-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  transition: width 0.4s ease;
}

.analytics-device-segment svg {
  width: 16px;
  height: 16px;
}

.analytics-device-mobile {
  background: linear-gradient(90deg, #5e8b95, #4a7a85);
}

.analytics-device-desktop {
  background: linear-gradient(90deg, #7eb5c4, #5e8b95);
}

.analytics-device-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.admin-actions {
    border-radius: 18px;
  }
}
