/* ============================================================
   BERTAMU.ID — RETRO INTERACTIVE EDITION (ALYA & DIMAS)
   Warm Analog 80s/90s Zine • Cassette • Arcade • VHS Camcorder
   ============================================================ */

:root {
  --paper: #f6ecd9;
  --paper-alt: #efe0c4;
  --paper-card: #fff9ee;
  --ink: #1f1a17;
  --ink-soft: #4e443c;
  --ink-muted: #786a5e;

  --teal: #1e4948;
  --teal-dark: #143332;
  --terracotta: #c8553d;
  --terracotta-dark: #a6402b;
  --mustard: #e2a72e;
  --mustard-soft: #f5d37c;
  --sage: #6a8a7b;

  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);

  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "Space Mono", monospace;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: "Amiri", serif;

  --radius: 14px;
  --radius-sm: 9px;
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(31, 26, 23, 0.065) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

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

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

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

.hidden {
  display: none !important;
}

/* ==================== SUBTLE ANALOG GRAIN & CONFETTI ==================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.045;
  background-image: repeating-radial-gradient(circle at 0 0, #000 0, #000 1px, transparent 1px, transparent 4px);
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1500;
}

/* ==================== LAYOUT ==================== */
.container {
  width: min(1140px, 100% - 2.2rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 2.2rem);
}

.section {
  padding: clamp(4.2rem, 7.5vw, 6.8rem) 0;
  position: relative;
}

.section--alt {
  background-color: var(--paper-alt);
  border-top: var(--border);
  border-bottom: var(--border);
}

.section--teal {
  background-color: var(--teal);
  color: var(--paper-card);
  border-top: var(--border);
  border-bottom: var(--border);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.2rem, 4.5vw, 3.3rem);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--mustard-soft);
  color: var(--ink);
  margin-bottom: 0.85rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.section-eyebrow--gold {
  background: var(--mustard);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.section-header--light .section-title {
  color: var(--paper-card);
}

.section-desc {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.section-header--light .section-desc {
  color: rgba(255, 249, 238, 0.85);
}

/* ==================== RETRO BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-sm);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--terracotta {
  background: var(--terracotta);
  color: #fffaf2;
}

.btn--teal {
  background: var(--teal);
  color: #fffaf2;
}

.btn--mustard {
  background: var(--mustard);
  color: var(--ink);
}

.btn--paper {
  background: var(--paper-card);
  color: var(--ink);
}

.btn--paper-dark {
  background: rgba(255, 249, 238, 0.14);
  color: #fffaf2;
  border-color: var(--mustard-soft);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.btn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
}

.btn--sm {
  padding: 0.58rem 1.1rem;
  font-size: 0.82rem;
}

.btn--xs {
  padding: 0.42rem 0.8rem;
  font-size: 0.74rem;
}

.btn--full {
  width: 100%;
}

/* ==================== TAGS & BRAND CHIPS ==================== */
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--mustard-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink);
}

.brand-chip--light {
  background: var(--paper-card);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: var(--paper-alt);
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.mono-tag--gold {
  background: var(--mustard);
  color: var(--ink);
}

/* ==================== OPENING COVER (VINTAGE TICKET) ==================== */
.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--teal-dark);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}

.cover.is-opened {
  opacity: 0;
  transform: translateY(-45px) scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

.cover__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cover__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.32) contrast(1.02) brightness(0.42);
  transform: scale(1.05);
}

.cover__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(30, 73, 72, 0.55), rgba(20, 30, 28, 0.88));
}

.cover__ticket {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  max-height: 94vh;
  overflow-y: auto;
}

.cover__ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--teal);
  border-bottom: var(--border);
}

.cover__ticket-body {
  padding: 1.5rem 1.4rem 1.6rem;
  text-align: center;
}

.cover__polaroid-mini {
  width: 132px;
  margin: 0 auto 1rem;
  padding: 7px 7px 18px;
  background: #ffffff;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transform: rotate(-2.5deg);
}

.cover__polaroid-mini img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(0.18) saturate(1.05);
}

.cover__polaroid-mini span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.cover__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 700;
}

.cover__names {
  margin: 0.25rem 0 0.2rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
}

.cover__names em {
  color: var(--terracotta);
  font-style: italic;
}

.cover__meta {
  margin: 0 0 1.25rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.cover__guest-box {
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.cover__guest-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal);
  font-weight: 700;
}

.cover__guest-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1.2;
}

.cover__guest-box small {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.cover__ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  background: var(--mustard-soft);
  border-top: 2px dashed var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ==================== TOPBAR + GAMIFICATION XP HUD ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(246, 236, 217, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
  padding: 0.55rem 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--terracotta);
  color: #fffaf2;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-logo__text strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink);
}

.brand-logo__text small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--teal);
  font-weight: 700;
}

.xp-hud {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.38rem 0.85rem;
  background: var(--paper-card);
  border: var(--border);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.14s ease;
}

.xp-hud:hover {
  transform: translateY(-1px);
}

.xp-hud__info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.xp-hud__level {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--terracotta);
}

.xp-hud__points {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.xp-hud__bar {
  width: 78px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper-alt);
  overflow: hidden;
}

.xp-hud__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mustard), var(--terracotta));
  transition: width 0.45s ease;
}

.xp-hud__badges {
  display: flex;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.xp-hud__badges span {
  opacity: 0.25;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.xp-hud__badges span.unlocked {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.72rem;
  border-radius: 9px;
  border: var(--border);
  background: var(--teal);
  color: #fffaf2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}

.icon-pill--accent {
  background: var(--mustard);
  color: var(--ink);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bars i {
  display: block;
  width: 3px;
  height: 4px;
  background: var(--mustard-soft);
  border-radius: 2px;
}

.eq-bars.playing i:nth-child(1) { animation: eqBounce 0.6s ease-in-out infinite alternate; }
.eq-bars.playing i:nth-child(2) { animation: eqBounce 0.45s ease-in-out 0.15s infinite alternate; }
.eq-bars.playing i:nth-child(3) { animation: eqBounce 0.55s ease-in-out 0.3s infinite alternate; }

@keyframes eqBounce {
  from { height: 3px; }
  to { height: 12px; }
}

/* ==================== BOTTOM FLOATING NAV ==================== */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0.9rem;
  transform: translate(-50%, 140%);
  z-index: 96;
  display: flex;
  gap: 0.3rem;
  padding: 0.4rem 0.5rem;
  background: var(--paper-card);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.bottom-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bottom-nav__item.active,
.bottom-nav__item:hover {
  background: var(--teal);
  color: #fffaf2;
}

/* ==================== HERO + RETRO CASSETTE PLAYER ==================== */
.hero {
  padding-top: clamp(2.8rem, 5vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.retro-ribbon {
  display: inline-block;
  padding: 0.32rem 0.85rem;
  background: var(--terracotta);
  color: #fffaf2;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1.1rem;
  transform: rotate(-1deg);
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
  color: var(--ink);
}

.hero__title em {
  color: var(--terracotta);
  font-style: italic;
}

.hero__subtitle {
  margin: 1rem 0 1.8rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* Flip-Clock Countdown */
.flip-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  max-width: 440px;
  margin-bottom: 1.8rem;
}

.flip-box {
  background: var(--ink);
  color: var(--paper-card);
  border: var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.4rem;
  text-align: center;
  box-shadow: 4px 4px 0 var(--terracotta);
  position: relative;
}

.flip-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: rgba(255, 249, 238, 0.16);
}

.flip-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  line-height: 1.05;
  color: var(--mustard-soft);
}

.flip-box span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: rgba(255, 249, 238, 0.75);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Hero Right: Polaroid + Cassette */
.hero__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.hero-polaroid {
  position: relative;
  width: min(370px, 100%);
  background: #ffffff;
  border: var(--border);
  padding: 13px 13px 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg);
}

.tape {
  position: absolute;
  width: 78px;
  height: 22px;
  background: rgba(226, 167, 46, 0.68);
  border: 1px solid rgba(31, 26, 23, 0.25);
  z-index: 3;
}

.tape--tl { top: -10px; left: 16px; transform: rotate(-12deg); }
.tape--tr { top: -10px; right: 16px; transform: rotate(10deg); }
.tape--center { top: -11px; left: 50%; transform: translateX(-50%) rotate(-3deg); }

.hero-polaroid__img-wrap {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border: 1.5px solid var(--ink);
}

.hero-polaroid__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(0.14) contrast(1.03) saturate(1.04);
}

.vhs-stamp {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffb84d;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000;
  letter-spacing: 0.08em;
}

.hero-polaroid__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

.hero-polaroid__caption small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
}

/* Interactive Retro Cassette Deck */
.cassette-player {
  width: min(390px, 100%);
  background: #27221f;
  color: var(--paper-card);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  box-shadow: var(--shadow);
}

.cassette__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--mustard-soft);
  margin-bottom: 0.55rem;
}

.cassette__label {
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--terracotta) 36%, var(--paper-card) 36%, var(--paper-card) 100%);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.75rem 0.55rem;
  margin-bottom: 0.75rem;
}

.cassette__title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fffaf2;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.cassette__title-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.cassette__label small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-soft);
}

.cassette__window {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  background: #161311;
  border: 1.5px solid #48403b;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  margin-bottom: 0.75rem;
}

.reel {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px dashed var(--paper-card);
  background: var(--terracotta);
  display: grid;
  place-items: center;
}

.reel span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #161311;
}

.cassette-player.is-playing .reel {
  animation: spinReel 2.2s linear infinite;
}

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

.tape-strip {
  flex: 1;
  height: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #4f3a2c 0 8px, #3b2a20 8px 16px);
}

.cassette__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cassette__btn {
  padding: 0.42rem 0.78rem;
  border-radius: 7px;
  border: 1.5px solid var(--ink);
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

#cassetteSeek {
  width: 100%;
  accent-color: var(--mustard);
  cursor: pointer;
}

/* ==================== VERSE BAND ==================== */
.verse-band {
  background: var(--teal);
  color: var(--paper-card);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: clamp(3.2rem, 6vw, 4.8rem) 0;
  text-align: center;
}

.mono-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border: 1.5px solid var(--mustard-soft);
  border-radius: 999px;
  color: var(--mustard-soft);
  margin-bottom: 1rem;
}

.verse__bismillah {
  font-family: var(--font-arabic);
  font-size: 1.55rem;
  color: var(--mustard-soft);
  margin: 0 0 0.75rem;
}

.verse__arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 2;
  margin: 0 0 1rem;
}

.verse__quote {
  margin: 0 auto;
  max-width: 650px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: rgba(255, 249, 238, 0.9);
}

/* ==================== MEMPELAI POLAROID ==================== */
.couple__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.polaroid-person {
  position: relative;
  background: #ffffff;
  border: var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.45rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.polaroid-person--left { transform: rotate(-1.3deg); }
.polaroid-person--right { transform: rotate(1.3deg); }

.polaroid-person__photo {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border: var(--border);
  margin-bottom: 1.1rem;
}

.polaroid-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.14) saturate(1.02);
}

.role-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terracotta);
}

.polaroid-person h3 {
  margin: 0.3rem 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.15;
}

.polaroid-person .parents {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.polaroid-person__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1.5px dashed rgba(31, 26, 23, 0.25);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.polaroid-person__footer a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.couple__amp span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 4.5rem;
  color: var(--terracotta);
  text-shadow: 3px 3px 0 var(--ink);
}

/* ==================== MIXTAPE TRACKLIST ==================== */
.tracklist {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.track-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.1rem;
  align-items: start;
  background: var(--paper-card);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}

.track-card__num {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--mustard-soft);
  border: var(--border);
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.track-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.track-card__top h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.track-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ==================== VINTAGE PERFORATED TICKETS ==================== */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.ticket-card {
  display: grid;
  grid-template-columns: 1fr 112px;
  background: var(--paper-card);
  border: var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ticket-card--teal {
  background: var(--teal);
  color: var(--paper-card);
}

.ticket-card__main {
  padding: 1.5rem;
  border-right: 2px dashed var(--ink);
  position: relative;
}

.ticket-card--teal .ticket-card__main {
  border-right-color: rgba(255, 249, 238, 0.35);
}

.ticket-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ticket-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--terracotta);
  color: #fffaf2;
  border: 1.5px solid var(--ink);
}

.ticket-badge--gold {
  background: var(--mustard);
  color: var(--ink);
}

.ticket-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
}

.ticket-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.ticket-card--teal .ticket-meta {
  color: rgba(255, 249, 238, 0.9);
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ticket-card__stub {
  padding: 1rem 0.7rem;
  background: var(--mustard-soft);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.barcode {
  width: 66px;
  height: 76px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 3px,
    transparent 3px 6px,
    var(--ink) 6px 8px,
    transparent 8px 12px,
    var(--ink) 12px 17px,
    transparent 17px 20px
  );
}

/* Dress code */
.dresscode-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--paper-card);
  border: var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dresscode-box__photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: sepia(0.14);
}

.dresscode-box__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dresscode-box__body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
}

.dresscode-box__body p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.swatches {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.swatch span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
}

.swatch small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ==================== ARCADE & QUIZ ZONE ==================== */
.game-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.game-tab {
  padding: 0.72rem 1.3rem;
  border-radius: 10px;
  border: var(--border);
  background: rgba(255, 249, 238, 0.14);
  color: var(--paper-card);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.14s ease, background-color 0.2s ease;
}

.game-tab.active {
  background: var(--mustard);
  color: var(--ink);
}

.game-panel {
  display: none;
}

.game-panel.active {
  display: block;
}

.arcade-cabinet {
  max-width: 720px;
  margin-inline: auto;
  background: #231e1b;
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 10px 10px 0 var(--ink);
}

.arcade-cabinet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.arcade-marquee {
  background: var(--terracotta);
  border: 2px solid var(--mustard-soft);
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  display: flex;
  flex-direction: column;
}

.arcade-marquee span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fffaf2;
}

.arcade-marquee small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--mustard-soft);
}

.arcade-scoreboard {
  display: flex;
  gap: 0.65rem;
}

.arcade-scoreboard div {
  background: #12100e;
  border: 1.5px solid #4d433d;
  border-radius: 8px;
  padding: 0.35rem 0.72rem;
  text-align: center;
  min-width: 72px;
}

.arcade-scoreboard span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #a6998c;
}

.arcade-scoreboard strong {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--mustard);
}

.arcade-screen-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #0e0c0a;
  background: #172726;
}

#arcadeCanvas {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
}

.arcade-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 30, 29, 0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.arcade-overlay h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--mustard);
}

.arcade-overlay p {
  margin: 0 0 1.25rem;
  max-width: 440px;
  font-size: 0.88rem;
  color: var(--paper-card);
}

.arcade-controls {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.arcade-dpad {
  display: flex;
  gap: 0.6rem;
}

.dpad-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 3px 3px 0 #000;
  cursor: pointer;
  user-select: none;
}

.dpad-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

.arcade-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #bfb4a7;
}

/* Quiz Box */
.quiz-box {
  max-width: 680px;
  margin-inline: auto;
  background: var(--paper-card);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 1.65rem;
  box-shadow: 9px 9px 0 var(--ink);
}

.quiz-box__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.quiz-question {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.25;
}

.quiz-options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.quiz-opt {
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: var(--border);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, background-color 0.2s ease;
}

.quiz-opt:hover:not(:disabled) {
  background: var(--mustard-soft);
  transform: translate(-1px, -1px);
}

.quiz-opt.is-correct {
  background: #bfe3c0;
}

.quiz-opt.is-wrong {
  background: #f5bfb3;
}

.quiz-feedback {
  min-height: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 0.85rem;
}

.quiz-result {
  text-align: center;
  padding: 1rem 0;
}

.quiz-result h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.9rem;
}

/* ==================== POLAROID GALLERY ==================== */
.polaroid-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.polaroid-card {
  margin: 0;
  background: #ffffff;
  border: var(--border);
  padding: 11px 11px 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polaroid-card:nth-child(odd) { transform: rotate(-1.2deg); }
.polaroid-card:nth-child(even) { transform: rotate(1.2deg); }

.polaroid-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.polaroid-card img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  object-position: center 22%;
  border: 1.5px solid var(--ink);
  filter: sepia(0.14) contrast(1.02);
}

.polaroid-card figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

/* ==================== AMPLOP DIGITAL ==================== */
.gift__tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.gift__tab {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: var(--border);
  background: var(--paper-card);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.gift__tab.active {
  background: var(--teal);
  color: #fffaf2;
}

.gift__panel { display: none; }
.gift__panel.active { display: block; }

.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.bank-card {
  border: var(--border);
  border-radius: 16px;
  padding: 1.45rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
}

.bank-card--teal {
  background: var(--teal);
  color: var(--paper-card);
}

.bank-card--paper {
  background: var(--mustard-soft);
  color: var(--ink);
}

.bank-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.chip-retro {
  width: 34px;
  height: 24px;
  border-radius: 5px;
  border: 1.5px solid currentColor;
  opacity: 0.7;
}

.bank-card__num {
  font-family: var(--font-mono);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 1rem 0;
  letter-spacing: 0.06em;
}

.bank-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.6rem;
}

.bank-card__bottom small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.78;
}

.address-box {
  background: var(--paper-card);
  border: var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

/* ==================== RSVP + VOICE NOTE & VIDEO NOTE ==================== */
.rsvp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.stat-card {
  background: var(--paper-card);
  border: var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card--accent {
  background: var(--mustard-soft);
}

.stat-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--teal);
}

.stat-card span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.rsvp__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: start;
}

.rsvp-form,
.wishes-panel {
  background: var(--paper-card);
  border: var(--border);
  border-radius: 18px;
  padding: 1.55rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* Media Mode Tabs */
.media-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mode-tab {
  padding: 0.62rem 0.5rem;
  border-radius: 10px;
  border: var(--border);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.mode-tab.active {
  background: var(--terracotta);
  color: #fffaf2;
  box-shadow: 2px 2px 0 var(--ink);
}

/* Recorder Boxes (VN & Video Note) */
.recorder-box {
  background: #231e1b;
  color: var(--paper-card);
  border: var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.05rem;
}

.recorder-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rec-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mustard-soft);
}

.rec-indicator i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7d7269;
  display: inline-block;
}

.rec-indicator.is-recording i {
  background: #ff453a;
  box-shadow: 0 0 10px #ff453a;
  animation: blinkRec 0.8s infinite alternate;
}

@keyframes blinkRec {
  from { opacity: 1; }
  to { opacity: 0.25; }
}

.wave-canvas {
  width: 100%;
  height: 72px;
  border-radius: 10px;
  border: 1.5px solid #494039;
  background: #141210;
  display: block;
  margin-bottom: 0.75rem;
}

.recorder-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.upload-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.9rem;
  border-radius: 9px;
  border: 1.5px dashed var(--mustard-soft);
  color: var(--mustard-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.media-preview {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(255, 249, 238, 0.2);
}

.media-preview small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--mustard-soft);
  margin-bottom: 0.35rem;
}

.media-preview audio {
  width: 100%;
  height: 36px;
}

.recorder-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #c8bdb0;
}

/* VHS Viewfinder */
.vhs-viewfinder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #494039;
  background: #111615;
  margin-bottom: 0.8rem;
}

.vhs-viewfinder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.16) contrast(1.06);
}

.vhs-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0px,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

.vhs-hud__rec {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fffaf2;
}

.vhs-hud__rec.recording {
  background: #d93829;
}

.vhs-hud__date {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ffcf6e;
  text-shadow: 1px 1px 0 #000;
}

.vhs-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #d6cbc0;
}

.vhs-placeholder span {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.vhs-placeholder p {
  margin: 0;
  font-size: 0.8rem;
  max-width: 280px;
}

/* Wishes Panel */
.wishes-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.wishes-panel__header h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.wishes-filter {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--teal);
  color: #fffaf2;
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.wish-card {
  background: var(--paper);
  border: var(--border);
  border-radius: 13px;
  padding: 0.95rem 1.05rem;
  box-shadow: 3px 3px 0 var(--ink);
}

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

.wish-card__name {
  font-weight: 700;
  font-size: 0.92rem;
}

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

.badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}

.badge--hadir { background: #c5e8c8; }
.badge--ragu { background: var(--mustard-soft); }
.badge--tidak { background: #e5d8c5; }
.badge--media { background: var(--terracotta); color: #fffaf2; }

.wish-card__msg {
  margin: 0 0 0.55rem;
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.wish-media-box {
  margin: 0.55rem 0 0.6rem;
  background: #231e1b;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 0.6rem;
  color: var(--paper-card);
}

.wish-media-box__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mustard-soft);
  margin-bottom: 0.35rem;
}

.wish-media-box audio {
  width: 100%;
  height: 36px;
}

.wish-media-box video {
  width: 100%;
  max-height: 240px;
  border-radius: 6px;
  background: #000;
  filter: sepia(0.12) contrast(1.04);
}

.wish-card__time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

/* ==================== CLOSING & BERTAMU.ID BRAND SHOWCASE ==================== */
.closing {
  background: var(--ink);
  color: var(--paper-card);
  padding: clamp(3.8rem, 7vw, 5.5rem) 0 6.2rem;
}

.closing__couple {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.closing__lead {
  color: rgba(255, 249, 238, 0.82);
  margin: 0 0 0.9rem;
}

.closing__salam {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--mustard-soft);
  margin: 0 0 0.8rem;
}

.closing__names {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: #fffaf2;
}

.closing__families {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 249, 238, 0.72);
}

.bertamu-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  background: var(--paper-card);
  color: var(--ink);
  border: 3px solid var(--mustard);
  border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.3rem);
  box-shadow: 8px 8px 0 var(--terracotta);
}

.bertamu-showcase h3 {
  margin: 0.7rem 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.bertamu-showcase p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.bertamu-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bertamu-features span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.24rem 0.58rem;
  border-radius: 6px;
  background: var(--paper-alt);
  border: 1.5px solid var(--ink);
}

.bertamu-showcase__right {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: center;
}

.bertamu-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

/* ==================== MODALS & PASSPORT ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 25, 0.76);
  backdrop-filter: blur(4px);
}

.modal__card {
  position: relative;
  z-index: 2;
  width: min(510px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 1.55rem;
  box-shadow: 9px 9px 0 var(--ink);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal__header h3 {
  margin: 0.3rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
}

.modal__close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: var(--border);
  background: var(--paper);
  font-size: 1.3rem;
  cursor: pointer;
}

.passport-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.passport-summary > div {
  background: var(--teal);
  color: var(--paper-card);
  border: var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.passport-summary small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mustard-soft);
}

.passport-summary strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.quest-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.quest-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: var(--border);
  background: var(--paper);
}

.quest-list li.done {
  background: #d6efd7;
}

.quest-list li span {
  font-size: 1.25rem;
}

.quest-list li div {
  flex: 1;
  line-height: 1.2;
}

.quest-list li strong {
  display: block;
  font-size: 0.86rem;
}

.quest-list li small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.quest-status {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  background: var(--paper-card);
}

.quest-list li.done .quest-status {
  background: var(--teal);
  color: #fffaf2;
}

.vip-reward {
  border: 2px dashed var(--ink);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: var(--paper-alt);
}

.vip-reward--unlocked {
  background: var(--mustard-soft);
  border-style: solid;
}

.vip-reward p {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.84rem;
}

.coupon-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  background: var(--ink);
  color: var(--mustard);
  border-radius: 8px;
  letter-spacing: 0.12em;
}

.share-preview {
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  background: var(--paper);
  border: 2px dashed var(--ink);
  margin-bottom: 1rem;
  word-break: break-all;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(16, 20, 19, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox__figure {
  margin: 0;
  max-width: min(880px, 86vw);
  text-align: center;
}

.lightbox__figure img {
  max-height: 76vh;
  margin-inline: auto;
  border-radius: 10px;
  border: 4px solid var(--paper-card);
}

.lightbox__figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--paper-card);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--paper-card);
  background: var(--terracotta);
  color: #fffaf2;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 5rem;
  transform: translate(-50%, 16px);
  z-index: 1600;
  padding: 0.68rem 1.2rem;
  border-radius: 10px;
  border: 2px solid var(--mustard-soft);
  background: var(--ink);
  color: #fffaf2;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

/* Floating Heart Burst */
.floating-heart {
  position: fixed;
  pointer-events: none;
  z-index: 1400;
  font-size: 1.45rem;
  animation: floatUpHeart 1.1s ease-out forwards;
}

@keyframes floatUpHeart {
  0% { transform: translateY(0) scale(0.7); opacity: 1; }
  100% { transform: translateY(-95px) scale(1.35); opacity: 0; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.12s;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .hero__grid,
  .couple__grid,
  .tickets-grid,
  .dresscode-box,
  .bank-grid,
  .rsvp__grid,
  .bertamu-showcase {
    grid-template-columns: 1fr;
  }

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

  .xp-hud__badges {
    display: none;
  }
}

@media (max-width: 600px) {
  .container,
  .container--narrow {
    width: min(100% - 1.4rem, 1140px);
  }

  .brand-logo__text small,
  .xp-hud__bar {
    display: none;
  }

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

  .form-row,
  .media-mode-tabs {
    grid-template-columns: 1fr;
  }

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

  .ticket-card__main {
    border-right: none;
    border-bottom: 2px dashed var(--ink);
  }

  .ticket-card__stub {
    flex-direction: row;
    padding: 0.7rem 1.2rem;
  }

  .barcode {
    width: 80px;
    height: 26px;
  }

  .polaroid-wall {
    grid-template-columns: 1fr;
  }

  .bottom-nav__item small {
    display: none;
  }
}
