/* ==========================================================================
   IDSpeaker v2 — opsi hero B (Line-up), C (Sorot), D (Kartu), E (Huruf berfoto)
   Opsi A ("Panggung") ada di v2.css. Pilih satu, lalu hapus sisanya.
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pemilih opsi (hanya saat APP_DEBUG) */
.hx-switch { position: fixed; z-index: 120; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); border: 2px solid rgba(255, 255, 255, .2); }
.hx-switch > span { opacity: .6; margin-right: 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.hx-switch a { padding: 8px 14px 8px 8px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.hx-switch a b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 11px; }
.hx-switch a:hover { background: rgba(255, 255, 255, .14); }
.hx-switch a.is-on { background: var(--sun); color: var(--ink); }
.hx-switch a.is-on b { background: var(--ink); color: var(--sun); }

/* ---------------------------------------------------------------- B · LINE-UP */
.hb { position: relative; background: var(--ink); color: #fff; padding: 158px 0 150px; overflow: hidden; }
.hb__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 520px at 6% 96%, rgba(229, 25, 31, .6), transparent 70%), radial-gradient(620px 480px at 96% 4%, rgba(255, 92, 138, .34), transparent 70%); }
.hb__grain { position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: radial-gradient(#fff 1px, transparent 1.2px); background-size: 18px 18px; }
.hb__badge { position: absolute; right: 3.5%; top: 118px; width: 150px; height: 150px; color: var(--sun); animation: spin 26s linear infinite; z-index: 1; }
.hb__grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; }
.hb__kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
.hb__kicker i { width: 10px; height: 10px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 4px rgba(229, 25, 31, .4); animation: twinkle 2s ease-in-out infinite; }
.hb__title { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin-top: 22px; }
.hb__sub { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 480px; margin-top: 22px; }
.hb__stats { display: flex; gap: 38px; margin-top: 40px; }
.hb__stats b { display: block; font-size: 46px; line-height: 1; font-weight: 800; color: var(--sun); letter-spacing: -.03em; }
.hb__stats span { font-size: 13.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.hb__list { list-style: none; margin: 0; padding: 0; }
.hb__row { display: grid; grid-template-columns: 54px 1fr auto 34px; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 2px solid rgba(255, 255, 255, .14); transition: opacity .25s, color .2s; }
.hb__no { font-family: 'Caveat', cursive; font-size: 26px; color: var(--sun); font-weight: 700; }
.hb__name { white-space: nowrap; font-size: clamp(26px, 3vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; transition: transform .35s var(--ease), color .2s; }
.hb__role { font-size: 13.5px; color: rgba(255, 255, 255, .6); font-weight: 600; max-width: 230px; text-align: right; line-height: 1.3; }
.hb__row svg { width: 28px; height: 28px; color: var(--sun); opacity: 0; translate: -10px 0; transition: opacity .3s, translate .35s var(--ease); }
.hb__list:hover .hb__row { opacity: .28; }
.hb__list .hb__row:hover { opacity: 1; }
.hb__row:hover .hb__name { transform: translateX(16px); color: var(--sun); }
.hb__row:hover svg { opacity: 1; translate: 0 0; }
.hb__hint { margin-top: 16px; text-align: right; font-size: 26px; color: var(--sun); rotate: -2deg; }
.hb__peek { position: fixed; left: 0; top: 0; z-index: 60; width: 190px; pointer-events: none; opacity: 0; scale: .7; transition: opacity .2s, scale .35s var(--ease); background: #fff; border: var(--stk); border-radius: 20px; padding: 8px 8px 0; box-shadow: var(--stk-shadow); color: var(--ink); }
.hb__peek.is-on { opacity: 1; scale: 1; }
.hb__peek img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: center top; border-radius: 12px; background: #ffe08a; }
.hb__peek-tag { display: block; padding: 8px 2px 9px; font-weight: 800; font-size: 13px; text-align: center; }

/* ---------------------------------------------------------------- C · SOROT */
.hc { position: relative; min-height: 920px; height: 100vh; max-height: 1100px; background: #0d0407; color: #fff; overflow: hidden; --mx: 50%; --my: 46%; --ang: 0deg; --len: 900px; }
.hc__curtain { position: absolute; top: 0; bottom: 0; width: 11%; z-index: 3; background: repeating-linear-gradient(90deg, #7a0810 0 28px, #a30f19 28px 58px, #6a060d 58px 84px); }
.hc__curtain::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.hc__curtain--l { left: 0; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.hc__curtain--r { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); }
.hc__curtain--r::after { background: linear-gradient(270deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.hc__valance { position: absolute; left: 0; right: 0; top: 0; height: 78px; z-index: 4; background: radial-gradient(circle at 50% 100%, #8e0a12 0 38px, transparent 39px) 0 100% / 76px 76px repeat-x, linear-gradient(#6a060d, #8e0a12) 0 0 / 100% 46px no-repeat; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.hc__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 1; background: linear-gradient(180deg, #1b0b0f, #090304); border-top: 2px solid rgba(255, 255, 255, .06); }
.hc__scene { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hc__h { position: absolute; left: 0; right: 0; top: 17%; text-align: center; font-size: clamp(30px, 4.4vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hc__h span { display: block; }
.hc__h em { font-style: normal; color: var(--sun); }
.hc__ph { position: absolute; background: #fff; border: var(--stk); border-radius: 18px; padding: 6px 6px 0; box-shadow: var(--stk-shadow); }
.hc__ph img { width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: center top; border-radius: 11px; }
.hc__ph span { display: block; padding: 7px 2px 8px; font-weight: 800; font-size: 12.5px; text-align: center; color: var(--ink); }
.hc__mascot { position: absolute; left: 50%; bottom: 6%; width: 190px; height: 253px; margin-left: -95px; }
/* lapisan redup: gelap & abu-abu; lapisan terang: berwarna, hanya terlihat di bawah sorot */
.hc__scene--dim { opacity: .55; }
.hc__scene--dim .hc__h { color: rgba(255, 255, 255, .14); }
.hc__scene--dim .hc__ph, .hc__scene--dim .hc__mascot { filter: grayscale(1) brightness(.4); }
.hc__scene--lit { -webkit-mask-image: radial-gradient(circle 330px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .9) 38%, transparent 100%); mask-image: radial-gradient(circle 330px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .9) 38%, transparent 100%); }
.hc__lamp { position: absolute; left: 50%; top: 52px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; z-index: 5; background: radial-gradient(circle at 40% 35%, #fff, #ffe9b0 55%, #d8a63a); box-shadow: 0 0 40px 14px rgba(255, 233, 176, .55); }
.hc__cone { position: absolute; left: 50%; top: 70px; width: 700px; height: var(--len); margin-left: -350px; z-index: 5; transform-origin: 50% 0; transform: rotate(var(--ang)); pointer-events: none; mix-blend-mode: screen; opacity: .55; background: linear-gradient(180deg, rgba(255, 236, 190, .7), rgba(255, 236, 190, 0) 88%); clip-path: polygon(48% 0, 52% 0, 100% 100%, 0 100%); }
.hc__ui { position: absolute; left: 0; right: 0; top: 43%; z-index: 6; text-align: center; }
.hc__ui .hero__cta { justify-content: center; margin-top: 0; }
.hc__hint { margin-top: 18px; font-size: 26px; color: var(--sun); }

/* ---------------------------------------------------------------- D · KARTU */
.hd { position: relative; background: linear-gradient(135deg, #a80010 0%, #e5191f 40%, #ff4d3f 70%, #ff7a59 100%); color: #fff; padding: 158px 0 150px; overflow: hidden; }
.hd__bg { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#fff 2px, transparent 2.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000, transparent 75%); }
.hd .doodle { position: absolute; }
.hd__d1 { width: 40px; left: 46%; top: 130px; color: var(--sun); animation: twinkle 3s ease-in-out infinite; }
.hd__d2 { width: 44px; right: 5%; bottom: 150px; rotate: 14deg; animation: bob 5s ease-in-out infinite; }
.hd__d3 { width: 120px; left: 4%; bottom: 120px; color: #fff; opacity: .7; }
.hd__grid { position: relative; display: grid; grid-template-columns: .84fr 1.16fr; gap: 24px; align-items: center; }
.hd__title { font-size: clamp(42px, 5vw, 74px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin-top: 26px; }
.hd__hint { margin-top: 26px; font-size: 26px; color: var(--sun); }
.hd__deck { position: relative; height: 520px; width: 100%; max-width: 680px; margin-left: auto; }
.card {
  position: absolute; left: 50%; top: 56px; width: 232px; margin-left: -116px; padding: 12px 12px 14px; z-index: var(--z);
  display: flex; flex-direction: column; gap: 6px; background: #fffaf5; color: var(--ink); border: var(--stk); border-radius: 24px; box-shadow: 6px 8px 0 var(--ink);
  transform-origin: 50% 115%; transform: translateX(calc(var(--o) * 68px)) translateY(calc(var(--o) * var(--o) * 10px)) rotate(calc(var(--o) * 6deg)) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s var(--ease), box-shadow .3s; will-change: transform;
}
.card:hover, .card:focus-visible { z-index: 30; transform: translateX(calc(var(--o) * 68px)) translateY(-40px) rotate(0deg) scale(1.08) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 10px 14px 0 var(--ink); transition: transform .12s linear, box-shadow .3s; }
.card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; padding: 0 4px; }
.card__top b { letter-spacing: .08em; text-transform: uppercase; }
.card__top i { font-style: normal; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 9px; }
.card__photo { display: block; aspect-ratio: 1 / 1.02; border-radius: 14px; overflow: hidden; background: var(--c); border: 2.5px solid var(--ink); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.card__name { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; padding: 6px 4px 0; }
.card__role { font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.3; padding: 0 4px; min-height: 33px; }
.card__chips { display: flex; gap: 6px; padding: 0 4px; flex-wrap: wrap; }
.card__chips u { text-decoration: none; font-size: 11px; font-weight: 800; background: var(--c); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 9px; }
.card__foot { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; padding: 6px 4px 0; border-top: 2px dashed rgba(26, 10, 12, .35); margin-top: 4px; }
.card__foot span:last-child { color: var(--red); }
.card__foil { position: absolute; inset: 0; z-index: 3; border-radius: 21px; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 40%), rgba(255, 255, 255, .95), transparent 46%), linear-gradient(115deg, transparent 18%, rgba(255, 60, 172, .65) 34%, rgba(60, 255, 225, .65) 50%, rgba(255, 225, 60, .65) 66%, transparent 82%);
  background-size: 100% 100%, 260% 260%; background-position: 0 0, var(--bx, 50%) var(--by, 50%); }
.card:hover .card__foil { opacity: .9; }

/* ---------------------------------------------------------------- E · HURUF BERFOTO */
.he { position: relative; color: #fff; padding: 150px 0 140px; overflow: hidden; background: var(--grad-hero); text-align: center; }
.he__bg { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(#fff 1.6px, transparent 1.7px); background-size: 28px 28px; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.he__wrap { position: relative; }
.he__eyebrow { margin-bottom: 18px; }
.he__h1 { margin: 0; }
.he__bigbox { position: relative; display: block; }
.he__big { display: flex; justify-content: center; gap: .01em; font-size: clamp(92px, 20.5vw, 330px); font-weight: 800; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; user-select: none; }
.he__l { display: inline-block; cursor: pointer; background-image: var(--img); background-size: cover; background-position: center 18%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 6px #fff; paint-order: stroke fill; transition: transform .4s var(--ease), filter .3s; filter: drop-shadow(0 12px 0 rgba(26, 10, 12, .35)); }
.he__l:hover { transform: translateY(-.07em) rotate(-4deg) scale(1.05); }
.he__l.is-pop { animation: hePop .7s var(--ease); }
@keyframes hePop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-.12em) rotate(-5deg) scale(1.08); } 100% { transform: translateY(0) scale(1); } }
.he__mascot { position: absolute; right: 3%; top: -6%; width: 7.2vw; max-width: 112px; min-width: 70px; aspect-ratio: 240 / 320; height: auto; rotate: 8deg; animation: bob 4.4s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(80, 0, 8, .4)); }
.he__small { display: block; margin-top: 10px; font-size: clamp(30px, 4vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.he__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 46px; text-align: left; }
.he__row .hero__sub { margin-top: 0; }
.he__row .hero__cta { margin-top: 0; flex: none; }
.he__small .rotor__w { left: 0; right: 0; text-align: center; }
.he__hint { margin-top: 28px; font-size: 26px; color: var(--sun); }

/* ---------------------------------------------------------------- responsif */
@media (max-width: 1100px) {
  .hb__badge, .hb__role { display: none; }
  .hb__grid, .hd__grid { grid-template-columns: 1fr; }
  .hb__row { grid-template-columns: 44px 1fr 34px; }
  .hd__deck { margin: 20px auto 0; max-width: 560px; height: 480px; }
  .he__row { flex-direction: column; align-items: center; text-align: center; }
  .hc__ph:nth-of-type(n+5) { display: none; }
}
@media (max-width: 640px) {
  .hc { min-height: 820px; }
  .hc__curtain { width: 8%; }
  .card { width: 210px; margin-left: -105px; transform: translateX(calc(var(--o) * 52px)) translateY(calc(var(--o) * var(--o) * 10px)) rotate(calc(var(--o) * 8deg)); }
  .hx-switch > span { display: none; }
  .he__l { -webkit-text-stroke-width: 3px; }
}
@media (prefers-reduced-motion: reduce) { .hb__badge, .he__mascot, .hb__kicker i { animation: none !important; } }
