/* =========================================================
   GOERS × GIRLS FUN RUN CIMAHI — Design System
   Klon tampilan Goers (goersapp.com) — Baloo 2, crimson & teal
   Responsif Android + iPhone (safe-area, 16px inputs, tap 44px)
   ========================================================= */

/* ---------- Font (offline, variable 400–800) ---------- */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/baloo2-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --brand: #DC1C5B;          /* crimson pink (CTA Goers) */
  --brand-dark: #B8134A;
  --brand-soft: #FDE8EF;
  --brand-ink: #B3395E;      /* ikon lokasi/kalender */
  --teal: #0D9E8D;
  --teal-dark: #0A8A7B;
  --teal-soft: #E1F3F0;
  --navy: #051E54;           /* judul footer */
  --ink: #33343A;            /* judul kartu */
  --ink-2: #3C3C3C;
  --text: #55575D;
  --muted: #8E9096;
  --line: #ECEDEF;
  --card: #FFFFFF;
  --gray-card: #F4F4F6;
  --page: #F7F6F5;
  --amber-bg: #FCF3DC;
  --amber-ink: #9A7418;
  --amber-ico: #E9A13B;
  --blue-card: #E8F1FA;
  --danger: #E02D3C;
  --danger-soft: #FDECEC;
  --ok: #16A34A;
  --ok-soft: #E7F7EC;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 1px 2px rgba(20, 24, 34, .05), 0 6px 20px rgba(20, 24, 34, .06);
  --shadow-float: 0 6px 24px rgba(20, 24, 34, .16);
  --nav-h: 58px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Baloo 2', ui-rounded, 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text);
  background: #EFEFEF;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--brand-soft); }

/* ---------- Shell (bingkai aplikasi mobile) ---------- */
.app {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--page);
  box-shadow: 0 0 44px rgba(0, 0, 0, .14);
  display: flex;
  flex-direction: column;
}
@media (min-width: 521px) {
  body { background: #E4E3E6; }
}

/* =========================================================
   NAVBAR — hanya logo + tombol menu (sesuai referensi)
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  min-height: var(--nav-h);
}
.nav-side { display: flex; align-items: center; gap: 8px; min-width: 40px; }
.nav-logo { display: inline-flex; align-items: center; padding: 4px; border-radius: 12px; }
.nav-logo img { width: 30px; height: auto; display: block; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #F1F1F3;
  color: #4A4B51;
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:active { transform: scale(.92); background: #E7E7EA; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--plain { background: transparent; }
.icon-btn--plain:active { background: rgba(0,0,0,.06); }

/* Search (khusus index, seperti referensi "Cari keseruan") */
.search-wrap { padding: 4px 14px 12px; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1F1F3;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--muted);
}
.search input {
  border: 0; outline: 0; background: transparent;
  width: 100%; font-size: 16px; color: var(--ink);
}
.search input::placeholder { color: #9C9EA4; }
.search svg { width: 19px; height: 19px; flex: none; }

/* =========================================================
   HERO event page (latar dusty-rose seperti referensi)
   ========================================================= */
.hero-bg {
  background:
    radial-gradient(120% 60% at 85% 0%, rgba(255, 214, 224, .55) 0%, rgba(255, 214, 224, 0) 55%),
    linear-gradient(180deg, #E3C9C6 0%, #EBDCD9 320px, #F7F6F5 640px);
}
.float-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px 14px;
}
.float-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FFF;
  color: #45464C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease;
}
.float-btn:active { transform: scale(.9); }
.float-btn svg { width: 20px; height: 20px; }

/* Poster */
.poster-wrap {
  position: relative;
  margin: 0 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.poster-wrap img { width: 100%; }
.photo-overlay {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 28, 32, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-weight: 700;
  font-size: 14.5px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.photo-overlay svg { width: 17px; height: 17px; }

/* Kartu putih dasar */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin: 14px 14px 0;
  padding: 18px;
}
.card--flat { box-shadow: none; border: 1px solid var(--line); }

/* Judul event */
.ev-title { font-size: 24px; font-weight: 800; letter-spacing: -.2px; }
.creator-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-2);
  font-weight: 600;
}
.creator-line .mini-logo {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 30% 30%, #FFD3E2 0%, #F7A8C4 45%, #9AD0F5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #A32455;
}
.creator-line a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.creator-line svg { width: 16px; height: 16px; color: var(--muted); }

/* Info rows (lokasi / jadwal) */
.info-row { display: flex; gap: 14px; padding: 13px 0; }
.info-row + .info-row { border-top: 1px solid var(--line); }
.info-ico {
  width: 34px; height: 34px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-ink);
}
.info-ico svg { width: 22px; height: 22px; }
.info-body { min-width: 0; }
.info-main { color: var(--ink-2); font-weight: 600; font-size: 15.5px; }
.info-sub { color: var(--muted); font-weight: 600; }
.info-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  background: none; padding: 0;
}
.info-link svg { width: 15px; height: 15px; }

/* Baris hadir (attendees) */
.attend-card {
  margin: 14px 14px 0;
  border-radius: var(--radius);
  background: var(--blue-card);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.avatars { display: flex; align-items: center; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2.5px solid #FFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #FFF;
  font-size: 15px;
  margin-left: -10px;
  background-position: center;
  background-size: cover;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.avatar:first-child { margin-left: 0; }
.avatar--photo { background-image: linear-gradient(135deg, #F6A9C0, #D87093); }
.count-pill {
  background: #FFF;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
  white-space: nowrap;
}
.count-pill svg { width: 15px; height: 15px; }

/* Carousel dots */
.dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 2px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #D9D7DA; }
.dots i.on { background: var(--brand); }

/* Judul seksi */
.h2 { font-size: 21.5px; font-weight: 800; letter-spacing: -.2px; }
.h2--pad { padding: 22px 20px 12px; }

/* Chip kategori */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 14.5px;
  background: #FFF;
}
.chip .ball {
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #F9B8CD 0 28%, #E86A94 30% 55%, #C4486F 58% 100%);
  flex: none;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* Teks tentang */
.about-txt { color: #4E5056; font-size: 15.5px; margin-top: 14px; }
.about-txt b { color: var(--ink-2); }
.about--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.link-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px auto 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 15.5px;
}
.link-more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-more.open svg { transform: rotate(180deg); }

/* Baris detail lain (accordion) */
.acc {
  background: var(--gray-card);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  overflow: hidden;
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  text-align: left;
}
.acc-ico {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.acc-ico svg { width: 20px; height: 20px; }
.acc-title { flex: 1; color: #4E5056; font-weight: 600; font-size: 15px; line-height: 1.4; }
.acc-head svg.chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .25s; }
.acc.open .acc-head svg.chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-in { padding: 0 14px 14px 65px; color: var(--muted); font-size: 14.5px; }
.acc.open .acc-body { max-height: 260px; }

/* Crowd card */
.crowd-card {
  margin: 14px 14px 0;
  border-radius: var(--radius);
  background:
    radial-gradient(140% 120% at 100% 0%, #F6EFFB 0%, rgba(246, 239, 251, 0) 50%),
    linear-gradient(180deg, #F4F3FB 0%, #F1EEFA 100%);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.crowd-deco { position: absolute; top: 14px; right: 14px; width: 92px; height: 74px; }
.crowd-deco .b1 {
  position: absolute; top: 0; left: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #FBD9E4;
  display: flex; align-items: center; justify-content: center;
}
.crowd-deco .b1 svg { width: 26px; height: 26px; color: #FFF; }
.crowd-deco .b2 {
  position: absolute; top: 22px; right: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 2px 10px rgba(80, 60, 120, .14);
  display: flex; align-items: center; justify-content: center;
}
.crowd-deco .b2 svg { width: 22px; height: 22px; color: #7C6FF0; }
.crowd-card p { margin-top: 12px; max-width: 62%; }

/* Creator */
.creator-card {
  margin: 14px 14px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #EAF4FD 0%, #E3F0FB 100%);
}
.creator-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}
.creator-logo {
  width: 62px; height: 62px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 28% 25%, #FFE1EC 0 30%, #F79EC0 46%, #BBDDF6 78%, #8FCCF2 100%);
  display: flex; align-items: center; justify-content: center;
  color: #AD2B5C; font-weight: 800; font-size: 21px;
  box-shadow: inset 0 0 0 2.5px #FFF, 0 2px 8px rgba(60, 80, 120, .16);
}
.creator-name { font-weight: 800; font-size: 17.5px; color: var(--ink); line-height: 1.25; }
.follow-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFF;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  color: var(--ink-2);
  font-size: 15px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .1);
}
.follow-btn svg { width: 18px; height: 18px; color: var(--brand); }
.follow-btn.followed { color: var(--teal); }
.follow-btn.followed svg { color: var(--teal); }
.creator-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .55);
  font-weight: 700;
  color: #4E5056;
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.creator-stats::-webkit-scrollbar { display: none; }
.creator-stats .st { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.creator-stats svg { width: 17px; height: 17px; color: var(--ink-2); }

/* Notice kuning */
.notice {
  display: flex;
  gap: 12px;
  margin: 14px 14px 0;
  background: var(--amber-bg);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #7B6B34;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--amber-ico); margin-top: 2px; }

/* FAQ */
.faq-item {
  background: var(--gray-card);
  border-radius: var(--radius-sm);
  margin-top: 11px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.4;
}
.faq-q svg { width: 19px; height: 19px; flex: none; color: #6E7076; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-in { padding: 0 16px 15px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 320px; }

.pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid #DBDBDF;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  color: var(--ink-2);
  background: #FFF;
  font-size: 15px;
}
.pill-outline svg { width: 17px; height: 17px; }
.pill-outline:active { background: var(--gray-card); }
.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  color: var(--ink-2);
  font-weight: 600;
}

/* Rekomendasi event */
.rec-scroll {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding: 2px 16px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rec-scroll::-webkit-scrollbar { display: none; }
.rec-card {
  flex: 0 0 78%;
  max-width: 320px;
  scroll-snap-align: start;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.rec-poster { height: 150px; position: relative; padding: 12px 14px; overflow: hidden; }
.rec-poster--blue {
  background:
    radial-gradient(120% 100% at 85% 0%, #BFEBFF 0%, rgba(191, 235, 255, 0) 45%),
    linear-gradient(150deg, #0E63D8 0%, #0A4FB8 60%, #083E96 100%);
  color: #FFF;
}
.rec-poster--green {
  background:
    radial-gradient(120% 100% at 80% 10%, #9EE067 0%, rgba(158, 224, 103, 0) 50%),
    linear-gradient(150deg, #1E5A1E 0%, #145214 65%, #0C3D0C 100%);
  color: #FFF;
}
.rec-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #FFF;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 8px;
}
.rec-title-big { font-weight: 800; font-size: 25px; line-height: 1.05; margin-top: 10px; letter-spacing: .5px; }
.rec-sub { font-size: 12px; opacity: .85; margin-top: 3px; font-weight: 600; letter-spacing: 2px; }
.rec-date-tag {
  display: inline-block;
  margin-top: 10px;
  background: #FFF;
  color: #0A4FB8;
  font-weight: 800;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 9px;
}
.rec-poster--green .rec-date-tag { color: #145214; }
.rec-body { padding: 14px; }
.rec-name { font-weight: 800; font-size: 17.5px; color: var(--ink); }
.rec-creator { display: flex; align-items: center; gap: 9px; margin-top: 10px; color: #4E5056; font-weight: 600; font-size: 14px; }
.rec-creator .mini-logo { width: 26px; height: 26px; font-size: 10px; }
.rec-meta { display: flex; gap: 9px; margin-top: 8px; color: #6E7076; font-weight: 600; font-size: 13.5px; align-items: flex-start; }
.rec-meta svg { width: 16px; height: 16px; flex: none; color: var(--brand-ink); margin-top: 1px; }
.rec-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-attend { margin-top: 11px; display: flex; align-items: center; }
.rec-attend .avatar { width: 34px; height: 34px; font-size: 12.5px; margin-left: -8px; }
.rec-attend .count-pill { font-size: 12.5px; padding: 6px 11px; margin-left: -8px; }
.rec-price { text-align: right; margin-top: 10px; }
.rec-price small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.rec-price b { color: #E0356F; font-size: 19px; font-weight: 800; letter-spacing: .3px; }

/* =========================================================
   FOOTER (persis struktur Goers)
   ========================================================= */
.foot { background: #FFF; margin-top: 28px; padding: 26px 20px 30px; }
.foot h4 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .8px;
  margin: 26px 0 4px;
}
.foot h4:first-child { margin-top: 0; }
.foot-links { list-style: none; }
.foot-links a {
  display: block;
  padding: 8px 0;
  color: #4E5056;
  font-weight: 600;
  font-size: 15.5px;
}
.foot-block { color: #4E5056; font-weight: 600; font-size: 15.5px; padding: 7px 0; }
.foot-block small { display: block; color: #9C9EA4; font-size: 14px; line-height: 1.5; }
.foot-sep { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.privacy-h { text-align: center; color: var(--ink-2); font-weight: 600; font-size: 17px; }
.badges { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 18px 0 6px; flex-wrap: wrap; }
.socials { display: flex; justify-content: center; gap: 26px; margin: 22px 0 8px; }
.socials a { color: var(--teal); display: inline-flex; }
.socials svg { width: 26px; height: 26px; }
.news-h { text-align: center; margin-top: 20px; color: #4E5056; font-weight: 600; font-size: 15.5px; }
.news-h b { display: block; color: var(--ink); font-size: 18.5px; font-weight: 800; }
.news-form { display: flex; gap: 10px; margin-top: 14px; }
.news-form input {
  flex: 1;
  min-width: 0;
  background: #F1F1F3;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 13px 18px;
  outline: none;
}
.news-form input:focus { border-color: var(--teal); background: #FFF; }
.news-form button {
  background: #DFF2EF;
  color: var(--teal);
  font-weight: 800;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15.5px;
}
.news-form button:active { background: #CCE8E3; }
.copyright { text-align: center; color: #4E5056; font-weight: 600; margin-top: 4px; font-size: 15.5px; }
.version { text-align: center; color: #9C9EA4; font-weight: 600; margin-top: 4px; }

/* =========================================================
   STICKY CTA bawah (IDR 99K + Beli Tiket)
   ========================================================= */
.cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 55;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  margin-top: auto;
  background: linear-gradient(180deg, rgba(247, 246, 245, 0) 0%, rgba(247, 246, 245, .9) 34%);
}
.cta-in {
  background: #FFF;
  border-radius: 999px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px 9px 20px;
}
.cta-price { font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: .2px; white-space: nowrap; }
.cta-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .4px; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--brand);
  color: #FFF;
  font-weight: 800;
  font-size: 16.5px;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 50px;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-cta svg { width: 18px; height: 18px; }
.btn-cta:active { transform: scale(.96); background: var(--brand-dark); }
.btn-cta[disabled] { background: #D6D6DA; color: #A9AAAF; pointer-events: none; }

/* =========================================================
   PAGE BAR (halaman alur: kembali + judul)
   ========================================================= */
.page-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FFF;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.page-bar h1 { font-size: 18px; font-weight: 800; flex: 1; text-align: center; }
.page-bar .icon-btn--plain { width: 38px; height: 38px; }

/* =========================================================
   DETAIL TIKET
   ========================================================= */
.event-mini {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 16px 14px 0;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 12px;
}
.event-mini img {
  width: 62px; height: 62px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}
.event-mini h3 { font-size: 15.5px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.event-mini p { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.event-mini p svg { width: 13px; height: 13px; flex: none; }

.sec-label { padding: 20px 18px 10px; }
.sec-label h2 { font-size: 19.5px; font-weight: 800; }
.sec-label p { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 2px; }

.ticket-card {
  margin: 0 14px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tk-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 0; }
.tk-name { font-weight: 800; font-size: 17px; color: var(--ink); flex: 1; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag--presale { background: var(--brand-soft); color: var(--brand); }
.tk-price-row { display: flex; align-items: baseline; gap: 6px; padding: 6px 16px 0; }
.tk-price { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: .2px; }
.tk-per { color: var(--muted); font-weight: 600; font-size: 14px; }
.tk-quota {
  margin: 12px 16px 0;
  background: var(--danger-soft);
  color: #C22A36;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tk-quota svg { width: 16px; height: 16px; flex: none; }
.tk-benefits { padding: 4px 16px 0; }
.tk-benefits ul { list-style: none; }
.tk-benefits li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #4E5056;
  font-weight: 600;
  font-size: 14.5px;
  padding: 6px 0;
}
.tk-benefits svg { width: 17px; height: 17px; flex: none; color: var(--teal); margin-top: 2px; }
.tk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
}
.tk-max { color: var(--muted); font-weight: 600; font-size: 13px; }
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-card);
  border-radius: 999px;
  padding: 5px;
}
.stepper button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #FFF;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
  transition: transform .12s ease, opacity .15s;
}
.stepper button:active { transform: scale(.9); }
.stepper button[disabled] { opacity: .35; pointer-events: none; }
.stepper button svg { width: 18px; height: 18px; }
.stepper .qty {
  min-width: 42px;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}

.summary-card { margin: 14px; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 16px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: #4E5056; font-weight: 600; font-size: 15px; }
.sum-row .free { color: var(--teal); font-weight: 800; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 7px; padding-top: 13px; color: var(--ink); font-weight: 800; font-size: 17px; }
.sum-row.total .val { color: var(--brand); }

.note-list { margin: 14px 16px 4px; }
.note-list .note {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  padding: 6px 0;
  line-height: 1.45;
}
.note-list svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

/* =========================================================
   COUNTDOWN 5 MENIT (form & qris)
   ========================================================= */
.timer-bar { padding: 12px 14px 0; }
.timer {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #FFF;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow-card);
}
.timer-ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.timer-ico svg { width: 20px; height: 20px; }
.timer-txt { flex: 1; min-width: 0; }
.timer-txt b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.timer-txt span { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.timer-time {
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.timer.warn { border-color: #F5C084; background: #FFF9EF; }
.timer.warn .timer-ico { background: var(--amber-bg); color: var(--amber-ico); }
.timer.warn .timer-time { color: #C07A18; }
.timer.danger { border-color: #F3A9B1; background: #FFF5F6; animation: pulse 1s infinite; }
.timer.danger .timer-ico { background: var(--danger-soft); color: var(--danger); }
.timer.danger .timer-time { color: var(--danger); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 45, 60, .18); }
  50% { box-shadow: 0 0 0 7px rgba(224, 45, 60, 0); }
}

/* Ringkasan pesanan kecil di atas form */
.order-chip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 14px 0;
  background: #FFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 11px 12px;
}
.order-chip img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.order-chip b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.25; }
.order-chip span { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.order-chip .end { margin-left: auto; text-align: right; flex: none; }
.order-chip .end b { color: var(--brand); font-size: 15.5px; }
.order-chip a { font-size: 12.5px; font-weight: 700; }

/* =========================================================
   FORM
   ========================================================= */
.banner-info {
  display: flex;
  gap: 11px;
  margin: 14px 14px 0;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: #0B6E62;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}
.banner-info svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.banner-info b { color: #085A50; }

.form-card { margin: 14px 14px 0; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 6px 16px 16px; }
.form-card h3 { font-size: 16.5px; font-weight: 800; padding: 14px 0 2px; }
.field { margin-top: 14px; }
.field label { display: flex; align-items: baseline; gap: 6px; font-weight: 700; color: var(--ink-2); font-size: 14px; margin-bottom: 7px; }
.field label .opt { color: var(--muted); font-weight: 600; font-size: 12px; }
.field .req { color: var(--brand); font-weight: 800; }
.field input, .field select {
  width: 100%;
  background: #F6F6F8;
  border: 1.5px solid transparent;
  border-radius: 13px;
  padding: 13px 15px;
  outline: none;
  transition: border .15s, background .15s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 50px;
}
.field input::placeholder { color: #A9AAAF; }
.field input:focus, .field select:focus { background: #FFF; border-color: var(--teal); }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9096' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field .hint { color: var(--muted); font-weight: 600; font-size: 12.5px; margin-top: 6px; }
.field .err-msg { display: none; color: var(--danger); font-weight: 700; font-size: 12.5px; margin-top: 6px; align-items: center; gap: 6px; }
.field .err-msg svg { width: 14px; height: 14px; flex: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); background: #FFF7F7; }
.field.invalid .err-msg { display: flex; }

.agree {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 18px 16px 0;
  color: #4E5056;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.45;
}
.agree input {
  width: 21px; height: 21px;
  margin: 0;
  flex: none;
  accent-color: var(--brand);
  margin-top: 1px;
}
.agree a { font-weight: 700; }

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 28px);
  margin: 18px 14px 6px;
  background: var(--brand);
  color: #FFF;
  font-weight: 800;
  font-size: 16.5px;
  border-radius: 999px;
  padding: 16px;
  min-height: 54px;
  box-shadow: 0 8px 20px rgba(220, 28, 91, .28);
  transition: transform .15s ease, background .15s;
}
.btn-block svg { width: 19px; height: 19px; }
.btn-block:active { transform: scale(.97); background: var(--brand-dark); }
.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12.5px;
  padding: 4px 0 12px;
}
.secure-line svg { width: 14px; height: 14px; color: var(--ok); }

/* =========================================================
   QRIS
   ========================================================= */
.pay-card { margin: 14px; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.pay-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.pay-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #FFF;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
}
.pay-head .who { flex: 1; min-width: 0; }
.pay-head .who b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.25; }
.pay-head .who span { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.radio-on {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 6.5px solid var(--brand);
  background: #FFF;
  flex: none;
}
.qr-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 6px;
}
.qr-frame {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #FFF;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.qr-frame img { width: 232px; height: 232px; display: block; }
.qr-refresh {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--danger);
  font-weight: 800;
  text-align: center;
  padding: 14px;
}
.qr-frame.expired .qr-refresh { display: flex; }
.qr-refresh svg { width: 34px; height: 34px; }
.qr-refresh button {
  background: var(--brand);
  color: #FFF;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.qr-cap { margin-top: 12px; color: var(--muted); font-weight: 600; font-size: 13px; text-align: center; }
.amount-box { text-align: center; padding: 10px 16px 4px; }
.amount-box small { display: block; color: var(--muted); font-weight: 700; letter-spacing: .5px; font-size: 12px; }
.amount-box b { display: block; color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: .3px; }
.amount-box span { color: var(--muted); font-weight: 600; font-size: 13px; }
.apps { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 12px 16px 16px; }
.apps span {
  background: var(--gray-card);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #55575D;
  letter-spacing: .3px;
}
.steps-card { margin: 14px; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 16px; }
.steps-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-row { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.step-n {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.step-row p { color: #4E5056; font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.dual-btn { display: flex; gap: 10px; margin: 16px 14px 0; }
.btn-ghost {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid #DBDBDF;
  background: #FFF;
  color: var(--ink-2);
  font-weight: 800;
  border-radius: 999px;
  min-height: 52px;
  font-size: 15px;
}
.btn-ghost svg { width: 17px; height: 17px; }
.btn-ghost:active { background: var(--gray-card); }
.dual-btn .btn-cta { flex: 1.7; padding: 14px 10px; }

/* =========================================================
   LOADING (verifikasi pembayaran)
   ========================================================= */
.ld-body {
  background: linear-gradient(180deg, #FFF 0%, #FDF2F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
}
.ld-wrap { text-align: center; width: 100%; max-width: 360px; }
.ld-logo {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 26px;
  background: #FFF;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  animation: bob 1.6s ease-in-out infinite;
}
.ld-logo img { width: 46px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ld-ring {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 5px solid var(--brand-soft);
  border-top-color: var(--brand);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ld-title { font-size: 21px; font-weight: 800; color: var(--ink); }
.ld-sub { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-top: 5px; }
.ld-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  overflow: hidden;
  margin: 22px 8px 20px;
}
.ld-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #F2679B);
  transition: width .5s ease;
}
.ld-steps { text-align: left; margin: 0 6px; }
.ld-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #B9BABE;
  font-weight: 700;
  font-size: 14.5px;
  opacity: .55;
  transition: opacity .3s, color .3s;
}
.ld-step .ic {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #D9D9DD;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .3s;
}
.ld-step .ic svg { width: 15px; height: 15px; }
.ld-step.active { color: var(--ink-2); opacity: 1; }
.ld-step.active .ic { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.ld-step.done { color: var(--ink-2); opacity: 1; }
.ld-step.done .ic { border: none; background: var(--ok); color: #FFF; animation: none; }

/* =========================================================
   PENDING
   ========================================================= */
.pend-hero { text-align: center; padding: 26px 22px 8px; }
.pend-ring { position: relative; width: 108px; height: 108px; margin: 0 auto 16px; }
.pend-ring svg.ring { width: 108px; height: 108px; transform: rotate(-90deg); }
.pend-ring circle { fill: none; stroke-width: 9; }
.pend-ring .bg { stroke: var(--amber-bg); }
.pend-ring .fg {
  stroke: var(--amber-ico);
  stroke-linecap: round;
  stroke-dasharray: 302;
  stroke-dashoffset: 82;
  animation: ringPulse 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ringPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.pend-ring .core {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 3px 14px rgba(233, 161, 59, .3);
  display: flex; align-items: center; justify-content: center;
}
.pend-ring .core svg { width: 40px; height: 40px; color: var(--amber-ico); }
.pend-hero h1 { font-size: 23px; font-weight: 800; }
.pend-hero p { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-top: 7px; line-height: 1.5; }
.pill-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-weight: 800;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 9px 16px;
}
.pill-amber svg { width: 15px; height: 15px; }

.order-card { margin: 14px; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 6px 16px 10px; }
.order-card h3 { font-size: 16px; font-weight: 800; padding: 14px 0 4px; }
.o-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 14.5px; }
.o-row .k { color: var(--muted); font-weight: 600; flex: none; }
.o-row .v { color: var(--ink-2); font-weight: 700; text-align: right; word-break: break-word; }
.o-row .v.ref { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--gray-card);
  color: #55575D;
}
.copy-btn:active { background: #E4E4E7; }
.copy-btn svg { width: 15px; height: 15px; }

.timeline-card { margin: 14px; background: #FFF; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 18px 16px; }
.tl { position: relative; margin-left: 14px; }
.tl::before {
  content: '';
  position: absolute;
  left: 12px; top: 8px; bottom: 14px;
  width: 2.5px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 20px 38px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute;
  left: 0; top: 0;
  width: 27px; height: 27px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-card);
  color: #A9AAAF;
  border: 2.5px solid #FFF;
  box-shadow: 0 0 0 2px var(--line);
}
.tl-dot svg { width: 14px; height: 14px; }
.tl-item.done .tl-dot { background: var(--ok); color: #FFF; box-shadow: 0 0 0 2px var(--ok); }
.tl-item.now .tl-dot { background: #FFF; color: var(--amber-ico); box-shadow: 0 0 0 2.5px var(--amber-ico); animation: pulse 1.4s infinite; }
.tl-item.now .tl-dot svg { width: 16px; height: 16px; }
.tl-item h4 { font-size: 15px; font-weight: 800; color: var(--ink-2); }
.tl-item p { color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 2px; }
.tl-item.done h4 { color: var(--ok); }

.help-card {
  margin: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--blue-card);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.help-card svg { width: 22px; height: 22px; color: #2B6CB0; flex: none; }
.help-card p { color: #2A4A75; font-weight: 600; font-size: 13.5px; line-height: 1.45; }
.help-card a { color: #1D63C4; font-weight: 800; white-space: nowrap; }

/* =========================================================
   DRAWER MENU (tombol menu di navbar)
   ========================================================= */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 24, .5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(82vw, 340px);
  background: #FFF;
  z-index: 95;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.32, .72, .28, 1);
  display: flex;
  flex-direction: column;
  border-radius: 22px 0 0 22px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
  padding: 18px 0 calc(16px + env(safe-area-inset-bottom));
}
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 12px; }
.drawer-head img { width: 34px; }
.drawer-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 16px 14px;
  background: var(--brand-soft);
  border-radius: 16px;
  padding: 13px 14px;
}
.drawer-user .face {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F6A9C0, #D87093);
  color: #FFF;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.drawer-user b { color: var(--ink-2); font-size: 14.5px; display: block; line-height: 1.2; }
.drawer-user span { color: #A96A80; font-weight: 600; font-size: 12.5px; }
.drawer-nav { list-style: none; padding: 0 10px; flex: 1; overflow-y: auto; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: 14px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 15.5px;
}
.drawer-nav a:active { background: var(--gray-card); }
.drawer-nav a svg { width: 21px; height: 21px; color: #7A7C82; }
.drawer-nav a.hot { color: var(--brand); }
.drawer-nav a.hot svg { color: var(--brand); }
.drawer-nav a .new {
  margin-left: auto;
  background: var(--brand);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  border-radius: 999px;
  padding: 3px 8px;
}
.drawer-foot { padding: 14px 18px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-weight: 600; font-size: 13px; }
.drawer-foot .lang { display: inline-flex; align-items: center; gap: 8px; background: var(--gray-card); padding: 8px 12px; border-radius: 999px; font-weight: 700; color: var(--ink-2); }
.flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; display: inline-block; position: relative; background: #FFF; }
.flag::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #E70011 0 50%, #FFF 50% 100%); }

/* =========================================================
   MODAL & TOAST
   ========================================================= */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 18, 24, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-scrim.show { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%;
  max-width: 350px;
  background: #FFF;
  border-radius: 24px;
  padding: 24px 20px 18px;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .22s ease;
  box-shadow: var(--shadow-float);
}
.modal-scrim.show .modal { transform: translateY(0) scale(1); }
.modal-ico {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal-ico svg { width: 30px; height: 30px; }
.modal-ico--danger { background: var(--danger-soft); color: var(--danger); }
.modal-ico--time { background: var(--amber-bg); color: var(--amber-ico); }
.modal-ico--ok { background: var(--ok-soft); color: var(--ok); }
.modal h3 { font-size: 18.5px; font-weight: 800; }
.modal p { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 7px; line-height: 1.5; }
.modal-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.modal-actions .btn-block, .modal-actions .btn-ghost { width: 100%; margin: 0; min-height: 48px; padding: 12px; }
.modal-actions .btn-ghost { border-color: #DBDBDF; }
.modal-actions .m-primary { background: var(--brand); color: #FFF; font-weight: 800; border-radius: 999px; box-shadow: none; }
.modal-actions .m-danger { background: var(--danger); }
.modal-actions .m-teal { background: var(--teal); }

.toast-zone {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 40px);
}
.toast {
  background: rgba(30, 30, 36, .94);
  color: #FFF;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-float);
  animation: toastIn .25s ease;
  max-width: 100%;
}
.toast svg { width: 16px; height: 16px; flex: none; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* Galeri modal */
.gallery-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 14, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.gallery-scrim.show { opacity: 1; pointer-events: auto; }
.gallery-scrim img { max-width: 100%; max-height: 74vh; border-radius: 14px; object-fit: contain; }
.gallery-nav { display: flex; gap: 9px; margin-top: 18px; }
.gallery-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
}
.gallery-nav button svg { width: 19px; height: 19px; }
.gallery-count { color: rgba(255, 255, 255, .8); font-weight: 700; margin-top: 10px; font-size: 13.5px; }

/* =========================================================
   Util & responsif halus
   ========================================================= */
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt14 { margin-top: 14px; } .mt20 { margin-top: 20px; }
.hidden { display: none !important; }
.spacer-end { flex: 1; }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 359px) {
  .ev-title { font-size: 21px; }
  .cta-price { font-size: 16px; }
  .btn-cta { padding: 13px 18px; font-size: 15px; }
  .qr-frame img { width: 200px; height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
