/* =========================================================
   NATAL BAPELKES SULUT 2026 — BLUE NEON DIGITAL CHRISTMAS
   Theme: "Terang Bercahaya di Tengah Kegelapan"
   ========================================================= */

:root {
  --bg-deep: #020817;
  --bg-navy: #06132b;
  --bg-card-base: #071633;
  --neon-ice: #e0f7ff;
  --neon-cyan: #00e5ff;
  --neon-sky: #38bdf8;
  --neon-blue: #2563eb;
  --neon-deep: #0284c7;
  --text-main: #f0f9ff;
  --text-muted: #b6d4f0;
  --glass-bg: rgba(6, 18, 44, 0.9);
  --glass-border: rgba(0, 229, 255, 0.48);
  --surface-inner: rgba(4, 14, 34, 0.88);
  --surface-subtle: rgba(0, 229, 255, 0.08);
  --caption-bg: rgba(3, 12, 30, 0.94);
  --shadow-glow: 0 14px 36px rgba(0, 5, 22, 0.65), 0 0 24px rgba(0, 229, 255, 0.22);
  --neon-ring-shadow: 0 0 18px rgba(0, 229, 255, 0.24), inset 0 0 14px rgba(56, 189, 248, 0.1);

  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Dancing Script', 'Cormorant Garamond', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.theme-light {
  /* Keep background canvas dark; only cards switch to light mode */
  --bg-deep: #020817;
  --bg-navy: #06132b;
  --bg-card-base: #ffffff;
  --neon-ice: #073b78;
  --neon-cyan: #0099e6;
  --neon-sky: #0ea5e9;
  --neon-blue: #1d4ed8;
  --neon-deep: #0369a1;
  --text-main: #0a1f3d;
  --text-muted: #355882;
  --glass-bg: rgba(248, 252, 255, 0.95);
  --glass-border: rgba(0, 153, 230, 0.55);
  --surface-inner: rgba(255, 255, 255, 0.95);
  --surface-subtle: rgba(14, 165, 233, 0.09);
  --caption-bg: rgba(240, 248, 255, 0.97);
  --shadow-glow: 0 16px 40px rgba(0, 8, 28, 0.55), 0 0 26px rgba(0, 229, 255, 0.34);
  --neon-ring-shadow: 0 0 18px rgba(0, 229, 255, 0.28), inset 0 0 12px rgba(14, 165, 233, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.is-locked {
  overflow: hidden;
  height: 100dvh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* Snow & Starlight Canvas */
#light-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

/* =========================================================
   GPU-COMPOSITED ANIMATED NEON BORDER SYSTEM FOR EVERY CARD
   Uses only opacity + transform so mobile scroll stays 60/120fps
   ========================================================= */
.cover-content,
.glass-card,
.photo-frame,
.strip-card,
.countdown-item,
.info-row,
.gallery-tile,
.map-frame,
.wishes-panel,
.wish-item,
.promo-poster-card,
.promo-price-box,
.promo-contact-note {
  position: relative;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-glow), var(--neon-ring-shadow);
}

.cover-content::before,
.glass-card::before,
.photo-frame::before,
.strip-card::before,
.countdown-item::before,
.info-row::before,
.gallery-tile::before,
.map-frame::before,
.wishes-panel::before,
.wish-item::before,
.promo-poster-card::before,
.promo-price-box::before,
.promo-contact-note::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    130deg,
    #00e5ff 0%,
    #e0f7ff 22%,
    #2563eb 50%,
    #38bdf8 78%,
    #00e5ff 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
  will-change: opacity;
  animation: neonOpacityPulse 2.6s ease-in-out infinite alternate;
}

.glass-card::after,
.theme-card::after,
.photo-frame::after,
.strip-card::after,
.gallery-tile::after,
.promo-poster-card::after,
.promo-price-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e0f7ff 45%, #00e5ff 65%, transparent 100%);
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
  animation: neonEdgeSweep 3.8s ease-in-out infinite;
}

.countdown-item:nth-child(2)::before {
  animation-delay: -0.65s;
}
.countdown-item:nth-child(3)::before {
  animation-delay: -1.3s;
}
.countdown-item:nth-child(4)::before {
  animation-delay: -1.95s;
}

.theme-card-accent::before,
.theme-card-accent::after {
  animation-delay: -1.4s;
}

body.theme-light .cover-content::before,
body.theme-light .glass-card::before,
body.theme-light .photo-frame::before,
body.theme-light .strip-card::before,
body.theme-light .countdown-item::before,
body.theme-light .info-row::before,
body.theme-light .gallery-tile::before,
body.theme-light .map-frame::before,
body.theme-light .wishes-panel::before,
body.theme-light .wish-item::before,
body.theme-light .promo-poster-card::before,
body.theme-light .promo-price-box::before,
body.theme-light .promo-contact-note::before {
  background: linear-gradient(
    130deg,
    #0284c7 0%,
    #7dd3fc 25%,
    #1d4ed8 50%,
    #00b4ff 78%,
    #0284c7 100%
  );
}

/* Proportional Corner Christmas Ornaments Inside Section Cards */
.card-corner-ornament {
  position: absolute;
  top: 1.05rem;
  color: var(--neon-cyan);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.55));
  animation: pulseStar 3.6s ease-in-out infinite;
}

.card-corner-ornament.corner-tl {
  left: 1.15rem;
}

.card-corner-ornament.corner-tr {
  right: 1.15rem;
  animation-delay: -1.8s;
}

/* =========================================================
   COVER / HERO SCREEN (intro.mp4)
   ========================================================= */
.cover-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem 1rem;
  background: var(--bg-deep);
  overflow-y: auto;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.75s ease, visibility 0.9s;
}

body.is-opened .cover-screen {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.1) contrast(1.06) brightness(0.66) hue-rotate(8deg);
}

.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 229, 255, 0.2) 0%, rgba(4, 15, 38, 0.68) 54%, rgba(2, 8, 23, 0.92) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.65) 0%, rgba(6, 22, 54, 0.48) 50%, rgba(2, 8, 23, 0.9) 100%);
}

.cover-rays {
  position: fixed;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background: conic-gradient(
    from 180deg at 50% 18%,
    transparent 0deg,
    rgba(0, 229, 255, 0.09) 18deg,
    transparent 36deg,
    rgba(56, 189, 248, 0.07) 60deg,
    transparent 85deg
  );
  animation: gentleRotate 28s linear infinite;
}

body.is-opened .cover-rays,
body.is-opened .bauble {
  animation-play-state: paused;
}

/* Subtle Corner Photo Previews on Cover */
.cover-ambient-photos {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cover-photo-chip {
  position: absolute;
  bottom: 1.5rem;
  width: 112px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 229, 255, 0.25);
  opacity: 0.78;
}

.cover-photo-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-left {
  left: 1.5rem;
  transform: rotate(-5deg);
}

.chip-right {
  right: 1.5rem;
  transform: rotate(5deg);
}

.cover-content {
  z-index: 3;
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 2.25rem);
  border-radius: 28px;
  background: var(--glass-bg);
  overflow: hidden;
  animation: fadeInUp 0.8s ease both;
}

/* Hanging Neon Christmas Baubles on Cover */
.cover-baubles {
  position: absolute;
  inset: 0 1rem auto 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.bauble {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  transform-origin: top center;
  animation: swayBauble 4.4s ease-in-out infinite;
}

.bauble-left-outer {
  width: 34px;
  height: 68px;
}

.bauble-left-inner {
  width: 24px;
  height: 46px;
  margin-right: auto;
  margin-left: 0.35rem;
  animation-delay: -1.4s;
  color: var(--neon-sky);
}

.bauble-right-inner {
  width: 24px;
  height: 46px;
  margin-left: auto;
  margin-right: 0.35rem;
  animation-delay: -2.2s;
  color: var(--neon-sky);
}

.bauble-right-outer {
  width: 34px;
  height: 68px;
  animation-delay: -0.9s;
}

.cover-ornament-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--neon-ice);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.star-glint {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
  animation: pulseStar 2.6s ease-in-out infinite;
}

.logo-halo {
  width: 84px;
  height: 84px;
  margin: 0 auto 0.9rem;
  padding: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.28) 0%, rgba(37, 99, 235, 0.08) 72%);
  border: 1px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.32);
}

.institution-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.cover-script {
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 4.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  color: var(--neon-ice);
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-top: 0.25rem;
  background: linear-gradient(
    90deg,
    #ff4d6d 0%,
    #ffd166 20%,
    #2ecc71 40%,
    #00e5ff 60%,
    #60a5fa 80%,
    #c084fc 92%,
    #ff4d6d 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rgbTextFlow 6s linear infinite;
}

body.is-opened .cover-title {
  animation-play-state: paused;
}

body.theme-light .cover-title {
  background: linear-gradient(
    90deg,
    #e11d48 0%,
    #d97706 20%,
    #16a34a 40%,
    #0284c7 60%,
    #2563eb 80%,
    #9333ea 92%,
    #e11d48 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cover-institution {
  margin-top: 0.7rem;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.cover-meta-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--neon-ice);
}

.dot-sep {
  color: var(--neon-cyan);
}

.guest-box {
  margin: 1.2rem auto 1.3rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--surface-subtle);
  border: 1px dashed rgba(0, 229, 255, 0.45);
}

.guest-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.guest-name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3.3vw, 1.35rem);
  color: var(--neon-ice);
  font-weight: 700;
}

.btn-open-invitation {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 243, 252, 0.85);
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 52%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.55), 0 0 26px rgba(0, 229, 255, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-open-invitation:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.7), 0 0 36px rgba(0, 229, 255, 0.6);
}

.btn-open-invitation:active {
  transform: scale(0.98);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3.5s infinite;
}

.cover-hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.88;
}

/* =========================================================
   MAIN SCROLLABLE INVITATION LAYERS
   ========================================================= */
.invitation-main {
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
  padding-bottom: 5.5rem;
}

body.is-opened .invitation-main {
  opacity: 1;
}

.container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.inv-layer {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 100dvh;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

/* Dual Atmospheric Backdrop on Every Layer */
.layer-bg-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.layer-bg-single {
  grid-template-columns: 1fr;
}

.bg-pane {
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.bg-pane-1 {
  border-right: 1px solid rgba(0, 229, 255, 0.2);
}

.layer-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 229, 255, 0.18) 0%, transparent 56%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.88) 0%, rgba(6, 20, 48, 0.78) 50%, rgba(2, 8, 23, 0.94) 100%);
  transition: background 0.35s ease;
}

.scrim-theme {
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 229, 255, 0.22) 0%, rgba(37, 99, 235, 0.18) 40%, transparent 68%),
    linear-gradient(180deg, rgba(2, 9, 24, 0.9) 0%, rgba(7, 22, 52, 0.8) 50%, rgba(2, 8, 23, 0.95) 100%);
}

.scrim-rsvp {
  background:
    radial-gradient(circle at 50% 12%, rgba(56, 189, 248, 0.22) 0%, transparent 56%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.9) 0%, rgba(7, 20, 48, 0.82) 50%, rgba(2, 7, 20, 0.96) 100%);
}

.scrim-promo {
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 229, 255, 0.22) 0%, rgba(29, 78, 216, 0.16) 46%, transparent 72%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.91) 0%, rgba(6, 20, 48, 0.84) 50%, rgba(2, 7, 20, 0.96) 100%);
}

/* Badges directly on dark canvas stay bright in light-card mode */
body.theme-light .theme-wrapper > .section-badge {
  color: #e0f7ff;
  background: rgba(0, 229, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.45);
}

/* Glass Card Surface */
.glass-card {
  background: var(--glass-bg);
  border-radius: 26px;
  overflow: hidden;
}

/* Shared Headings & Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.18);
  color: var(--neon-ice);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.25;
  color: var(--neon-ice);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

body.theme-light .section-heading {
  text-shadow: none;
}

.section-heading span {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.85em;
}

.schedule-card .section-heading,
.location-card .section-heading,
.rsvp-shell .section-heading,
.promo-shell .section-heading {
  color: #f4ca64;
  text-shadow: 0 0 18px rgba(244, 202, 100, 0.32);
}

body.theme-light .schedule-card .section-heading,
body.theme-light .location-card .section-heading,
body.theme-light .rsvp-shell .section-heading,
body.theme-light .promo-shell .section-heading {
  color: #b47b11;
  text-shadow: none;
}

.section-sub {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin-inline: auto;
}

.script-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 4.1vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  line-height: 1.3;
  color: var(--neon-sky);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
  margin-bottom: 0.45rem;
}

body.theme-light .script-subtitle {
  color: var(--neon-deep);
  text-shadow: none;
}

/* =========================================================
   LAYER 1: OPENING
   ========================================================= */
.opening-card {
  padding: clamp(1.85rem, 4.5vw, 3rem);
  text-align: center;
}

.christmas-garland {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.garland-line {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.garland-holly {
  color: var(--neon-sky);
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.5));
}

.garland-star {
  color: var(--neon-cyan);
  font-size: 1.15rem;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}

.section-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.35));
}

.opening-text {
  margin: 1.1rem auto 1.8rem;
  max-width: 660px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
}

/* Dual Pic 1 & Pic 2 Editorial Showcase */
.dual-frame-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.photo-frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-inner);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
  transform: translateY(-4px);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-frame:hover img {
  transform: scale(1.05);
}

.photo-frame figcaption {
  padding: 0.58rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-ice);
  background: var(--caption-bg);
  border-top: 1px solid rgba(0, 229, 255, 0.28);
  text-align: center;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: bounceCue 2s infinite;
}

/* =========================================================
   LAYER 2: TEMA & SUB TEMA
   ========================================================= */
.theme-wrapper {
  text-align: center;
}

.light-emblem {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0.5rem auto 1.25rem;
  display: grid;
  place-items: center;
}

.light-aura {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.48) 0%, rgba(37, 99, 235, 0.16) 48%, transparent 72%);
  animation: pulseStar 3s ease-in-out infinite;
}

.theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.theme-card {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: center;
}

.theme-card-accent {
  background: linear-gradient(155deg, rgba(0, 140, 255, 0.24) 0%, rgba(5, 16, 40, 0.86) 100%);
}

body.theme-light .theme-card-accent {
  background: linear-gradient(155deg, rgba(219, 239, 255, 0.94) 0%, rgba(246, 251, 255, 0.92) 100%);
}

.theme-label {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.theme-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: italic;
  font-weight: 700;
  color: var(--neon-ice);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

/* Natal Merah Cerah untuk isi Tema & Hijau Daun Natal untuk isi Sub Tema — huruf tajam dengan halo cahaya putih sinematik */
.theme-card:not(.theme-card-accent) .theme-title {
  color: #ff5263;
  text-shadow:
    0 1px 2px rgba(2, 8, 23, 0.95),
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 36px rgba(255, 255, 255, 0.22);
}

.theme-card-accent .theme-title {
  color: #34e07c;
  text-shadow:
    0 1px 2px rgba(2, 8, 23, 0.95),
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 36px rgba(255, 255, 255, 0.22);
}

body.theme-light .theme-card:not(.theme-card-accent) .theme-title {
  color: #dc2626;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

body.theme-light .theme-card-accent .theme-title {
  color: #15803d;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

.theme-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
}

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

.strip-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--caption-bg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strip-card:hover {
  transform: translateY(-4px);
}

.strip-media {
  width: 100%;
  aspect-ratio: 21 / 10;
  overflow: hidden;
  background: #030b1c;
}

.strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.strip-media img.img-asn {
  object-position: center 22%;
}

.strip-card:hover .strip-media img {
  transform: scale(1.04);
}

/* Aligned Center as Requested */
.strip-caption {
  padding: 0.8rem 1rem 0.95rem;
  background: var(--caption-bg);
  border-top: 1px solid rgba(0, 229, 255, 0.28);
  text-align: center;
}

.strip-tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.strip-caption p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

/* =========================================================
   LAYER 3: WAKTU & COUNTDOWN
   ========================================================= */
.schedule-card {
  padding: clamp(1.75rem, 4vw, 2.8rem);
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 560px;
  margin: 1.5rem auto 0.65rem;
}

.countdown-item {
  padding: 0.95rem 0.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.14) 0%, var(--surface-inner) 100%);
  overflow: hidden;
}

.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--neon-ice);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

body.theme-light .cd-num {
  text-shadow: none;
}

.cd-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.countdown-status {
  font-size: 0.85rem;
  color: var(--neon-sky);
  min-height: 1.25rem;
  margin-bottom: 1.5rem;
}

body.theme-light .countdown-status {
  color: var(--neon-deep);
}

.event-details-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
  text-align: left;
  margin-bottom: 1.75rem;
}

.event-details-single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-inline: auto;
}

.event-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--surface-subtle);
}

.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 140, 255, 0.22);
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.24);
  color: var(--neon-ice);
}

.info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  display: block;
  font-size: 1.02rem;
  color: var(--neon-ice);
  font-weight: 700;
}

.info-extra {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.calendar-actions,
.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary-gold,
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 60%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(165, 243, 252, 0.78);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.42), 0 0 18px rgba(0, 229, 255, 0.26);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.58), 0 0 26px rgba(0, 229, 255, 0.45);
}

.btn-outline-gold {
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-ice);
  border: 1px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.14);
}

.btn-outline-gold:hover {
  background: rgba(0, 229, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.3);
}

.btn-full {
  width: 100%;
}

/* =========================================================
   LAYER 4: LOKASI & GALERI
   ========================================================= */
.location-card {
  padding: clamp(1.75rem, 4vw, 2.8rem);
  text-align: center;
}

.location-address {
  margin: 0.7rem auto 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.location-address strong {
  color: var(--neon-ice);
  font-size: 1.08rem;
}

.venue-single {
  max-width: 680px;
  margin: 0 auto 1.25rem;
}

.gallery-tile-single {
  display: block;
  width: 100%;
}

.gallery-tile-single img {
  aspect-ratio: 16 / 9;
}

.gallery-tile {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  text-align: left;
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(2, 10, 26, 0.92));
  color: #f0f9ff;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #00e5ff;
  font-weight: 700;
}

.gallery-overlay strong {
  display: block;
  font-size: 0.95rem;
  color: #e0f7ff;
}

.gallery-overlay small {
  font-size: 0.75rem;
  color: #b6d4f0;
}

.map-frame {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  background: var(--surface-inner);
}

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

/* =========================================================
   LAYER 5: RSVP & UCAPAN
   ========================================================= */
.rsvp-shell {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.5rem;
  text-align: left;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-ice);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.38);
  background: var(--surface-inner);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.wishes-panel {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--surface-inner);
  padding: 1rem;
  max-height: 410px;
}

.wishes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.24);
}

.wishes-header h3 {
  font-size: 1rem;
  color: var(--neon-ice);
}

.wishes-count {
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.14);
  color: var(--neon-cyan);
  font-weight: 600;
}

.wishes-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.25rem;
}

.wish-item {
  padding: 0.85rem;
  border-radius: 14px;
  background: var(--surface-subtle);
}

.wish-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.wish-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--neon-ice);
}

.wish-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.18);
  color: #a5f3fc;
  border: 1px solid rgba(0, 229, 255, 0.45);
}

body.theme-light .wish-badge {
  background: rgba(2, 132, 199, 0.14);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.4);
}

.wish-badge.absent {
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
  border-color: rgba(165, 180, 252, 0.4);
}

body.theme-light .wish-badge.absent {
  color: #4338ca;
}

.wish-unit {
  display: block;
  font-size: 0.76rem;
  color: var(--neon-sky);
  margin-bottom: 0.35rem;
}

body.theme-light .wish-unit {
  color: var(--neon-deep);
}

.wish-body {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* =========================================================
   LAYER 6: PROMOSI AUDITORIUM BAPELKES
   ========================================================= */
.promo-shell {
  padding: clamp(1.75rem, 4vw, 2.8rem);
  text-align: center;
}

.promo-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.75rem;
  align-items: center;
  margin-top: 1.65rem;
  text-align: left;
}

.promo-poster-card {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-inner);
  transition: transform 0.3s ease;
}

.promo-poster-card:hover {
  transform: translateY(-4px);
}

.promo-poster-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promo-zoom-pill {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(3, 12, 30, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.55);
  color: #e0f7ff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.promo-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.promo-price-box {
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.25) 0%, var(--surface-inner) 100%);
}

.promo-price-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  font-weight: 700;
}

.promo-price-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--neon-ice);
  line-height: 1.2;
  margin: 0.2rem 0 0.35rem;
}

.promo-capacity {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.promo-facilities h3 {
  font-size: 0.92rem;
  color: var(--neon-ice);
  margin-bottom: 0.6rem;
}

.facility-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.facility-tags li {
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.34);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 500;
}

.promo-contact-note {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--surface-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.promo-contact-note strong {
  color: var(--neon-ice);
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.inv-footer {
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(4, 14, 34, 0.92) 0%, #020714 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.22);
}

body.theme-light .inv-footer,
body.theme-light .bottom-nav,
body.theme-light .theme-fab,
body.theme-light .audio-fab {
  --neon-ice: #e0f7ff;
  --neon-cyan: #00e5ff;
  --neon-sky: #38bdf8;
  --text-main: #f0f9ff;
  --text-muted: #b6d4f0;
}

.footer-xmas-tree {
  color: var(--neon-cyan);
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.45rem;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55));
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 0.65rem;
}

.footer-script {
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #ff4d6d 0%,
    #ffd166 20%,
    #2ecc71 40%,
    #00e5ff 60%,
    #60a5fa 80%,
    #c084fc 92%,
    #ff4d6d 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rgbTextFlow 6s linear infinite;
}

.footer-org {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.footer-theme {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.btn-replay {
  margin-top: 1.1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: var(--neon-ice);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-replay:hover {
  background: rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}

.footer-credit {
  margin-top: 1.45rem;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-credit span {
  color: var(--neon-ice);
  font-weight: 600;
}

/* =========================================================
   FLOATING BOTTOM NAVIGATION & TOP-RIGHT CONTROLS
   ========================================================= */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0.9rem;
  transform: translate(-50%, 140%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(5, 16, 40, 0.94);
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 12px 32px rgba(0, 4, 18, 0.65), 0 0 22px rgba(0, 229, 255, 0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
  max-width: calc(100vw - 1.5rem);
}

body.is-opened .bottom-nav {
  transform: translate(-50%, 0);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(0, 229, 255, 0.18);
  color: var(--neon-ice);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* Top-Left Theme Toggle & Top-Right Audio Toggle */
.theme-fab,
.audio-fab {
  position: fixed;
  top: 1rem;
  z-index: 65;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(5, 16, 40, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.55);
  color: var(--neon-ice);
  box-shadow: 0 8px 22px rgba(0, 5, 22, 0.55), 0 0 16px rgba(0, 229, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.theme-fab {
  left: 1rem;
  display: grid;
  place-items: center;
}

.audio-fab {
  right: 1rem;
  display: none;
  place-items: center;
}

body.is-opened .audio-fab {
  display: grid;
}

.theme-fab::before,
.audio-fab::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(0, 229, 255, 0.18) 0deg,
    #00e5ff 80deg,
    #e0f7ff 120deg,
    #2563eb 180deg,
    rgba(0, 229, 255, 0.18) 260deg,
    #38bdf8 320deg,
    rgba(0, 229, 255, 0.18) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  will-change: transform;
  animation: gentleRotate 4s linear infinite;
}

.theme-fab:hover,
.audio-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 229, 255, 0.42);
}

/* Living / Animated Theme Icon */
.theme-icon-sun {
  transform-origin: center;
  animation: sunSpin 12s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.65));
}

.sun-core {
  transform-origin: 12px 12px;
  animation: sunCorePulse 1.6s ease-in-out infinite alternate;
}

.sun-rays {
  transform-origin: 12px 12px;
  animation: sunRaysPulse 1.6s ease-in-out infinite alternate;
}

.theme-fab .theme-icon-moon {
  display: none;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.65));
}

.moon-crescent {
  transform-origin: 12px 12px;
  animation: moonSway 3s ease-in-out infinite;
}

.moon-star {
  transform-origin: center;
  animation: starTwinkle 1.4s ease-in-out infinite alternate;
}

.moon-star-2 {
  animation-delay: 0.7s;
}

body.theme-light .theme-fab .theme-icon-sun {
  display: none;
}

body.theme-light .theme-fab .theme-icon-moon {
  display: block;
}

.audio-bars {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.audio-bars span {
  width: 3px;
  background: currentColor;
  border-radius: 2px;
  animation: eqBar 0.9s ease-in-out infinite;
}

.audio-bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.audio-bars span:nth-child(3) {
  animation-delay: 0.4s;
}

.audio-fab.is-playing .audio-bars {
  display: flex;
}

.audio-fab.is-playing .audio-muted-icon {
  display: none;
}

/* =========================================================
   LIGHTBOX & TOAST
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 8, 22, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: rgba(5, 16, 40, 0.85);
  color: #e0f7ff;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-figure {
  max-width: 880px;
  width: 100%;
  text-align: center;
}

.lightbox-figure img {
  margin: 0 auto;
  max-height: 76dvh;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 229, 255, 0.25);
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  color: #e0f7ff;
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 90;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: rgba(5, 18, 44, 0.95);
  border: 1px solid var(--neon-cyan);
  color: #e0f7ff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* =========================================================
   SCROLL REVEAL & KEYFRAMES
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes neonOpacityPulse {
  0% {
    opacity: 0.38;
  }
  100% {
    opacity: 1;
  }
}

@keyframes neonEdgeSweep {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  80% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(220%);
    opacity: 0;
  }
}

@keyframes rgbTextFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes swayBauble {
  0%, 100% {
    transform: rotate(-3.5deg);
  }
  50% {
    transform: rotate(3.5deg);
  }
}

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

@keyframes gentleRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseStar {
  0%, 100% {
    opacity: 0.68;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes btnShimmer {
  0%, 55% {
    left: -120%;
  }
  100% {
    left: 160%;
  }
}

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

@keyframes eqBar {
  0%, 100% {
    height: 5px;
  }
  50% {
    height: 16px;
  }
}

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

@keyframes sunCorePulse {
  0% {
    transform: scale(0.88);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes sunRaysPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes moonSway {
  0%, 100% {
    transform: rotate(-8deg) scale(0.96);
  }
  50% {
    transform: rotate(8deg) scale(1.04);
  }
}

@keyframes starTwinkle {
  0% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  100% {
    opacity: 1;
    transform: scale(1.18);
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================================= */
@media (max-width: 768px) {
  .cover-photo-chip {
    width: 82px;
    height: 56px;
    bottom: 0.9rem;
    opacity: 0.55;
  }

  .chip-left {
    left: 0.85rem;
  }

  .chip-right {
    right: 0.85rem;
  }

  .dual-frame-editorial,
  .theme-cards-grid,
  .layer-photo-strip,
  .event-details-layout,
  .rsvp-grid,
  .promo-layout {
    grid-template-columns: 1fr;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-item {
    padding: 0.75rem 0.3rem;
  }

  .nav-item {
    padding: 0.35rem 0.45rem;
    font-size: 0.62rem;
  }

  .card-corner-ornament {
    top: 0.85rem;
    opacity: 0.48;
  }

  .card-corner-ornament.corner-tl {
    left: 0.85rem;
  }

  .card-corner-ornament.corner-tr {
    right: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cover-content {
    padding: 1.55rem 0.95rem 1.35rem;
    border-radius: 22px;
  }

  .cover-baubles {
    inset: 0 0.55rem auto 0.55rem;
  }

  .bauble-left-outer,
  .bauble-right-outer {
    width: 26px;
    height: 52px;
  }

  .bauble-left-inner,
  .bauble-right-inner {
    display: none;
  }

  .logo-halo {
    width: 72px;
    height: 72px;
  }

  .btn-open-invitation {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .bottom-nav {
    gap: 0.1rem;
    padding: 0.38rem 0.45rem;
  }

  .nav-item {
    padding: 0.32rem 0.38rem;
  }

  .nav-item span {
    font-size: 0.56rem;
  }

  .card-corner-ornament svg {
    width: 22px;
    height: 22px;
  }
}

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