/* ============ Font ============
   Inter Tight (SIL OFL 1.1) — pengganti gratis PP Neue Montreal.
   Hasil kalibrasi: weight 450 + letter-spacing -0.01em → lebar teks beda ~0.3% dari aslinya.
   File lokal dipakai duluan; kalau belum ada, otomatis fallback ke CDN. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterTight-Variable.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/fontsource/fonts/inter-tight:vf@latest/latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #181818;
  --fg: #fafafa;
  --dim: #bcbcbc;
  --accent: #f5f89e;
  --accent-ink: #171717;
  --border: rgba(255, 255, 255, 0.08);
  --card: 400px;      /* tailwind w-100 */
  --card-mx: 16px;    /* md:mx-4 */
  --row-gap: 16px;    /* md:space-y-4 */
  --pad-x: 3.65vw;    /* 55px @1512, 68px @1864 — sama kayak aslinya */
  --font: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  height: 100%;
  overflow: hidden;           /* semua halaman 1 layar, tanpa scroll */
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============ Top bar ============ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(24, 24, 24, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.logo { display: grid; place-items: center; width: 28px; height: 28px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; padding-right: 4px; }
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* ============ Halaman (semua 1 layar) ============ */
.page {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* ============ Transisi antar-halaman: fade + stagger ============
   Chrome/Edge 126+, Safari 18.2+. Browser lain tetep pindah halaman normal.
   Sengaja tanpa blur di full layar (blur seukuran layar bikin patah-patah). */
@view-transition { navigation: auto; }
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.5, 0, 0.75, 0); }
.topbar { view-transition-name: topbar; }
::view-transition-old(topbar) { display: none; }          /* top bar diem, gak ikut fade */
::view-transition-new(topbar) { animation: none; }
::view-transition-old(root) { animation: vt-out 0.3s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.01); } }

/* Elemen halaman baru muncul bertahap (jalan juga pas load pertama) */
@keyframes rise { from { opacity: 0; translate: 0 22px; filter: blur(8px); } }
.stagger > * { animation: rise 0.9s var(--ease-out) both; }
.stagger > :nth-child(1) { animation-delay: calc(var(--base, 0s) + 0.06s); }
.stagger > :nth-child(2) { animation-delay: calc(var(--base, 0s) + 0.14s); }
.stagger > :nth-child(3) { animation-delay: calc(var(--base, 0s) + 0.22s); }
.stagger > :nth-child(4) { animation-delay: calc(var(--base, 0s) + 0.30s); }
.stagger > :nth-child(5) { animation-delay: calc(var(--base, 0s) + 0.38s); }
.stagger > :nth-child(6) { animation-delay: calc(var(--base, 0s) + 0.46s); }
.features.stagger { --base: 0.28s; }
.tickets.stagger { --base: 0.3s; }
@keyframes wall-in { from { opacity: 0; scale: 1.06; } }
.wall { animation: wall-in 1.6s var(--ease-out) both; }
.toast { animation: rise 0.9s var(--ease-out) 0.6s both; }

/* Dinding cover */
.wall {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plane {
  z-index: 20;
  width: 200%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--row-gap);
  /* = translateZ(851px) aslinya catalog (nilai di posisi paling atas), dihitung jadi geser 2D
     (hasil visual sama, klik gak meleset). Arah sumbu Z setelah rotasi = (-0.342, -0.6645). */
  --tz: 851px;
  transform: translate(calc(var(--tz) * -0.342), calc(var(--tz) * -0.6645)) rotateX(45deg) rotateY(-20deg) rotateZ(30deg);
  will-change: transform;
}

.row {
  display: flex;
  flex-direction: row;
  width: max-content;      /* kayak catalog: lebar ngikutin isi, ditaruh di tengah plane (nyebrang rata kiri-kanan) */
  flex-shrink: 0;
  animation: marquee-x-right 100s linear infinite;
}
.row.left { animation-name: marquee-x-left; }
.row.spacer { height: var(--card); animation: none; }   /* baris kosong, kayak catalog */
.row.m-row { height: var(--card); animation: none; }    /* desktop = spacer */
.row.m-row > * { display: none; }

/* Keyframes persis dari aslinya */
@keyframes marquee-x-left {
  0%   { transform: translate(33%); }
  100% { transform: translate(-17%); }
}
@keyframes marquee-x-right {
  0%   { transform: translate(-23%); }
  100% { transform: translate(27%); }
}

.card {
  position: relative;
  flex-shrink: 0;
  width: var(--card);
  height: var(--card);
  margin: 0 var(--card-mx);
  overflow: hidden;
  cursor: pointer;
  background: #232323;
  transform: translateZ(0);
  box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.2), 0 2px 4px -2px rgba(255, 255, 255, 0.2);
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, opacity 0.6s ease;
  opacity: 0;
}
.card img.loaded { opacity: 1; }

/* Cover fallback (kalau offline) */
.card .art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 18px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.9);
}

.card .meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
  line-height: 1.25;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
}
.card .meta h3 { margin: 0; font-size: 18px; font-weight: 500; color: var(--fg); }
.card .meta p  { margin: 0; font-size: 18px; font-weight: 400; color: var(--dim); }

.card:hover img { filter: brightness(0.55); }
.card:hover .meta,
.card.playing .meta { opacity: 1; }
.card.playing img { filter: brightness(0.55); }

.card .eq {
  position: absolute;
  top: 12px; right: 12px;
  display: none;
  gap: 3px;
  align-items: flex-end;
  height: 18px;
}
.card.playing .eq { display: flex; }
.card .eq i {
  width: 3px;
  background: var(--accent);
  animation: eq 0.9s ease-in-out infinite;
}
.card .eq i:nth-child(2) { animation-delay: -0.3s; }
.card .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }

/* Toast — ukuran & bentuk persis catalog (rounded-2xl, h 82, px 22, gap 20) */
.toast {
  position: absolute;
  z-index: 40;
  top: 59px;
  right: 18px;
  height: 82px;
  min-width: 380px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  background: #181818;
  border: 1px solid #303030;
  border-radius: 16px;
  overflow: clip;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast > svg { flex: none; width: 32px; height: 32px; }
.toast.hide { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.toast-text { min-width: 0; }
.toast-text p { margin: 0; font-size: 16px; line-height: 24px; color: #fff; }
.toast-text a { font-size: 16px; line-height: 24px; color: #f6f8a9; white-space: nowrap; }
.toast-text a .u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.toast-close { margin-left: auto; width: 24px; height: 24px; display: grid; place-items: center; color: #8a8a8a; border-radius: 6px; transition: color 0.2s ease; }
.toast-close:hover { color: var(--fg); }

/* Konten hero */
.hero-content {
  position: absolute;
  z-index: 30;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 46px;
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }

.ascii {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 32px 0;
}

h1 {
  margin: 0;
  font-size: 40px;
  line-height: 40px;
  font-weight: 450;
  color: var(--fg);
}

.actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.actions-left, .actions-right { display: flex; align-items: center; gap: 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 40px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { filter: brightness(0.94); }
.btn-primary:active { transform: scale(0.98); }

.link {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--dim);
  border-radius: 8px;
  transition: color 0.2s ease;
}
.link:hover { color: var(--fg); }

.chevron {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  bottom: 16px;
  border-radius: 50%;
  color: #5a5a5a;
  transition: color 0.2s ease, background 0.2s ease;
  animation: nudge 2.4s ease-in-out infinite;
}
.chevron:hover, .chevron:focus-visible { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 3px); } }

/* ============ Shared: eyebrow / lead ============ */
.eyebrow { margin: 0 0 14px; font-size: 18px; font-weight: 500; color: var(--dim); }
.lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.45;
  color: var(--dim);
}

/* ============ About ============ */
.wall.is-dim { opacity: 0.3; }
.shade {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 22%, rgba(24, 24, 24, 0.75) 55%, rgba(24, 24, 24, 0.25) 100%);
}
.about {
  position: absolute;
  z-index: 30;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.features li { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.features h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.features p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--dim); }

/* ============ Download ============ */
.download {
  position: absolute;
  z-index: 30;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 46px;
}
/* ---------- Tiket konser ---------- */
.tickets {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 340px));
  gap: 22px;
}
.ticket-wrap { min-width: 0; }
.ticket-tilt {
  --rot: -2deg; --dy: 0px;
  transform: rotate(var(--rot)) translateY(var(--dy));
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.ticket-wrap:nth-child(2) .ticket-tilt { --rot: 1.4deg; --dy: 8px; }
.ticket-wrap:nth-child(3) .ticket-tilt { --rot: -1deg; --dy: -4px; }
.ticket-wrap:nth-child(4) .ticket-tilt { --rot: 2deg; --dy: 5px; }
.ticket-wrap:hover .ticket-tilt {
  transform: rotate(0deg) translateY(-10px) scale(1.02);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.55));
}

.ticket {
  --paper: #252525;
  --stub: #1f1f1f;
  --ink: var(--fg);
  --ink-dim: var(--dim);
  --perf: rgba(255, 255, 255, 0.16);
  --notch: 10px;
  position: relative;
  display: flex;
  height: 172px;
  color: var(--ink);
}
.ticket.is-live { --paper: #f5f89e; --stub: #e9ec8c; --ink: #171717; --ink-dim: rgba(23, 23, 23, 0.6); --perf: rgba(23, 23, 23, 0.28); }
.ticket.is-dns  { --stub: #2c2d22; }

/* badan tiket + takik di kanan */
.t-main {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 14px 18px;
  background: var(--paper);
  border-radius: 14px 0 0 14px;
  -webkit-mask:
    radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}
/* tekstur kertas tipis */
.t-main::after, .t-stub::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.ticket.is-live .t-main::after, .ticket.is-live .t-stub::after { mix-blend-mode: multiply; opacity: 0.12; }

.t-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}
.t-top span:first-child { overflow: hidden; text-overflow: ellipsis; }
.t-name { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 500; line-height: 1; }
.t-sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-fields {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px dashed var(--perf);
}
.t-fields small { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.t-fields b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; white-space: nowrap; }

/* stub + takik di kiri + garis sobekan */
.t-stub {
  position: relative;
  flex: none;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 10px 14px;
  background: var(--stub);
  color: var(--ink);
  border: 0;
  border-radius: 0 14px 14px 0;
  font: inherit;
  cursor: default;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
  transform-origin: 0 0;
}
.t-stub::before {
  content: "";
  position: absolute;
  left: 0; top: calc(var(--notch) + 6px); bottom: calc(var(--notch) + 6px);
  border-left: 2px dashed var(--perf);
}
a.t-stub, button.t-stub { cursor: pointer; }
.barcode { display: block; width: 64px; height: 46px; color: var(--ink); opacity: 0.85; }
.barcode svg { display: block; width: 100%; height: 100%; }
.t-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.ticket:not(.is-live):not(.is-dns) .t-action { color: var(--ink-dim); font-weight: 500; }
.ticket.is-dns .t-action { color: var(--accent); }
a.t-stub:hover .t-action svg { animation: nudge-down 0.9s ease-in-out infinite; }
@keyframes nudge-down { 50% { transform: translateY(3px); } }

/* stub kesobek pas diklik */
.t-stub.tearing { animation: tear 0.7s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
@keyframes tear {
  0%   { transform: none; }
  25%  { transform: rotate(5deg) translate(3px, -2px); }
  100% { transform: rotate(28deg) translate(40px, 140px); opacity: 0; }
}
.t-stub.regrow { animation: regrow 0.5s var(--ease-out) both; }
@keyframes regrow { from { opacity: 0; transform: translateX(-12px); } }

/* cap "Your device" */
.stamp {
  position: absolute;
  top: 10px; right: 104px;
  display: none;
  padding: 3px 8px;
  border: 2px solid currentColor;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d9463b;
  transform: rotate(-12deg);
  opacity: 0.85;
  mix-blend-mode: multiply;
}
.ticket:not(.is-live) .stamp { color: var(--accent); mix-blend-mode: normal; opacity: 0.8; }
.ticket-wrap.is-you .t-top span:last-child { visibility: hidden; }   /* cap gantiin "No." */
.ticket-wrap.is-you .stamp { display: block; animation: stamp-in 0.5s var(--ease-out) 1s both; }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } }

/* Pop-up panduan */
.sheet {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #1f1f1f;
  color: var(--fg);
  font-family: var(--font);
  letter-spacing: -0.01em;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.sheet[open] { animation: sheet-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { margin: 0; font-size: 24px; font-weight: 500; }
.sheet-close { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--dim); }
.sheet-close:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.sheet-sub { margin: 6px 0 20px; font-size: 15px; line-height: 1.45; color: var(--dim); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 40px;
  border-top: 1px solid var(--border);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li:first-child::before { top: -2px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 10px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 13px; font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
}
.steps strong { display: block; font-size: 15px; font-weight: 500; color: var(--fg); }
.steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--dim); }
.steps code { font-family: inherit; font-size: 13px; color: var(--fg); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.sheet-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
}
.sheet-actions { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.sheet-actions .btn-primary { justify-content: center; padding: 0 20px; }
.btn-ghost {
  height: 48px; padding: 0 22px; border-radius: 16px;
  font-size: 16px; font-weight: 500; color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; }
.sheet-actions-3 { grid-template-columns: 1fr 1fr; }
.sheet-actions-3 .btn-ghost { grid-column: 1 / -1; }
.sheet-actions .btn-primary, .sheet-actions .btn-ghost { white-space: nowrap; }
@media (max-width: 639px) { .sheet { padding: 20px; } .sheet-actions .btn-primary, .sheet-actions .btn-ghost { font-size: 15px; padding: 0 12px; } }
/* tab jalur install */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.seg-btn { height: 38px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--dim); transition: background 0.2s ease, color 0.2s ease; }
.seg-btn.is-on { background: rgba(255, 255, 255, 0.1); color: var(--fg); }
.seg-panel[hidden] { display: none; }
.seg-panel.is-on { animation: rise 0.45s var(--ease-out) both; }

/* ============ Charts: dinding cover full layar ============ */
.wall-full .plane { --card: 230px; --card-mx: 10px; --row-gap: 20px; height: 100%; transform: rotateX(45deg) rotateY(-20deg) rotateZ(30deg); }   /* Charts: tanpa geser, biar full layar */
.wall-full .row { justify-content: center; }   /* isi baris nyebrang ke 2 sisi, gak ada celah pas jalan */
.card .rank {
  position: absolute;
  top: 10px; left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover .rank, .card.playing .rank { opacity: 1; }
.card.playing { box-shadow: 0 0 0 3px var(--accent), 0 4px 6px -1px rgba(255, 255, 255, 0.2); }
.chart-hint {
  position: absolute;
  z-index: 30;
  left: var(--pad-x);
  bottom: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15px;
  animation: rise 0.9s var(--ease-out) 0.5s both;
}
.chart-hint b { font-weight: 500; }
.chart-hint span { color: var(--dim); }

/* ============ Download: mosaik mata (sprite dari video referensi) ============ */
.eyes { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #111; }
.eyes-grid { position: absolute; left: 50%; top: 50%; display: grid; }
.eye {
  position: relative;
  overflow: hidden;
  background: var(--sheet) var(--p0) / var(--bs) no-repeat;
  animation: eye-in 0.8s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes eye-in { from { opacity: 0; scale: 0.9; } }
/* pupil cuma keliatan di dalam mata (mask = area dalam mata) */
.eye-clip {
  position: absolute; inset: 0;
  -webkit-mask: var(--sheet) var(--p2) / var(--bs) no-repeat;
          mask: var(--sheet) var(--p2) / var(--bs) no-repeat;
}
.eye-pupil { position: absolute; inset: 0; background: var(--sheet) var(--p1) / var(--bs) no-repeat; will-change: transform; }
/* kelopak buat kedip: bentuknya ngikutin area dalam mata */
.eye-lid {
  position: absolute; inset: 0;
  background: var(--sheet) var(--p2) / var(--bs) no-repeat;
  clip-path: inset(0 0 100% 0);
}
.eye.blink .eye-lid { animation: lid 0.3s ease-in-out; }
@keyframes lid { 45%, 55% { clip-path: inset(0 0 0 0); } }
/* gelapin bagian bawah biar teks + tiket kebaca */
.eyes-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(24, 24, 24, 0.94) 34%, rgba(24, 24, 24, 0.55) 60%, rgba(24, 24, 24, 0.08) 85%);
}

/* ============ Responsive (ngikutin breakpoint tailwind aslinya) ============ */
@media (min-width: 1600px) {
  .topbar { height: 64px; padding: 0 16px; }
  .toast { top: 71px; }
}
@media (max-width: 767px) {
  :root { --card-mx: 12px; --row-gap: 12px; }
}
/* Layar pendek: kompres biar tetep muat 1 layar */
@media (max-height: 820px) {
  .lead { font-size: 16px; margin-top: 14px; }
  .features { gap: 20px 28px; }
  .features p { font-size: 15px; }
  .tickets { margin-top: 22px; }
  .ticket { height: 158px; }
  .t-name { margin-top: 10px; font-size: 23px; }
}
@media (max-width: 1440px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px 22px; }
  .ticket { height: 140px; }
  .t-sub { display: none; }
}
@media (max-width: 1023px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 639px) {
  :root { --card: 200px; --card-mx: 8px; --row-gap: 8px; --pad-x: 20px; }
  .nav { gap: 16px; }
  .nav a { font-size: 15px; }
  .eyebrow { font-size: 15px; margin-bottom: 10px; }
  .lead { font-size: 15px; }
  .about, .download { bottom: 28px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .features h3 { font-size: 16px; }
  .features p { font-size: 13px; }
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
  .ticket-tilt { --rot: -0.8deg; }
  .ticket-wrap:nth-child(2) .ticket-tilt { --rot: 0.6deg; --dy: 0px; }
  .ticket-wrap:nth-child(3) .ticket-tilt { --rot: -0.5deg; --dy: 0px; }
  .ticket-wrap:nth-child(4) .ticket-tilt { --rot: 0.8deg; --dy: 0px; }
  .ticket { height: 74px; --notch: 8px; }
  .t-main { justify-content: center; padding: 10px 14px; }
  .t-top, .t-fields, .t-sub { display: none; }
  .t-name { margin: 0; font-size: 20px; }
  .t-stub { width: 104px; justify-content: center; padding: 8px; }
  .barcode { display: none; }
  .stamp { top: 50%; right: 116px; translate: 0 -50%; font-size: 10px; }
  .wall { align-items: flex-start; padding-top: 80px; }
  .plane { height: 75%; }
  h1 { display: inline; font-size: 28px; line-height: 30px; }   /* 2 baris jadi 1 kalimat, wrap natural */
  .hero-content, .about-intro, .download-intro { text-wrap: balance; }
  .actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .toast { left: 8px; right: 8px; min-width: 0; }
  /* Home & About di HP: geser + ukuran kartu hasil eksperimen (cover ~70% area atas, teks bersih) */
  .wall:not(.wall-full) .plane { --tz: 400px; --card: 240px; }
  .hero-content .btn-primary { padding: 0 26px; }
  .chevron { display: none; }
  .wall-full { padding-top: 0; align-items: center; }
  .wall-full .plane { --card: 170px; --card-mx: 8px; --row-gap: 14px; width: 320%; }
  .chart-hint { left: 12px; right: 12px; bottom: 16px; justify-content: center; font-size: 14px; }
}

/* HP pendek (iPhone SE dkk) */
/* HP: baris atas yang kosong diisi cover juga (3 baris) */
@media (max-width: 639px) {
  .wall:not(.wall-full) .row.m-row { height: auto; animation: marquee-x-left 100s linear infinite; }
  .wall:not(.wall-full) .row.m-row > * { display: block; }
}
@media (max-width: 639px) and (max-height: 720px) {
  .wall:not(.wall-full) .plane { --tz: 550px; --card: 200px; }
}

/* Animasi sengaja TIDAK dimatiin walau OS set "reduce motion" (sama kayak catalog.works) */
