:root {
  --bg: #0B1026;
  --bg-2: #0F1635;
  --bg-3: #141B3D;
  --card: #151C40;
  --card-2: #1A2250;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --gold: #F2B441;
  --amber: #FF8A3D;
  --sunset: #FF5E5B;
  --cream: #F7EFE1;
  --text: #F1EADA;
  --muted: #9BA3C4;
  --muted-2: #6E7699;
  --danger: #FF6B6B;
  --ok: #3DDC97;
  --grad: linear-gradient(120deg, #FFB03A 0%, #FF7A59 55%, #FF5E5B 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 176, 58, 0.16), rgba(255, 94, 91, 0.12));
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.55);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(at 22% 18%, rgba(255, 94, 91, 0.12) 0px, transparent 48%),
    radial-gradient(at 82% 12%, rgba(255, 176, 58, 0.13) 0px, transparent 46%),
    radial-gradient(at 70% 82%, rgba(255, 122, 89, 0.10) 0px, transparent 50%),
    radial-gradient(at 18% 92%, rgba(255, 176, 58, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: rgba(255, 176, 58, 0.35); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 176, 58, 0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 176, 58, 0.5); }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #121A3C, var(--bg) 70%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Falling music notes */
.music-fall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.m-note { position: absolute; top: -8%; animation: note-fall var(--dur, 9s) linear var(--delay, 0s) infinite; user-select: none; will-change: transform; }
.m-note img { width: var(--w, 28px); height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); }
@keyframes note-fall {
  0% { transform: translateY(-12vh) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: var(--op, 0.5); }
  85% { opacity: var(--op, 0.5); }
  100% { transform: translateY(112vh) translateX(var(--sway, 30px)) rotate(340deg); opacity: 0; }
}
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .music-fall { display: none; } }

.loader-mark {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-mark .loader-logo { width: 64px; height: 64px; object-fit: contain; background-clip: initial; -webkit-background-clip: initial; box-shadow: 0 10px 30px -8px rgba(255, 122, 89, 0.5); border-radius: 16px; }
.loader-mark small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 6px; }
.loader-title { color: var(--muted); font-size: 14px; margin-top: 10px; }
.loader-credit { color: var(--muted-2); font-size: 12px; margin-top: 14px; text-align: center; }
.loader-credit b { color: var(--gold); font-weight: 700; }
.loader-bar { width: 200px; height: 3px; margin-top: 26px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 99px; animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 16, 38, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px -6px rgba(255, 122, 89, 0.4);
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.app-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 176, 58, 0.12);
  border: 1px solid rgba(255, 176, 58, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.app-tag:hover { background: rgba(255, 176, 58, 0.26); border-color: rgba(255, 176, 58, 0.7); }
.app-tag-static { align-self: flex-start; margin-top: 14px; display: inline-flex; font-size: 10.5px; gap: 6px; }
.beta-pill, .beta-dot {
  display: inline-block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2A1200;
  background: var(--grad);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 9px;
  vertical-align: middle;
  line-height: 1.5;
}
.beta-dot { color: #2A1200; margin-left: 4px; }
@media (max-width: 1020px) {
  .site-nav .app-tag { display: none; }
}

/* In the native app there is no APK download — remove download cues */
.is-native .app-tag { display: none; }
.is-native .app-tag-static { display: none; }

/* Mobile app shell (native OR mobile browser) — clean compact top bar */
.is-app .site-nav {
  height: calc(54px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
}
.is-app .brand { gap: 9px; min-width: 0; flex: 1; }
.is-app .brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.is-app .brand-name {
  font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-body); font-weight: 800; min-width: 0;
}
.is-app .brand-name small { display: none; }
.is-app .nav-user .nav-avatar { width: 32px; height: 32px; font-size: 12.5px; }
.is-app .nav-user .btn-ghost { display: none; }
.is-app .burger { padding: 7px; }
.is-app .burger span { width: 20px; height: 2px; }
.is-app .mobile-menu { top: calc(54px + env(safe-area-inset-top, 0px)); }

/* Native app home — centred, app-style */
.app-home {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 16px 14px;
}
.aph-greet { font-size: 13px; font-weight: 700; color: var(--gold); margin: 4px 0 14px; }
.aph-hero {
  position: relative; margin: 0; width: min(300px, 84%);
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.78);
}
.aph-hero > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.aph-hero figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; gap: 10px; align-items: center;
  background: rgba(8, 11, 27, 0.8); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 13px;
  padding: 9px 12px; text-align: left;
}
.aph-hero figcaption img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.aph-hero figcaption b { display: block; font-size: 12.5px; line-height: 1.2; }
.aph-hero figcaption span { font-size: 11px; color: var(--muted); line-height: 1.3; }
.aph-intro { margin: 22px 0 4px; }
.aph-intro p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0; text-wrap: pretty; }
.aph-intro p b { color: var(--cream); }
.aph-cta { display: flex; gap: 10px; justify-content: center; width: 100%; margin-top: 16px; }
.aph-cta .btn { flex: 1; min-width: 0; }
.aph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin: 20px 0; }
.aph-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; }
.aph-stat b {
  display: block; font-family: var(--font-display); font-size: 22px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aph-stat span { font-size: 11px; color: var(--muted); font-weight: 600; }
.aph-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.aph-card {
  display: flex; flex-direction: column; gap: 3px; text-align: left; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px;
}
.aph-card .aph-ico { font-size: 20px; }
.aph-card b { font-size: 14px; color: var(--cream); }
.aph-card small { font-size: 11.5px; color: var(--muted); }

/* Mobile app shell — tidy page shell for every page */
.is-app .page { padding: 20px 18px 24px; }
.is-app .page-title { margin-bottom: 20px; }
.is-app .page-title .eyebrow { margin-bottom: 8px; }
.is-app .page-title h1 { font-size: 24px; }
.is-app .page-title p { font-size: 13px; }
.is-app .card { border-radius: 18px; }
.is-app .grid-3, .is-app .grid-2 { gap: 12px; }
.is-app .data tbody td, .is-app .data thead th {
  padding: 11px 10px; font-size: 12.5px;
}
.nav-links { display: flex; gap: 26px; list-style: none; font-weight: 600; font-size: 14.5px; }
.nav-links a { color: var(--muted); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--cream); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav-cta {
  background: var(--grad);
  color: #fff !important;
  font-weight: 800 !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: 0 8px 22px -8px rgba(255, 122, 89, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(255, 122, 89, 0.7); }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-weight: 800; color: var(--gold); font-size: 15px;
}
.nav-user .who { display: none; }
@media (min-width: 900px) {
  .nav-user .who { display: block; font-size: 13px; font-weight: 700; }
  .nav-user .who small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
}
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 99;
  background: rgba(11, 16, 38, 0.97); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 18px 6%;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 6px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 15px; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.is-active { color: var(--gold); }

@media (max-width: 979px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-user a[data-logout] { display: none; }
  .nav-avatar { width: 34px; height: 34px; font-size: 13px; }
  .site-nav { height: 58px; }
  .brand-logo { width: 34px; height: 34px; border-radius: 10px; }
  .brand-name { font-size: 15.5px; }
  .brand-name small { font-size: 8.5px; }
  .mobile-menu { top: calc(58px + env(safe-area-inset-top, 0px)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 14.5px;
  border-radius: 999px; border: 0; cursor: pointer; transition: 0.2s ease;
  padding: 12px 22px; line-height: 1.2; white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(255, 122, 89, 0.65); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(255, 122, 89, 0.75); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: linear-gradient(120deg, #F2B441, #FF8A3D); color: #2A1200; }
.btn-danger { background: rgba(255, 107, 107, 0.12); color: var(--danger); border: 1px solid rgba(255, 107, 107, 0.35); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Typography / sections ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--cream); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; font-weight: 600; }
.sec-head b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.sec-head .sub { color: var(--muted); margin-top: 12px; font-size: 15px; max-width: 640px; margin-inline: auto; }
.section { padding: 74px 0; }
.section.tight { padding-top: 0; }

.h-live { display: inline-flex; align-items: center; gap: 8px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 1.9s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 78px 0 110px; }
.hero-fig { position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 8vw, 82px); line-height: 1.02; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.hero h1 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 640px; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 52px; display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; align-items: flex-end; }
.hero-stat { min-width: 120px; }
.hero-stat b { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.hero-stat span { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }

.hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 24px; }
.hero-glow::before {
  content: ""; position: absolute; top: -30%; right: -8%; width: 480px; height: 480px;
  border-radius: 50%; filter: blur(90px); opacity: 0.5;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.6), rgba(255, 176, 58, 0.2) 60%, transparent 70%);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(20, 27, 61, 0.55); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { padding: 0 30px; font-weight: 700; font-size: 13.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold); }
.marquee-track .alt { color: var(--gold); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 176, 58, 0.4); box-shadow: var(--shadow); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }

.how-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.h-num { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--gold); background: rgba(255, 176, 58, 0.1); border: 1px solid rgba(255, 176, 58, 0.28); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

.grid-3 { display: grid; gap: 18px; margin-top: 38px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pricing ---------- */
.tier-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 860px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { text-align: center; padding: 30px 26px; position: relative; overflow: hidden; }
.price-card.featured { border-color: rgba(255, 176, 58, 0.5); box-shadow: 0 18px 54px -20px rgba(255, 122, 89, 0.4); }
.price-card.featured::before { content: "LARIAN TERBAIK"; position: absolute; top: 16px; right: -34px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; padding: 5px 42px; transform: rotate(45deg); }
.price { font-family: var(--font-display); font-size: 50px; font-weight: 700; margin: 8px 0 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price small { font-size: 18px; }
.price-card ul { list-style: none; text-align: left; margin-top: 18px; }
.price-card li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); font-size: 14px; border-top: 1px dashed var(--line); }
.price-card li::before { content: "→"; position: absolute; left: 8px; color: var(--gold); font-weight: 800; }
.tier { font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.tier-hot { background: rgba(255, 94, 91, 0.14); color: #FF8D8B; border: 1px solid rgba(255, 94, 91, 0.35); }
.tier-warm { background: rgba(255, 176, 58, 0.14); color: var(--gold); border: 1px solid rgba(255, 176, 58, 0.35); }
.tier-cold { background: rgba(61, 220, 151, 0.12); color: var(--ok); border: 1px solid rgba(61, 220, 151, 0.35); }

.session-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 14px; }
.session-table th { text-align: left; color: var(--gold); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.session-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.session-table td:first-child { color: var(--cream); font-weight: 700; }
.session-table td .tag { font-size: 11px; padding: 3px 10px; border-radius: 99px; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { padding: 60px 0; text-align: center; background: linear-gradient(180deg, transparent, rgba(255, 122, 89, 0.10) 40%, rgba(255, 176, 58, 0.12), transparent); position: relative; }
.cta-band h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 12px; }
.cta-band h2 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.cta-band .btn { margin: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(8, 11, 28, 0.6); padding: 54px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a, .footer-grid li { color: var(--muted); font-size: 14px; }
.footer-grid ul a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 12.5px; }
.footer-bottom nav a { color: var(--muted-2); font-size: 12.5px; }
.footer-credit { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted-2); font-size: 12px; }
.footer-credit b { color: var(--gold); font-weight: 700; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page shell ---------- */
.page { padding: 40px 0 70px; }
.page-title { margin-bottom: 26px; }
.page-title h1 { font-size: clamp(26px, 4vw, 40px); }
.page-title p { color: var(--muted); margin-top: 6px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { font-size: 19px; margin-bottom: 8px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .span-2 { grid-column: span 2; } }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--cream); }
.field label em { color: var(--danger); font-style: normal; }
.input, .select, .textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--text); font-family: var(--font-body); font-size: 15px;
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 176, 58, 0.16); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23F2B441' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: var(--bg-2); color: var(--text); }
.textarea { min-height: 96px; resize: vertical; }
.field .hint { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.field .error { display: none; font-size: 12px; color: var(--danger); margin-top: 6px; }
.field.invalid .error { display: block; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); }
.consent-row { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent-row input { margin-top: 3px; accent-color: var(--amber); width: 17px; height: 17px; }
.checkbox { accent-color: var(--amber); width: 17px; height: 17px; cursor: pointer; }

/* ---------- Wizard ---------- */
.wizard-head { text-align: center; margin-bottom: 30px; }
.steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.step-dot { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted-2); font-weight: 700; }
.step-dot i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-weight: 800; transition: 0.25s; }
.step-dot.active { color: var(--gold); }
.step-dot.active i { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(255, 122, 89, 0.6); }
.step-dot.done i { background: rgba(61, 220, 151, 0.2); border-color: var(--ok); color: var(--ok); }
.step-link { width: 38px; height: 1px; background: var(--line-2); }
.wiz-panel { display: none; }
.wiz-panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wiz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 680px; margin: 0 auto; }
.wiz-card h2 { font-size: 24px; margin-bottom: 4px; }
.wiz-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; max-width: 680px; margin-inline: auto; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.summary-row dt { color: var(--muted-2); }
.summary-row dd { color: var(--cream); font-weight: 600; text-align: right; }

.success-wrap { text-align: center; padding: 20px 0; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 38px; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 14px 34px -10px rgba(255, 122, 89, 0.6); }
.badge-id { display: inline-block; background: rgba(255, 176, 58, 0.12); border: 1px dashed rgba(255, 176, 58, 0.5); color: var(--gold); font-weight: 800; letter-spacing: 0.08em; padding: 9px 18px; border-radius: 12px; margin: 14px 0; }

/* ---------- Notices / toast ---------- */
.notice { padding: 13px 16px; border-radius: 12px; font-size: 13.5px; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.notice-info { background: rgba(255, 176, 58, 0.12); border: 1px solid rgba(255, 176, 58, 0.3); color: #FFD9A0; }
.notice-error { background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.35); color: #FFB5B5; }
.notice-ok { background: rgba(61, 220, 151, 0.12); border: 1px solid rgba(61, 220, 151, 0.35); color: #A8F0CE; }
#toastWrap { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%); z-index: 900; display: grid; gap: 10px; width: min(94%, 440px); }
.toast { background: var(--card-2); border: 1px solid var(--line-2); color: var(--text); padding: 13px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; animation: fadeUp 0.3s ease; }
.toast.ok { border-color: rgba(61, 220, 151, 0.5); }
.toast.err { border-color: rgba(255, 107, 107, 0.5); }
.toast.warn { border-color: rgba(255, 176, 58, 0.5); }

/* ---------- Auth pages ---------- */
.auth-wrap { max-width: 440px; margin: 30px auto 0; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth-tab { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); cursor: pointer; transition: 0.2s; }
.auth-tab.active { background: var(--grad-soft); color: var(--gold); border-color: rgba(255, 176, 58, 0.4); }

/* ---------- Locations / slot grid ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px;
}
.search svg { flex: 0 0 auto; color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font-size: 14.5px; font-family: var(--font-body); min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--muted); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.chip.active { background: var(--grad-soft); color: var(--gold); border-color: rgba(255, 176, 58, 0.4); }

.loc-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-card { overflow: hidden; display: flex; flex-direction: column; }
.loc-head { height: 130px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; background: linear-gradient(150deg, rgba(255, 176, 58, 0.22), rgba(255, 94, 91, 0.18)), var(--bg-3); }
.loc-head.grad-1 { background: linear-gradient(150deg, rgba(255, 176, 58, 0.28), rgba(255, 94, 91, 0.2)), var(--bg-3); }
.loc-head.grad-2 { background: linear-gradient(150deg, rgba(255, 94, 91, 0.26), rgba(242, 180, 65, 0.2)), var(--bg-3); }
.loc-head.grad-3 { background: linear-gradient(150deg, rgba(61, 220, 151, 0.18), rgba(255, 176, 58, 0.2)), var(--bg-3); }
.loc-head .pin { font-size: 12px; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 6px; font-weight: 700; }
.loc-head h3 { font-size: 23px; }
.loc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc-body p { color: var(--muted); font-size: 13.5px; flex: 1; }
.loc-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.loc-price b { font-family: var(--font-display); font-size: 24px; color: var(--gold); }
.loc-price small { display: block; color: var(--muted-2); font-size: 11.5px; }

.slot-grid { display: grid; gap: 12px; }
.slot-card { border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); transition: 0.2s; flex-wrap: wrap; }
.slot-card:hover { border-color: rgba(255, 176, 58, 0.4); }
.slot-card .time { font-weight: 800; font-family: var(--font-display); font-size: 17px; }
.slot-card .time span { display: block; font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: 12px; }
.slot-card .price { font-family: var(--font-body); font-size: 16px; font-weight: 800; color: var(--gold); margin: 0; background: none; -webkit-text-fill-color: currentColor; }
.slot-card .st { font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.st-Tersedia { background: rgba(61, 220, 151, 0.14); color: var(--ok); }
.st-Ditempah, .st-Dibatalkan { background: rgba(255, 107, 107, 0.14); color: var(--danger); }
.st-Pra-tempah { background: rgba(255, 176, 58, 0.16); color: var(--gold); }
.st-Selesai { background: rgba(154, 163, 196, 0.16); color: var(--muted); }

.cal-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 22px; }
.day-pill { flex: 0 0 auto; min-width: 84px; text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; transition: 0.2s; }
.day-pill.active { border-color: var(--gold); background: var(--grad-soft); }
.day-pill b { display: block; font-size: 17px; font-family: var(--font-display); }
.day-pill span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.day-pill small { display: block; color: var(--gold); font-size: 10.5px; margin-top: 3px; }
.day-pill.off { opacity: 0.45; }

/* ---------- Booking cards / list ---------- */
.bcard { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--card); margin-bottom: 14px; flex-wrap: wrap; }
.bcard .bc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.bcard .bc-main { flex: 1; min-width: 200px; }
.bcard .bc-main h4 { font-family: var(--font-body); font-size: 16px; }
.bcard .bc-main p { color: var(--muted); font-size: 13px; }
.bcard .bc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Dashboard ---------- */
.stat-grid { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-card b { font-family: var(--font-display); font-size: 34px; font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; background: var(--card); }
table.data th { text-align: left; padding: 13px 14px; color: var(--gold); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(255, 176, 58, 0.04); }

/* ---------- Tools ---------- */
.tools-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-tile { padding: 26px; cursor: pointer; }
.tool-tile .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 20px; margin-bottom: 14px; }
.tuner-body { text-align: center; padding: 30px 0; }
.tuner-needle { width: 240px; height: 130px; margin: 10px auto; position: relative; border-radius: 240px 240px 0 0; background: radial-gradient(120% 160% at 50% 100%, rgba(255, 176, 58, 0.16), rgba(255, 176, 58, 0.02)); border-bottom: 2px solid var(--line-2); overflow: hidden; }
.tuner-needle .mark { position: absolute; bottom: 8px; left: 50%; width: 1.6px; height: 26px; background: var(--line-2); transform-origin: bottom; }
.tuner-needle .needle {
  position: absolute; bottom: 8px; left: 50%; width: 2px; height: 62px;
  background: var(--grad); border-radius: 2px;
  transform-origin: bottom center; transform: rotate(0deg);
  box-shadow: 0 0 14px rgba(255, 176, 58, 0.6);
}
.tuner-needle .needle::after {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 8px solid var(--amber);
}
.tuner-freq { font-family: var(--font-display); font-size: 60px; font-weight: 700; }
.tuner-note { color: var(--gold); letter-spacing: 0.3em; font-size: 13px; font-weight: 800; text-transform: uppercase; }

@media (max-width: 640px) {
  .hero { padding-top: calc(48px + env(safe-area-inset-top, 0px)); }
  .hero .container > div > div { grid-template-columns: 1fr !important; gap: 28px !important; }
  .hero-fig { order: -1; }
  .hero-fig img { aspect-ratio: 16/10 !important; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero .lead { font-size: 15.5px; }
  .hero-stats { gap: 22px; margin-top: 40px; }
  .section { padding: 52px 0; }
  .steps { gap: 6px; }
  .step-name { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.empty { text-align: center; padding: 46px 16px; color: var(--muted); }
.empty .e-ico { font-size: 40px; margin-bottom: 10px; }

/* ---------- Booking / status tags ---------- */
.st {
  display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 12px;
  border-radius: 999px; line-height: 1.4; white-space: nowrap;
}
.st-pending, .st-warn { background: rgba(255, 176, 58, 0.16); color: var(--gold); }
.st-confirmed, .st-ok { background: rgba(61, 220, 151, 0.14); color: var(--ok); }
.st-completed { background: rgba(154, 163, 196, 0.18); color: var(--text); }
.st-cancelled { background: rgba(255, 107, 107, 0.14); color: var(--danger); }

/* ---------- Profile ---------- */
.pro-avatar {
  width: 86px; height: 86px; border-radius: 24px; flex: 0 0 auto;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  box-shadow: 0 16px 38px -14px rgba(255, 122, 89, 0.6);
}

/* ---------- Community ---------- */
.busker-card { display: flex; flex-direction: column; }
.busker-head { display: flex; gap: 13px; align-items: center; }
.busker-ava {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: 24px; color: var(--gold);
}
.busker-desc { font-size: 13.5px; color: var(--muted); margin-top: 12px; flex: 1; }
.busker-social { display: flex; gap: 12px; margin-top: 14px; }
.busker-social a {
  font-size: 12.5px; font-weight: 800; color: var(--gold);
  border: 1px solid rgba(255, 176, 58, 0.3); border-radius: 999px; padding: 6px 14px;
}
.busker-social a:hover { background: var(--grad-soft); }

.notif-card { background: var(--card-2); border-color: rgba(255, 176, 58, 0.25); }
.notif-card.notif-read { background: var(--card); border-color: var(--line); opacity: 0.72; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(6, 9, 22, 0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 5%;
  animation: fadeUp 0.25s ease;
}
.modal {
  width: min(520px, 100%); max-height: 86vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: var(--shadow); animation: fadeUp 0.3s ease;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--card); z-index: 1;
}
.modal-head h3 { font-size: 19px; }
.modal-x {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 15px; cursor: pointer;
}
.modal-x:hover { color: var(--danger); border-color: var(--danger); }
.modal-body { padding: 22px; }

/* ---------- Terms of Use ---------- */
.tos-overlay { z-index: 850; }
.tos-modal { width: min(560px, 100%); }
.tos-modal .modal-body { padding: 0; }
.tos-body { max-height: 46vh; overflow-y: auto; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.tos-body .tos-lead { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.tos-sec { margin-bottom: 15px; }
.tos-sec h4 { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.tos-sec p { font-size: 12.5px; color: var(--text); line-height: 1.7; }
.tos-agree { padding: 16px 24px; border-bottom: 1px solid var(--line); color: #FFFFFF; font-size: 13.5px; }
.tos-agree b { color: #FFFFFF; }
.tos-foot { padding: 18px 24px 22px; }
.tos-foot .btn-dim, .btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-dim { filter: grayscale(0.5); }
.tos-sec h4::before { content: "§ "; color: var(--amber); }

/* ==================================================================
   MOBILE APP SHELL — bottom tab bar, compact top bar, app-style UI
   ================================================================== */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 700;
  display: none;
  background: rgba(8, 11, 27, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 34px -14px rgba(0, 0, 0, 0.65);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 9px 4px 8px; color: var(--muted);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  transition: color 0.2s; -webkit-tap-highlight-color: transparent;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-active { color: var(--gold); }
.tabbar a.is-active svg { filter: drop-shadow(0 0 7px rgba(255, 176, 58, 0.55)); }

@media (max-width: 979px) {
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  main#root { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  #toastWrap { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  /* Compact footer on phones */
  .site-footer { padding: 34px 0 18px; }
  .site-footer .footer-grid { display: block; }
  .site-footer .footer-grid > div + div { display: none; }
  .footer-bottom { margin-top: 24px; }
  .footer-credit { margin-top: 16px; }

  /* App-style page shell */
  .page { padding: 22px 0 26px; }
  .page-title { margin-bottom: 18px; }
  .page-title h1 { font-size: 25px; }
  .hero { padding: 30px 0 34px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 26px; }

  /* Bottom-sheet modals */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .modal-body { padding: 18px 20px; }
  .tos-overlay .tos-body { padding: 18px 20px; }

  /* Bigger touch targets */
  .input, .select, .textarea { font-size: 16px; padding: 14px 15px; }
  .btn { min-height: 46px; }
  .btn-lg { min-height: 52px; }
  .btn-sm { min-height: 38px; }
}

/* Cari Slot — compact list cards on phones */
@media (max-width: 639px) {
  .loc-grid { gap: 12px; }
  .loc-card { display: grid; grid-template-columns: 92px 1fr; }
  .loc-head { height: auto; min-height: 118px; padding: 12px; grid-row: 1 / span 2; }
  .loc-head .pin { font-size: 9.5px; }
  .loc-head h3 { font-size: 14.5px; line-height: 1.2; }
  .loc-body { padding: 12px 14px; gap: 8px; }
  .loc-body p { -webkit-line-clamp: 2; line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .loc-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .loc-foot .btn { width: 100%; }
  .loc-price b { font-size: 19px; }
  .toolbar { gap: 8px; margin-bottom: 18px; }
  .search { padding: 8px 14px; }
  .chip { padding: 8px 13px; font-size: 12px; }

  /* Alatan — setting-style rows */
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
  .tool-tile .ico { margin: 0; width: 46px; height: 46px; font-size: 18px; }
  .tool-tile h3 { margin-bottom: 2px; font-size: 17px; }
  .tool-tile p { font-size: 12.5px; }

  /* Booking cards stack */
  .bcard { align-items: flex-start; padding: 15px; gap: 12px; }
  .bcard > div:last-child { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .bc-actions { width: 100%; }
  .bc-actions .btn { flex: 1; }

  /* Stats 2-up */
  .stat-card { padding: 16px; }
  .stat-card b { font-size: 26px; }

  /* Tables scroll natively */
  .table-wrap { -webkit-overflow-scrolling: touch; }

  /* Hero CTAs full-width */
  .hero-cta .btn { flex: 1; min-width: 0; }
  .hero-stats { gap: 18px; margin-top: 28px; }
  .hero-stat { min-width: 0; flex: 1; }
  .hero-stat b { font-size: 24px; }
  .marquee-track span { padding: 0 20px; font-size: 12px; }
}

/* ---------- App Download band ---------- */
.dl-band { position: relative; padding: 56px 0; overflow: hidden; }
.dl-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(at 12% 30%, rgba(255, 122, 89, 0.16) 0, transparent 46%),
    radial-gradient(at 88% 70%, rgba(255, 176, 58, 0.14) 0, transparent 46%);
}
.dl-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 52px); align-items: center;
  background: linear-gradient(150deg, rgba(21, 28, 64, 0.9), rgba(15, 22, 53, 0.96));
  border: 1px solid rgba(255, 176, 58, 0.28);
  border-radius: 24px; padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.dl-media { position: relative; }
.dl-media > img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}
.dl-badge {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(8, 11, 27, 0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 176, 58, 0.5); border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 12px; font-weight: 800; color: var(--cream);
}
.dl-badge img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }
.dl-body h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.dl-body h2 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-body > p { color: var(--muted); font-size: 15px; max-width: 560px; text-wrap: pretty; }
.dl-body ul { list-style: none; margin: 18px 0; display: grid; gap: 9px; }
.dl-body li { padding-left: 28px; position: relative; color: var(--cream); font-size: 14px; font-weight: 700; }
.dl-body li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(61, 220, 151, 0.16); border: 1px solid rgba(61, 220, 151, 0.4); color: var(--ok); display: grid; place-items: center; font-size: 12px; }
.dl-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.dl-meta { color: var(--muted-2); font-size: 12.5px; }
.dl-meta b { color: var(--gold); }
.dl-note { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* Quick-jump chips (in-page anchors) */
.anchor-nav { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; padding: 4px 0 34px; }
.anchor-nav .chip { background: rgba(255, 255, 255, 0.04); }
.anchor-nav .chip:hover { color: var(--gold); border-color: rgba(255, 176, 58, 0.5); }

/* Anchored sections clear the sticky header when scrolled to */
.dl-band[id], .section[id], .cta-band[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }
@media (max-width: 760px) {
  .dl-band { padding: 34px 0; }
  .dl-card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .dl-media { max-width: 260px; margin: 0 auto; }
  .dl-body ul { max-width: 420px; margin-inline: auto; text-align: left; }
  .dl-actions { justify-content: center; }
}

@media (min-width: 980px) {
  .tabbar { display: none; }
}