:root {
  /* langit biru kabut (Valora) */
  --sky-1: #7593a7;
  --sky-2: #56778b;
  --sky-3: #33495a;
  --sky-4: #1b2832;
  --blue: #5f7f94;   /* biru utama halaman */
  /* panel arang */
  --panel: #1e2227;
  --panel-2: #262b31;
  --panel-3: #2e343b;
  --line: rgba(255, 255, 255, .08);
  --text: #eef2f5;
  --muted: #98a4ae;
  --ice: #cfe6f4;
  --ice-2: #86b6d4;
  --hot: #e0313a;
  --ok: #4fd1a5;
  --radius: 14px;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sky-3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

h1, h2, .serif { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
h2 em { color: var(--ice); }
.eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.glass {
  background: linear-gradient(180deg, rgba(30, 34, 39, .82), rgba(30, 34, 39, .7));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

/* ---------- latar gradasi biru (tanpa abu-abu/hitam) ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, #7b9cb1 0%, var(--blue) 45%, #47697f 100%); }
.backdrop::after { content: ""; position: absolute; inset: 0; /* butiran halus supaya tidak datar */
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topline {
  max-width: 1240px; margin: 0 auto; padding: 34px 24px 0;
  display: flex; justify-content: space-between; font-size: 18px; letter-spacing: .06em; font-weight: 300;
}
.topline span { display: block; color: rgba(238, 242, 245, .55); }
.topline b { display: block; font-weight: 400; }
.topline .right { text-align: right; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px 22px; border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); transition: .2s;
}
.btn--primary { background: var(--ice); color: #16202a; border-color: transparent; }
.btn--primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(134, 182, 212, .35); }
.btn--outline { border-color: rgba(238, 242, 245, .55); }
.btn--outline:hover { background: var(--ice); color: #16202a; border-color: var(--ice); }
.btn--ghost:hover { background: rgba(255,255,255,.06); }
.btn--small { padding: 8px 16px; font-size: 11px; }
.btn--block { width: 100%; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center; transition: .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.07); }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--hot); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- hero frame (layout landing page) ---------- */
.frame {
  position: relative; max-width: 1180px; margin: 28px auto 0;
  background: radial-gradient(70% 90% at 70% 45%, #353b42 0%, #24282d 55%, #1b1e22 100%);
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(10, 20, 28, .55);
}
.frame::after { /* strip bawah seperti mockup */
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--ice-2), var(--ice), #e8f2f8);
}

.nav { display: flex; align-items: center; gap: 24px; padding: 26px 40px 0; position: relative; z-index: 5; }
.brand__ring {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--text);
  display: grid; place-items: center;
}
.brand__ring span {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--text);
  display: grid; place-items: center; font-size: 8px; font-weight: 800; letter-spacing: .02em;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__name { font-weight: 800; letter-spacing: .2em; font-size: 15px; }
.nav__links { display: flex; gap: 48px; margin: 0 auto; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { opacity: .85; transition: .2s; }
.nav__links a:hover { opacity: 1; color: var(--ice); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; }

/* ---------- beranda: penuh selebar layar, tanpa bingkai ---------- */
.home__card {
  --ink: #14212b; --ring: rgba(20, 33, 43, .18);
  --gutter: max(40px, calc((100% - 1160px) / 2));
  position: relative; color: #fff;
}

/* area beranda: slider video penuh, teks & tombol di atasnya */
.home__stage {
  position: relative; display: flex; flex-direction: column; color: #fff;
  height: 100vh; min-height: 640px; max-height: 960px; overflow: hidden;
}
.home__stage > :not(.slider) { position: relative; z-index: 2; pointer-events: none; }
.home__stage a, .home__stage button, .home__stage .nav__links, .home__stage .now { pointer-events: auto; }

.slider { /* bawahnya memudar ke latar halaman, tanpa garis batas */
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--blue); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slider.is-dragging { cursor: grabbing; }
.slider__track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slide video, .slide__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.slide img { pointer-events: none; }
.slide.is-active .slide__fallback { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-2%); } }
.slider__shade { /* gradasi biru supaya teks terbaca; bawahnya memudar ke biru halaman */
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(52, 84, 106, .8) 0%, rgba(58, 90, 112, .35) 45%, rgba(134, 182, 212, .15) 100%),
    linear-gradient(180deg, rgba(123, 156, 177, .35) 0%, rgba(95, 127, 148, 0) 30%);
}
.slider__shade::before { /* "screen": bagian gelap video jadi biru, bukan abu-abu */
  content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: screen; opacity: .9;
}
/* panggung 3D: langit biru terang di belakang model, teks tetap terbaca lewat gradasi kiri */
.slider.has-3d { background: radial-gradient(70% 80% at 68% 38%, #eef6fd 0%, #bcd8ef 38%, #7fa9cf 72%, #5f8db8 100%); cursor: default; }
.stage3d, .stage3d__fallback { position: absolute; inset: 0; }
.stage3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.stage3d canvas:active { cursor: grabbing; }
.stage3d__fallback img { width: 100%; height: 100%; object-fit: cover; }
.has-3d .stage3d__fallback { display: none; }
.has-3d .slider__shade { background:
    linear-gradient(90deg, rgba(38, 78, 116, .62) 0%, rgba(52, 96, 136, .28) 34%, rgba(90, 140, 185, 0) 58%),
    linear-gradient(180deg, rgba(70, 110, 150, .28) 0%, rgba(70, 110, 150, 0) 22%); }
.has-3d .slider__shade::before { display: none; }
.stage3d__load, .stage3d__hint { position: absolute; z-index: 1; pointer-events: none; color: #fff; font-size: 13px; font-weight: 600; }
.stage3d__load { left: 68%; top: 48%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 99px; background: rgba(20, 50, 85, .45); backdrop-filter: blur(6px); }
.stage3d__hint { display: none; left: 50%; bottom: 17%; transform: translateX(-50%); padding: 6px 12px 6px 30px; border-radius: 99px; background: rgba(20, 50, 85, .35); backdrop-filter: blur(6px); opacity: .85; animation: hint 2.6s ease-in-out 3, hintout .6s ease 9s forwards; }
@keyframes hintout { to { opacity: 0; } }
.stage3d__hint::before { content: "⟲"; position: absolute; left: 11px; top: 50%; transform: translateY(-52%); font-size: 15px; }
.has-3d .stage3d__hint { display: block; }
@keyframes hint { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 10px)); } }
.home__stage h1, .hero__sub, .hero__notes { text-shadow: 0 2px 18px rgba(20, 40, 55, .35); }
.reel__paused {
  position: absolute; left: 70%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none;
}
.reel__paused svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.reel__missing {
  position: absolute !important; top: 104px; right: 40px; padding: 5px 10px; border-radius: 6px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .4); color: #c9d3da;
}

.home .nav { padding: 32px var(--gutter) 0; gap: 24px; }
.logo {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.02em;
}
.home .nav__links { gap: 44px; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.home .nav__links a { opacity: .9; color: #fff; }
.home .nav__links a:hover { opacity: 1; color: var(--ice); }
.icon-btn--box { width: 48px; height: 48px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.icon-btn--box:hover { background: rgba(255, 255, 255, .1); }
.icon-btn--solid { background: #fff; border-color: transparent; color: var(--ink); }
.icon-btn--solid:hover { background: var(--ice); }
.icon-btn--box svg { width: 21px; height: 21px; stroke-width: 1.6; }

.hero { flex: 1; display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 32px; padding: 20px var(--gutter); }
.hero h1 { font-size: clamp(44px, 4.8vw, 70px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; color: #fff; white-space: nowrap; }
h1 em, h2 em { font-style: normal; }
.grad { background: linear-gradient(90deg, #ffffff, #cfe6f4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: rgba(238, 242, 245, .82); max-width: 470px; font-size: 16px; line-height: 1.75; margin: 28px 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 36px; font-size: 13px; color: rgba(238, 242, 245, .85); }
.hero__notes li::before { content: "◦"; margin-right: 6px; color: var(--ice-2); }

.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: .2s;
}
.pill--primary {
  padding-left: 14px; color: #fff; background: linear-gradient(90deg, #3c5a6e, #7fa9c4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 0 0 5px rgba(207, 230, 244, .45), 0 16px 34px rgba(0, 0, 0, .3);
}
.pill--primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pill--outline { border: 1px solid rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.pill--outline:hover { background: #fff; color: var(--ink); }
.pill__icon { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; flex: none; }
.pill__icon svg { width: 15px; height: 15px; }
.pill__icon--sm { width: 22px; height: 22px; border-width: 1.3px; }
.pill__icon--sm svg { width: 11px; height: 11px; }

/* kartu info video aktif */
.now {
  align-self: end; display: grid; gap: 8px; padding: 20px 22px; border-radius: 22px;
  background: rgba(95, 127, 148, .45); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.now__head { display: flex; gap: 6px; }
.now .tag--dark { background: #fff; color: var(--ink); }
.now .tag--grad { background: var(--ice); color: var(--ink); }
.now b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.now p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.now__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ice); }
.now__link svg { width: 15px; height: 15px; transition: transform .2s; }
.now__link:hover svg { transform: translateX(3px); }

/* tab video + tombol geser di bawah */
.slider__ui { display: flex; align-items: flex-end; gap: 16px; padding: 0 var(--gutter) 30px; }
.reel__list { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.reel__item {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; text-align: left;
  padding: 0 0 12px; opacity: .6; transition: opacity .2s;
}
.reel__item:hover, .reel__item.is-active { opacity: 1; }
.reel__thumb { display: block; height: 40px; border-radius: 8px; }
.reel__name { font-size: 13px; font-weight: 600; line-height: 1.25; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel__name small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(238, 242, 245, .65); }
.reel__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.reel__line span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #fff; transition: width .05s linear; }
.slider__ctrl { display: flex; gap: 10px; margin-left: auto; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); transition: .2s;
}
.round-btn:hover { background: #fff; color: var(--ink); }
.reel__sound .i-on, .reel__sound.is-sound .i-off { display: none; }
.reel__sound.is-sound .i-on { display: block; }

/* strip bawah: langsung di atas latar biru */
.home__strip { padding: 34px var(--gutter) 10px; }
.strip__line { text-align: center; font-size: 15px; color: rgba(255, 255, 255, .9); }
.strip__line a { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; font-weight: 500; color: var(--ice); }
.brands { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 18px 30px; margin-top: 30px; }
.brands button { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; transition: color .2s; }
.brands button:hover { color: var(--ice); }
.brands svg { width: 28px; height: 28px; stroke-width: 1.8; }

/* ---------- sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 96px 0 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section .eyebrow { color: rgba(238, 242, 245, .65); }
.section h2 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; text-shadow: 0 4px 24px rgba(15, 25, 35, .35); }
.sort select {
  height: 42px; padding: 0 38px 0 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a4ae' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  appearance: none; -webkit-appearance: none; outline: none; cursor: pointer;
}

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 34px; }
.search {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; flex: 0 1 300px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted);
}
.search input { background: none; border: 0; outline: none; width: 100%; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(238, 242, 245, .22);
  font-size: 13px; color: #dbe3e9; background: rgba(30, 34, 39, .35); transition: .2s;
}
.chip:hover { border-color: rgba(238, 242, 245, .5); }
.chip.is-active { background: var(--text); color: #16202a; border-color: transparent; font-weight: 600; }

.row-title { font-size: 22px; font-weight: 600; margin: 8px 0 18px; }
.row-title--split { display: flex; align-items: baseline; justify-content: space-between; margin-top: 48px; }
.row-title--split h3 { font-size: 22px; font-weight: 600; }
.row-title--split .muted { color: rgba(238, 242, 245, .65); }

/* ---------- kartu produk ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 5px; display: flex; flex-direction: column; cursor: pointer;
  box-shadow: 0 14px 34px rgba(12, 22, 30, .3); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(207, 230, 244, .3); box-shadow: 0 24px 44px rgba(12, 22, 30, .5); }
.card .thumb { height: 180px; }
.card__body { padding: 16px 14px 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__title { font-weight: 600; font-size: 16px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.pro-tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #16202a;
  background: linear-gradient(90deg, #86b6d4, var(--ice));
}
.pro-tag svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.card__more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); transition: color .2s; }
.card__more svg { width: 14px; height: 14px; }
.card:hover .card__more { color: var(--ice); }
.detail__pro { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.detail__pro .pro-tag { flex: none; }
.pro-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 15px;
  font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #3c5a6e, #7fa9c4); transition: .2s;
}
.pro-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.pro-btn:hover { filter: brightness(1.08); }
.card__add {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  background: var(--panel-3); transition: .2s;
}
.card__add:hover { background: var(--ice); color: #16202a; }
.card__add.is-in { background: var(--ok); color: #16202a; }

.tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--panel-3); color: var(--muted); }
.tag--hot { background: var(--hot); color: #fff; }
.tag--new { background: #3f86c8; color: #fff; }
.tag--free { background: var(--ok); color: #16202a; }
.tag--cat { background: rgba(134, 182, 212, .16); color: var(--ice); }
.dl { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.04); }
.dl svg { width: 12px; height: 12px; }

.empty { text-align: center; color: var(--ice); padding: 60px 0; }

/* ---------- thumbnail lukisan CSS (sementara sampai ada screenshot asli) ---------- */
.thumb { position: relative; overflow: hidden; border-radius: 10px; background: #222; }
.thumb::before, .thumb::after { content: ""; position: absolute; inset: 0; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

.thumb--sky { background: linear-gradient(180deg, #02060a 0%, #04150f 60%, #000 100%); }
.thumb--sky::before {
  background: repeating-linear-gradient(90deg, rgba(40,255,140,0) 0 6px, rgba(40,255,140,.55) 6px 9px, rgba(40,255,140,0) 9px 16px);
  mask: linear-gradient(180deg, transparent 5%, #000 25%, transparent 60%);
  -webkit-mask: linear-gradient(180deg, transparent 5%, #000 25%, transparent 60%);
  filter: blur(3px);
}
.thumb--sky::after { background: #000; clip-path: polygon(0 80%, 20% 62%, 32% 72%, 50% 45%, 66% 70%, 80% 58%, 100% 74%, 100% 100%, 0 100%); }

.thumb--stars { background: radial-gradient(120% 80% at 50% 0%, #142236, #050810 70%); }
.thumb--stars::before {
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 25%, #fff, transparent), radial-gradient(1px 1px at 70% 15%, #fff, transparent),
    radial-gradient(1px 1px at 85% 35%, #fff, transparent), radial-gradient(1px 1px at 20% 45%, #cfe, transparent),
    radial-gradient(1px 1px at 45% 50%, #fff, transparent), radial-gradient(2px 2px at 62% 18%, #fff, transparent),
    radial-gradient(1px 1px at 92% 8%, #fff, transparent), radial-gradient(1px 1px at 5% 60%, #fff, transparent);
}
.thumb--stars::after { background: #07120c; clip-path: polygon(0 78%, 10% 70%, 18% 76%, 30% 64%, 42% 72%, 55% 60%, 68% 74%, 82% 66%, 100% 76%, 100% 100%, 0 100%); }

.thumb--autumn { background: linear-gradient(180deg, #d9dde2 0%, #9aa4ad 55%, #4a4f55 100%); }
.thumb--autumn::before {
  background:
    radial-gradient(28% 34% at 62% 40%, #e2690f 60%, transparent 62%),
    radial-gradient(22% 28% at 46% 48%, #c9480a 60%, transparent 62%),
    radial-gradient(18% 22% at 78% 52%, #f08a1c 60%, transparent 62%),
    radial-gradient(12% 14% at 20% 68%, #d55a0c 60%, transparent 62%);
}
.thumb--autumn::after { background: linear-gradient(90deg, transparent 59%, #3a2414 59.5% 61.5%, transparent 62%), linear-gradient(180deg, transparent 80%, #3b3f44 80%); }

.thumb--city { background: linear-gradient(180deg, #2b8ad8 0%, #7cc0ef 70%, #c9e6f7 100%); }
.thumb--city::before {
  background:
    linear-gradient(#d8232a, #d8232a) 52% 18% / 26% 46% no-repeat,
    repeating-linear-gradient(180deg, #e9edf1 0 6px, #9aa6b2 6px 9px) 18% 100% / 34% 70% no-repeat,
    linear-gradient(#5f6b77, #5f6b77) 86% 100% / 18% 48% no-repeat,
    linear-gradient(#3d4752, #3d4752) 98% 100% / 8% 32% no-repeat;
}
.thumb--city::after { background: linear-gradient(180deg, transparent 84%, #3e7a3a 84%); }

.thumb--road { background: #5a5e63; }
.thumb--road::before {
  background:
    linear-gradient(90deg, transparent 47%, #f2f2f2 47% 48.5%, transparent 48.5% 51.5%, #f2f2f2 51.5% 53%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,.75) 14px 24px) 30% 0 / 2% 100% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,.75) 14px 24px) 70% 0 / 2% 100% no-repeat;
}
.thumb--road::after { background: linear-gradient(90deg, #6c8a52 0 12%, transparent 12% 88%, #6c8a52 88%); }

.thumb--car { background: linear-gradient(180deg, #1c1f2a 0%, #2b2f3e 60%, #11131a 100%); }
.thumb--car::before {
  background:
    radial-gradient(9% 14% at 30% 74%, #0b0b0b 60%, #777 62% 70%, transparent 72%),
    radial-gradient(9% 14% at 72% 74%, #0b0b0b 60%, #777 62% 70%, transparent 72%);
  z-index: 2;
}
.thumb--car::after {
  background: linear-gradient(180deg, #e1b12c, #b07c10);
  clip-path: polygon(14% 74%, 16% 60%, 34% 54%, 44% 40%, 64% 40%, 76% 54%, 88% 58%, 88% 74%);
}

.thumb--gun { background: radial-gradient(70% 70% at 50% 40%, #3a3448, #15131c); }
.thumb--gun::before {
  background: linear-gradient(90deg, #e9e4ef, #b9aeca);
  clip-path: polygon(12% 42%, 70% 40%, 72% 36%, 90% 38%, 90% 44%, 62% 48%, 58% 64%, 50% 66%, 50% 50%, 36% 50%, 30% 66%, 22% 64%, 26% 50%, 12% 50%);
}
.thumb--gun::after {
  background-image:
    radial-gradient(3% 4% at 38% 44%, #ff4fd8, transparent), radial-gradient(3% 4% at 48% 42%, #ff8be6, transparent),
    radial-gradient(2.5% 3.5% at 56% 45%, #ff4fd8, transparent), radial-gradient(3% 4% at 64% 41%, #ff8be6, transparent);
  filter: blur(1px);
}

.thumb--char { background: linear-gradient(135deg, #2c1a1a, #6a2b26); }
.thumb--char::before {
  background:
    radial-gradient(16% 22% at 50% 30%, #e7b99c 60%, transparent 62%),
    radial-gradient(26% 40% at 50% 26%, #b34a24 58%, transparent 60%);
}
.thumb--char::after { background: #d0302b; clip-path: polygon(28% 100%, 34% 60%, 44% 52%, 56% 52%, 66% 60%, 72% 100%); }

.thumb--map { background: linear-gradient(135deg, #20402a, #2f6a3a); }
.thumb--map::before {
  background:
    linear-gradient(35deg, transparent 46%, #c9b27a 46% 50%, transparent 50%),
    linear-gradient(-20deg, transparent 60%, #c9b27a 60% 63%, transparent 63%),
    radial-gradient(30% 24% at 74% 30%, #2f7fb8 60%, transparent 62%);
}
.thumb--map::after {
  background-image: linear-gradient(#a7a49c, #a7a49c), linear-gradient(#bdb9ae, #bdb9ae), linear-gradient(#8e8b84, #8e8b84);
  background-size: 9% 12%, 7% 9%, 10% 10%;
  background-position: 22% 30%, 34% 22%, 30% 72%;
  background-repeat: no-repeat;
}

.thumb--ui { background: linear-gradient(135deg, #1a2531, #2c3a48); }
.thumb--ui::before {
  inset: 20% 14%; border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.thumb--ui::after {
  background:
    linear-gradient(var(--ice-2), var(--ice-2)) 22% 34% / 30% 5% no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 22% 46% / 50% 4% no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 22% 56% / 40% 4% no-repeat,
    linear-gradient(var(--hot), var(--hot)) 78% 70% / 14% 9% no-repeat;
}

.thumb--sound { background: linear-gradient(135deg, #142430, #0d1418); }
.thumb--sound::before {
  background: repeating-linear-gradient(90deg, var(--ice-2) 0 4px, transparent 4px 10px);
  mask: radial-gradient(60% 40% at 50% 50%, #000 40%, transparent 72%);
  -webkit-mask: radial-gradient(60% 40% at 50% 50%, #000 40%, transparent 72%);
}

.thumb__ba { position: absolute; top: 8px; font-size: 11px; font-weight: 700; color: #fff; z-index: 3; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------- aplikasi ---------- */
.app__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 48px; align-items: center; }
.checks { list-style: none; margin: 22px 0 30px; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ice); font-weight: 700; }
.mock { background: #15181c; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3138; }
.mock__bar span { margin-left: 10px; }
.mock__body { display: grid; grid-template-columns: 130px 1fr; min-height: 260px; }
.mock__body aside { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.mock__body aside b { color: var(--text); margin-bottom: 4px; }
.mock__body aside .on { color: var(--ice); }
.mock__list { padding: 14px; display: grid; gap: 10px; align-content: start; }
.mock__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; background: var(--panel-2); }
.mock__item .thumb { height: 42px; border-radius: 7px; }
.mock__item b { display: block; font-size: 13px; font-weight: 600; }
.mock__item small { color: var(--muted); font-size: 11px; }
.mock__item em { font-style: normal; color: var(--ok); padding-right: 6px; }
.mock__item em.up { color: var(--ice); }
.bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ice-2), var(--ice)); }

/* ---------- langkah bayar ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 26px; }
.step span { font-family: var(--display); font-weight: 600; font-size: 32px; color: var(--ice); }
.step h4 { font-size: 17px; margin: 6px 0; }
.wallets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wallets span { padding: 8px 16px; border-radius: 6px; background: rgba(30, 34, 39, .55); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #dbe3e9; }
.wallets span:first-child { color: #16202a; background: var(--ice); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--ice); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }

/* ---------- footer ---------- */
.footer { margin-top: 110px; background: rgba(20, 26, 32, .82); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.footer__inner { max-width: 1180px; margin: 0 auto; padding: 36px 0; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.footer__inner .brand { margin-bottom: 8px; }
.footer__links { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.footer__links a:hover { color: var(--ice); }
.footer__inner > p { grid-column: 1 / -1; }

/* ---------- modal / drawer ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14, 22, 30, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
.modal__panel {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; animation: pop .25s;
}
.modal__panel--wide { max-width: 880px; padding: 0; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 34px; height: 34px; border-radius: 8px;
  font-size: 22px; line-height: 1; color: var(--muted); background: rgba(0,0,0,.35);
}
.modal__close:hover { color: var(--text); }

.detail { display: grid; grid-template-columns: 1.1fr 1fr; }
.detail .thumb { height: 100%; min-height: 380px; border-radius: 16px 0 0 16px; }
.media { position: relative; overflow: hidden; min-height: 380px; border-radius: 16px 0 0 16px; }
.media > .thumb, .media > .ba { position: absolute; inset: 0; height: auto; min-height: 0; border-radius: 0; }
.viewer3d { position: absolute; inset: 0; z-index: 4; background: radial-gradient(120% 90% at 50% 20%, #d9e9f8 0%, #9fbfdc 55%, #6f8fae 100%); touch-action: none; cursor: grab; }
.viewer3d canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer3d__load { position: absolute; inset: 0; display: grid; place-items: center; color: #183a5e; font-size: 14px; font-weight: 600; pointer-events: none; }
.media__tabs { position: absolute; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(10,30,60,.55); backdrop-filter: blur(8px); }
.media__tabs button { border: 0; padding: 7px 14px; border-radius: 99px; background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.media__tabs button.is-active { background: #fff; color: #1f6fd1; }
.ba { position: relative; overflow: hidden; min-height: 380px; border-radius: 16px 0 0 16px; background: #c5d8ec; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba__line::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1f6fd1; font-size: 18px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(10,30,60,.55); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.detail__body { padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.detail__body h3 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.detail__specs { display: grid; gap: 8px; font-size: 14px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail__specs div { display: flex; justify-content: space-between; }
.detail__specs b { color: var(--text); font-weight: 500; }
.detail__price { font-size: 26px; font-weight: 700; }
.detail__actions { display: grid; gap: 10px; margin-top: auto; }

.drawer { place-items: stretch end; padding: 0; }
.drawer__panel { position: relative; width: min(420px, 100vw); height: 100%; background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; animation: slide .25s; }
.drawer__head { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--display); font-weight: 600; font-size: 28px; }
.drawer__head .modal__close { top: 22px; right: 20px; }
.drawer__list { flex: 1; overflow: auto; padding: 16px 24px; display: grid; gap: 12px; align-content: start; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__foot strong { font-size: 20px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; background: var(--panel-2); }
.cart-item .thumb { height: 52px; border-radius: 7px; }
.cart-item b { display: block; font-size: 14px; font-weight: 600; }
.cart-item small { color: var(--muted); }
.cart-item button { color: var(--muted); font-size: 12px; padding: 6px 8px; }
.cart-item button:hover { color: var(--hot); }

.pay-step { display: grid; gap: 14px; }
.pay-step h3 { font-size: 30px; margin-top: -4px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field input {
  height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); outline: none; transition: border-color .2s;
}
.field input:focus { border-color: var(--ice-2); }
.total-row { padding: 12px 0; border-top: 1px solid var(--line); }
.total-row strong { font-size: 22px; }

.qris { background: #fff; color: #111; border-radius: 14px; padding: 16px; display: grid; justify-items: center; gap: 10px; }
.qris__head { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.qris__head b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.qris canvas { width: 232px; height: 232px; image-rendering: pixelated; }
.qris__foot { font-size: 11px; color: #555; }
.done-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--ok); color: #16202a; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 8px; background: var(--ice); color: #16202a; font-size: 14px; font-weight: 600; transition: .25s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- halaman statistik pengunjung ---------- */
.stats-frame { padding-bottom: 36px; margin-bottom: 80px; }
.stats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 44px 40px 28px; }
.stats-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; margin-bottom: 6px; }
.stats-head h1 span { background: linear-gradient(90deg, #e9f4fb, var(--ice-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-head h1 em { color: var(--ice); }
.live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79, 209, 165, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(79, 209, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 165, 0); } }
#refreshBtn.is-busy svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 40px; }
.kpi { display: grid; gap: 4px; padding: 22px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.kpi__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-family: var(--display); font-weight: 600; font-size: 46px; line-height: 1.1; color: var(--ice); }
.kpi__sub { font-size: 13px; color: var(--muted); }
.kpi__sub em { font-style: normal; font-weight: 600; }
.kpi__sub em.up { color: var(--ok); }
.kpi__sub em.down { color: #ff7b82; }

.stats-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 14px 40px 0; }
.stats-grid > *, .kpis > * { min-width: 0; }
.panel { padding: 22px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.panel--wide { grid-column: 1 / -1; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.panel__head h3 { font-size: 16px; font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-u { background: var(--ice); }
.lg-v { background: #4f6f86; }

.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 240px; }
.chart__col { display: grid; grid-template-rows: 1fr auto auto; text-align: center; min-width: 0; }
.chart__bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line); padding-top: 20px; }
.chart__bar { position: relative; width: 38%; max-width: 22px; min-height: 2px; border-radius: 4px 4px 0 0; transition: height .5s; }
.chart__bar span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px; font-size: 11px; color: var(--muted); }
.chart__bar--u { background: var(--ice); }
.chart__bar--v { background: #4f6f86; }
.chart__day { margin-top: 8px; font-size: 12px; font-weight: 600; }
.chart__date { font-size: 11px; color: var(--muted); }
.chart__col.is-today .chart__day { color: var(--ice); }

.funnel { display: grid; gap: 18px; }
.funnel__row .row { font-size: 14px; margin-bottom: 7px; }
.funnel__row b { font-weight: 600; }
.funnel__row small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.funnel__bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.funnel__bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4f6f86, var(--ice)); transition: width .5s; }

.top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.top__item { display: grid; grid-template-columns: 22px 64px 1fr; gap: 12px; align-items: center; }
.top__rank { font-family: var(--display); font-size: 20px; color: var(--ice); }
.top__item .thumb { height: 42px; border-radius: 7px; }
.top__info .row { font-size: 14px; margin-bottom: 7px; }
.top__info b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__info span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.stats-note { padding: 22px 40px 0; }

@media (max-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .stats-head { flex-direction: column; align-items: flex-start; padding: 32px 20px 22px; }
  .stats-grid { grid-template-columns: 1fr; padding: 14px 20px 0; }
  .top { grid-template-columns: 1fr; }
  .stats-note { padding: 20px 20px 0; }
}
@media (max-width: 600px) {
  .stats-frame .brand__name { display: none; }
  .stats-frame .nav { gap: 10px; }
  #refreshBtn { padding: 8px 10px; font-size: 0; gap: 0; }
  #refreshBtn svg { width: 16px; height: 16px; }
  .panel { padding: 16px; }
  .panel__head { flex-wrap: wrap; }
  .kpi { padding: 16px; }
  .kpi__value { font-size: 34px; }
  .chart { gap: 4px; height: 200px; }
  .chart__day { font-size: 11px; }
}

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .frame, .section, .footer__inner { margin-left: 24px; margin-right: 24px; }
  .footer__inner { padding-left: 0; padding-right: 0; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links { gap: 28px; }
  .home .nav__links { gap: 28px; }
  .home__stage { height: auto; min-height: clamp(640px, calc(100vh - 70px), 880px); }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px var(--gutter) 36px; gap: 36px; }
  .now { align-self: start; max-width: 420px; }
}
@media (max-width: 900px) {
  .nav { padding: 20px 20px 0; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 12px; right: 12px; margin-top: 10px; flex-direction: column; gap: 0;
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 15px 20px; border-top: 1px solid var(--line); }
  .nav__links a:first-child { border-top: 0; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: grid; }
  .home .nav { padding: 22px 22px 0; }
  .home .nav__links { background: #fff; border-color: var(--ring); box-shadow: 0 20px 40px rgba(20, 33, 43, .15); z-index: 10; }
  .home .nav__links a { border-color: #edf1f4; color: var(--ink); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .app__inner { grid-template-columns: 1fr; padding: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail .thumb { min-height: 220px; border-radius: 16px 16px 0 0; }
  .ba { min-height: 320px; border-radius: 16px 16px 0 0; }
  .media { min-height: 320px; border-radius: 16px 16px 0 0; }
}
@media (max-width: 600px) {
  .topline { padding: 20px 16px 0; font-size: 13px; }
  .frame, .section, .footer__inner { margin-left: 16px; margin-right: 16px; }
  .section { padding-top: 72px; }
  #loginBtn { display: none; }
  .home__card { --gutter: 20px; }
  .logo, .icon-btn--box { width: 44px; height: 44px; border-radius: 13px; }
  .pro-btn { height: 44px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 32px 20px 40px; gap: 36px; }
  .hero h1 { font-size: 44px; }
  .hero__sub { font-size: 15px; margin: 22px 0 28px; }
  .hero__notes { gap: 6px 18px; margin-top: 28px; }
  .pill { height: 52px; font-size: 15px; }
  .reel__paused { left: 50%; top: 30%; }
  .reel__missing { display: none !important; }
  .slider__ui { flex-direction: column; align-items: stretch; padding: 0 20px 22px; gap: 14px; }
  .reel__list { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .reel__item { grid-template-columns: 1fr; }
  .reel__thumb { height: 44px; }
  .reel__name { display: none; }
  .slider__ctrl { justify-content: center; margin: 0; }
  .home__strip { padding: 24px 18px 30px; }
  .strip__line { font-size: 14px; }
  .strip__line a { display: flex; justify-content: center; margin: 10px 0 0; }
  .brands { justify-content: center; gap: 14px 22px; }
  .brands button { font-size: 17px; }
  .brands svg { width: 22px; height: 22px; }
  .search { flex-basis: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .thumb { height: 110px; }
  .card__body { padding: 12px 8px 8px; gap: 8px; }
  .card__title { font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__body aside { display: none; }
}

/* panggung 3D di layar sempit: model di tengah (lihat viewer3d.js, setViewOffset > 900px) */
@media (max-width: 900px) {
  .stage3d__load, .stage3d__hint { left: 50%; }
  .stage3d__hint { bottom: auto; top: 61%; }
  /* HP: ruang di bawah teks untuk model 3D; nama mod cukup di tab bawah */
  .home__stage:has(.has-3d) { max-height: none; }
  .home__stage:has(.has-3d) .hero { padding-bottom: clamp(300px, 46vh, 420px); }
  .home__stage:has(.has-3d) .now { display: none; }   /* HP: bagian bawah untuk model 3D, nama mod ada di tab */
  .has-3d .slider__shade { background: linear-gradient(180deg, rgba(38, 78, 116, .6) 0%, rgba(52, 96, 136, .3) 38%, rgba(90, 140, 185, 0) 55%); }
}
