/* ============================================================
   REAL MADRID — Undangan Pernikahan Budi & Dewi
   Elegan · Epic · Powerful | Undangan Digital by Maple
   ============================================================ */
:root {
  --navy: #0c0c12;
  --navy2: #16161e;
  --card: #12121a;
  --card2: #1a1a22;
  --blue: #febe10;
  --royal: #ffd24d;
  --sky: #ffe08a;
  --gold: #febe10;
  --gold-lt: #ffe9ad;
  --gold-dk: #b8860b;
  --white: #fffdf5;
  --ink: #f0e9d6;
  --muted: #a8a29e;
  --line: rgba(254,190,16, 0.28);
  --ease: cubic-bezier(.22, .9, .24, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--navy);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- util ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 10px 0;
}
.eyebrow.gold { color: var(--gold-lt); text-shadow: 0 0 18px rgba(254,190,16,.45); }
.eyebrow.dim { color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; line-height: 1.7; }
.crest { object-fit: contain; filter: drop-shadow(0 6px 18px rgba(217,164,0,.55)); }
.crest-sm { width: 64px; margin: 6px auto; }
.crest-xs { width: 44px; margin: 6px auto; }

.band { position: relative; padding: 72px 0; overflow: hidden; }
.band .col {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto; padding: 0 24px; text-align: center;
}
.hero, .story, .gallery, .rsvp { background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%); }
.ticket-sec, .squad, .fixtures, .gift-sec, .guestbook { background: linear-gradient(180deg, var(--navy2) 0%, var(--navy) 100%); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * .08s);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============================================================
   COVER
   ============================================================ */
#cover {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,210,77,.35), transparent 70%),
    radial-gradient(ellipse 70% 35% at 50% 110%, rgba(217,164,0,.5), transparent 70%),
    linear-gradient(180deg, #08080e 0%, #14141c 55%, #0a0a10 100%);
  transition: opacity .7s var(--ease), visibility .7s;
  overflow: hidden;
}
#cover.open { opacity: 0; visibility: hidden; pointer-events: none; }
.cover-stadium { position: absolute; inset: -20%; pointer-events: none; }
.cover-stadium::before {
  content: ''; position: absolute; inset: 0;
  background:
    conic-gradient(from 200deg at 12% -6%, transparent 0deg, rgba(255,224,138,.14) 8deg, transparent 16deg),
    conic-gradient(from 160deg at 88% -6%, transparent 0deg, rgba(255,224,138,.14) 8deg, transparent 16deg);
  animation: beamSway 9s ease-in-out infinite alternate;
}
.cover-stadium::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(255,255,255,.045) 39%, transparent 40%),
    linear-gradient(transparent 49.6%, rgba(255,255,255,.05) 49.6%, rgba(255,255,255,.05) 50.4%, transparent 50.4%);
}
@keyframes beamSway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.cover-inner { position: relative; z-index: 1; text-align: center; padding: 0 32px; animation: coverIn 1.1s var(--ease) both; }
@keyframes coverIn { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
.cover-crest { position: relative; width: 150px; margin: 0 auto 18px; }
.cover-crest img { width: 150px; animation: crestFloat 6s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(217,164,0,.8)) drop-shadow(0 0 24px rgba(254,190,16,.35)); }
.crest-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(254,190,16,.5);
  animation: ringPulse 3.2s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(.85); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes crestFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cover-names {
  font-size: clamp(44px, 12vw, 64px); font-weight: 900; font-style: italic;
  color: var(--white); line-height: 1.12; margin: 14px 0 10px;
  text-shadow: 0 4px 30px rgba(217,164,0,.9);
}
.cover-names .amp {
  background: linear-gradient(110deg, var(--gold-dk), var(--gold-lt), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: .72em;
}
.cover-date { color: var(--muted); letter-spacing: .22em; font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 30px; }
#open-invitation {
  position: relative; overflow: hidden; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #101018; padding: 16px 42px; border: none; border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-dk), var(--gold) 40%, var(--gold-lt) 55%, var(--gold) 70%, var(--gold-dk));
  background-size: 220% auto;
  box-shadow: 0 10px 34px rgba(254,190,16,.4);
  animation: btnSheen 4s linear infinite;
  transition: transform .3s var(--ease), box-shadow .3s;
}
#open-invitation:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 44px rgba(254,190,16,.55); }
@keyframes btnSheen { to { background-position: 220% center; } }
#main { visibility: hidden; }
body.opened #main { visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; padding-top: 96px; }
.hero-stadium { position: absolute; inset: 0; pointer-events: none; }
.hero-stadium::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 38% at 50% 0%, rgba(255,210,77,.28), transparent 70%),
    radial-gradient(circle at 50% 46%, transparent 30%, rgba(255,255,255,.05) 31%, transparent 33%),
    linear-gradient(transparent 49.7%, rgba(255,255,255,.045) 49.7%, rgba(255,255,255,.045) 50.3%, transparent 50.3%);
}
.hero-stadium::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(8,8,14,.85) 100%);
}
.hero .col { position: relative; z-index: 1; }
.hero-crest { width: 96px; margin: 0 auto 8px; animation: crestFloat 6s ease-in-out infinite; }
.hero-names {
  font-size: clamp(30px, 8.4vw, 42px); font-weight: 900; font-style: italic;
  line-height: 1.25; color: var(--white); margin: 8px 0 4px;
  text-shadow: 0 4px 26px rgba(217,164,0,.9);
}
.hero-names .amp {
  background: linear-gradient(110deg, var(--gold-dk), var(--gold-lt), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldFlow 5s linear infinite;
}
@keyframes goldFlow { to { background-position: 200% center; } }
.gold-rule {
  width: 120px; height: 2px; margin: 18px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 14px rgba(254,190,16,.6);
}
.hero-date { color: var(--gold-lt); font-weight: 700; letter-spacing: .24em; font-size: 12px; text-transform: uppercase; }
.madridista-badge { margin: 20px 0 6px; }
.madridista-badge span {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  color: #101018; background: linear-gradient(120deg, var(--gold), var(--gold-lt), var(--gold));
  box-shadow: 0 0 26px rgba(254,190,16,.5);
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero-photo { position: relative; margin: 30px auto 8px; max-width: 340px; }
.hero-img-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px;
  border: 1px solid var(--line);
  outline: 3px solid rgba(254,190,16,.55); outline-offset: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 40px rgba(217,164,0,.5);
  filter: saturate(1.12) contrast(1.05);
  animation: photoIn 1.2s var(--ease) both;
}
@keyframes photoIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.hero-img-layer {
  position: absolute; width: 46%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px;
  right: -8px; bottom: -18px; transform: rotate(5deg);
  border: 1px solid var(--line); opacity: .85;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 55%, transparent 98%);
  mask-image: radial-gradient(circle at 50% 40%, #000 55%, transparent 98%);
  filter: saturate(1.15); box-shadow: 0 14px 34px rgba(0,0,0,.55);
  animation: crestFloat 7s ease-in-out infinite;
  pointer-events: none;
}
.countdown { display: flex; gap: 10px; justify-content: center; margin: 34px 0 8px; }
.countdown div {
  flex: 1; max-width: 92px; padding: 14px 4px 10px; border-radius: 14px;
  background: rgba(26,26,34,.72); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 22px rgba(0,0,0,.4);
}
.countdown span {
  display: block; font-size: 30px; font-weight: 900; font-style: italic; color: var(--gold-lt);
  text-shadow: 0 0 20px rgba(254,190,16,.5); font-variant-numeric: tabular-nums;
}
.countdown span.cd-tick { animation: cdTick .5s var(--ease); }
@keyframes cdTick { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }
.countdown small { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee {
  background: linear-gradient(90deg, #14141c, #1c1c26, #14141c);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 13px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 26px; align-items: center; animation: marquee 22s linear infinite; }
.marquee-track span { font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lt); }
.marquee-track i { color: var(--gold); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   TIKET SAVE THE DATE
   ============================================================ */
.ticket {
  position: relative; margin: 26px auto 0; max-width: 400px;
  background: linear-gradient(160deg, var(--card2) 0%, var(--card) 60%, #16161e 100%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}
.ticket::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 30% at 50% 0%, rgba(254,190,16,.12), transparent 70%);
}
.ticket-notch {
  position: absolute; top: 58%; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--line); z-index: 1;
}
.n-l { left: -17px; } .n-r { right: -17px; }
.ticket::after {
  content: ''; position: absolute; top: 58%; left: 18px; right: 18px;
  border-top: 2px dashed rgba(254,190,16,.4);
}
.ticket-crest { width: 72px; margin: 0 auto 10px; animation: crestFloat 6s ease-in-out infinite; }
.ticket-head { font-size: 11px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-lt); }
.ticket-teams { font-size: 26px; font-weight: 900; font-style: italic; color: var(--white); margin: 12px 0 4px; }
.ticket-teams .vs {
  display: inline-block; font-size: 13px; font-style: normal; vertical-align: middle;
  background: var(--gold); color: #101018; border-radius: 50%;
  width: 38px; height: 38px; line-height: 38px; margin: 0 10px;
  animation: badgePulse 2.4s ease-in-out infinite;
}
.ticket-date { margin: 18px 0 6px; }
.t-day { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.t-num {
  font-size: 84px; font-weight: 900; font-style: italic; line-height: 1; margin: 6px 0;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(254,190,16,.3));
}
.t-month { font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.ticket-stadium { margin-top: 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.ticket-barcode {
  height: 44px; margin: 18px 8px 10px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--gold-lt) 0 2px, transparent 2px 5px, var(--gold-lt) 5px 6px, transparent 6px 11px, var(--gold-lt) 11px 14px, transparent 14px 17px);
  opacity: .85;
}
.ticket-code { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   MEMPELAI — kartu pemain elegan
   ============================================================ */
.squad-grid { display: grid; gap: 22px; margin-top: 28px; }
.player {
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 24px 26px;
  background: linear-gradient(165deg, var(--card2) 0%, var(--card) 55%, #16161e 100%);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.player:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(0,0,0,.6), 0 0 34px rgba(254,190,16,.18); }
.player::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold-dk));
}
.player-num {
  position: absolute; top: 14px; right: 18px; text-align: right;
  font-size: 40px; font-weight: 900; font-style: italic; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(254,190,16,.75);
}
.player-num small { display: block; font-size: 12px; font-style: normal; -webkit-text-stroke: 0; color: var(--gold-lt); letter-spacing: .2em; }
.player-wm {
  position: absolute; width: 190px; left: 50%; top: 44%; transform: translate(-50%,-50%);
  opacity: .07; filter: grayscale(1); pointer-events: none;
}
.player-photo { position: relative; width: 168px; margin: 6px auto 16px; }
.player-photo img {
  width: 168px; height: 200px; object-fit: cover; object-position: top center; border-radius: 16px;
  border: 1px solid var(--line); outline: 2px solid rgba(254,190,16,.5); outline-offset: 5px;
  filter: saturate(1.12) contrast(1.04);
}
.player h3 { font-size: 21px; font-weight: 800; color: var(--white); }
.player-role { margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); }
.player-parents { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--ink); }
.player-addr { margin-top: 8px; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.ig {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--sky); text-decoration: none;
  padding: 9px 18px; border: 1px solid rgba(255,224,138,.35); border-radius: 999px;
  transition: background .3s, transform .3s;
}
.ig:hover { background: rgba(255,224,138,.12); transform: translateY(-2px); }
.ig svg { width: 16px; height: 16px; }

/* ============================================================
   LOVE STORY — Road to the Final
   ============================================================ */
.timeline { position: relative; margin-top: 30px; padding-left: 6px; text-align: left; }
.timeline::before {
  content: ''; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gold-dk), var(--gold-lt), var(--gold-dk));
  box-shadow: 0 0 12px rgba(254,190,16,.5);
}
.tl-item { position: relative; padding: 0 0 26px 62px; }
.tl-dot {
  position: absolute; left: 8px; top: 2px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: radial-gradient(circle at 35% 30%, var(--gold-lt), var(--gold) 55%, var(--gold-dk));
  box-shadow: 0 0 20px rgba(254,190,16,.65), inset 0 -3px 6px rgba(0,0,0,.25);
  animation: badgePulse 3s ease-in-out infinite;
}
.tl-card {
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.tl-photo { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; filter: saturate(1.1); }
.tl-date {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .24em;
  color: #101018; background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  padding: 5px 14px; border-radius: 999px; margin-bottom: 10px;
}
.tl-card h3 { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.tl-card p { font-size: 13.5px; line-height: 1.75; color: var(--ink); }

/* ============================================================
   ACARA — fixture cards
   ============================================================ */
.matchday-pill { margin: 22px 0 6px; }
.matchday-pill span {
  display: inline-block; padding: 10px 28px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-lt); border: 1px solid var(--line); background: rgba(254,190,16,.08);
  box-shadow: 0 0 24px rgba(254,190,16,.2);
  animation: badgePulse 3s ease-in-out infinite;
}
.fixture-grid { display: grid; gap: 20px; margin-top: 24px; }
.fixture {
  position: relative; border-radius: 22px; padding: 30px 24px; overflow: hidden;
  background: linear-gradient(165deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .35s var(--ease);
}
.fixture:hover { transform: translateY(-5px); }
.fixture::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold-dk));
}
.fx-kickoff {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: #101018; background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  padding: 7px 18px; border-radius: 999px; margin-bottom: 14px;
}
.fixture h3 { font-size: 24px; font-weight: 900; font-style: italic; color: var(--white); }
.fx-date { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.fx-venue { margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.btn-gold {
  display: inline-block; margin-top: 18px; padding: 12px 30px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: #101018; background: linear-gradient(120deg, var(--gold-dk), var(--gold) 45%, var(--gold-lt) 60%, var(--gold));
  background-size: 200% auto; box-shadow: 0 8px 26px rgba(254,190,16,.35);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: btnSheen 5s linear infinite;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(254,190,16,.5); }

/* ============================================================
   GALERI — photocard horizontal
   ============================================================ */
.reel-head {
  display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 4px;
  font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lt);
}
.rec { width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 12px #ff4d4d; animation: recBlink 1.4s ease-in-out infinite; }
@keyframes recBlink { 50% { opacity: .25; } }
.gallery-h {
  display: flex; gap: 16px; overflow-x: auto; margin-top: 18px; padding: 10px 4px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-h::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 auto; width: 184px; scroll-snap-align: start; border-radius: 18px; overflow: hidden;
  background: linear-gradient(165deg, var(--blue) 0%, #201f2a 55%, #17171f 100%);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), box-shadow .3s;
  cursor: pointer;
}
.pcard:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 44px rgba(0,0,0,.6), 0 0 26px rgba(254,190,16,.25); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 12px 0; }
.pcard-logo { width: 40px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.pcard-num { font-size: 26px; font-weight: 900; font-style: italic; color: #fff; line-height: 1; text-align: right; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.pcard-num small { display: block; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .18em; color: var(--gold-lt); }
.pcard-photo { width: 100%; height: 208px; object-fit: cover; object-position: top center; margin-top: 8px; filter: saturate(1.15) contrast(1.05); }
.pcard-name {
  background: var(--white); color: var(--blue); text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1.4;
  padding: 10px 6px; margin: 0 10px 10px; border-radius: 0 0 12px 12px;
}
.pcard-name strong { font-size: 15px; font-weight: 900; letter-spacing: .1em; }

/* ============================================================
   AMPLOP
   ============================================================ */
.gift {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 18px auto 0; max-width: 400px; padding: 20px;
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: 18px; text-align: left;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.bank-logo { width: 54px; margin-bottom: 8px; }
.gift-bank { font-size: 11px; font-weight: 800; letter-spacing: .3em; color: var(--muted); }
.gift-num { font-size: 19px; font-weight: 800; letter-spacing: .08em; color: var(--white); margin: 6px 0; font-variant-numeric: tabular-nums; }
.gift-name { font-size: 13px; color: var(--ink); }
.copy {
  flex: 0 0 auto; cursor: pointer; font-family: inherit;
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #101018; background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  border: none; border-radius: 999px; padding: 11px 22px;
  box-shadow: 0 6px 20px rgba(254,190,16,.35);
  transition: transform .25s var(--ease);
}
.copy:hover { transform: scale(1.05); }

/* ============================================================
   FORM (RSVP & buku tamu)
   ============================================================ */
form { margin-top: 20px; display: grid; gap: 12px; text-align: left; }
input[type="text"], input[type="number"], textarea {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--white);
  background: rgba(20,20,28,.8); border: 1px solid rgba(255,224,138,.25);
  border-radius: 12px; padding: 14px 16px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(254,190,16,.18); }
textarea { resize: vertical; min-height: 74px; }
.rsvp-choice { display: flex; gap: 12px; }
.rsvp-choice label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,224,138,.25); background: rgba(20,20,28,.8);
  font-size: 13px; font-weight: 700; transition: border-color .3s, background .3s;
}
.rsvp-choice label:has(input:checked) { border-color: var(--gold); background: rgba(254,190,16,.14); }
.rsvp-choice input { accent-color: var(--gold); }
form button[type="submit"] {
  cursor: pointer; font-family: inherit; border: none; border-radius: 999px;
  padding: 15px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: #101018; background: linear-gradient(120deg, var(--gold-dk), var(--gold) 45%, var(--gold-lt) 60%, var(--gold));
  background-size: 200% auto; box-shadow: 0 10px 30px rgba(254,190,16,.35);
  animation: btnSheen 5s linear infinite;
  transition: transform .3s var(--ease);
}
form button[type="submit"]:hover { transform: translateY(-2px); }
.rsvp-thanks { margin-top: 16px; color: var(--gold-lt); font-weight: 700; font-size: 14px; }

.voice-row { display: flex; align-items: center; gap: 12px; }
.btn-voice {
  cursor: pointer; font-family: inherit; border: none; border-radius: 999px;
  padding: 12px 24px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: linear-gradient(135deg, #e63946, #b91c2e);
  box-shadow: 0 8px 24px rgba(230,57,70,.4), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s var(--ease), box-shadow .25s;
  position: relative; overflow: hidden;
}
.btn-voice::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
}
.btn-voice:hover { transform: translateY(-2px); }
.btn-voice:hover::after { animation: shineSweep 1s var(--ease); }
@keyframes shineSweep { to { left: 130%; } }
.btn-voice.recording { animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,.55); } 50% { box-shadow: 0 0 0 14px rgba(230,57,70,0); } }
.voice-status { font-size: 12px; color: var(--muted); }
.voice-preview { width: 100%; margin-top: 4px; }

#wishes-list { margin-top: 22px; display: grid; gap: 12px; text-align: left; }
#wishes-list .empty { color: var(--muted); font-size: 13px; text-align: center; }
.wish {
  background: rgba(26,26,34,.6); border: 1px solid rgba(255,224,138,.18);
  border-left: 3px solid var(--gold); border-radius: 12px; padding: 14px 16px;
}
.wish p { font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.wish cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold-lt); }
.wish-audio { width: 100%; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative; text-align: center; padding: 70px 24px 46px; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,210,77,.3), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #08080e 100%);
  border-top: 1px solid var(--line);
}
.foot-crest img { width: 110px; margin: 0 auto 14px; animation: crestFloat 6s ease-in-out infinite; filter: drop-shadow(0 8px 26px rgba(217,164,0,.7)); }
.order-cta { max-width: 420px; margin: 26px auto 0; }
.order-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.order-title { font-size: 34px; font-weight: 900; font-style: italic; color: var(--white); margin: 12px 0 22px; line-height: 1.25; }
.order-btn {
  display: inline-block; padding: 16px 46px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #101018;
  background: linear-gradient(120deg, var(--gold-dk), var(--gold) 40%, var(--gold-lt) 55%, var(--gold) 70%, var(--gold-dk));
  background-size: 220% auto; box-shadow: 0 12px 36px rgba(254,190,16,.45);
  animation: btnSheen 4s linear infinite;
  transition: transform .3s var(--ease);
}
.order-btn:hover { transform: translateY(-3px) scale(1.03); }
.order-note { margin-top: 16px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.order-brand { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.order-brand img { border-radius: 8px; }
.order-brand p { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }

/* ---------- music toggle ---------- */
.music-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); color: var(--gold-lt); font-size: 22px;
  background: rgba(20,20,28,.85); backdrop-filter: blur(8px);
  box-shadow: 0 8px 26px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.music-toggle:hover { transform: scale(1.08); }
.music-toggle[aria-pressed="true"] .mt-icon { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,14,.92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
body.lb-open { overflow: hidden; }
body.lb-open .lightbox { opacity: 1; visibility: visible; }
.lb-backdrop { position: absolute; inset: 0; }
.lb-stage { position: relative; z-index: 1; max-width: 92vw; text-align: center; }
.lb-stage img {
  max-width: 92vw; max-height: 76vh; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.lb-stage img.lb-swap { animation: lbSwap .3s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-counter { margin-top: 12px; font-size: 13px; letter-spacing: .2em; color: var(--gold-lt); font-weight: 700; }
.lb-btn {
  position: absolute; z-index: 2; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 20px;
  color: var(--gold-lt); background: rgba(20,20,28,.85); border: 1px solid var(--line);
}
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- responsive kecil ---------- */
@media (max-width: 360px) {
  .countdown span { font-size: 24px; }
  .ticket-teams { font-size: 22px; }
  .t-num { font-size: 68px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  #cover .cover-inner { animation: none; }
}

/* Kickoff epic style */
.kickoff-badge {
  text-align: center;
  margin: 20px 0 12px;
}
.kickoff-badge span {
  display: inline-block;
  background: linear-gradient(135deg, #febe10, #d9a400);
  color: #0c0c12;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 4px;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0 0 30px rgba(254,190,16,.5), 0 4px 16px rgba(0,0,0,.3);
  animation: kickoffPulse 2s ease-in-out infinite;
}
@keyframes kickoffPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(254,190,16,.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(254,190,16,.8); }
}
.hero-photo {
  position: relative;
  margin: 0 auto 24px;
  max-width: 420px;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(135deg, #febe10, #febe10, #febe10);
  background-size: 200% 200%;
  animation: borderGlow 4s ease infinite;
  z-index: -1;
}
@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-img-main {
  width: 100%;
  border-radius: 18px;
  display: block;
  filter: saturate(1.1) contrast(1.05);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
@media (prefers-reduced-motion: reduce) {
  .kickoff-badge span, .hero-photo::before { animation: none; }
}
