/* =========================================================
   Action AI Boost — Demo Day · Pixel Party stylesheet
   ========================================================= */

:root {
  --bg: #fff7e8;
  --bg-2: #ffeccb;
  --surface: #ffffff;
  --surface-2: #fff3dc;
  --ink: #1d1537;
  --ink-soft: #4a416b;
  --muted: #7a7196;
  --border: #1d1537;
  --shadow-c: #1d1537;
  --dot: rgba(29, 21, 55, 0.09);

  --pink: #ff4f9a;
  --yellow: #ffc93c;
  --cyan: #27c3f0;
  --purple: #7c5cff;
  --green: #3ddc84;
  --orange: #ff8a3d;

  --primary: var(--pink);
  --on-primary: #ffffff;
  --on-accent: #1d1537;

  --sky-top: #7fd3ff;
  --sky-mid: #bfe9ff;
  --sky-bot: #fff7e8;

  --font-display: 'Pixelify Sans', 'Galmuri11', 'Press Start 2P', ui-monospace, monospace;
  --font-pixel: 'Press Start 2P', 'Galmuri11', 'Pixelify Sans', ui-monospace, monospace;
  --font-body: 'Plus Jakarta Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 0px;
  --b: 3px;
  --sh: 5px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --s-k: #1d1537;
  --s-w: #ffffff;

  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #110d26;
  --bg-2: #181236;
  --surface: #1f1944;
  --surface-2: #2a2257;
  --ink: #f4eeff;
  --ink-soft: #cfc6f2;
  --muted: #a198cf;
  --border: #0a0718;
  --shadow-c: #05030f;
  --dot: rgba(244, 238, 255, 0.07);

  --primary: #ff5fa6;
  --yellow: #ffd45c;
  --cyan: #4fd8ff;
  --purple: #9b82ff;
  --green: #5bf0a0;

  --sky-top: #0b0820;
  --sky-mid: #1b1450;
  --sky-bot: #110d26;

  --s-k: #0a0718;
  --s-w: #f4eeff;

  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
html.modal-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
code {
  font-family: var(--font-pixel);
  font-size: 0.7em;
  background: var(--surface-2);
  padding: 2px 6px;
}

::selection {
  background: var(--yellow);
  color: #1d1537;
}

:focus-visible {
  outline: 3px dashed var(--primary);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--yellow);
  color: #1d1537;
  padding: 10px 14px;
  font-family: var(--font-pixel);
  font-size: 11px;
}
.skip:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow {
  max-width: 860px;
}

/* sprites */
.spr {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}
.s-k { fill: var(--s-k); }
.s-w { fill: var(--s-w); }
.s-y { fill: #ffc93c; }
.s-o { fill: #ff8a3d; }
.s-p { fill: #ff4f9a; }
.s-c { fill: #27c3f0; }
.s-g { fill: #3ddc84; }
.s-u { fill: #7c5cff; }

.blink {
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- pixel primitives ---------- */
.pixel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 7px 10px 6px;
  background: var(--yellow);
  color: #1d1537;
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  text-transform: uppercase;
}

.px-card {
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  position: relative;
}

.card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--purple);
  color: #fff;
  border-bottom: var(--b) solid var(--border);
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.card-bar i {
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid var(--border);
}
.card-bar i:nth-child(1) { background: var(--pink); }
.card-bar i:nth-child(2) { background: var(--yellow); }
.card-bar i:nth-child(3) { background: var(--green); }
.card-bar span {
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px 12px;
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--b) solid var(--border);
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.16), inset 4px 4px 0 rgba(255, 255, 255, 0.35), 4px 4px 0 var(--shadow-c);
  cursor: pointer;
  transition: transform 0.1s steps(2), box-shadow 0.1s steps(2);
  white-space: nowrap;
  user-select: none;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.16), inset 4px 4px 0 rgba(255, 255, 255, 0.35), 6px 6px 0 var(--shadow-c);
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.16), 0 0 0 var(--shadow-c);
}
.btn b {
  font-weight: normal;
}
.btn-primary {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
}
.btn-ghost {
  --btn-bg: var(--yellow);
  --btn-fg: #1d1537;
}
.btn-sm {
  padding: 9px 12px 8px;
  font-size: 9px;
}
.btn-lg {
  padding: 16px 22px 15px;
  font-size: 12px;
}

.chip {
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 8px 11px 7px;
  background: var(--surface);
  color: var(--ink);
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  cursor: pointer;
  transition: transform 0.1s steps(2);
  text-transform: uppercase;
}
.chip:hover {
  transform: translate(-1px, -1px);
}
.chip.is-active {
  background: var(--cyan);
  color: #1d1537;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--shadow-c);
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
  padding-inline: 16px;
}
.loader-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.loader-logo {
  width: 72px;
  height: 72px;
  animation: hop 0.6s steps(2) infinite alternate;
}
@keyframes hop {
  to { transform: translateY(-10px); }
}
.loader-text {
  font-family: var(--font-pixel);
  font-size: 11px;
  margin: 0;
}
.loader-bar {
  width: min(280px, 70vw);
  height: 20px;
  border: 3px solid #1d1537;
  background: #1d1537;
  padding: 3px;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 10%;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 10px, transparent 10px 13px);
}

.pixel-wipe {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
  pointer-events: none;
  overflow: hidden;
}
.pixel-wipe.on {
  display: grid;
}
.pixel-wipe i {
  display: block;
  transform: scale(0);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 14px;
  transition: padding 0.2s steps(3), background-color 0.2s steps(3);
}
.nav.is-scrolled {
  padding-block: 8px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: var(--b) solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.brand b {
  color: var(--primary);
  font-weight: 700;
}
.brand-mark {
  width: 34px;
  height: 34px;
  padding: 4px;
  background: var(--yellow);
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-pixel);
  font-size: 10px;
  text-decoration: none;
  padding: 10px 10px 9px;
  text-transform: uppercase;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s steps(4);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 6px 8px 5px;
  background: var(--surface);
  border: 2px solid var(--border);
}
.status-pill i {
  width: 8px;
  height: 8px;
  background: var(--yellow);
}
body[data-status='live'] .status-pill i {
  background: #ff3b3b;
  animation: blink 0.8s steps(1) infinite;
}
body[data-status='ended'] .status-pill i {
  background: var(--muted);
}

.theme-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.tt-track {
  display: block;
  width: 58px;
  height: 30px;
  background: var(--cyan);
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  position: relative;
}
.tt-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--border);
  transition: transform 0.25s steps(4);
}
.tt-knob::before,
.tt-knob::after {
  content: '';
  position: absolute;
  background: #ffc93c;
}
.tt-knob::before {
  inset: -5px 7px;
}
.tt-knob::after {
  inset: 7px -5px;
}
[data-theme='dark'] .tt-track {
  background: #2a2257;
}
[data-theme='dark'] .tt-knob {
  transform: translateX(28px);
  background: #f4eeff;
  box-shadow: inset -6px -4px 0 #cfc6f2, 0 0 0 2px var(--border);
}
[data-theme='dark'] .tt-knob::before,
[data-theme='dark'] .tt-knob::after {
  display: none;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 38px;
  padding: 7px;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.menu-btn span {
  display: block;
  height: 4px;
  background: var(--ink);
  transition: transform 0.2s steps(3), opacity 0.2s steps(2);
}
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex;
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  background: var(--surface);
}
.lang-switch button {
  font-family: var(--font-pixel);
  font-size: 9px;
  line-height: 1;
  padding: 8px 7px 7px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.lang-switch button + button {
  border-left: 2px solid var(--border);
}
.lang-switch button:hover {
  background: var(--surface-2);
}
.lang-switch button.is-active {
  background: var(--pink);
  color: #fff;
}

/* Hangul butuh ukuran lebih besar agar font pixel tetap terbaca */
html:lang(ko) :is(.pixel-tag, .chip, .nav-links a, .cd-cap, .cd-label, .cart-press, .cart-booth, .cart-cat,
  .agenda-tag, .ticket-rows span, .map-hint, .footer-row a, .modal-info h4, .status-pill, .loader-text, .partners-title,
  .card-bar, .now-badge, .scroll-hint, .quest-no, .modal-bar, .modal-booth, .empty-state) {
  font-size: 12px;
  letter-spacing: 0;
}
html:lang(ko) {
  --font-pixel: 'Galmuri11', 'Press Start 2P', ui-monospace, monospace;
}
html:lang(ko) :is(.section-head h2, .date-long, .footer-big p) {
  line-height: 1.12;
}
html:lang(ko) :is(.cd-num, .tz-time, .tz-code, .date-day, .stat-value, .agenda-item time, .lang-switch button, .step-no, .rep-idx) {
  font-family: 'Press Start 2P', 'Galmuri11', ui-monospace, monospace;
}
html:lang(ko) .lang-switch button { font-size: 9px; }
html:lang(ko) .btn { font-size: 13px; letter-spacing: 0; }
html:lang(ko) .btn-sm { font-size: 12px; }
html:lang(ko) .btn-lg { font-size: 15px; }
html:lang(ko) .cd-cap { font-size: 13px; }
html:lang(ko) body { word-break: keep-all; }
html:lang(ko) .hero-title .l3 { font-size: 0.4em; }
html:lang(ko) :is(.section-head h2, .quest h3, .date-long, .agenda-head h3, .modal-info h3, .ticket h3, .luma-empty h3, .footer-big p) {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 104px 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bot) 100%);
  transition: background 0.3s steps(3);
}
.hero-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--dot) 2px, transparent 2px), linear-gradient(90deg, var(--dot) 2px, transparent 2px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%);
}
.sun-px {
  position: absolute;
  top: 16%;
  right: 12%;
  width: 96px;
  height: 96px;
  background: #ffe066;
  box-shadow: 0 0 0 8px #ffd23f55, 0 0 0 16px #ffd23f22;
  clip-path: polygon(20% 0, 80% 0, 80% 10%, 90% 10%, 90% 20%, 100% 20%, 100% 80%, 90% 80%, 90% 90%, 80% 90%, 80% 100%, 20% 100%, 20% 90%, 10% 90%, 10% 80%, 0 80%, 0 20%, 10% 20%, 10% 10%, 20% 10%);
}
[data-theme='dark'] .sun-px {
  background: #f4eeff;
  box-shadow: inset -22px -10px 0 #cfc6f2;
}
.px-cloud {
  position: absolute;
  width: 120px;
  height: 32px;
  background: #fff;
  opacity: 0.9;
  box-shadow: 24px -16px 0 #fff, 56px -16px 0 #fff, 40px -32px 0 #fff;
}
.px-cloud::after {
  content: '';
  position: absolute;
  left: 24px;
  top: -16px;
  width: 64px;
  height: 16px;
  background: #fff;
}
.px-cloud.c1 { top: 22%; left: 6%; }
.px-cloud.c2 { top: 62%; left: 40%; transform: scale(0.6); opacity: 0.7; }
.px-cloud.c3 { top: 12%; left: 52%; transform: scale(0.8); opacity: 0.8; }
[data-theme='dark'] .px-cloud,
[data-theme='dark'] .px-cloud::after {
  background: #2a2257;
  box-shadow: 24px -16px 0 #2a2257, 56px -16px 0 #2a2257, 40px -32px 0 #2a2257;
  opacity: 0.6;
}
[data-theme='dark'] .px-cloud::after {
  box-shadow: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  transition: opacity 0.8s steps(6);
}
.hero-canvas.is-ready {
  opacity: 1;
}
.hero-grid-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
}
.eyebrow .dot {
  width: 10px;
  height: 10px;
  background: #ff3b3b;
  animation: blink 1s steps(1) infinite;
}
.hero-title {
  margin: 22px 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.01em;
  font-size: clamp(48px, 8.4vw, 112px);
  max-width: 12ch;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero-title .line-in {
  display: block;
}
.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}
.hero-title .ch {
  display: inline-block;
}
.hero-title .l1 {
  color: var(--ink);
  text-shadow: 5px 5px 0 var(--yellow);
}
.hero-title .l2 {
  color: var(--primary);
  font-size: 1.18em;
  text-shadow: 5px 5px 0 var(--ink);
  -webkit-text-stroke: 0;
}
[data-theme='dark'] .hero-title .l2 {
  text-shadow: 5px 5px 0 #000, 0 0 30px #ff4f9a66;
}
[data-theme='dark'] .hero-title .l1 {
  text-shadow: 5px 5px 0 #7c5cff;
}
.hero-title .l3 {
  font-size: 0.42em;
  margin-top: 0.25em;
  color: var(--ink);
}
.hero-title .l3 .line-in {
  display: inline-block;
  background: var(--cyan);
  color: #1d1537;
  padding: 0.12em 0.3em 0.02em;
  border: var(--b) solid var(--border);
  box-shadow: 5px 5px 0 var(--shadow-c);
  margin-bottom: 8px;
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
[data-theme='light'] .hero-sub,
:root:not([data-theme='dark']) .hero-sub {
  color: #2e2552;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-c);
  font-weight: 700;
  font-size: 14px;
}
.meta-ic {
  width: 18px;
  height: 18px;
  flex: none;
}

.countdown-wrap {
  margin-bottom: 26px;
}
.cd-label {
  font-family: var(--font-pixel);
  font-size: 10px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cd-unit {
  display: grid;
  justify-items: center;
  min-width: 78px;
  padding: 10px 8px 8px;
  background: #1d1537;
  color: #fff;
  border: var(--b) solid var(--border);
  box-shadow: 4px 4px 0 var(--primary);
}
.cd-num {
  font-family: var(--font-pixel);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  color: var(--yellow);
  text-shadow: 3px 3px 0 #ff4f9a;
  display: block;
}
.cd-cap {
  font-family: var(--font-pixel);
  font-size: 8px;
  margin-top: 6px;
  color: #cfc6f2;
}
.cd-sep {
  font-family: var(--font-pixel);
  font-size: 22px;
  animation: blink 1s steps(1) infinite;
}
.cd-message {
  display: inline-block;
  margin: 0;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 18px;
  background: var(--yellow);
  color: #1d1537;
  border: var(--b) solid var(--border);
  box-shadow: 5px 5px 0 var(--shadow-c);
}
body[data-status='live'] .cd-message {
  background: #ff3b3b;
  color: #fff;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-family: var(--font-pixel);
  font-size: 9px;
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
}
.bounce {
  display: inline-block;
  animation: hop 0.5s steps(2) infinite alternate;
}

.no-3d .hero-sky::before {
  content: '';
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 260px;
  height: 120px;
  background: #5bd66b;
  border: 4px solid #1d1537;
  box-shadow: 0 24px 0 -4px #c0823f, 0 48px 0 -24px #8a7fb0;
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  border-block: var(--b) solid var(--border);
  padding-block: 14px;
  transform: rotate(-1.2deg);
  margin-block: -10px -6px;
  box-shadow: 0 6px 0 var(--shadow-c);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-group span {
  font-family: var(--font-pixel);
  font-size: clamp(11px, 1.4vw, 14px);
  padding-inline: 22px;
  white-space: nowrap;
}
.marquee-group i {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 140px);
}
.section:nth-of-type(even) {
  background: var(--bg-2);
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 2px, transparent 2px);
  background-size: 24px 24px;
  pointer-events: none;
}
.section > .container {
  position: relative;
}
.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  margin: 18px 0 0;
  letter-spacing: -0.01em;
}
.section-sub {
  max-width: 560px;
  color: var(--ink-soft);
  margin: 14px 0 0;
  font-size: 17px;
}
.lead {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.float-spr {
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 1;
}
.float-spr.f1 { top: 80px; right: 8%; }
.float-spr.f2 { bottom: 120px; left: 3%; width: 44px; height: 44px; }
.float-spr.f3 { top: 90px; right: 6%; width: 50px; height: 50px; }
.float-spr.f4 { top: 110px; right: 10%; width: 46px; height: 46px; }

.c0 { --acc: var(--pink); }
.c1 { --acc: var(--yellow); }
.c2 { --acc: var(--cyan); }
.c3 { --acc: var(--green); }
.c4 { --acc: var(--purple); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.about-copy p {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--acc);
  color: #1d1537;
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  padding: 18px 16px 14px;
  display: grid;
  gap: 4px;
}
.stat.c4,
.stat.c0 {
  color: #fff;
}
.stat-value {
  font-family: var(--font-pixel);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}
.stat-label {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.quest {
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  padding: 24px;
  position: relative;
}
.quest::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--acc);
  border-bottom: var(--b) solid var(--border);
}
.quest-icon {
  width: 56px;
  height: 56px;
  padding: 8px;
  background: var(--surface-2);
  border: var(--b) solid var(--border);
  margin: 8px 0 14px;
}
.quest-no {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--muted);
}
.quest h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 6px 0 6px;
  line-height: 1;
}
.quest p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- schedule ---------- */
.date-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.date-block {
  display: grid;
  place-items: center;
  width: 150px;
  height: 160px;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  position: relative;
  padding-top: 26px;
}
.date-block::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 34px;
  background: var(--primary);
  border-bottom: var(--b) solid var(--border);
}
.date-day {
  font-family: var(--font-pixel);
  font-size: 54px;
  line-height: 1;
}
.date-month {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--primary);
}
.date-info {
  flex: 1;
  min-width: 240px;
}
.date-long {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px;
}
.date-local {
  margin: 0 0 16px;
  color: var(--ink-soft);
}
.date-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tz-card {
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  padding: 0 0 16px;
  overflow: hidden;
}
.tz-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--acc);
  color: #1d1537;
  border-bottom: var(--b) solid var(--border);
}
.tz-card.c0 header,
.tz-card.c4 header {
  color: #fff;
}
.tz-code {
  font-family: var(--font-pixel);
  font-size: 16px;
}
.tz-utc {
  font-family: var(--font-pixel);
  font-size: 8px;
}
.tz-time {
  font-family: var(--font-pixel);
  font-size: clamp(16px, 1.8vw, 20px);
  margin: 18px 14px 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tz-time span {
  color: var(--muted);
}
.tz-date {
  margin: 0 14px;
  font-weight: 700;
}
.tz-region {
  margin: 4px 14px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.agenda-wrap {
  margin-top: 60px;
}
.agenda-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.agenda-head h3 {
  font-family: var(--font-display);
  font-size: 36px;
  margin: 0;
}
.tz-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.agenda {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
  display: grid;
  gap: 14px;
}
.agenda::before,
.agenda-line {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 6px;
  background: repeating-linear-gradient(180deg, var(--muted) 0 8px, transparent 8px 14px);
  opacity: 0.35;
}
.agenda-line {
  opacity: 1;
  background: repeating-linear-gradient(180deg, var(--primary) 0 8px, transparent 8px 14px);
  transform-origin: top;
}
.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-c);
  padding: 14px 18px;
}
.agenda-dot {
  position: absolute;
  left: -32px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: var(--yellow);
  border: var(--b) solid var(--border);
}
.agenda-item.is-now {
  background: var(--yellow);
  color: #1d1537;
}
.agenda-item.is-now .agenda-dot {
  background: #ff3b3b;
  animation: blink 0.8s steps(1) infinite;
}
.agenda-item time {
  font-family: var(--font-pixel);
  font-size: 15px;
}
.agenda-item time small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 4px;
}
.agenda-body h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.agenda-body p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.agenda-item.is-now .agenda-body p,
.agenda-item.is-now time small {
  color: #4a416b;
}
.agenda-tag {
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 6px 8px 5px;
  border: 2px solid var(--border);
  background: var(--surface-2);
  white-space: nowrap;
}
.now-badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: #ff3b3b;
  color: #fff;
  padding: 3px 6px 2px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---------- venue ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.map-frame {
  position: relative;
  line-height: 0;
  background: #1d1537;
}
.venue-map {
  width: 100%;
  height: auto;
  aspect-ratio: 40 / 25;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}
.map-hint {
  margin: 0;
  padding: 10px 14px;
  font-family: var(--font-pixel);
  font-size: 9px;
  border-top: var(--b) solid var(--border);
}
.map-tip {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, calc(-100% - 14px));
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  line-height: 1.3;
  padding: 6px 10px;
  white-space: nowrap;
  pointer-events: none;
  border: 2px solid var(--border);
}
.map-tip b {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--yellow);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-c);
  padding: 14px 16px;
}
.step-no {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-pixel);
  font-size: 14px;
  background: var(--cyan);
  color: #1d1537;
  border: var(--b) solid var(--border);
}
.step:nth-child(2) .step-no { background: var(--yellow); }
.step:nth-child(3) .step-no { background: var(--green); }
.step:nth-child(4) .step-no { background: var(--pink); color: #fff; }
.step h4 {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 800;
}
.step p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- showcase (arcade cartridges) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.arcade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
  perspective: 900px;
}
.cart {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c);
  border: var(--b) solid var(--border);
  box-shadow: 6px 6px 0 var(--shadow-c);
  padding: 10px 10px 0;
  transform-style: preserve-3d;
  will-change: transform;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.cart::before {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 31px;
  height: 31px;
  background: linear-gradient(225deg, transparent 50%, var(--border) 50%, var(--border) calc(50% + 4px), transparent calc(50% + 4px));
  z-index: 2;
}
.cart-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.cart-hit:focus-visible {
  outline-offset: -8px;
}
.cart-top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 0 18px 8px 0;
}
.cart-booth,
.cart-cat {
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 5px 6px 4px;
  background: #1d1537;
  color: #fff;
  white-space: nowrap;
}
.cart-cat {
  background: #fff;
  color: #1d1537;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
}
/* Satu gambar 16:10 (ideal 1600×1000) dipakai di galeri & detail tanpa terpotong */
.cart-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1d1537;
  border: var(--b) solid #1d1537;
  overflow: hidden;
}
.cart-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.4s steps(4);
}
.cart-screen.has-image img {
  image-rendering: auto;
}
.cart-screen.has-image .cart-scan {
  display: none;
}
.cart:hover .cart-screen img {
  transform: scale(1.04);
}
.cart-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.cart-body {
  background: var(--surface);
  color: var(--ink);
  margin: 10px -10px 0;
  padding: 14px 14px 10px;
  border-top: var(--b) solid var(--border);
  flex: 1;
}
.cart-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}
.cart-team {
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.cart-tag {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.cart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -10px;
  padding: 10px 14px 12px;
  background: var(--surface);
  color: var(--ink);
  border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent);
}
.cart-press {
  font-family: var(--font-pixel);
  font-size: 8px;
}
.cart-arrow {
  font-size: 12px;
  color: var(--c);
  transition: transform 0.2s steps(2);
}
.cart:hover .cart-press {
  animation: blink 0.6s steps(1) infinite;
}
.cart:hover .cart-arrow {
  transform: translateX(4px);
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 40px;
}

/* ---------- voting ---------- */
.vote-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: var(--sh) var(--sh) 0 var(--shadow-c);
  position: relative;
}
.vote-banner::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: repeating-linear-gradient(180deg, var(--pink) 0 8px, var(--yellow) 8px 16px);
}
.vote-icon {
  width: 52px;
  height: 52px;
  padding: 8px;
  margin-left: 6px;
  background: var(--surface-2);
  border: var(--b) solid var(--border);
}
.vote-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}
.vote-copy p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.vote-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}
.vote-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 6px 8px 5px;
  border: 2px solid var(--border);
  background: var(--surface-2);
}
.vote-status i {
  width: 8px;
  height: 8px;
  background: var(--muted);
}
.vote-status.is-open i {
  background: var(--green);
  animation: blink 1s steps(1) infinite;
}
.vote-mine {
  font-weight: 700;
  font-size: 14px;
}
.cart-votes {
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 4px 6px 3px;
  margin-left: auto;
  margin-right: 8px;
  background: var(--surface-2);
  border: 2px solid var(--border);
}
.cart-votes.is-mine {
  background: var(--pink);
  color: #fff;
}
.modal-vote-slot:empty {
  display: none;
}
.modal-vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px dashed color-mix(in srgb, var(--ink) 20%, transparent);
}
.modal-vote .btn.is-voted {
  --btn-bg: var(--green);
  --btn-fg: #1d1537;
  opacity: 1;
}
.modal-vote .btn:disabled {
  cursor: default;
  transform: none;
}
.vote-count {
  font-family: var(--font-pixel);
  font-size: 10px;
}
.vote-msg {
  flex-basis: 100%;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.vote-msg.is-err {
  color: #ff3b3b;
}
.vote-email {
  display: grid;
}
.vote-email label {
  font-weight: 700;
  font-size: 14px;
}
.vote-email-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vote-email input {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  padding: 10px 12px;
  border: var(--b) solid var(--border);
  background: var(--bg);
  color: var(--ink);
}
html:lang(ko) :is(.vote-status, .cart-votes, .vote-count) {
  font-size: 12px;
}

/* ---------- modal ---------- */
.modal {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.modal::backdrop {
  background: rgba(17, 13, 38, 0.72);
  backdrop-filter: blur(3px);
}
.modal-card {
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 8px 8px 0 var(--shadow-c);
  max-height: calc(100svh - 40px);
  overflow: auto;
}
.modal-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  background: var(--c);
  color: #1d1537;
  border-bottom: var(--b) solid var(--border);
  font-family: var(--font-pixel);
  font-size: 9px;
}
.modal-nav {
  display: flex;
  gap: 6px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1d1537;
  border: var(--b) solid #1d1537;
  cursor: pointer;
  font-size: 12px;
}
.icon-btn:hover {
  background: var(--yellow);
}
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}
.modal-media {
  position: relative;
  display: grid;
  align-items: start;
  padding: 28px 24px 64px;
  background: var(--c);
  border-right: var(--b) solid var(--border);
  min-height: 320px;
}
/* screenshot tampil utuh (tidak di-crop) dalam bingkai */
.modal-media img {
  position: sticky;
  top: 72px;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #1d1537;
  border: var(--b) solid #1d1537;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}
.modal-media img.is-pixel {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
  box-shadow: none;
  image-rendering: pixelated;
}
.modal-booth {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--font-pixel);
  font-size: 10px;
  background: #1d1537;
  color: #fff;
  padding: 7px 9px 6px;
}
.modal-info {
  padding: clamp(20px, 3vw, 32px);
}
.modal-info h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 0.95;
  margin: 14px 0 4px;
}
.modal-team {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--muted);
}
.modal-tagline {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}
.modal-desc {
  margin: 0 0 16px;
  color: var(--ink-soft);
}
.modal-info h4 {
  font-family: var(--font-pixel);
  font-size: 9px;
  margin: 16px 0 8px;
  text-transform: uppercase;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border: 2px solid var(--border);
  background: var(--surface-2);
}
.chips li.is-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #1d1537;
  box-shadow: 3px 3px 0 var(--shadow-c);
}
.chips li.is-lead b {
  font-family: var(--font-pixel);
  font-size: 8px;
  font-weight: normal;
  padding: 3px 5px 2px;
  background: #1d1537;
  color: #ffc93c;
}
html:lang(ko) .chips li.is-lead b {
  font-size: 11px;
}
.chips.alt li {
  background: var(--cyan);
  color: #1d1537;
}
.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- register ---------- */
.register-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.ticket {
  position: relative;
  background: var(--yellow);
  color: #1d1537;
  border: var(--b) solid var(--border);
  box-shadow: 8px 8px 0 var(--shadow-c);
  padding: 26px;
  -webkit-mask: radial-gradient(circle 14px at 0 58%, transparent 13px, #000 14px) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 58%, transparent 13px, #000 14px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 58%, transparent 13px, #000 14px) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 58%, transparent 13px, #000 14px) right / 51% 100% no-repeat;
}
.ticket .pixel-tag {
  background: #fff;
}
.ticket h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 0.95;
  margin: 16px 0 18px;
}
.ticket h3 small {
  font-size: 0.6em;
  color: #ff4f9a;
  text-shadow: 2px 2px 0 #1d1537;
}
.ticket-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding-block: 16px;
  border-block: 3px dashed #1d1537;
}
.ticket-rows p {
  margin: 0;
  display: grid;
}
.ticket-rows span {
  font-family: var(--font-pixel);
  font-size: 8px;
  opacity: 0.7;
}
.ticket-rows b {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
}
.ticket-note {
  margin: 16px 0 12px;
  font-weight: 600;
}
.perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.perks li .spr {
  width: 20px;
  height: 20px;
  flex: none;
}
.luma-box {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.luma-frame {
  background: #fff;
  flex: 1;
}
.luma-frame iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}
.luma-button-wrap {
  padding: 28px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.luma-button-wrap p {
  margin: 0;
  color: var(--ink-soft);
}
.luma-empty {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 40px 28px;
  gap: 6px;
}
.luma-empty .spr {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  animation: hop 0.6s steps(2) infinite alternate;
}
.luma-empty h3 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0;
}
.luma-empty p {
  margin: 0;
  max-width: 380px;
  color: var(--ink-soft);
}

/* ---------- faq ---------- */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: var(--b) solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-c);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 17px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary i {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  border: var(--b) solid var(--border);
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: '';
  position: absolute;
  background: #1d1537;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq-item summary i::before { width: 10px; height: 3px; }
.faq-item summary i::after { width: 3px; height: 10px; transition: transform 0.2s steps(2); }
.faq-item[open] summary i {
  background: var(--primary);
}
.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-a {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}
.faq-a p {
  margin: 0;
  border-top: 2px dashed color-mix(in srgb, var(--ink) 20%, transparent);
  padding-top: 14px;
}

/* ---------- partners / logos ---------- */
.partners {
  position: relative;
  background: var(--bg);
  border-top: var(--b) dashed color-mix(in srgb, var(--ink) 25%, transparent);
  padding-block: clamp(48px, 7vw, 80px);
}
.partners-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
.partner-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 48px;
}
.partner-group {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.partner-role {
  margin: 0;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Tile logo selalu putih agar warna logo resmi tetap utuh di mode gelap */
.partner-tile {
  display: grid;
  place-items: center;
  min-width: 150px;
  height: 84px;
  padding: 14px 22px;
  background: #ffffff;
  border: var(--b) solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-c);
  text-decoration: none;
  transition: transform 0.1s steps(2), box-shadow 0.1s steps(2);
}
a.partner-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow-c);
}
.partner-tile img {
  max-height: 52px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}
.role-organizer .partner-tile {
  min-width: 200px;
  height: 108px;
}
.role-organizer .partner-tile img {
  max-height: 72px;
  max-width: 220px;
}
.partner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.1;
  text-align: center;
  color: #1d1537;
  overflow-wrap: anywhere;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  image-rendering: auto;
}

/* ---------- footer ---------- */
.footer {
  background: #1d1537;
  color: #f4eeff;
  padding-block: 70px 30px;
  border-top: var(--b) solid var(--border);
  position: relative;
  overflow: hidden;
}
[data-theme='dark'] .footer {
  background: #07051a;
}
.footer-big {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}
.footer-spr {
  width: clamp(64px, 10vw, 110px);
  height: clamp(64px, 10vw, 110px);
  flex: none;
  --s-k: #07051a;
  animation: hop 0.6s steps(2) infinite alternate;
}
.footer-big p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.9;
  color: #ffc93c;
  text-shadow: 6px 6px 0 #ff4f9a;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 3px dashed #4a416b;
  padding-top: 22px;
  font-size: 14px;
}
.footer-row p {
  margin: 0;
}
.footer-row nav {
  display: flex;
  gap: 18px;
}
.footer-row a {
  font-family: var(--font-pixel);
  font-size: 9px;
  text-decoration: none;
}
.footer-row a:hover {
  color: #ffc93c;
}
.admin-link {
  opacity: 0.55;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links a {
    padding-inline: 7px;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .venue-grid,
  .register-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-media {
    min-height: 0;
    padding: 16px 16px 56px;
    border-right: 0;
    border-bottom: var(--b) solid var(--border);
  }
  .menu-btn {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border: var(--b) solid var(--border);
    box-shadow: 6px 6px 0 var(--shadow-c);
    padding: 8px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s steps(3), opacity 0.2s steps(3), visibility 0.2s;
  }
  .menu-open .nav-links {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 12px;
    font-size: 11px;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a.is-active {
    background: var(--yellow);
    color: #1d1537;
  }
  .hero {
    align-items: flex-start;
    padding-bottom: 42vh;
  }
  .sun-px {
    top: auto;
    bottom: 30vh;
    right: 8%;
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .brand-text {
    display: none;
  }
  .status-pill {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .tz-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .tz-card header {
    padding: 8px 10px;
  }
  .tz-code {
    font-size: 12px;
  }
  .tz-time {
    font-size: 13px;
    margin: 14px 10px 4px;
  }
  .tz-date,
  .tz-region {
    margin-inline: 10px;
  }
  .tz-region {
    font-size: 12px;
  }
  .cd-unit {
    min-width: 0;
    flex: 1;
    padding-inline: 4px;
  }
  .cd-sep {
    display: none;
  }
  .countdown {
    flex-wrap: nowrap;
  }
  .agenda {
    padding-left: 26px;
  }
  .agenda::before,
  .agenda-line {
    left: 6px;
  }
  .agenda-dot {
    left: -26px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
  }
  .agenda-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }
  .agenda-item time small {
    display: inline;
    margin-left: 4px;
  }
  .agenda-tag {
    justify-self: start;
  }
  .date-block {
    width: 110px;
    height: 120px;
  }
  .date-day {
    font-size: 38px;
  }
  .ticket-rows {
    grid-template-columns: 1fr;
  }
  .luma-frame iframe {
    height: 620px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .arcade {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .cart {
    padding: 7px 7px 0;
    box-shadow: 4px 4px 0 var(--shadow-c);
  }
  .cart-top {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 14px;
    gap: 4px;
  }
  .cart-cat {
    max-width: 100%;
  }
  .cart-body {
    margin-inline: -7px;
    padding: 10px;
  }
  .cart-body h3 {
    font-size: 20px;
  }
  .cart-tag {
    font-size: 12px;
  }
  .cart-foot {
    margin-inline: -7px;
    padding: 8px 10px;
  }
  .float-spr {
    display: none;
  }
  .vote-banner {
    grid-template-columns: auto 1fr;
  }
  .vote-meta {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }
  .partner-tile,
  .role-organizer .partner-tile {
    min-width: 0;
    width: calc(50vw - 40px);
    height: 80px;
    padding: 12px;
  }
  .partner-tile img,
  .role-organizer .partner-tile img {
    max-width: 100%;
    max-height: 48px;
  }
}

@media (max-width: 400px) {
  .arcade {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
