/* =========================================================
   SNAPTIX x GEMARIA FEST 2027 — Design System
   Tema: navy #0B1536 + gradasi biru-lime (mengikuti logo.png)
   ========================================================= */
:root {
  --navy: #0b1536;
  --navy-2: #15224d;
  --navy-3: #1d2f6f;
  --primary: #2b4bf2;
  --primary-600: #1e3ad6;
  --primary-soft: #e9eeff;
  --lime: #d9f65c;
  --lime-deep: #9dbf2e;
  --grad: linear-gradient(115deg, #6d5bf6 0%, #2b4bf2 52%, #9be15d 100%);
  --bg: #f3f6fd;
  --card: #ffffff;
  --line: #e2e8f7;
  --line-2: #eef2fb;
  --text: #0b1536;
  --muted: #5b6684;
  --muted-2: #8a94ad;
  --green: #0fa958;
  --green-soft: #e5f7ec;
  --amber: #b45309;
  --amber-soft: #fef4dd;
  --red: #e23636;
  --red-soft: #fdeaea;
  --shadow-sm: 0 2px 10px rgba(11, 21, 54, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 21, 54, 0.1);
  --shadow-lg: 0 22px 60px rgba(11, 21, 54, 0.18);
  --radius: 16px;
  --radius-lg: 22px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 85% -60px, rgba(107, 91, 246, 0.12), transparent 65%),
    radial-gradient(700px 380px at -10% 30px, rgba(155, 225, 93, 0.14), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 90;
  margin: 12px 14px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.header-search { position: relative; flex: 1; max-width: 430px; }
.header-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; stroke: var(--muted-2);
}
.header-search input {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 44px 0 42px;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search input::placeholder { color: var(--muted-2); }
.header-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(43, 75, 242, 0.14); }
.header-search .search-go {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 32px; padding: 0 14px; border: none; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 0.78rem; font-weight: 600;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-toggle { display: none; }

.user-chip {
  display: none;
  align-items: center;
  gap: 8px;
  position: relative;
}
.user-chip .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
.user-chip .user-name { font-size: 0.85rem; font-weight: 600; }
.user-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); min-width: 180px; padding: 6px; display: none;
}
.user-menu.open { display: block; }
.user-menu button {
  width: 100%; text-align: left; background: none; border: none;
  padding: 10px 12px; border-radius: 10px; font-size: 0.85rem; color: var(--text);
}
.user-menu button:hover { background: var(--red-soft); color: var(--red); }

.mobile-search {
  display: none;
  padding: 0 16px 14px;
}
.mobile-search.open { display: block; }
.mobile-search .header-search { max-width: none; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  min-height: 44px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(11, 21, 54, 0.25); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 10px 26px rgba(11, 21, 54, 0.32); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(43, 75, 242, 0.35); }
.btn-grad:hover { filter: brightness(1.06); }
.btn-success { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(15, 169, 88, 0.3); }
.btn-success:hover { filter: brightness(1.05); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 16px; }
.btn-ghost:hover { color: var(--primary); }
.btn-danger-soft { background: var(--red-soft); color: var(--red); }
.btn-danger-soft:hover { filter: brightness(0.97); }
.btn-sm { padding: 9px 18px; min-height: 38px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ================= BADGES / CHIPS ================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-navy { background: var(--primary-soft); color: var(--primary); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  background: #fff; color: var(--muted); border: 1.5px solid var(--line);
  transition: all 0.2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11, 21, 54, 0.22); }

/* ================= HERO ================= */
.hero { padding: 46px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { font-size: 1.05rem; color: var(--muted); margin-bottom: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 0.84rem; font-weight: 600; color: var(--navy-2);
}
.meta-pill svg { width: 15px; height: 15px; stroke: var(--primary); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; stroke: var(--green); }

.hero-visual { position: relative; }
.poster-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.poster-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.poster-card .poster-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 21, 54, 0.55) 0%, transparent 38%);
  display: flex; align-items: flex-end; padding: 18px;
}
.poster-card .poster-overlay span { color: #fff; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; }
.poster-float {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 7px 14px;
  box-shadow: var(--shadow-sm); font-size: 0.75rem; font-weight: 700; color: var(--green);
  display: flex; align-items: center; gap: 7px;
}
.poster-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }

/* ================= SECTIONS ================= */
.section { padding: 42px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 0.92rem; }
.section-line { width: 46px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 10px; }

/* Event grid */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.event-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card .ev-img { position: relative; }
.event-card .ev-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.event-card .ev-img .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); }
.event-card .ev-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card .ev-cat { font-size: 0.72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }
.event-card h3 { font-size: 1.05rem; line-height: 1.35; }
.event-card .ev-meta { font-size: 0.82rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.event-card .ev-meta span { display: flex; align-items: center; gap: 7px; }
.event-card .ev-meta svg { width: 14px; height: 14px; stroke: var(--muted-2); flex-shrink: 0; }
.event-card .ev-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.event-card .ev-price small { display: block; font-size: 0.7rem; color: var(--muted-2); }
.event-card .ev-price strong { color: var(--navy); font-size: 1rem; }

.empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state.show { display: block; }
.empty-state svg { width: 52px; height: 52px; stroke: var(--muted-2); margin: 0 auto 14px; }
.empty-state strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); margin-bottom: 14px;
}
.feature-card .ic svg { width: 22px; height: 22px; stroke: var(--primary); }
.feature-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.84rem; color: var(--muted); }

/* Steps (cara pembelian di landing) */
.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: howto; }
.howto-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; counter-increment: howto; }
.howto-card::before {
  content: "0" counter(howto);
  font-size: 2rem; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.howto-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.howto-card p { font-size: 0.83rem; color: var(--muted); }

/* CTA organizer */
.organizer-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 44px 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.organizer-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(155, 225, 93, 0.35), transparent 70%);
}
.organizer-cta h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: 8px; }
.organizer-cta p { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; max-width: 560px; }
.organizer-cta .btn { position: relative; z-index: 1; }

/* ================= DETAIL PAGE ================= */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 22px 0 0; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 13px; height: 13px; stroke: var(--muted-2); }
.breadcrumb strong { color: var(--navy); }

.detail-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; padding: 22px 0 8px; }
.detail-title h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 10px 0 8px; }
.detail-title .sub { color: var(--muted); font-size: 0.95rem; }

.organizer-row {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-top: 18px;
}
.organizer-row .org-logo {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem;
  display: grid; place-items: center; letter-spacing: 0.02em;
}
.organizer-row .org-name { font-size: 0.9rem; font-weight: 700; }
.organizer-row .org-sub { font-size: 0.75rem; color: var(--muted); }
.organizer-row .org-ig { margin-left: auto; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.info-card .ic-label { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 8px; }
.info-card .ic-label svg { width: 15px; height: 15px; stroke: var(--primary); }
.info-card .ic-value { font-weight: 600; font-size: 0.92rem; line-height: 1.45; }
.info-card .ic-sub { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.info-card .link { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; }
.info-card .link svg { width: 13px; height: 13px; }

/* Tabs */
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px; margin: 30px 0 24px; width: fit-content; max-width: 100%;
}
.tab-btn {
  border: none; background: transparent; border-radius: 999px;
  padding: 10px 22px; font-size: 0.87rem; font-weight: 600; color: var(--muted);
  transition: all 0.2s; min-height: 42px;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11, 21, 54, 0.22); }
.tab-panel { display: none; animation: fadeUp 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-card h3 { font-size: 1.08rem; margin-bottom: 14px; }
.panel-card h4 { font-size: 0.95rem; margin: 20px 0 10px; }
.panel-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.panel-card p b, .panel-card p strong { color: var(--navy); }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.pillar-card { background: var(--line-2); border-radius: 14px; padding: 16px; }
.pillar-card strong { display: block; font-size: 0.85rem; color: var(--primary); margin-bottom: 4px; letter-spacing: 0.05em; }
.pillar-card span { font-size: 0.82rem; color: var(--muted); }

.lineup-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.lineup-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lineup-list li {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-size: 0.88rem; font-weight: 600;
}
.lineup-list .num {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary); font-size: 0.78rem;
  display: grid; place-items: center; font-weight: 700;
}
.lineup-list .myst { color: var(--primary); }

.terms-list { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.terms-list li { font-size: 0.85rem; color: var(--muted); }

.zone-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.86rem; }
.zone-table th, .zone-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); }
.zone-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.zone-table td:first-child { font-weight: 600; }
.zone-table tr:last-child td { border-bottom: none; }

.mystery-card {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(115deg, rgba(109, 91, 246, 0.1), rgba(155, 225, 93, 0.12));
  border: 1.5px dashed rgba(43, 75, 242, 0.4); border-radius: 14px; padding: 16px;
}
.mystery-card .qmark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center;
}
.mystery-card div strong { font-size: 0.9rem; display: block; }
.mystery-card div span { font-size: 0.8rem; color: var(--muted); }

/* FAQ accordion */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none; text-align: left;
  padding: 16px 18px; font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.faq-q svg { width: 18px; height: 18px; stroke: var(--muted-2); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); stroke: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 18px 16px; font-size: 0.86rem; color: var(--muted); }

/* ================= TICKETS ================= */
.ticket-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; margin-top: 10px; }
.ticket-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.ticket-search { position: relative; flex: 1; min-width: 220px; }
.ticket-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted-2); }
.ticket-search input {
  width: 100%; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  padding: 0 16px 0 40px; font-size: 0.88rem; outline: none; background: #fff;
}
.ticket-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(43, 75, 242, 0.14); }

.ticket-grid { display: flex; flex-direction: column; gap: 14px; }
.ticket-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: box-shadow 0.2s, border-color 0.2s;
}
.ticket-card:hover { box-shadow: var(--shadow-md); }
.ticket-card.selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 169, 88, 0.15); }
.tc-head { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.tc-head h3 { font-size: 1rem; line-height: 1.35; flex: 1; min-width: 180px; }
.tc-zone { font-size: 0.72rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.tc-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 8px; }
.tc-price .orig { font-size: 0.85rem; color: var(--red); text-decoration: line-through; }
.tc-price .now { font-size: 1.35rem; font-weight: 700; color: var(--green); }
.tc-price .unit { font-size: 0.8rem; color: var(--muted-2); }
.tc-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 14px; }
.tc-perks li { font-size: 0.79rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.tc-perks svg { width: 13px; height: 13px; stroke: var(--green); flex-shrink: 0; }
.tc-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button {
  width: 38px; height: 38px; border: none; background: #fff; font-size: 1.1rem;
  color: var(--primary); font-weight: 700; display: grid; place-items: center;
}
.stepper button:hover { background: var(--primary-soft); }
.stepper button:disabled { color: var(--muted-2); cursor: not-allowed; background: #fff; }
.stepper .qty-val { min-width: 44px; text-align: center; font-weight: 700; font-size: 0.95rem; }
.stepper.qty-fixed { border: none; }
.stepper.qty-fixed .qty-val { min-width: auto; font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.tc-total { margin-left: auto; text-align: right; }
.tc-total small { display: block; font-size: 0.72rem; color: var(--muted-2); }
.tc-total strong { font-size: 1.02rem; color: var(--navy); }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.side-card h3 { font-size: 1rem; margin-bottom: 16px; }
.side-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.side-steps li { display: flex; gap: 12px; font-size: 0.84rem; color: var(--muted); }
.side-steps .n {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff; font-size: 0.78rem; font-weight: 700;
  display: grid; place-items: center;
}
.side-note {
  background: var(--line-2); border-radius: 12px; padding: 13px 15px;
  font-size: 0.79rem; color: var(--muted); margin-bottom: 14px;
}
.side-note b { color: var(--navy); }

/* ================= STEPS BAR (checkout flow) ================= */
.steps-bar { display: flex; justify-content: center; padding: 26px 0 6px; }
.steps { display: flex; gap: 0; list-style: none; flex-wrap: wrap; justify-content: center; }
.steps li { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--muted-2); }
.steps li + li::before {
  content: ""; width: 42px; height: 2px; border-radius: 2px;
  background: var(--line); margin: 0 14px; display: block;
}
.steps .n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); font-size: 0.8rem; font-weight: 700;
}
.steps li.done { color: var(--green); }
.steps li.done .n { background: var(--green); border-color: var(--green); color: #fff; content: "✓"; }
.steps li.done .n::after { content: "✓"; }
.steps li.done .n { font-size: 0; }
.steps li.active { color: var(--navy); }
.steps li.active .n { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 0 0 5px rgba(11, 21, 54, 0.1); }

/* ================= FORM PAGE ================= */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; padding: 26px 0 60px; }
.page-title { font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 6px; }
.page-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }

.form-card, .summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.form-card > p { font-size: 0.84rem; color: var(--muted); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 7px; }
.form-group label span { color: var(--red); }
.form-group input {
  width: 100%; height: 48px; border-radius: 13px; border: 1.5px solid var(--line);
  padding: 0 16px; font-size: 0.9rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff; color: var(--text);
}
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(43, 75, 242, 0.13); }
.form-group input.invalid { border-color: var(--red); }
.form-group input.invalid:focus { box-shadow: 0 0 0 4px rgba(226, 54, 54, 0.12); }
.form-error { display: none; font-size: 0.76rem; color: var(--red); margin-top: 6px; }
.form-error.show { display: flex; align-items: center; gap: 5px; }
.form-error svg { width: 13px; height: 13px; stroke: var(--red); flex-shrink: 0; }
.form-hint { font-size: 0.74rem; color: var(--muted-2); margin-top: 6px; }

.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.check-row label { font-size: 0.82rem; color: var(--muted); }
.check-row.invalid label { color: var(--red); }

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 180px; }

.summary-card { position: sticky; top: 96px; }
.summary-card h3 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.summary-card h3 a { font-size: 0.78rem; font-weight: 600; }
.sum-ticket {
  background: var(--line-2); border-radius: 14px; padding: 16px; margin-bottom: 14px;
}
.sum-ticket .st-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.sum-ticket .st-zone { font-size: 0.76rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; display: block; }
.sum-rows { display: flex; flex-direction: column; gap: 9px; padding: 4px 2px 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.sum-row span:last-child { font-weight: 600; color: var(--navy); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; }
.sum-total span { font-size: 0.85rem; color: var(--muted); }
.sum-total strong { font-size: 1.3rem; color: var(--navy); }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--muted-2); margin-top: 14px; }
.secure-note svg { width: 14px; height: 14px; stroke: var(--green); flex-shrink: 0; }

/* ================= QRIS ================= */
.qris-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; padding: 26px 0 60px; }
.qris-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; position: relative; }
.qris-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.qris-card .qris-sub { font-size: 0.84rem; color: var(--muted); margin-bottom: 20px; }
.qris-frame {
  max-width: 320px; margin: 0 auto 20px; border: 2px solid var(--navy); border-radius: 20px;
  padding: 18px 18px 14px; position: relative; background: #fff;
}
.qris-frame img { width: 100%; border-radius: 8px; }
.qris-frame .qris-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 0.12em;
}
.qris-frame .qris-brand i { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); display: inline-block; }
.amount-box {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--line-2); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px;
}
.amount-box .amt-label { font-size: 0.78rem; color: var(--muted); text-align: left; }
.amount-box strong { font-size: 1.45rem; color: var(--navy); }
.copy-btn {
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
  padding: 8px 14px; font-size: 0.78rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px;
}
.copy-btn:hover { border-color: var(--primary); }
.copy-btn svg { width: 14px; height: 14px; stroke: currentColor; }

.timer-box {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber-soft); color: var(--amber); font-weight: 700;
  border-radius: 999px; padding: 10px 20px; font-size: 0.95rem; margin-bottom: 18px;
}
.timer-box svg { width: 17px; height: 17px; stroke: currentColor; }
.timer-box.warn { background: var(--red-soft); color: var(--red); animation: pulse 1s infinite; }

.howto-pay { text-align: left; margin-top: 6px; }
.howto-pay h4 { font-size: 0.9rem; margin-bottom: 12px; }
.howto-pay ol { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: pay; }
.howto-pay li { display: flex; gap: 12px; font-size: 0.84rem; color: var(--muted); counter-increment: pay; }
.howto-pay li::before {
  content: counter(pay);
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary); font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}

.pay-side { position: sticky; top: 96px; }
.qris-side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.qris-side-card h4 { font-size: 0.92rem; margin-bottom: 12px; }
.qris-side-rows { display: flex; flex-direction: column; gap: 9px; }
.qris-side-rows .sum-row span:first-child { color: var(--muted-2); }

.expired-overlay {
  position: absolute; inset: 0; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(4px);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 20px; z-index: 5;
}
.expired-overlay.show { display: flex; }
.expired-overlay svg { width: 46px; height: 46px; stroke: var(--red); }
.expired-overlay strong { color: var(--navy); font-size: 1.02rem; }
.expired-overlay p { font-size: 0.84rem; color: var(--muted); }

/* ================= LOADING ================= */
.loading-wrap { max-width: 560px; margin: 0 auto; padding: 60px 20px 90px; text-align: center; }
.spinner {
  width: 84px; height: 84px; margin: 0 auto 30px; border-radius: 50%;
  border: 6px solid var(--line); border-top-color: var(--primary); border-right-color: #9be15d;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap h1 { font-size: 1.35rem; margin-bottom: 8px; }
.loading-wrap .ld-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 34px; }

.progress-track { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 30px; }
.progress-fill { height: 100%; width: 0%; border-radius: 99px; background: var(--grad); transition: width 0.5s ease; }

.ld-steps { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 14px; max-width: 340px; margin: 0 auto; }
.ld-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted-2); font-weight: 500; transition: color 0.3s; }
.ld-steps li .ic {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--line); display: grid; place-items: center; background: #fff;
}
.ld-steps li .ic svg { width: 13px; height: 13px; stroke: #fff; opacity: 0; }
.ld-steps li.on { color: var(--navy); font-weight: 600; }
.ld-steps li.on .ic { border-color: var(--primary); }
.ld-steps li.done { color: var(--green); }
.ld-steps li.done .ic { border-color: var(--green); background: var(--green); }
.ld-steps li.done .ic svg { opacity: 1; }
.ld-note { margin-top: 36px; font-size: 0.78rem; color: var(--muted-2); display: flex; align-items: center; justify-content: center; gap: 8px; }
.ld-note svg { width: 14px; height: 14px; stroke: var(--muted-2); }

/* ================= PENDING ================= */
.pending-grid { max-width: 780px; margin: 0 auto; padding: 26px 0 60px; display: flex; flex-direction: column; gap: 18px; }
.status-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; position: relative; overflow: hidden;
}
.status-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}
.status-icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--amber-soft); display: grid; place-items: center;
}
.status-icon svg { width: 36px; height: 36px; stroke: var(--amber); }
.status-card h1 { font-size: 1.35rem; margin-bottom: 8px; }
.status-card .st-desc { color: var(--muted); font-size: 0.9rem; max-width: 520px; margin: 0 auto 18px; }
.status-code {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--line-2); border-radius: 14px; padding: 12px 18px;
}
.status-code .code { font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; }

.detail-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.detail-order h3 { font-size: 1.02rem; margin-bottom: 18px; }
.order-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.order-row .or-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); font-weight: 700; margin-bottom: 3px; }
.order-row .or-value { font-size: 0.9rem; font-weight: 600; word-break: break-word; }
.order-row .or-value.total { color: var(--green); font-size: 1.1rem; }

.info-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--primary-soft); border-radius: var(--radius); padding: 18px 20px;
}
.info-banner svg { width: 20px; height: 20px; stroke: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-banner p { font-size: 0.85rem; color: var(--navy-2); }
.pending-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pending-actions .btn { flex: 1; min-width: 170px; }

/* ================= FOOTER ================= */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); margin-top: 50px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding: 48px 0 36px;
}
.footer-main .f-brand img { height: 36px; margin-bottom: 16px; }
.footer-main p { font-size: 0.83rem; margin-bottom: 16px; max-width: 320px; }
.footer-main h4 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-main ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-main ul a { color: rgba(255, 255, 255, 0.72); font-size: 0.84rem; transition: color 0.2s, padding-left 0.2s; }
.footer-main ul a:hover { color: #fff; padding-left: 4px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); transition: background 0.2s, transform 0.2s;
}
.f-social a:hover { background: var(--primary); transform: translateY(-2px); }
.f-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, 0.72); }
.footer-bottom a:hover { color: #fff; }
.footer-wordmark {
  overflow: hidden; position: relative; padding-top: 10px;
}
.footer-wordmark span {
  display: block; text-align: center; font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(3.4rem, 16vw, 13rem); line-height: 0.95; transform: translateY(24%);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}

/* ================= MODAL & TOAST ================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 21, 54, 0.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 420px; width: 100%;
  padding: 30px; position: relative; animation: fadeUp 0.25s ease; box-shadow: var(--shadow-lg);
}
.modal h3 { font-size: 1.2rem; margin-bottom: 6px; }
.modal .m-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: var(--line-2); display: grid; place-items: center;
}
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 16px; height: 16px; stroke: var(--muted); }
.modal .form-group input { height: 46px; }
.modal-success { text-align: center; padding: 10px 0; }
.modal-success .ok-ic {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--green-soft); display: grid; place-items: center;
}
.modal-success .ok-ic svg { width: 30px; height: 30px; stroke: var(--green); }
.modal-success h3 { margin-bottom: 8px; }
.modal-success p { font-size: 0.86rem; color: var(--muted); margin-bottom: 20px; }

.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; width: min(420px, calc(100vw - 40px)); pointer-events: none; }
.toast {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 18px;
  font-size: 0.85rem; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; animation: toastIn 0.3s ease;
  pointer-events: none;
}
.toast.out { animation: toastOut 0.3s ease forwards; }
.toast svg { width: 17px; height: 17px; stroke: var(--lime); flex-shrink: 0; }
.toast.err svg { stroke: #ff9c9c; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px); } }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .header-search { display: none; }
  .search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
  .search-toggle svg { width: 18px; height: 18px; stroke: var(--navy); }
  .hero-grid, .detail-hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .ticket-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .checkout-grid, .qris-grid { grid-template-columns: 1fr; }
  .summary-card, .pay-side { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 10px 12px; }
  .brand img { height: 28px; }
  .hero { padding: 28px 0 20px; }
  .hero-cta .btn { flex: 1; }
  .info-grid { grid-template-columns: 1fr; }
  .tabs { border-radius: 18px; }
  .tabs .tab-btn { padding: 9px 16px; flex: 1; }
  .panel-card { padding: 20px 16px; }
  .lineup-cols { grid-template-columns: 1fr; }
  .order-rows { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .organizer-cta { padding: 32px 22px; }
  .steps li + li::before { width: 18px; margin: 0 8px; }
  .steps li span.lbl { display: none; }
  .steps li.active span.lbl, .steps li:first-child span.lbl { display: inline; }
  .tc-foot .btn { width: 100%; }
  .tc-total { width: 100%; text-align: left; margin-left: 0; }
  .form-actions .btn { min-width: 100%; }
  .pending-actions .btn { min-width: 100%; }
}

/* Print (pending.html) */
@media print {
  .site-header, .site-footer, .pending-actions, .steps-bar, .info-banner .btn, .breadcrumb { display: none !important; }
  body { background: #fff; }
  .status-card, .detail-order, .info-banner { border: 1px solid #ddd; box-shadow: none; }
}


/* Navbar ringkas: logo dan ikon akun */
.header-inner-minimal {
  justify-content: space-between;
  min-height: 62px;
}
.header-inner-minimal .brand img {
  height: 36px;
  width: auto;
  max-width: min(190px, 52vw);
  object-fit: contain;
}
.header-inner-minimal .header-actions {
  margin-left: auto;
  flex: 0 0 auto;
}
.login-icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  transition: background .2s, border-color .2s, transform .15s;
}
.login-icon-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}
.login-icon-btn:active { transform: scale(.96); }
.login-icon-btn svg { width: 22px; height: 22px; }
.google-auth-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
#authBody { text-align: center; }
#authBody .form-group { text-align: left; }
#authBody .m-sub { margin-bottom: 22px; }
