/* BIMA & SINTA — MAPLEFLIX (Netflix-style wedding demo) */
:root {
  --bg: #141414;
  --bg-deep: #000;
  --red: #E50914;
  --red-dark: #B20710;
  --text: #fff;
  --gray: #b3b3b3;
  --gray-dim: #757575;
  --card: #181818;
  --card-hover: #222;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden; /* fallback browser lama */
  overflow-x: clip;   /* modern: tidak merusak position: sticky */
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }

/* ============ COVER (title card) ============ */
#cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: opacity .6s ease, visibility .6s;
}
#cover.open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cover-inner { width: 100%; max-width: 640px; }
.cover-wordmark {
  color: var(--red);
  font-weight: 900;
  letter-spacing: .24em;
  margin-right: -.24em; /* imbangi letter-spacing terakhir agar tetap center */
  font-size: clamp(1.4rem, 6.5vw, 3.4rem);
  text-transform: uppercase;
  max-width: 100%;
}
.cover-eyebrow {
  color: var(--gray);
  letter-spacing: .4em;
  margin-right: -.4em;
  font-size: .75rem;
  margin-top: .8rem;
  margin-bottom: 1.4rem;
}
.cover-title {
  font-size: clamp(1.9rem, 8.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: .6rem;
  max-width: 100%;
}
@media (max-width: 400px) {
  #cover { padding: 1.5rem 1rem; }
  .cover-wordmark { letter-spacing: .16em; margin-right: -.16em; }
  .cover-eyebrow { letter-spacing: .28em; margin-right: -.28em; font-size: .68rem; }
}
.cover-tagline { color: var(--gray); margin-bottom: 2rem; }
#open-invitation {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.15rem;
  font-weight: 700;
  padding: .9rem 3rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
#open-invitation:hover { background: var(--red-dark); transform: scale(1.04); }
.cover-hint { color: var(--gray-dim); font-size: .85rem; margin-top: 1rem; }

/* Hide page content until cover opens */
body:not(.opened) main,
body:not(.opened) .navbar,
body:not(.opened) .footer { visibility: hidden; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 4vw;
  background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.6));
  backdrop-filter: blur(6px);
}
.wordmark {
  color: var(--red);
  font-weight: 900;
  letter-spacing: .2em;
  font-size: 1.3rem;
}
.nav-links { display: flex; gap: 1.2rem; }
.nav-links a {
  color: #e5e5e5;
  font-size: .85rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gray-dim); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 12vh 4vw 10vh;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(20,20,20,.55) 40%, rgba(0,0,0,.35) 100%),
    linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.1)),
    url("couple-1.jpg") center 30% / cover no-repeat;
  background-attachment: scroll, scroll, fixed;
}
@media (max-width: 768px) {
  .hero { background-attachment: scroll; }
}
.hero-info { max-width: 620px; }
.eyebrow { font-size: .85rem; letter-spacing: .25em; color: var(--gray); margin-bottom: 1rem; }
.eyebrow .n-red { color: var(--red); font-weight: 800; }
.series-title {
  font-size: clamp(2.5rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.8);
  max-width: 100%;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  font-size: .95rem;
  color: #e5e5e5;
  margin-bottom: 1rem;
}
.meta-row .match { color: #46d369; font-weight: 700; }
.meta-row .tag {
  border: 1px solid var(--gray-dim);
  border-radius: 3px;
  padding: .05rem .4rem;
  font-size: .8rem;
  color: var(--gray);
}
.synopsis { color: #e5e5e5; line-height: 1.55; margin-bottom: 1.6rem; max-width: 540px; }
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.btn {
  display: inline-block;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  padding: .75rem 1.8rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-play { background: var(--red); color: #fff; }
.btn-play:hover { background: var(--red-dark); transform: scale(1.03); }
.btn-more { background: rgba(109,109,110,.7); color: #fff; }
.btn-more:hover { background: rgba(109,109,110,.4); }
.countdown-line { color: var(--gray); font-size: .95rem; }
.countdown-line span { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============ PEMERAN UTAMA (cast ala Netflix) ============ */
.cast-section {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}
.cast-inner {
  position: relative;
  z-index: 1;
  padding: 0 4vw;
  max-width: 900px;
  margin: 0 auto;
}
.cast-sub { color: var(--gray); margin-bottom: 1.6rem; font-size: .95rem; }
.cast-parents { color: var(--gray); font-size: .88rem; line-height: 1.6; }
.cast-addr { color: var(--gray-dim); font-size: .8rem; font-style: italic; }

/* ============ SAVE THE DATE ============ */
.std-section { position: relative; text-align: center; padding: 5rem 1.5rem; overflow: hidden; }
#savethedate.photo-bg { background-image: url("couple-1.jpg"); }
.std-inner { max-width: 560px; margin: 0 auto; }
.std-eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .4em;
  font-size: .85rem;
  margin-bottom: 1rem;
  animation: stdGlow 2.4s ease-in-out infinite;
}
@keyframes stdGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(229,9,20,.4); }
  50% { text-shadow: 0 0 28px rgba(229,9,20,.9); }
}
.std-day {
  color: #e5e5e5;
  letter-spacing: .35em;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  font-weight: 600;
}
.std-date {
  font-size: clamp(6rem, 26vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0,0,0,.9), 0 0 60px rgba(229,9,20,.35);
  margin: .2rem 0;
}
.std-month {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .3em;
  margin-right: -.3em;
  font-size: clamp(1rem, 4vw, 1.7rem);
}
.std-note { color: var(--gray); margin-top: 1.2rem; font-size: .95rem; }

/* ============ LIHAT LOKASI button ============ */
.btn-loc {
  display: inline-block;
  margin-top: .8rem;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 4px;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  transition: background .2s, color .2s, transform .15s;
}
.btn-loc:hover { background: var(--red); color: #fff; transform: scale(1.04); }

/* ============ RSVP ============ */
.rsvp-section {
  padding: 3rem 4vw;
  background: var(--bg-deep);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}
.rsvp-sub { color: var(--gray); margin-bottom: 1.4rem; }
#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-width: 560px;
}
#rsvp-form input[type="text"],
#rsvp-form select {
  background: #333;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  color: #fff;
  padding: .8rem 1rem;
  font-size: .95rem;
  font-family: inherit;
}
#rsvp-form input:focus, #rsvp-form select:focus { outline: none; border-color: var(--gray); background: #3d3d3d; }
.rsvp-radio { display: flex; gap: 1rem; flex-wrap: wrap; }
.rsvp-radio label {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: .7rem 1.1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .92rem;
}
.rsvp-radio label:has(input:checked) { border-color: var(--red); background: rgba(229,9,20,.12); }
.rsvp-radio input { accent-color: var(--red); width: 18px; height: 18px; }
.rsvp-guests { color: var(--gray); font-size: .92rem; display: flex; align-items: center; gap: .8rem; }
.rsvp-guests select { min-width: 140px; }
#rsvp-form .btn { align-self: flex-start; }
.rsvp-msg { min-height: 1.4em; font-size: .9rem; color: #46d369; }

/* ============ PHOTO BACKGROUND SECTIONS (parallax + overlay) ============ */
.photo-bg { position: relative; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; }
#cast.photo-bg { background-image: url("couple-3.jpg"); }
#episodes.photo-bg { background-image: url("couple-2.jpg"); }
#galeri.photo-bg { background-image: url("couple-1.jpg"); }
#love-story.photo-bg { background-image: url("photo-08.jpg"); }
#amplop.photo-bg { background-image: url("couple-2.jpg"); }

/* ===== LOVE STORY (Season 1) ===== */
.ls-eyebrow {
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  margin: 0 4vw .4rem;
}
.ls-eyebrow .n-red { color: var(--red); font-weight: 800; }
.ls-sub {
  color: var(--gray);
  font-size: .92rem;
  margin: 0 4vw 1.4rem;
  max-width: 40rem;
}
#love-story .ep-body h3 { font-size: .95rem; }
#love-story .ep-badge { background: var(--red); }
.photo-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.82), rgba(10,10,10,.68) 50%, rgba(10,10,10,.88));
  pointer-events: none;
}
.photo-bg-inner { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .photo-bg { background-attachment: scroll; }
}

/* ============ ROW SECTIONS ============ */
.row-section { padding: 2.5rem 0 0.5rem 4vw; }
.row-section.photo-bg { padding: 3rem 0 2rem; }
.row-section.photo-bg .photo-bg-inner { padding-left: 4vw; }
.row-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #e5e5e5;
}
.row-scroll {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  padding-bottom: 1.2rem;
  padding-right: 4vw;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

/* Episode cards */
.episode-card {
  flex: 0 0 280px;
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s, background .25s;
}
.episode-card:hover { transform: scale(1.05); background: var(--card-hover); z-index: 2; }
.episode-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.episode-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: .25rem .6rem;
  border-radius: 4px;
}
.ep-body { padding: 1rem; }
.ep-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.ep-body p { color: var(--gray); font-size: .88rem; line-height: 1.5; }

/* --- Episode bisa diklik: accordion expand --- */
.episode-card { cursor: pointer; }
.ep-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  background: none;
  border: 1px solid #3a3a3a;
  color: #e5e5e5;
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.ep-toggle:hover { border-color: var(--red); color: #fff; }
.ep-toggle .arrow { display: inline-block; transition: transform .3s; font-size: .7rem; }
.episode-card.expanded .ep-toggle { border-color: var(--red); color: #fff; }
.episode-card.expanded .ep-toggle .arrow { transform: rotate(180deg); }
.ep-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.7,.25,1), opacity .3s;
  opacity: 0;
}
.episode-card.expanded .ep-detail { max-height: 320px; opacity: 1; }
.ep-detail .ep-extra { color: var(--gray); font-size: .85rem; line-height: 1.6; margin: .8rem 0 .2rem; }
.ep-detail .btn-loc { margin-top: .7rem; }
.ep-detail .btn-goto {
  display: inline-block;
  margin-top: .7rem;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  padding: .55rem 1.3rem;
  font-size: .85rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.ep-detail .btn-goto:hover { background: var(--red-dark); transform: scale(1.04); }

/* Detail */
.detail-section { padding: 2.5rem 4vw; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.detail-item {
  background: var(--card);
  border-radius: 6px;
  padding: 1.3rem;
}
.detail-item h3 { color: var(--red); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .8rem; }
.detail-item p { color: #e5e5e5; font-size: .95rem; line-height: 1.6; margin-bottom: .6rem; }
.detail-item p:last-child { margin-bottom: 0; }
.detail-item strong { color: #fff; }

/* Gallery stills */
.still {
  flex: 0 0 220px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s;
}
.still:hover { transform: scale(1.06); }
.still img { width: 100%; height: 100%; object-fit: cover; }

/* Gift cards — premium "payment card" ala Netflix */
.gift-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.2rem;
}
.gift-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e22 0%, #0c0c0e 55%, #1a0608 100%);
  border: 1px solid rgba(229,9,20,.4);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.4rem;
  width: min(320px, 100%);
  text-align: left;
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
  transition: transform .25s, box-shadow .3s, border-color .3s;
}
.gift-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,20,.35), transparent 70%);
  pointer-events: none;
}
.gift-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229,9,20,.8);
  box-shadow: 0 20px 48px rgba(0,0,0,.65), 0 0 28px rgba(229,9,20,.28);
}
.gift-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.gift-brand {
  color: var(--red);
  font-weight: 900;
  letter-spacing: .18em;
  margin-right: -.18em;
  font-size: .78rem;
}
.gift-chip {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #e8c15a 0%, #f7e08b 40%, #c9992f 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
  position: relative;
  flex-shrink: 0;
}
.gift-chip::before,
.gift-chip::after {
  content: "";
  position: absolute;
  background: rgba(0,0,0,.28);
}
.gift-chip::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.gift-chip::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.bank-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin: 0 0 .7rem; filter: brightness(1.1); }
.bank-name { color: #e5e5e5; font-size: .92rem; margin-bottom: .5rem; }
.bank-name strong { color: #fff; }
.account-number {
  font-family: "SF Mono", "Roboto Mono", Consolas, "Courier New", monospace;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  text-shadow: 0 0 18px rgba(229,9,20,.45);
  margin-bottom: 1.1rem;
  word-break: break-all;
}
.copy-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .7rem 1.4rem;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(229,9,20,.35);
}
.copy-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.copy-btn.copied {
  background: #46d369;
  box-shadow: 0 4px 16px rgba(70,211,105,.4);
  animation: copyPulse .55s ease-out;
}
@keyframes copyPulse {
  0% { box-shadow: 0 0 0 0 rgba(70,211,105,.65); }
  100% { box-shadow: 0 0 0 18px rgba(70,211,105,0); }
}
@media (prefers-reduced-motion: reduce) {
  .copy-btn.copied { animation: none; }
}

/* ============ MY LIST (guestbook) ============ */
.mylist-section {
  padding: 2.5rem 4vw 3rem;
  background: var(--bg-deep);
  border-top: 1px solid #2a2a2a;
}
.mylist-sub { color: var(--gray); margin-bottom: 1.2rem; }
#wish-form {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
#wish-form input,
#wish-form textarea {
  background: #333;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  color: #fff;
  padding: .8rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  resize: vertical;
}
#wish-form input:focus,
#wish-form textarea:focus { outline: none; border-color: var(--gray); background: #3d3d3d; }
#wish-form .btn { align-self: flex-start; }
#wishes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .9rem;
  max-width: 1100px;
}
.wish-card {
  background: var(--card);
  border-radius: 6px;
  padding: 1.1rem;
  border-left: 3px solid var(--red);
}
.wish-card .wish-name { font-weight: 700; margin-bottom: .35rem; color: #fff; }
.wish-card .wish-text { color: #e5e5e5; font-size: .92rem; line-height: 1.55; word-wrap: break-word; }
.wishes-empty { color: var(--gray-dim); font-style: italic; }

/* ============ FOOTER ============ */
.footer {
  padding: 1.5rem 4vw 2rem;
  color: var(--gray-dim);
  font-size: .78rem;
  border-top: 1px solid #2a2a2a;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: .9rem;
}
.footer-links a { color: var(--gray); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-brand { color: #e5e5e5; font-weight: 700; margin-bottom: .35rem; }
.footer-order { margin-bottom: .5rem; }
.footer-order a { color: #fff; font-weight: 600; }
.footer-order a:hover { text-decoration: underline; }
.footer-copy { color: #5a5a5a; }

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
  .navbar { gap: .6rem; }
  .nav-links {
    gap: .8rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 1;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: .75rem; white-space: nowrap; }
  .wordmark { font-size: 1.05rem; letter-spacing: .12em; margin-right: -.12em; flex-shrink: 0; }
  .episode-card { flex-basis: 240px; }
  .hero { padding-bottom: 14vh; }
}

/* ==================================================================
   MAPLEFLIX POWER-UP — lightbox, reveal, ambient, micro-interactions
   (appended, vanilla only, snappy 0.2–0.4s easing)
   ================================================================== */

/* ---------- 5. Smooth scrolling ---------- */
html { scroll-behavior: smooth; }

/* ---------- 5. Cover intro ala Netflix (zoom-in + fade) ---------- */
@keyframes coverZoom {
  0%   { opacity: 0; transform: scale(1.25); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes coverRise {
  0%   { opacity: 0; transform: translateY(34px); }
  100% { opacity: 1; transform: translateY(0); }
}
#cover .cover-wordmark {
  animation: coverZoom 1.15s cubic-bezier(.16,.8,.24,1) both;
}
#cover .cover-eyebrow {
  animation: coverRise .7s cubic-bezier(.16,.8,.24,1) .55s both;
}
#cover .cover-title {
  animation: coverZoom 1s cubic-bezier(.16,.8,.24,1) .75s both;
}
#cover .cover-tagline {
  animation: coverRise .7s cubic-bezier(.16,.8,.24,1) 1.1s both;
}
#cover #open-invitation {
  animation: coverRise .7s cubic-bezier(.16,.8,.24,1) 1.25s both;
}
#cover .cover-hint {
  animation: coverRise .7s cubic-bezier(.16,.8,.24,1) 1.4s both;
}

/* ---------- 3. Hero ambient gradient (subtil, infinite) ---------- */
.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 18% 82%, rgba(229,9,20,.16), transparent 70%),
    radial-gradient(36% 32% at 85% 12%, rgba(229,9,20,.10), transparent 70%);
  background-size: 140% 140%;
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%; opacity: .7; }
  100% { background-position: 60% 40%; opacity: 1; }
}
.hero-info { position: relative; z-index: 1; }

/* ---------- 3+4. Pulse glow merah di tombol play ---------- */
@keyframes redPulse {
  0%   { box-shadow: 0 0 0 0 rgba(229,9,20,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(229,9,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,9,20,0); }
}
#open-invitation,
.hero-buttons .btn-play {
  animation: redPulse 2.2s ease-out infinite;
}
#open-invitation:hover,
.hero-buttons .btn-play:hover { animation: none; }

/* ---------- 4. Efek klik: scale down sesaat ---------- */
#open-invitation:active,
.btn:active,
.copy-btn:active,
.lb-close:active,
.lb-prev:active,
.lb-next:active {
  transform: scale(.94);
}

/* ---------- 4. Kartu episode: hover khas Netflix ---------- */
.episode-card {
  position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.25,1), background .25s, box-shadow .3s;
}
.episode-card:hover {
  transform: scale(1.08);
  background: var(--card-hover);
  box-shadow: 0 18px 44px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.06);
  z-index: 3;
}
/* info overlay saat hover */
.episode-card .thumb::after {
  content: "\25B6  Tonton";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .05em;
  opacity: 0;
  transition: opacity .25s ease;
}
.episode-card:hover .thumb::after { opacity: 1; }
.episode-card .thumb,
.still { cursor: pointer; }

/* ---------- 4. Countdown pop saat angka berubah ---------- */
@keyframes cdPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); color: var(--red); }
  100% { transform: scale(1); }
}
.countdown-line span.cd-pop {
  display: inline-block;
  animation: cdPop .3s cubic-bezier(.2,.7,.3,1.4);
}

/* ---------- 2. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.25,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.row-title.reveal { transform: scale(.9); transform-origin: left center; }
.row-title.reveal.in { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after { animation: none; }
  #open-invitation, .hero-buttons .btn-play { animation: none; }
}

/* ---------- 1. Lightbox galeri ala Netflix ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  cursor: default;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox .lb-figure {
  max-width: min(88vw, 900px);
  max-height: 82vh;
  margin: 0;
  transform: scale(.92);
  transition: transform .25s cubic-bezier(.2,.7,.25,1);
}
.lightbox.show .lb-figure { transform: scale(1); }
.lightbox .lb-img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,.8);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(20,20,20,.65);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s;
  z-index: 2;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); }
.lb-close {
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 76px;
  border-radius: 8px;
  font-size: 2.2rem;
  line-height: 1;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.92); }
.lb-counter {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray);
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}
.lb-counter span:first-child { color: #fff; font-weight: 700; }

/* ============ TOMBOL MUSIK FLOATING ============ */
#music-toggle {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .6), 0 0 16px rgba(229, 9, 20, .35);
  transition: transform .2s, box-shadow .3s, background .2s;
}
#music-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,.6), 0 0 26px rgba(229,9,20,.55); }
#music-toggle:active { transform: scale(.94); }
#music-toggle .mt-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
  transition: color .2s;
}
/* saat musik menyala: ikon jadi putih + tombol merah menyala */
#music-toggle.playing {
  background: var(--red);
  animation: redPulse 2.2s ease-out infinite;
}
#music-toggle.playing .mt-icon { color: #fff; }
/* saat musik mati: ikon berdenyut halus biar jelas terlihat */
#music-toggle:not(.playing) .mt-icon { animation: mtNudge 2.6s ease-in-out infinite; }
@keyframes mtNudge {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.18); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #music-toggle:not(.playing) .mt-icon { animation: none; }
  #music-toggle.playing { animation: none; }

/* kursor pointer untuk semua yang bisa diklik */
button, .copy-btn, .btn, .nav-links a, .footer-links a { cursor: pointer; }

/* ==================================================================
   FIX 2026-10-10 — audit layar HP 360px, cast minimalis, order tanpa nomor
   ================================================================== */

/* ---------- 1. Pengaman overflow layar kecil ---------- */
@media (max-width: 400px) {
  .std-eyebrow { letter-spacing: .22em; margin-right: -.22em; font-size: .78rem; }
  .std-day { letter-spacing: .22em; margin-right: -.22em; }
  .std-month { letter-spacing: .18em; margin-right: -.18em; }
  .cover-eyebrow { letter-spacing: .24em; margin-right: -.24em; }
  .series-title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .hero { padding-left: 5vw; padding-right: 5vw; }
  .meta-row { gap: .6rem; font-size: .88rem; }
  .synopsis { font-size: .93rem; }
  .gift-card { padding: 1.2rem 1.1rem; }
}

/* ---------- 2. Pemeran Utama: foto kecil lingkaran, minimalis ---------- */
/* removed conflicting cast-card minimalis */
.cast-parents { font-size: .84rem; }

/* ---------- 3. Tombol order tanpa nomor WA ---------- */
.footer-order { margin: 0 0 1rem; }
.btn-order {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 2rem;
  border-radius: 4px;
  transition: background .2s, transform .15s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(229, 9, 20, .35);
}
.btn-order:hover { background: var(--red-dark); transform: scale(1.04); }
.btn-order:active { transform: scale(.96); }

/* ==================================================================
   UPDATE 2026-10-10 — cast ala Netflix (horizontal row) + order hidup
   ================================================================== */

/* ---------- PEMERAN: compact 2 kartu + & di tengah ---------- */
.cast-inner { max-width: none; }
@keyframes ampGlow {
  0%, 100% { text-shadow: 0 0 14px rgba(229, 9, 20, .75), 0 0 34px rgba(229, 9, 20, .35); }
  50% { text-shadow: 0 0 22px rgba(229, 9, 20, 1), 0 0 52px rgba(229, 9, 20, .55); }
}
.cast-section { position: relative; }
.cast-role {
  color: var(--gray);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 .7rem;
  margin-bottom: .45rem;
}
.cast-parents {
  color: var(--gray-dim);
  font-size: .68rem;
  line-height: 1.55;
  padding: 0 .7rem;
}
.cast-addr {
  color: #4d4d4d;
  font-size: .66rem;
  font-style: italic;
  padding: 0 .7rem;
  margin-top: .25rem;
  display: block;
}
@media (min-width: 700px) {

/* ---------- ORDER: section CTA yang hidup ---------- */
.order-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.5rem 1.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(229,9,20,.22), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #160607 55%, #0a0a0a 100%);
  background-size: 100% 100%, 100% 100%;
  animation: orderBgShift 9s ease-in-out infinite alternate;
}
@keyframes orderBgShift {
  0% { background-position: 50% 0%, 0 0; }
  100% { background-position: 50% 40%, 0 0; }
}
.order-glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(560px, 120vw);
  height: 180px;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(229,9,20,.28), transparent 65%);
  filter: blur(10px);
  animation: orderGlowPulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orderGlowPulse {
  0%, 100% { opacity: .55; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); }
}
/* partikel merah melayang */
.order-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.order-particles span {
  position: absolute;
  bottom: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(229,9,20,.7);
  filter: blur(1px);
  animation: particleRise linear infinite;
}
.order-particles span:nth-child(1)  { left: 8%;  animation-duration: 7s;  animation-delay: 0s;   }
.order-particles span:nth-child(2)  { left: 18%; animation-duration: 9s;  animation-delay: 1.4s; width: 3px; height: 3px; }
.order-particles span:nth-child(3)  { left: 32%; animation-duration: 6s;  animation-delay: 2.8s; }
.order-particles span:nth-child(4)  { left: 47%; animation-duration: 8s;  animation-delay: .7s;  width: 4px; height: 4px; }
.order-particles span:nth-child(5)  { left: 58%; animation-duration: 10s; animation-delay: 3.5s; }
.order-particles span:nth-child(6)  { left: 66%; animation-duration: 7.5s; animation-delay: 2.1s; width: 3px; height: 3px; }
.order-particles span:nth-child(7)  { left: 74%; animation-duration: 6.5s; animation-delay: 4.2s; }
.order-particles span:nth-child(8)  { left: 83%; animation-duration: 9.5s; animation-delay: 1s;   width: 4px; height: 4px; }
.order-particles span:nth-child(9)  { left: 91%; animation-duration: 8.5s; animation-delay: 5s; }
.order-particles span:nth-child(10) { left: 40%; animation-duration: 11s;  animation-delay: 6s;   width: 3px; height: 3px; }
@keyframes particleRise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .9; }
  85% { opacity: .5; }
  100% { transform: translateY(-46vh); opacity: 0; }
}
.order-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.order-eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .38em;
  margin-right: -.38em;
  font-size: .68rem;
  margin-bottom: .6rem;
  animation: stdGlow 2.6s ease-in-out infinite;
}
.order-title {
  font-size: clamp(1.35rem, 5.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.order-sub { color: var(--gray); font-size: .88rem; margin-bottom: 1.1rem; }
/* tombol order: glow berdenyut + shimmer */
.btn-order-glow {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: .75rem 2.2rem;
  border-radius: 6px;
  animation: orderBtnPulse 2.2s ease-in-out infinite;
}
.btn-order-glow span { position: relative; z-index: 1; }
.btn-order-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: orderShimmer 2.8s ease-in-out infinite;
}
@keyframes orderBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,9,20,.55), 0 8px 26px rgba(229,9,20,.35); transform: scale(1); }
  50% { box-shadow: 0 0 0 14px rgba(229,9,20,0), 0 8px 34px rgba(229,9,20,.6); transform: scale(1.045); }
}
@keyframes orderShimmer {
  0% { left: -70%; }
  55%, 100% { left: 130%; }
}
.btn-order-glow:hover { background: var(--red-dark); animation-play-state: paused; transform: scale(1.05); }
.btn-order-glow:active { transform: scale(.97); }
.order-coming {
  margin-top: 1rem;
  color: var(--gray);
  font-size: .82rem;
}
.order-cd {
  color: #fff;
  font-weight: 700;
  animation: orderCdPulse 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes orderCdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .75; transform: scale(1.06); }
}
/* reveal untuk order-inner */
.order-inner.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.25,1); }
.order-inner.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .order-section, .order-glow, .order-particles span, .btn-order-glow, .btn-order-glow::before, .order-cd, .order-eyebrow { animation: none !important; }
}

/* ==================================================================
   UPDATE 2026-10-10 — cast diperbesar + animasi pemeran + lightbox besar
   ================================================================== */

/* --- kartu cast lebih besar, tetap sebaris di HP --- */
.cast-parents { font-size: .74rem; line-height: 1.6; padding: 0 .85rem; }
.cast-addr { font-size: .7rem; padding: 0 .85rem; }
.cast-ig { font-size: .72rem; padding: 0 .85rem; margin-bottom: .45rem; }
.cast-ig a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #b3b3b3;
  text-decoration: none;
  border: 1px solid rgba(229, 9, 20, .45);
  border-radius: 999px;
  padding: .22rem .6rem;
  transition: color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.cast-ig a:hover {
  color: #fff;
  border-color: #e50914;
  box-shadow: 0 0 12px rgba(229, 9, 20, .45);
  transform: translateY(-1px);
}
.cast-ig .ig-icon { width: .85rem; height: .85rem; flex-shrink: 0; }
/* --- entrance khusus cast: fade + slide + sedikit scale --- */
/* --- lightbox preview lebih besar & jelas di HP --- */
.lightbox .lb-figure { max-width: min(94vw, 900px); max-height: 86vh; transform: scale(.9); }
.lightbox.show .lb-figure { transform: scale(1); }
.lightbox .lb-img { max-height: 86vh; }

@media (min-width: 700px) {
@media (prefers-reduced-motion: reduce) {

/* ============ VOICE COMMENT (tema Netflix: hitam + merah) ============ */
.voice-row { display: flex; align-items: center; gap: .7rem; margin: .8rem 0; flex-wrap: wrap; }
.btn-voice {
  background: #1a1a1a; color: #fff; border: 1px solid #e50914;
  padding: .6rem 1.2rem; border-radius: 999px; font-size: .9rem;
  cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-voice:hover { background: #e50914; transform: scale(1.03); }
.btn-voice.recording {
  background: #e50914; border-color: #ff5a5a;
  animation: voicePulse 1.2s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, .55); }
  50% { box-shadow: 0 0 0 12px rgba(229, 9, 20, 0); }
}
.voice-status { font-size: .82rem; color: #b3b3b3; }
.voice-preview { width: 100%; margin: .4rem 0 .8rem; accent-color: #e50914; }
.wish-audio { width: 100%; margin-top: .6rem; accent-color: #e50914; }
@media (prefers-reduced-motion: reduce) {
  .btn-voice.recording { animation: none; }
}

/* ============ END CREDITS (galeri ala credit title) ============ */
.credits-section {
  background: #000;
  padding: 4rem 0 0;
  text-align: center;
  overflow: hidden;
}
.credits-eyebrow {
  color: var(--red);
  font-size: .72rem;
  letter-spacing: .35em;
  font-weight: 700;
  margin-bottom: .6rem;
}
.credits-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  margin-bottom: .5rem;
  text-shadow: 0 0 40px rgba(229,9,20,.35);
}
.credits-sub {
  color: var(--gray-dim);
  font-size: .85rem;
  margin-bottom: 1.5rem;
  padding: 0 6vw;
}
.credits-roll {
  height: 62vh;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.credits-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 2rem 6vw 4rem;
  will-change: transform;
}
.credits-track.rolling {
  animation: creditRoll var(--roll-dur, 38s) linear forwards;
}
.credits-track.paused {
  animation-play-state: paused;
}
@keyframes creditRoll {
  from { transform: translateY(8vh); }
  to { transform: translateY(calc(-100% + 54vh)); }
}
.credit { display: flex; flex-direction: row; align-items: center; gap: 1rem; max-width: 340px; text-align: left; padding: .55rem .8rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.credit-photo { width: 110px; height: 110px; border-radius: 12px; overflow: hidden; flex-shrink: 0; margin: 0; border: 1px solid rgba(255,255,255,.16); }
.credit-photo:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.7), 0 0 26px rgba(229,9,20,.4);
}
.credit-photo img { width: 100%; height: 100%; object-fit: cover; }
.credit-text { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.credit-role {
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin: 0;
}
.credit-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .8rem;
  letter-spacing: .08em;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.credit-name.gold {
  color: #d4af37;
  text-shadow: 0 0 18px rgba(212,175,55,.35);
}
.credit-caption {
  font-size: .62rem;
  font-style: italic;
  color: var(--gray);
  margin: 0;
  letter-spacing: .03em;
}
.credit-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 2rem 0 3rem;
}
.the-end {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  letter-spacing: .3em;
  text-indent: .3em;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 50px rgba(229,9,20,.5);
  animation: endPulse 2.4s ease-in-out infinite;
}
@keyframes endPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 50px rgba(229,9,20,.5); }
  50% { opacity: .75; text-shadow: 0 0 80px rgba(229,9,20,.8); }
}
.the-end-sub {
  color: var(--gray);
  font-size: .85rem;
  letter-spacing: .1em;
}
.btn-replay {
  margin-top: .6rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .8rem 2.2rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(229,9,20,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-replay:hover {
  background: var(--red-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 36px rgba(229,9,20,.65);
}
.btn-replay:active { transform: scale(.97); }
.credits-hint {
  color: var(--gray-dim);
  font-size: .72rem;
  padding: 1rem 0 2.2rem;
  letter-spacing: .08em;
}
@media (prefers-reduced-motion: reduce) {
  .credits-track.rolling { animation: none; }
  .the-end { animation: none; }
}

/* ============================================================
   TEASER SINEMATIK — Save The Date ala trailer film
   ============================================================ */
.std-section.teaser { padding: 7rem 1.5rem; }

/* --- letterbox bars --- */
.letterbox { position: absolute; left: 0; right: 0; height: clamp(30px, 8vh, 72px); background: #000; z-index: 4; pointer-events: none; transform: scaleY(0); transition: transform 1s cubic-bezier(.2,.7,.25,1); }
.letterbox.top { top: 0; transform-origin: top; }
.letterbox.bottom { bottom: 0; transform-origin: bottom; }
#savethedate.teaser-on .letterbox { transform: scaleY(1); }

/* --- film grain --- */
.film-grain { position: absolute; inset: -120px; z-index: 2; pointer-events: none; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(9) infinite; }
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  12% { transform: translate(-4%, -7%); }
  25% { transform: translate(-9%, 3%); }
  37% { transform: translate(5%, -8%); }
  50% { transform: translate(-3%, 9%); }
  62% { transform: translate(-8%, 3%); }
  75% { transform: translate(9%, -1%); }
  87% { transform: translate(2%, 8%); }
}

/* --- vignette --- */
.vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.62) 100%); }

/* --- ember particles --- */
.embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ember { position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, #ffc46b 0%, #ff7a1a 55%, rgba(255,90,0,0) 75%);
  opacity: 0; animation: emberRise linear infinite; }
@keyframes emberRise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  12% { opacity: .95; }
  60% { opacity: .55; }
  100% { transform: translate(34px, -105vh) scale(.4); opacity: 0; }
}

/* konten di atas overlay */
#savethedate .photo-bg-inner { z-index: 3; }

/* --- glitch SEGERA TAYANG --- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #00e5ff; animation: glitchA 3.2s infinite steps(1); }
.glitch::after { color: #ff2fb3; animation: glitchB 2.7s infinite steps(1); }
@keyframes glitchA {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  92% { opacity: .8; transform: translate(-4px, 2px); clip-path: inset(10% 0 55% 0); }
  94% { opacity: .8; transform: translate(4px, -2px); clip-path: inset(60% 0 8% 0); }
  96% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(30% 0 40% 0); }
  98% { opacity: 0; }
}
@keyframes glitchB {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  89% { opacity: .8; transform: translate(4px, -2px); clip-path: inset(55% 0 12% 0); }
  92% { opacity: .8; transform: translate(-4px, 2px); clip-path: inset(8% 0 70% 0); }
  95% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(38% 0 30% 0); }
  97% { opacity: 0; }
}

/* --- cinematic zoom-in tanggal --- */
.std-date-zoom.reveal { transform: scale(.5); opacity: 0;
  transition: transform 1.5s cubic-bezier(.16,1,.3,1), opacity .9s ease; }
.std-date-zoom.reveal.in { transform: scale(1); opacity: 1; }
.std-date-zoom .std-date { margin: .2rem 0; }

/* --- digital countdown --- */
.std-cd-label { margin-top: 1.8rem; font-size: .68rem; letter-spacing: .42em; margin-right: -.42em; color: var(--red); font-weight: 700; }
.std-countdown { display: flex; gap: .55rem; justify-content: center; margin-top: .8rem; flex-wrap: wrap; }
.cd-box { background: rgba(0,0,0,.6); border: 1px solid rgba(229,9,20,.55); border-radius: 8px;
  padding: .7rem .3rem .6rem; min-width: 66px; backdrop-filter: blur(4px);
  box-shadow: inset 0 0 18px rgba(229,9,20,.12), 0 6px 22px rgba(0,0,0,.5); }
.cd-box span { display: block; font-family: 'Courier New', Courier, monospace; font-size: 1.7rem; font-weight: 800;
  color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(229,9,20,.85); line-height: 1; }
.cd-box small { display: block; font-size: .58rem; letter-spacing: .22em; margin-right: -.22em; color: var(--red); font-weight: 700; margin-top: .35rem; }

/* --- tombol tonton teaser --- */
.teaser-btn { margin-top: 2rem; background: var(--red); color: #fff; border: none; cursor: pointer;
  padding: 1rem 2.4rem; font-size: .95rem; font-weight: 800; letter-spacing: .14em; border-radius: 4px;
  box-shadow: 0 10px 34px rgba(229,9,20,.5); transition: transform .25s ease, box-shadow .25s ease;
  animation: teaserPulse 2.2s ease-in-out infinite; }
.teaser-btn:hover { transform: scale(1.06); box-shadow: 0 12px 44px rgba(229,9,20,.75); }
@keyframes teaserPulse {
  0%, 100% { box-shadow: 0 10px 34px rgba(229,9,20,.5); }
  50% { box-shadow: 0 10px 48px rgba(229,9,20,.85); }
}
.teaser-btn .play-ico { margin-right: .5rem; }

/* --- teaser modal --- */
.teaser-modal { position: fixed; inset: 0; z-index: 999; background: #000; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .5s ease; }
.teaser-modal[hidden] { display: none; }
.teaser-modal.show { opacity: 1; }
.tm-letterbox { position: absolute; left: 0; right: 0; height: 12vh; background: #000; z-index: 4; pointer-events: none;
  transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.7,.25,1); }
.tm-letterbox.top { top: 0; transform-origin: top; }
.tm-letterbox.bottom { bottom: 0; transform-origin: bottom; }
.teaser-modal.show .tm-letterbox { transform: scaleY(1); }
.teaser-modal .film-grain, .teaser-modal .vignette { z-index: 2; }
.tm-stage { position: relative; z-index: 3; width: 100%; height: 46vh; display: flex; align-items: center; justify-content: center; }
.tm-line { position: absolute; margin: 0; padding: 0 1.5rem; text-align: center;
  font-size: clamp(1.9rem, 9vw, 4.2rem); font-weight: 900; letter-spacing: .14em; color: #fff;
  opacity: 0; transform: scale(.9); transition: opacity .55s ease, transform .55s ease;
  text-shadow: 0 6px 34px rgba(0,0,0,.95), 0 0 50px rgba(229,9,20,.3); }
.tm-line.active { opacity: 1; transform: scale(1); }
.tm-line.tm-red { color: var(--red); }
.tm-line.tm-cta { font-size: clamp(1.15rem, 5vw, 2rem); color: var(--red); letter-spacing: .3em; margin-right: -.3em;
  animation: stdGlow 2.4s ease-in-out infinite; }
.tm-close { position: absolute; top: calc(12vh + 12px); right: 18px; z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.5); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: transform .2s, background .2s; }
.tm-close:hover { transform: scale(1.1); background: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .film-grain { animation: none; }
  .ember { display: none; }
  .glitch::before, .glitch::after { animation: none; }
  .teaser-btn { animation: none; }
  .std-date-zoom.reveal { transform: none; opacity: 1; transition: none; }
  .letterbox, .tm-letterbox { transform: scaleY(1); transition: none; }
}

/* ==================================================================
   REDESIGN 2026-10-10 — kartu pemeran HORIZONTAL (foto kiri, info kanan)
   ================================================================== */
/* simbol & di antara dua kartu bertumpuk */

/* Mobile: vertical card layout for reliability */
@media (max-width: 600px) {
}

/* ===== CAST - CLEAN REBUILD ===== */
.cast-row { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; margin: 0 auto; padding: 1rem; }
.cast-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(24,24,24,.95); border-radius: 14px; padding: 1rem .8rem; border: 1px solid rgba(255,255,255,.08); }
.cast-photo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 3px solid #e50914; box-shadow: 0 0 20px rgba(229,9,20,.4); margin-bottom: 1rem; cursor: pointer; flex-shrink: 0; }
.cast-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cast-play { display: none; }
.cast-info h3 { color: #fff; font-size: .9rem; margin: 0 0 .3rem; }
.cast-role { color: #e50914; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .5rem; }
.cast-ig a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; border: 1px solid rgba(229,9,20,.6); padding: .2rem .6rem; border-radius: 999px; font-size: .68rem; margin-bottom: .6rem; }
.cast-parents { color: #aaa; font-size: .75rem; line-height: 1.5; margin: 0 0 .3rem; }
.cast-addr { color: #777; font-size: .7rem; font-style: italic; margin: 0; }
.cast-amp { text-align: center; font-size: 2rem; color: #fff; text-shadow: 0 0 20px rgba(229,9,20,.8); line-height: 1; }
@media (min-width: 600px) {
  .cast-card { flex-direction: row; text-align: left; align-items: center; gap: 1.2rem; }
  .cast-photo { margin-bottom: 0; }
}

/* fix unbalanced braces */
}
}
}
}

/* ===== ULASAN PENONTON ===== */
