/* =====================================================================
   MANUNTUNG FILM FESTIVAL — stylesheet utama
   Bahasa desain: sinematik, gelap, emas, glass, tipografi besar.
   ===================================================================== */

:root {
  --bg: #08080b;
  --bg-2: #0c0c11;
  --bg-3: #12121a;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-3: rgba(255, 255, 255, .11);
  --glass: rgba(18, 18, 26, .62);
  --gold: #e0b449;
  --gold-2: #f4d47c;
  --gold-3: #b8892a;
  --gold-soft: rgba(224, 180, 73, .14);
  --ink: #f6f4ef;
  --ink-2: #b6b2a9;
  --ink-3: #837f78;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --ok: #46c98b;
  --warn: #e5b13c;
  --err: #f0605d;
  --info: #5aa9f0;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow: 0 22px 50px rgba(0, 0, 0, .5);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, .35);
  --display: "Bebas Neue", "Inter", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* Logo header 2x dari ukuran sebelumnya (52px -> 104px, mengikuti ukuran logo
     Cineplay). Header dibuat rapat ke logo: tinggi header = tinggi logo + 8px. */
  --logo-h: 104px;
  --logo-h-scrolled: 78px;
  --header-h: calc(var(--logo-h) + 8px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(720px 420px at 12% -6%, rgba(224, 180, 73, .13), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(120, 78, 190, .16), transparent 64%),
    radial-gradient(900px 520px at 50% 108%, rgba(28, 90, 140, .14), transparent 66%);
}

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

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

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.15; font-weight: 700; }

p { margin: 0 0 1rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em;
  background: rgba(255, 255, 255, .07);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: #14100a; padding: .6rem 1rem; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.site-main { position: relative; z-index: 1; }

/* ============================== TOMBOL ============================== */

.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .72rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--ink);
  font: inherit; font-weight: 600; font-size: .92rem; line-height: 1;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s, color .2s, box-shadow .25s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  color: #1a1409;
  box-shadow: 0 10px 26px rgba(224, 180, 73, .22);
}
.btn-gold:hover { box-shadow: 0 14px 32px rgba(224, 180, 73, .32); }

.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); background: var(--gold-soft); }

.btn-ghost { background: var(--surface); color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }

.btn-light { background: rgba(255, 255, 255, .92); color: #14141a; }
.btn-light:hover { background: #fff; }

.btn-danger { background: rgba(240, 96, 93, .16); color: #ffb4b2; border-color: rgba(240, 96, 93, .35); }
.btn-danger:hover { background: rgba(240, 96, 93, .26); }

.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; border-radius: 13px; }
.btn-sm { padding: .55rem .85rem; font-size: .82rem; }
.btn-xs { padding: .38rem .6rem; font-size: .75rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ============================== BADGE / PILL ============================== */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface-2); color: var(--ink-2);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.badge-type { background: rgba(224, 180, 73, .16); color: var(--gold-2); border-color: rgba(224, 180, 73, .35); }
.badge-karya { background: rgba(120, 78, 190, .22); color: #d9c7ff; border-color: rgba(155, 120, 235, .4); }
.badge-featured { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #191307; border-color: transparent; }
.badge-cat { background: rgba(255, 255, 255, .08); color: var(--ink); }
.badge-vote { background: rgba(70, 201, 139, .16); color: #9df0c4; border-color: rgba(70, 201, 139, .3); }
.badge-muted { background: var(--surface); color: var(--ink-3); }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.pill-ok { background: rgba(70, 201, 139, .15); color: #8fe9bd; border-color: rgba(70, 201, 139, .32); }
.pill-warn { background: rgba(229, 177, 60, .15); color: #f2d18a; border-color: rgba(229, 177, 60, .32); }
.pill-err { background: rgba(240, 96, 93, .15); color: #ffb0ae; border-color: rgba(240, 96, 93, .32); }
.pill-info { background: rgba(90, 169, 240, .15); color: #add7ff; border-color: rgba(90, 169, 240, .32); }
.pill-muted { background: var(--surface); color: var(--ink-3); }

/* ============================== HEADER ============================== */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(8, 8, 11, .92), rgba(8, 8, 11, .72));
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 4px 24px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: calc(var(--logo-h-scrolled) + 8px); }
.site-header.is-scrolled { background: rgba(8, 8, 11, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: min(52vw, 360px);
  object-fit: contain;
  object-position: left center;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .brand-logo { height: var(--logo-h-scrolled); }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; overflow: hidden; }
.nav-link {
  padding: 9px 12px; border-radius: 9px; font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.is-active { color: var(--gold-2); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 12px; }
.nav-search input {
  width: 150px; background: none; border: 0; color: var(--ink); font: inherit; font-size: .84rem; padding: 8px 0;
}
.nav-search input::placeholder { color: var(--ink-3); }
.nav-search button { background: none; border: 0; color: var(--ink-3); cursor: pointer; display: flex; padding: 7px; border-radius: 999px; }
.nav-search button:hover { color: var(--gold-2); background: var(--surface-2); }

.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 14px 20px 20px;
  background: rgba(8, 8, 11, .97);
  display: flex; flex-direction: column; gap: 14px;
}
.mobile-menu[hidden] { display: none; }
.mnav-search { display: flex; gap: 8px; }
.mnav-search input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--ink); font: inherit; }
.mnav-search button { background: var(--surface-2); border: 0; color: var(--ink); border-radius: 10px; padding: 0 14px; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mnav-link { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.mnav-link.is-active { color: var(--gold-2); }
.mnav-cta { display: flex; flex-direction: column; gap: 10px; }

/* ============================== HERO ============================== */

.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; padding: 60px 0 0; }
.hero-bg {
  position: absolute; inset: 0;
  background-color: #0a0a0e;
  background-size: cover; background-position: center 28%;
  filter: brightness(.42) saturate(115%);
  /* Jangan pakai transform: scale() untuk efek zoom di sini — elemen absolut
     yang di-scale melebihi lebar layar dan memunculkan scroll horizontal. */
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, .95) 0%, rgba(8, 8, 11, .72) 42%, rgba(8, 8, 11, .25) 72%, rgba(8, 8, 11, .6) 100%),
    linear-gradient(180deg, rgba(8, 8, 11, .8) 0%, rgba(8, 8, 11, .15) 32%, rgba(8, 8, 11, .96) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 48px; max-width: 860px; }
.hero-kicker {
  font-size: .8rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 14px; font-weight: 600;
}
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .96; letter-spacing: .01em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .75);
  margin-bottom: 16px;
}
.hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.35rem); color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.hero-text { color: var(--ink-2); font-size: 1rem; max-width: 620px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-price {
  margin-top: 26px; display: inline-flex; flex-direction: column; gap: 3px;
  padding: 13px 18px; border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(224, 180, 73, .14), transparent 78%);
  border-radius: 0 12px 12px 0;
}
.hero-price strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: .06em; color: var(--gold-2); font-weight: 400; }
.hero-price span { font-size: .82rem; color: var(--ink-2); }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 10, 14, .5), rgba(10, 10, 14, .9));
  backdrop-filter: blur(10px);
}
.hero-stat { padding: 20px 24px; text-align: center; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--gold-2); letter-spacing: .04em; font-weight: 400; }
.hero-stat span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ============================== SECTION ============================== */

.section { padding: 62px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 28px;
}
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  letter-spacing: .06em; margin: 0;
}
.section-sub { color: var(--ink-3); font-size: .9rem; margin: 6px 0 0; }
.section-more { color: var(--gold-2); font-size: .84rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.section-more:hover { color: var(--ink); }

/* ============================== KARTU FILM ============================== */

.movie-row {
  display: flex; gap: 20px;
  overflow-x: auto; overflow-y: hidden;
  padding: 6px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.movie-row::-webkit-scrollbar { height: 8px; }
.movie-row::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
.movie-row > * { flex: 0 0 calc((100% - 60px) / 4); max-width: calc((100% - 60px) / 4); scroll-snap-align: start; }

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr));
  gap: 24px 20px;
}

.movie-card {
  display: flex; flex-direction: column;
  min-width: 0;
  container-type: inline-size;
}
.movie-poster {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; background: var(--bg-3);
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.movie-card:hover .movie-poster { transform: translateY(-4px); border-color: rgba(224, 180, 73, .5); box-shadow: 0 20px 40px rgba(0, 0, 0, .55); }
.movie-card:hover .movie-poster img { transform: scale(1.06); }
.poster-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0) 42%, rgba(8, 8, 11, .88) 100%);
  opacity: .85; transition: opacity .3s;
}
.movie-card:hover .poster-overlay { opacity: 1; }
.poster-badges { position: absolute; top: 9px; left: 9px; display: flex; flex-wrap: wrap; gap: 5px; max-width: 88%; }
.poster-votes {
  position: absolute; right: 9px; bottom: 9px;
  background: rgba(8, 8, 11, .78); border: 1px solid var(--line);
  color: var(--gold-2); font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}
.movie-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 12px 2px 0; }
.movie-title {
  font-size: .98rem; font-weight: 600; line-height: 1.28; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.movie-title a:hover { color: var(--gold-2); }
.movie-meta {
  font-size: .76rem; color: var(--ink-3); margin: 0 0 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 18px;
}
.movie-sub {
  display: flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 600; color: var(--gold-2);
  min-height: 22px; margin-bottom: 10px;
}
.movie-sub-text { color: var(--ink-3); font-weight: 500; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn {
  flex: 1 1 0; min-width: 0; height: 40px; padding: 0 8px; font-size: .82rem;
  border-radius: 10px; white-space: nowrap;
}
@container (max-width: 178px) {
  .card-actions .btn svg { display: none; }
  .card-actions .btn { font-size: .76rem; }
}
@container (max-width: 140px) {
  .card-actions { flex-direction: column; }
  /* flex: 1 1 0 pada arah kolom membuat tinggi tombol runtuh ke tinggi teks —
     kembalikan ke ukuran tetap agar tetap nyaman disentuh. */
  .card-actions .btn { flex: 0 0 auto; width: 100%; height: 40px; }
}

/* ============================== TIPE KONTEN ============================== */

.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.type-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  padding: 26px 24px; transition: transform .3s var(--ease), border-color .3s;
}
.type-card:hover { transform: translateY(-3px); border-color: rgba(224, 180, 73, .45); }
.type-card-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.type-card-inner strong { font-family: var(--display); font-size: 2rem; letter-spacing: .08em; font-weight: 400; }
.type-card-inner span { color: var(--ink-2); font-size: .88rem; }
.type-card-cta { color: var(--gold-2); font-weight: 600; margin-top: 8px; }
.type-card-strip { display: flex; gap: 8px; margin-top: 20px; position: relative; z-index: 2; }
.type-card-strip img { width: 54px; height: 78px; object-fit: cover; border-radius: 7px; opacity: .78; border: 1px solid var(--line); }

/* ============================== VOTE ============================== */

.vote-band {
  display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center;
  background: linear-gradient(120deg, rgba(224, 180, 73, .1), rgba(255, 255, 255, .02) 55%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
}
.vote-band-price { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vote-band-label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.vote-band-amount { font-family: var(--display); font-size: 3.4rem; color: var(--gold-2); font-weight: 400; line-height: 1; }
.vote-band-unit { color: var(--ink-2); font-size: .9rem; margin-bottom: 12px; }
.vote-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.vote-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .93rem; }
.vote-steps.compact li { font-size: .87rem; }
.step-no {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(224, 180, 73, .35);
}

.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.cat-chip:hover { border-color: rgba(224, 180, 73, .5); color: var(--ink); background: var(--gold-soft); transform: translateY(-1px); }
.cat-chip svg { color: var(--gold); }

.board-home { display: flex; flex-direction: column; gap: 12px; }
.board-row {
  display: grid; grid-template-columns: 54px 54px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, background .2s, transform .2s;
}
.board-row:hover { border-color: rgba(224, 180, 73, .45); background: var(--surface-2); transform: translateX(3px); }
.board-row.is-top { background: linear-gradient(90deg, rgba(224, 180, 73, .12), rgba(255, 255, 255, .02)); border-color: rgba(224, 180, 73, .3); }
.board-rank { font-family: var(--display); font-size: 1.5rem; color: var(--ink-3); text-align: center; letter-spacing: .04em; }
.board-row.is-top .board-rank { color: var(--gold-2); }
.board-poster img { width: 54px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.board-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.board-title { font-size: 1rem; font-weight: 600; }
.board-meta { color: var(--ink-3); font-size: .78rem; }
.board-votes { font-family: var(--display); font-size: 1.5rem; color: var(--gold-2); text-align: right; white-space: nowrap; }
.board-votes small { font-family: var(--body); font-size: .68rem; color: var(--ink-3); letter-spacing: .1em; display: block; }
.board-full { display: flex; flex-direction: column; gap: 12px; }

.bar { display: block; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: 999px; }

/* ============================== AWARDING ============================== */

/* ===== Countdown tepat di bawah hero (permintaan pemilik situs) =====
   Pita penuh lebar: judul + jadwal di kiri, 4 sel countdown di tengah,
   tombol ke halaman awarding di kanan. */
.countdown-band {
  position: relative;
  border-top: 1px solid rgba(224, 180, 73, .3);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 220px at 10% 0%, rgba(224, 180, 73, .17), transparent 64%),
    radial-gradient(620px 260px at 92% 120%, rgba(120, 78, 190, .18), transparent 66%),
    linear-gradient(180deg, rgba(10, 10, 14, .94), rgba(12, 12, 18, .78));
  backdrop-filter: blur(14px) saturate(150%);
}
.countdown-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  padding-block: 26px;
}
.cd-head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cd-kicker {
  margin: 0; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600;
}
.cd-title {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem); letter-spacing: .05em; line-height: 1.05;
  overflow-wrap: anywhere;
}
.cd-meta {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  color: var(--ink-2); font-size: .84rem;
}
.cd-cta { justify-self: end; white-space: nowrap; }
/* Countdown yang tanggalnya sudah lewat disembunyikan (diganti keterangan). */
.countdown.is-past { display: none; }
.cd-past {
  margin: 0; font-size: .92rem; color: var(--gold-2); font-weight: 600;
  letter-spacing: .02em;
}
.page-awarding .cd-past { margin-top: 22px; text-align: center; }
.award-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Band awarding tanpa countdown (countdown-nya sekarang di bawah hero). */
.award-band.is-solo { grid-template-columns: minmax(0, 1fr); }

.award-band {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 1px solid rgba(224, 180, 73, .28); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(224, 180, 73, .16), transparent 62%),
    linear-gradient(120deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  padding: 34px;
}
.award-kicker { display: block; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.award-band h3 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: .05em; margin-bottom: 10px; }
.award-band p { color: var(--ink-2); font-size: .92rem; }
.award-meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-2); font-size: .88rem; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cd-cell {
  min-width: 78px; padding: 14px 10px; border-radius: 14px; text-align: center;
  background: rgba(8, 8, 11, .6); border: 1px solid var(--line);
}
.cd-cell strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--gold-2); font-weight: 400; line-height: 1; }
.cd-cell span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.countdown-lg { justify-content: center; margin-top: 30px; }
.countdown-lg .cd-cell { min-width: 108px; }
.countdown-lg .cd-cell strong { font-size: 2.8rem; }

.award-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-bottom: 44px; }
.award-detail { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.ad-ico { font-size: 1.4rem; }
.ad-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.award-detail strong { font-size: .98rem; }
.award-block { margin-bottom: 48px; }

.winner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.winner-card {
  padding: 26px 22px; border-radius: var(--radius); text-align: center;
  border: 1px solid rgba(224, 180, 73, .3);
  background: linear-gradient(160deg, rgba(224, 180, 73, .14), rgba(255, 255, 255, .02));
}
.winner-crown { font-size: 1.8rem; }
.winner-card h3 { font-size: 1.1rem; margin: 10px 0 4px; }
.winner-card p { color: var(--gold-2); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.winner-card small { color: var(--ink-3); }

.nominee-group { margin-bottom: 30px; }
.nominee-cat { font-family: var(--display); font-size: 1.3rem; letter-spacing: .06em; font-weight: 400; color: var(--gold-2); margin-bottom: 12px; }
.nominee-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nominee-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface);
}
.nominee-item.is-winner { border-color: rgba(224, 180, 73, .5); background: linear-gradient(90deg, rgba(224, 180, 73, .14), rgba(255, 255, 255, .02)); }
.nominee-item img { width: 44px; height: 66px; object-fit: cover; border-radius: 7px; }
.nominee-ph { width: 44px; height: 66px; display: grid; place-items: center; background: var(--surface-2); border-radius: 7px; font-size: 1.2rem; }
.nominee-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.nominee-info small { color: var(--ink-3); font-size: .78rem; }
.nominee-tag, .winner-tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.winner-tag { color: var(--gold-2); font-weight: 700; }
.nominee-actions { display: flex; gap: 6px; align-items: center; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.gallery-item { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-item figcaption { padding: 10px 14px; font-size: .82rem; color: var(--ink-2); }

/* ============================== SUBMIT BAND ============================== */

.submit-band {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(120, 78, 190, .14), rgba(255, 255, 255, .02) 60%);
}
.submit-band-text p { color: var(--ink-2); }
.submit-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.submit-points li { font-size: .86rem; color: var(--ink-2); display: flex; gap: 7px; align-items: center; }
.submit-points li::before { content: "◆"; color: var(--gold); font-size: .7rem; }
.submit-band-cta { display: flex; flex-direction: column; gap: 10px; }

/* ============================== SPONSOR ============================== */

.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.sponsor-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 20px; min-height: 130px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .93);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.sponsor-item:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0, 0, 0, .45); }
.sponsor-item img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-fallback { font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; color: #1b1b22; }
.sponsor-name { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #5c5c66; }

.about-band { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; }
.about-copy p { color: var(--ink-2); }
.about-side { display: flex; flex-direction: column; gap: 14px; }
.about-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.about-stat span { font-size: 1.5rem; }
.about-stat strong { font-family: var(--display); font-size: 1.7rem; color: var(--gold-2); font-weight: 400; }
.about-stat small { color: var(--ink-3); font-size: .78rem; }
.about-cta { margin-top: 26px; }

.donate-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid rgba(240, 96, 93, .28);
  background: linear-gradient(120deg, rgba(240, 96, 93, .12), rgba(255, 255, 255, .02) 60%); }
.donate-band p { color: var(--ink-2); margin: 0; max-width: 620px; }
.donate-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.donate-note { font-size: .78rem; color: var(--ink-3); }

/* ============================== MODAL ============================== */

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, .82); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 2; width: 100%; max-width: 560px;
  background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); backdrop-filter: blur(20px) saturate(180%);
  animation: pop .25s var(--ease);
}
.modal-panel-wide { max-width: 980px; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(8, 8, 11, .7); border: 1px solid var(--line); color: var(--ink);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem;
}
.modal-close:hover { background: var(--surface-3); }
.modal-title { margin-top: 16px; font-size: 1.1rem; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.modal-player { margin-top: 6px; }

/* ============================== PEMUTAR VIDEO ============================== */

.player-frame {
  position: relative; width: 100%;
  aspect-ratio: var(--video-ar, 1.7778);
  background: #000; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
}
.player-frame video,
.player-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.player-frame video { object-fit: contain; background: #000; }
.player-frame.is-empty { display: grid; place-items: center; background: var(--bg-3); }
.player-error {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 24px; background: rgba(8, 8, 11, .92); color: var(--ink-2);
}
.player-error strong { color: var(--ink); font-size: 1.05rem; }
.player-error span { font-size: .86rem; max-width: 420px; }

.player-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(8, 8, 11, .78); color: var(--ink-2); font-size: .88rem; z-index: 4;
  transition: opacity .35s var(--ease), visibility .35s;
}
.player-frame.ready .player-loading { opacity: 0; visibility: hidden; }
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--gold);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cp-controls {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
  transition: opacity .3s var(--ease);
}
.player-frame.is-hidectrl .cp-controls { opacity: 0; pointer-events: none; }
.cp-btn {
  background: rgba(255, 255, 255, .1); border: 1px solid transparent; color: #fff;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.cp-btn:hover { background: rgba(255, 255, 255, .22); }
.cp-time { font-size: .78rem; color: #e5e2da; font-variant-numeric: tabular-nums; padding: 0 6px; }
.cp-spacer { flex: 1 1 auto; }
.cp-volume { width: 84px; accent-color: var(--gold); }
.cp-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  width: 100%; height: 16px; margin: 0; cursor: pointer;
  accent-color: var(--gold);
  background: transparent;
}
.player-fs {
  position: absolute; right: 12px; bottom: 62px; z-index: 7;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(8, 8, 11, .72); border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 999px; padding: 8px 13px; font-size: .78rem; cursor: pointer;
  backdrop-filter: blur(8px);
}
.player-fs:hover { background: rgba(224, 180, 73, .2); border-color: var(--gold); }
.player-hint { margin-top: 10px; font-size: .82rem; color: var(--ink-3); }
.player-hint a { color: var(--gold-2); text-decoration: underline; }
.player-frame:fullscreen { border-radius: 0; aspect-ratio: auto; height: 100vh; }
.player-frame:fullscreen video, .player-frame:fullscreen iframe { position: absolute; inset: 0; }

/* ============================== HALAMAN UMUM ============================== */

.page-head { padding: 58px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent); }
.page-head-compact { padding: 32px 0 22px; }
.page-logo { height: 76px; width: auto; max-width: min(70vw, 360px); object-fit: contain; margin-bottom: 18px; }
.page-kicker { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.page-title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 400; letter-spacing: .04em; margin-bottom: 10px; }
.page-sub, .page-lead { color: var(--ink-2); max-width: 760px; }
.page-price { font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; color: var(--ink-2); }
.page-price strong { color: var(--gold-2); font-weight: 400; }

.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .current { color: var(--ink-2); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); background: var(--surface);
}
.filter-tab:hover { color: var(--ink); border-color: var(--line-2); }
.filter-tab.is-active { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #1a1409; border-color: transparent; }
.filter-tabs.wide { margin-bottom: 20px; }
.tab-count { opacity: .7; font-weight: 600; }
.filter-search { display: flex; gap: 8px; flex: 1 1 260px; min-width: 0; max-width: 460px; }
.filter-search input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; color: var(--ink); font: inherit; }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-2); background: var(--surface);
}
.filter-chip:hover { border-color: var(--line-2); color: var(--ink); }
.filter-chip.is-active { background: var(--gold-soft); border-color: rgba(224, 180, 73, .5); color: var(--gold-2); }
.filter-sort { display: flex; gap: 12px; flex-wrap: wrap; }
.sort-link { font-size: .8rem; color: var(--ink-3); }
.sort-link:hover { color: var(--ink); }
.sort-link.is-active { color: var(--gold-2); font-weight: 600; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.pager-btn { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); font-size: .85rem; background: var(--surface); }
.pager-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.pager-info { color: var(--ink-3); font-size: .82rem; }
.pager-single { text-align: center; margin-top: 26px; }

.empty-state {
  padding: 46px 24px; text-align: center; border-radius: var(--radius);
  border: 1px dashed var(--line-2); color: var(--ink-3); background: var(--surface);
}
.empty-state p { margin: 0 0 16px; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .9rem; border: 1px solid var(--line); background: var(--surface); }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert p { margin: 6px 0 0; }
.alert-err { background: rgba(240, 96, 93, .12); border-color: rgba(240, 96, 93, .34); color: #ffcfcd; }
.alert-warn { background: rgba(229, 177, 60, .12); border-color: rgba(229, 177, 60, .34); color: #f6dcae; }
.alert-ok { background: rgba(70, 201, 139, .12); border-color: rgba(70, 201, 139, .34); color: #b6f0d3; }
.alert-info { background: rgba(90, 169, 240, .12); border-color: rgba(90, 169, 240, .32); color: #cbe4ff; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin-bottom: 34px; }
.stat-cell { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.stat-cell strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--gold-2); font-weight: 400; }
.stat-cell span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.preview-notice {
  position: relative; z-index: 3; margin: 0 auto; max-width: var(--container);
  padding: 12px 24px; font-size: .86rem; color: #f6dcae;
  background: rgba(229, 177, 60, .14); border-bottom: 1px solid rgba(229, 177, 60, .3);
}
.preview-notice a { color: var(--gold-2); text-decoration: underline; }

/* ============================== DETAIL FILM ============================== */

.page-detail { position: relative; }
.detail-backdrop {
  position: absolute; top: 0; left: 0; right: 0; height: 620px;
  background-size: cover; background-position: center 22%;
  filter: brightness(.34) saturate(115%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
  pointer-events: none;
}
.detail-scrim { position: absolute; top: 0; left: 0; right: 0; height: 620px;
  background: linear-gradient(180deg, rgba(8, 8, 11, .5), rgba(8, 8, 11, .96)); pointer-events: none; }
.detail-wrap { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 40px; }
.detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.detail-poster { position: relative; }
.detail-poster img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 2 / 3; object-fit: cover; }
.detail-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #1a1409;
  padding: 5px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
}
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.detail-title { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 400; letter-spacing: .02em; line-height: 1.02; }
.detail-meta { color: var(--ink-2); font-size: .92rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 26px; margin: 0 0 26px; }
.spec-row { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px dashed var(--line); padding-bottom: 9px; margin: 0; }
.spec-row dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.spec-row dd { margin: 0; font-size: .93rem; }
.detail-synopsis h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.detail-synopsis p { color: var(--ink-2); max-width: 760px; }

.watch-section { margin: 26px 0 46px; }
.watch-player { width: 100%; }
.watch-hint { color: var(--ink-3); font-size: .8rem; margin-top: 12px; }

.vote-inline { margin: 40px 0; }
.vote-inline-inner {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding: 26px 28px; border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 180, 73, .3);
  background: linear-gradient(120deg, rgba(224, 180, 73, .13), rgba(255, 255, 255, .02) 62%);
}
.vote-inline h2 { font-size: 1.2rem; }
.vote-inline p { color: var(--ink-2); margin: 0; font-size: .9rem; }

/* ============================== VOTE FILM ============================== */

.vote-layout { display: grid; grid-template-columns: 310px 1fr; gap: 34px; align-items: start; }
.vote-film-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.vote-film-card img { width: 100%; border-radius: 12px; aspect-ratio: 2 / 3; object-fit: cover; margin-bottom: 16px; }
.vote-film-card h2 { font-size: 1.15rem; }
.vote-film-meta { color: var(--ink-3); font-size: .82rem; }
.vote-film-total { display: flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: .95rem; }
.vote-film-total strong { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.vote-film-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.vote-form, .admin-form { display: flex; flex-direction: column; gap: 18px; }
.form-title { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin: 6px 0 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.pkg-grid-compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.pkg { position: relative; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; }
.pkg-inner {
  display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center;
  padding: 16px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface);
  transition: all .2s var(--ease);
}
.pkg:hover .pkg-inner { border-color: var(--line-2); }
.pkg input:checked + .pkg-inner { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.pkg-inner strong { font-size: 1.05rem; }
.pkg-inner span { color: var(--ink-2); font-size: .84rem; }
.pkg-best { font-size: .68rem; color: var(--gold-2); letter-spacing: .08em; text-transform: uppercase; font-style: normal; }

.vote-summary { padding: 18px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 8px; }
.vote-summary-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-2); }
.vote-summary-row.total { border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink); }
.vote-summary-row.total strong { font-family: var(--display); font-size: 1.7rem; color: var(--gold-2); font-weight: 400; }

/* ============================== FORM UMUM ============================== */

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.form-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.form-grid.cols-1 { grid-template-columns: 1fr; }
.field-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field em { color: var(--gold-2); font-style: normal; }
.field small { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--ink); font: inherit; font-size: .93rem;
}
.field textarea { resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: var(--surface-2); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input[type=number] { -moz-appearance: textfield; }
.field-help { font-size: .76rem; color: var(--ink-3); }
.field-file input { padding: 10px; background: rgba(255, 255, 255, .03); }
.field input[type=checkbox] { width: auto; accent-color: var(--gold); }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold); flex: 0 0 auto; }
.check-block { padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.check-cols { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions-note { font-size: .8rem; color: var(--ink-3); }
.form-note { font-size: .8rem; color: var(--ink-3); }
.sticky-actions { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(0deg, var(--bg) 60%, transparent); z-index: 5; }
.privacy-note {
  display: flex; gap: 10px; font-size: .84rem; color: var(--ink-2);
  padding: 12px 15px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(90, 169, 240, .07);
}
.pn-ico { flex: 0 0 auto; }
.fieldset, fieldset.form-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); margin: 0; }
.form-block { display: flex; flex-direction: column; gap: 18px; }
.block-legend {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .12em; color: var(--gold-2);
  padding: 0 10px; margin-left: -10px;
}
.bl-no {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); border: 1px solid rgba(224, 180, 73, .4);
  font-family: var(--body); font-size: .78rem; color: var(--gold-2);
}

/* ============================== SELECTOR / ALERT SUBMIT ============================== */

.submit-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.choice-card {
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  display: flex; flex-direction: column; gap: 12px;
}
.choice-card.is-disabled { opacity: .62; }
.choice-ico { font-size: 2rem; }
.choice-card h2 { font-family: var(--display); font-size: 1.55rem; letter-spacing: .06em; font-weight: 400; }
.choice-card p { color: var(--ink-2); font-size: .92rem; }
.choice-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.choice-list li { font-size: .86rem; color: var(--ink-2); display: flex; gap: 8px; }
.choice-list li::before { content: "✓"; color: var(--gold); }
.choice-off { color: var(--warn); font-size: .84rem; }
.choice-card .btn { margin-top: auto; }

.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; counter-reset: f; }
.flow-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); }
.flow-steps.compact li { padding: 12px; }
.flow-steps li span:last-child { display: flex; flex-direction: column; }
.flow-steps small { color: var(--ink-3); font-size: .78rem; }
.fs-no {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(224, 180, 73, .35);
}
.submit-steps-block, .submit-status-check { margin-top: 46px; }
.check-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.check-form .field { flex: 1 1 220px; }

.submit-wrap { display: grid; grid-template-columns: 1.6fr .9fr; gap: 30px; align-items: start; }
.submit-form { display: flex; flex-direction: column; gap: 22px; }
.submit-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.side-card h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.prep-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.prep-list li { display: flex; gap: 10px; font-size: .87rem; color: var(--ink-2); }

.success-wrap { max-width: 760px; margin: 0 auto; }
.success-card {
  padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(224, 180, 73, .1), rgba(255, 255, 255, .02));
  text-align: center;
}
.success-ico { font-size: 2.6rem; }
.success-card h1 { font-family: var(--display); font-size: 2.2rem; letter-spacing: .06em; font-weight: 400; margin-top: 10px; }
.reg-box {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin: 24px 0 12px; padding: 18px; border-radius: 13px;
  border: 1px dashed rgba(224, 180, 73, .5); background: rgba(224, 180, 73, .08);
}
.reg-box span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.reg-box strong { font-family: var(--display); font-size: 1.9rem; letter-spacing: .1em; color: var(--gold-2); font-weight: 400; }
.success-status { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .85rem; color: var(--ink-3); margin-bottom: 22px; }
.success-detail { text-align: left; margin: 22px 0; }
.success-next { text-align: left; margin: 26px 0; }
.success-next h2 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.status-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: 30px; }
.status-card-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sc-label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sc-reg { font-family: var(--display); font-size: 1.7rem; letter-spacing: .08em; color: var(--gold-2); font-weight: 400; }

/* ============================== PEMBAYARAN ============================== */

.pay-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 30px; align-items: start; }
.pay-main { display: flex; flex-direction: column; gap: 22px; }
.pay-head {
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.pay-head-film { display: flex; align-items: center; gap: 14px; }
.pay-head-film img { width: 60px; height: 90px; object-fit: cover; border-radius: 8px; }
.pay-head-film span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pay-head-film strong { font-size: 1.05rem; }
.pay-head-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.pay-head-list span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pay-total { text-align: right; }
.pay-total span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pay-total strong { font-family: var(--display); font-size: 2.3rem; color: var(--gold-2); font-weight: 400; }

.pay-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pay-method { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pay-method h3 { font-size: 1rem; display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.pm-ico { font-size: 1.2rem; }
.pay-method p { color: var(--ink-2); font-size: .87rem; }
.qr-box { background: #fff; border-radius: 13px; padding: 14px; display: grid; place-items: center; margin: 14px 0; }
.qr-box img { max-width: 280px; width: 100%; height: auto; image-rendering: pixelated; }
.qr-placeholder { color: #555; font-size: .85rem; margin: 0; padding: 30px 10px; text-align: center; }
.qr-empty { padding: 26px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; display: flex; flex-direction: column; gap: 6px; }
.qr-empty strong { color: var(--warn); }
.qr-empty span { color: var(--ink-3); font-size: .84rem; }
.qr-meta { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.qr-meta li { display: flex; justify-content: space-between; gap: 14px; font-size: .87rem; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.qr-meta span { color: var(--ink-3); }
.pay-note { font-size: .82rem; color: var(--ink-3); margin-top: 12px; }
.qr-order { font-size: .8rem; color: var(--ink-3); margin: 8px 0 0; }
.pay-status-line { font-size: .85rem; color: var(--gold-2); margin: 6px 0 0; }
.pay-proof, .pay-confirm { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pay-proof h3 { font-size: .95rem; }
.pay-proof p { color: var(--ink-3); font-size: .84rem; }
.pay-proof-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-proof-row input[type=file] { flex: 1 1 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 10px; color: var(--ink); }
.pay-proof-ok { color: #9df0c4; font-size: .85rem; margin: 12px 0 0; }
.pay-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.pay-status { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pay-status-ico { font-size: 2.4rem; }
.pay-status h2 { font-family: var(--display); font-size: 1.7rem; letter-spacing: .05em; font-weight: 400; }
.pay-status-ok { border-color: rgba(70, 201, 139, .4); background: rgba(70, 201, 139, .09); }
.pay-status-warn { border-color: rgba(229, 177, 60, .4); background: rgba(229, 177, 60, .09); }
.pay-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ============================== TRAILER ============================== */

.trailer-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin-bottom: 52px; }
.trailer-feature-info h2 { font-family: var(--display); font-size: 2rem; letter-spacing: .04em; font-weight: 400; }
.trailer-feature-info p { color: var(--ink-2); font-size: .92rem; }
.trailer-feature-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trailer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px 20px; }
.trailer-card { display: flex; flex-direction: column; }
.trailer-thumb { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 14px; overflow: hidden; background: var(--bg-3); aspect-ratio: 16 / 9; }
.trailer-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.trailer-thumb:hover img { transform: scale(1.06); }
.trailer-play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(224, 180, 73, .9); color: #1a1409;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}
.trailer-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(8, 8, 11, .8); border-radius: 7px; padding: 2px 8px; font-size: .72rem; }
.trailer-title { font-size: 1rem; margin: 12px 0 4px; }
.trailer-meta { color: var(--ink-3); font-size: .8rem; margin: 0; }

/* ============================== ABOUT / FAQ ============================== */

.about-page { max-width: 940px; }
.about-main > p { color: var(--ink-2); }
.about-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin: 30px 0 46px; }
.about-box { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.about-box h3 { font-family: var(--display); font-size: 1.3rem; letter-spacing: .08em; color: var(--gold-2); font-weight: 400; }
.about-box ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: .9rem; }
.about-box p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.about-block { margin-bottom: 48px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: .95rem; }
.faq-item summary::marker { color: var(--gold); }
.faq-item p { margin: 12px 0 0; color: var(--ink-2); font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 20px; }
.contact-cell { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.contact-cell a:hover { color: var(--gold-2); }
.about-cta-band {
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(224, 180, 73, .12), rgba(255, 255, 255, .02) 62%);
  text-align: center;
}
.about-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ============================== DONASI ============================== */

.donate-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 30px; align-items: start; }
.donate-form { display: flex; flex-direction: column; gap: 20px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.donate-form fieldset { border: 0; padding: 0; margin: 0; }
.donate-form legend { font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.donate-qris { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 18px; border-radius: 13px; border: 1px dashed var(--line-2); }
.donate-qris img { max-width: 240px; border-radius: 10px; background: #fff; padding: 10px; }
.donate-side { display: flex; flex-direction: column; gap: 16px; }
.donate-total { font-family: var(--display); font-size: 2.2rem; color: var(--gold-2); font-weight: 400; margin: 0; }
.donor-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.donor-list li { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px dashed var(--line); padding-bottom: 9px; font-size: .88rem; }
.donor-list span { color: var(--gold-2); font-weight: 600; }
.donor-list small { color: var(--ink-3); }

/* ============================== 404 ============================== */

.error-page { text-align: center; max-width: 620px; margin: 0 auto; padding: 60px 0; }
.error-code { font-family: var(--display); font-size: 5rem; color: var(--gold-2); margin: 0; line-height: 1; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ============================== FOOTER ============================== */

.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 10, 14, .6), rgba(8, 8, 11, .98)); position: relative; z-index: 1; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 52px 24px 34px; display: grid; grid-template-columns: 1.3fr 1.6fr; gap: 40px; }
.footer-logo { height: 62px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-tagline { color: var(--ink-2); font-size: .92rem; max-width: 420px; }
.footer-address, .footer-contact { color: var(--ink-3); font-size: .84rem; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social a { font-size: .82rem; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.footer-social a:hover { color: var(--gold-2); border-color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 26px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.footer-col a { font-size: .87rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; font-size: .8rem; color: var(--ink-3);
}
.footer-legal a:hover { color: var(--gold-2); }

/* ============================== TOAST ============================== */

.toast-wrap {
  position: fixed; right: 20px; bottom: 20px; z-index: 400;
  display: flex; flex-direction: column; gap: 10px; max-width: min(92vw, 380px);
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 13px; font-size: .88rem;
  background: var(--glass); border: 1px solid var(--line-2); color: var(--ink);
  box-shadow: var(--shadow); backdrop-filter: blur(18px);
  animation: toastIn .3s var(--ease);
}
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
.toast-ok { border-color: rgba(70, 201, 139, .45); }
.toast-err { border-color: rgba(240, 96, 93, .45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

/* ============================== PANEL ADMIN ============================== */

.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.admin-sidebar {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 14, 19, .96), rgba(10, 10, 14, .98));
  padding: 18px 14px 40px; overflow-y: auto; max-height: 100vh; position: sticky; top: 0;
}
.admin-brand { display: block; padding: 8px 10px 18px; }
.admin-brand img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-group { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 18px 10px 6px; }
.sb-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; font-size: .87rem; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.sb-link:hover { background: var(--surface); color: var(--ink); }
.sb-link.is-active { background: var(--gold-soft); color: var(--gold-2); font-weight: 600; }
.sb-ico { width: 18px; text-align: center; }
.sb-logout { margin-top: 18px; color: #ffb0ae; }
.sb-logout:hover { background: rgba(240, 96, 93, .14); color: #ffd0ce; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 26px; border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 14, .86); backdrop-filter: blur(16px);
}
.admin-menu-btn { display: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 9px; padding: 8px 12px; cursor: pointer; font-size: 1rem; }
.admin-crumb { display: flex; flex-direction: column; min-width: 0; }
.admin-crumb-title { font-weight: 600; font-size: .98rem; }
.admin-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-user { font-size: .82rem; color: var(--ink-3); }
.admin-content { padding: 26px; max-width: 1480px; width: 100%; display: flex; flex-direction: column; gap: 22px; }

.admin-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.admin-card-head {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.admin-card-head h2 { font-size: 1rem; margin: 0; }
.admin-card-aside { display: flex; align-items: center; gap: 10px; }
.admin-card-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.admin-card-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.card-desc { color: var(--ink-3); font-size: .86rem; margin: 0; }
.admin-note { font-size: .82rem; color: var(--ink-3); }

.admin-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; align-items: start; }
.admin-cols-wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.admin-col-main, .admin-col-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.stat-card {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.stat-ico { font-size: 1.5rem; }
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.stat-value { font-family: var(--display); font-size: 1.8rem; color: var(--gold-2); font-weight: 400; line-height: 1.1; }
.stat-sub { font-size: .76rem; color: var(--ink-3); }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.quick-tile {
  display: flex; flex-direction: column; gap: 3px;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: transform .2s var(--ease), border-color .2s;
}
.quick-tile:hover { transform: translateY(-2px); border-color: rgba(224, 180, 73, .45); }
.quick-tile span { font-size: 1.4rem; }
.quick-tile strong { font-size: .95rem; }
.quick-tile small { color: var(--ink-3); font-size: .78rem; }

.table-wrap { overflow-x: auto; margin: -4px; padding: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.admin-table th {
  text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255, 255, 255, .025); }
.admin-table tr.row-inactive td { opacity: .55; }
.ta-right { text-align: right; }
.ta-center { text-align: center; }
.ta-positive { color: #9df0c4; }
.ta-negative { color: #ffb0ae; }
.warn-text { color: var(--warn); }
.cell-film { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-film img { width: 40px; height: 60px; object-fit: contain; border-radius: 6px; background: var(--surface-2); }
.cell-film span { display: flex; flex-direction: column; min-width: 0; }
.cell-film small, .cell-sub { color: var(--ink-3); font-size: .76rem; display: block; }
.cell-sub.warn-text { color: var(--warn); }
.tag-demo { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.logo-missing { color: var(--ink-3); }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.inline-form { display: inline; }

.inline-create, .inline-edit { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-create.compact { margin-top: 14px; }
.inline-create .field, .inline-edit .field { flex: 1 1 180px; }
.inline-edit input, .inline-edit select, .inline-create input, .inline-create select {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px;
  color: var(--ink); font: inherit; font-size: .86rem; min-width: 0;
}
.inline-edit input, .inline-create input { flex: 1 1 150px; }
.input-sort { max-width: 84px; }
.input-file { font-size: .78rem; }
.inline-edit code { white-space: nowrap; }

.admin-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.fb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 180px; }
.fb-field span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fb-field input, .fb-field select {
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; color: var(--ink); font: inherit; font-size: .86rem; width: 100%; min-width: 0;
}
.fb-actions { display: flex; gap: 8px; align-items: center; }

.admin-breadcrumb { font-size: .84rem; color: var(--ink-3); }
.admin-breadcrumb a:hover { color: var(--gold-2); }
.admin-hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.danger-zone { display: flex; flex-direction: column; gap: 10px; }
.admin-form .form-grid { gap: 16px; }
.form-actions .btn { flex: 0 0 auto; }

.submission-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.sub-reg { font-family: var(--display); font-size: 1.8rem; letter-spacing: .08em; color: var(--gold-2); font-weight: 400; margin: 0; }
.sub-title { font-size: 1.15rem; font-weight: 600; margin: 4px 0; }
.sub-meta { color: var(--ink-3); font-size: .84rem; margin: 0; }
.submission-head-right { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.sub-date { font-size: .76rem; color: var(--ink-3); }

.file-block { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.file-block:last-child { border-bottom: 0; padding-bottom: 0; }
.file-block h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0; }
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.drive-link { word-break: break-all; font-size: .8rem; color: var(--ink-3); }
.review-form { display: flex; flex-direction: column; gap: 12px; }
.review-form h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin: 0; }
.consent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.consent-list li.ok { color: #b6f0d3; }
.consent-list li.no { color: #ffb0ae; }

.bar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.bar-list li { display: grid; grid-template-columns: 1fr 120px 70px 64px; gap: 12px; align-items: center; font-size: .86rem; }
.bar-label { color: var(--ink-2); }
.bar-value { text-align: right; font-weight: 600; }
.bar-cell { min-width: 120px; }
.mini-board { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mini-board li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; font-size: .86rem; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.mb-rank { color: var(--ink-3); font-family: var(--display); font-size: 1rem; }
.mb-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.thumb-preview { display: flex; flex-direction: column; gap: 6px; }
.thumb-preview img { max-height: 150px; width: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); padding: 8px; }
.thumb-preview.thumb-wide img { max-height: 220px; width: 100%; object-fit: cover; padding: 0; }
/* Pratinjau logo: ditampilkan di atas kotak netral bergaris supaya logo
   transparan / berwarna terang tetap kelihatan bentuknya. */
.thumb-preview.thumb-logo img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    repeating-conic-gradient(rgba(255, 255, 255, .07) 0% 25%, transparent 0% 50%) 0 / 18px 18px;
  border: 1px solid var(--line-2);
  object-fit: contain;
}
.thumb-preview span { font-size: .76rem; color: var(--ink-3); }
.video-preview { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.gallery-admin figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery-admin img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.gallery-admin figcaption { font-size: .8rem; color: var(--ink-3); }
.settings-chips { margin-bottom: 4px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-label { font-size: .78rem; color: var(--ink-3); }
.copy-value { background: rgba(255, 255, 255, .05); padding: 6px 10px; border-radius: 8px; word-break: break-all; font-size: .78rem; }
.link-strong { color: var(--gold-2); }

/* ============================== LOGIN ============================== */

.login-body {
  min-height: 100vh; display: grid; place-items: center; padding: 30px 20px;
  background:
    radial-gradient(700px 420px at 20% 10%, rgba(224, 180, 73, .16), transparent 60%),
    radial-gradient(700px 460px at 85% 85%, rgba(120, 78, 190, .18), transparent 62%),
    var(--bg);
}
.login-wrap { width: 100%; max-width: 440px; }
.login-card {
  padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: var(--glass); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow); text-align: center;
}
.login-logo { height: 74px; width: auto; margin: 0 auto 18px; object-fit: contain; }
.login-title { font-family: var(--display); font-size: 1.9rem; letter-spacing: .12em; font-weight: 400; }
.login-sub { color: var(--ink-3); font-size: .84rem; }
.login-form { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-top: 8px; }
.login-note { font-size: .78rem; color: var(--ink-3); margin: 18px 0 10px; }
.login-back { font-size: .82rem; color: var(--ink-2); }
.login-back:hover { color: var(--gold-2); }
.login-card .alert { text-align: left; }

/* ============================== RESPONSIVE ============================== */

/* Tangga ukuran header. Logo 104px (2x ukuran lama, sama seperti logo Cineplay)
   hanya muat berdampingan dengan menu + pencarian + dua tombol di layar sangat
   lebar; di bawah itu ruangnya dibuat bertahap — pencarian dulu yang dilepas,
   baru ukuran logo, terakhir menu pindah ke hamburger — supaya menu dan tombol
   TIDAK PERNAH terpotong. Diukur di scripts/test-ui.js. */
@media (max-width: 1440px) {
  /* Pencarian dilepas lebih dulu (masih tersedia di halaman /film dan di menu
     hamburger) agar logo bisa tetap besar. */
  .nav-search { display: none; }
}

@media (max-width: 1240px) {
  :root { --logo-h: 92px; --logo-h-scrolled: 72px; }
  .nav-link { padding: 8px 8px; font-size: .74rem; letter-spacing: .06em; }
  .header-actions { gap: 8px; }
}

@media (max-width: 1120px) {
  :root { --logo-h: 72px; --logo-h-scrolled: 56px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .brand-logo { max-width: min(58vw, 260px); }
}

@media (max-width: 1280px) {
  .movie-row > * { flex: 0 0 calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
}

@media (max-width: 1024px) {
  .countdown-band-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 22px; }
  .cd-cta { justify-self: start; }
  .hero { min-height: 74vh; }
  .vote-band { grid-template-columns: 1fr; gap: 24px; }
  .award-band { grid-template-columns: 1fr; }
  .submit-band { grid-template-columns: 1fr; }
  .about-band { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 240px 1fr; gap: 28px; }
  .trailer-feature { grid-template-columns: 1fr; }
  .submit-wrap, .pay-layout, .vote-layout, .donate-layout { grid-template-columns: 1fr; }
  .submit-side, .pay-side { position: static; }
  .admin-cols-wide { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Logo mobile tetap jauh lebih besar dari sebelumnya (42px -> 72px), sama
     seperti ukuran logo Cineplay di HP, dan tetap muat berdampingan hamburger. */
  :root { --logo-h: 72px; --logo-h-scrolled: 56px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .brand-logo { max-width: min(58vw, 240px); }
  .vote-cta span, .submit-cta { display: none; }
  .vote-cta { padding: .55rem .7rem; }
  .submit-cta { display: inline-flex; padding: .55rem .7rem; font-size: .78rem; }
  .section { padding: 46px 0; }
  .hero { min-height: 66vh; }
  .hero-inner { padding-bottom: 34px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 14px 10px; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-stat span { font-size: .64rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-poster { max-width: 240px; }
  .detail-backdrop, .detail-scrim { height: 420px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px 26px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 120;
    transform: translateX(-102%); transition: transform .28s var(--ease);
  }
  .admin-sidebar.is-open { transform: none; box-shadow: var(--shadow); }
  .admin-menu-btn { display: inline-flex; }
  .admin-content { padding: 18px; }
  .bar-list li { grid-template-columns: 1fr 90px 60px; }
  .bar-list li small { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .movie-row > * { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .movie-row { gap: 16px; }
  .detail-grid { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 34px 46px 1fr auto; gap: 10px; padding: 10px 12px; }
  .board-poster img { width: 46px; height: 68px; }
  .board-votes { font-size: 1.2rem; }
  .board-title { font-size: .92rem; }
  .countdown .cd-cell { min-width: 64px; padding: 10px 6px; }
  .countdown-band .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .countdown-band .countdown .cd-cell { min-width: 0; }
  .cd-cell strong { font-size: 1.6rem; }
  .cd-meta { font-size: .8rem; }
  .cd-cell strong { font-size: 1.5rem; }
  .countdown-lg .cd-cell { min-width: 72px; }
  .countdown-lg .cd-cell strong { font-size: 1.9rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .page-head { padding: 40px 0 26px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .admin-topbar { padding: 12px 16px; flex-wrap: wrap; }
  .admin-user { display: none; }
  .fieldset, fieldset.form-block { padding: 18px; }
  .success-card, .status-card, .pay-status { padding: 24px 18px; }
  .submission-head-right { align-items: flex-start; text-align: left; }
  /* Kartu lebar penuh di HP: kurangi padding agar isinya (mis. countdown 4 kolom)
     tidak memaksa halaman melebar. */
  .award-band, .vote-band, .submit-band, .donate-band, .about-cta-band, .pay-head { padding: 20px; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .section-head > div { min-width: 0; }
  .section-title { overflow-wrap: anywhere; }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cd-cell, .countdown-lg .cd-cell { min-width: 0; }
  .countdown-lg .cd-cell strong { font-size: 1.7rem; }
  .pay-head-list { gap: 14px; flex-wrap: wrap; }
  .donate-band, .submit-band { gap: 18px; }
}

/* Pemutar video selebar layar di HP (sudut tetap membulat & rasio presisi) */
@media (max-width: 560px) {
  .watch-section { margin: 20px 0 34px; }
  .watch-player { margin: 0 -.6rem; }
  .player-frame, .watch-player .player-frame { border-radius: 14px; }
  .detail-wrap { padding-top: 24px; }
  .cp-btn { width: 34px; height: 34px; }
  .cp-volume { width: 60px; }
  .player-fs { bottom: 56px; padding: 7px 11px; font-size: .72rem; }
  .player-fs span { display: none; }
}

@media (max-width: 430px) {
  /* Header harus muat di 320px: logo dikecilkan, SUBMIT pindah ke menu hamburger
     (tombol SUBMIT tetap tersedia di hero & menu mobile). */
  .header-inner { padding: 8px 12px; gap: 8px; }
  .header-actions { gap: 6px; }
  .brand-logo { max-width: min(52vw, 200px); }
  .submit-cta { display: none; }
  .hamburger { padding: 8px 4px; }
  .filter-search { flex: 1 1 100%; max-width: none; }
  .filter-search input { min-width: 0; }
  .countdown-band-inner { gap: 14px; padding-block: 18px; }
  .cd-head { gap: 2px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stat { padding: 12px 6px; }
  .hero-stat strong { font-size: 1.25rem; }
  .hero-stat span { font-size: .58rem; letter-spacing: .08em; }
  .container { padding: 0 14px; }
  .watch-player { margin: 0 -.4rem; }
}

@media (max-width: 420px) {
  .movie-grid { gap: 16px 12px; }
  .card-actions .btn { font-size: .78rem; padding: 0 6px; }
  .hero-title { font-size: 2.3rem; }
  .btn-lg { padding: .8rem 1.1rem; font-size: .92rem; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pay-total { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
