*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .entry a { color: var(--blue-hot); text-decoration: underline; text-underline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-hot); outline-offset: 3px; border-radius: 4px; }
.ide-icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.disp { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; text-wrap: balance; margin: 0; }
.red { color: var(--red-hot); }
.section { padding-block: 40px 72px; }
.section-title { font-size: clamp(28px, 4.2vw, 48px); }
.empty { color: var(--muted); }

/* tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  padding: 13px 26px; font-size: 15px; line-height: 1.1; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease; color: #fff; cursor: pointer;
}
.btn .ide-icon { width: 18px; height: 18px; }
.btn--red { background: linear-gradient(180deg, var(--red-hot), var(--red)); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 6px 26px rgba(240,24,43,.45); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 10px 34px rgba(255,58,77,.6); }
.btn--ghost { background: rgba(5,8,18,.55); border-color: #fff; box-shadow: 0 0 22px rgba(22,139,255,.35); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(22,139,255,.22); }
.btn--light { background: #fff; color: var(--red-deep); }
.btn--light:hover { transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-hot); }
.link-arrow .ide-icon { width: 16px; height: 16px; }
.link-arrow:hover { color: #fff; }

/* badge */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(22,139,255,.2); border: 1px solid var(--blue); }
.badge--on_sale { background: rgba(30,200,120,.18); border-color: #1ec878; }
.badge--sold_out, .badge--closed { background: rgba(240,24,43,.2); border-color: var(--red); }
.badge--coming_soon { background: rgba(139,53,255,.2); border-color: var(--purple); }
.badge--booth { position: absolute; left: 12px; bottom: 12px; background: rgba(5,8,18,.85); }

/* form */
.ide-form { display: grid; gap: 18px; max-width: 640px; position: relative; }
.ide-field-row { display: grid; gap: 6px; }
.ide-field-row > label { font-weight: 600; font-size: 14px; }
.ide-req { color: var(--red-hot); }
.ide-form input[type=text], .ide-form input[type=email], .ide-form input[type=tel], .ide-form input[type=number], .ide-form select, .ide-form textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 46px;
}
.ide-form textarea { resize: vertical; }
.ide-form input:focus, .ide-form select:focus, .ide-form textarea:focus { border-color: var(--blue-hot); outline: 2px solid rgba(66,199,255,.35); }
.ide-form :user-invalid { border-color: var(--red-hot); }
.ide-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.ide-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.ide-form .btn { justify-self: start; }
.ide-notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--surface); max-width: 640px; }
.ide-notice ul { margin: 6px 0 0 18px; padding: 0; }
.ide-notice--ok { border-color: #1ec878; background: rgba(30,200,120,.1); }
.ide-notice--error { border-color: var(--red); background: rgba(240,24,43,.1); }

/* persetujuan cookie */
.ide-consent-bar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.ide-consent-bar p { margin: 0; flex: 1 1 260px; font-size: 14px; }
.ide-consent-bar a { text-decoration: underline; }
.ide-consent-bar button { min-height: 40px; padding: 8px 20px; border-radius: 999px; border: 1px solid #fff; background: transparent; font-weight: 700; }
.ide-consent-bar__yes { background: var(--red) !important; border-color: var(--red) !important; }

/* FAQ (blok details Gutenberg) */
.entry details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 0 0 12px; padding: 0 18px; }
.entry summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue-hot); }
.entry details[open] summary::after { content: "–"; }
.entry details > :not(summary) { margin-bottom: 16px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; z-index: 95; background: var(--surface-2); border: 1px solid var(--blue); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .25s ease; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
