/* HuntooTD website — shared styles for index.html and privacy.html */

:root {
  --night: #120d22;
  --night-2: #19122f;
  --panel: #221940;
  --panel-2: #2c2154;
  --line: rgba(222, 205, 255, 0.1);
  --line-2: rgba(222, 205, 255, 0.18);
  --ink: #f6f0ff;
  --ink-dim: #b9addb;
  --ink-faint: #8b7fb0;
  --amber: #ffb43a;
  --amber-hi: #ffdc7a;
  --amber-deep: #d9700f;
  --spirit: #57dcff;
  --spirit-deep: #1f7fd6;
  --violet: #5a43b8;
  --violet-hi: #7a62e0;
  --ground: #9fe07a;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: 'Lilita One', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --kawung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23d9c8ff' stroke-opacity='.07' stroke-width='1.3'%3E%3Cellipse cx='28' cy='14' rx='7.5' ry='12'/%3E%3Cellipse cx='28' cy='42' rx='7.5' ry='12'/%3E%3Cellipse cx='14' cy='28' rx='12' ry='7.5'/%3E%3Cellipse cx='42' cy='28' rx='12' ry='7.5'/%3E%3Ccircle cx='28' cy='28' r='2.2'/%3E%3Ccircle cx='0' cy='0' r='2.2'/%3E%3Ccircle cx='56' cy='0' r='2.2'/%3E%3Ccircle cx='0' cy='56' r='2.2'/%3E%3Ccircle cx='56' cy='56' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--spirit);
  text-underline-offset: 3px;
}

::selection {
  background: var(--amber);
  color: var(--night);
}

:focus-visible {
  outline: 3px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- language switching ---------- */
html[data-lang='id'] [data-l='en'],
html[data-lang='en'] [data-l='id'] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--amber);
  color: var(--night);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(18, 13, 34, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.3px;
  margin-right: auto;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 6px 18px rgba(0, 0, 0, 0.4);
}
.brand .td {
  color: var(--spirit);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line-2);
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-dim);
  font: 800 13px/1 var(--font-body);
  letter-spacing: 0.6px;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button[aria-pressed='true'] {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #3a1d00;
}

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font: 400 19px/1 var(--font-display);
  letter-spacing: 0.4px;
  text-decoration: none;
  color: #3a1d00;
  background: linear-gradient(180deg, var(--amber-hi) 0%, var(--amber) 70%, #f39a1d 100%);
  box-shadow: 0 5px 0 var(--amber-deep), 0 14px 30px rgba(255, 170, 40, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--amber-deep), 0 20px 36px rgba(255, 170, 40, 0.34),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--amber-deep), 0 8px 20px rgba(255, 170, 40, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.btn svg {
  width: 18px;
  height: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-dim);
  white-space: nowrap;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.chip.ground {
  color: var(--ground);
  background: rgba(159, 224, 122, 0.12);
}
.chip.fly {
  color: var(--spirit);
  background: rgba(87, 220, 255, 0.12);
}
.chip.no {
  color: #ff9aa6;
  background: rgba(255, 110, 130, 0.12);
}

/* ---------- store badges ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .store {
  min-width: 0;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 150px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(10, 7, 20, 0.7);
  border: 1px solid var(--line-2);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
a.store:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  background: rgba(30, 20, 55, 0.9);
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--amber-hi);
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.2;
}
.store strong {
  display: block;
  font: 400 19px/1.15 var(--font-display);
  letter-spacing: 0.3px;
}
.store.is-soon small {
  color: var(--spirit);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 7vw, 90px) 0 clamp(90px, 12vw, 160px);
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(90, 67, 184, 0.45), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(31, 127, 214, 0.18), transparent 60%),
    linear-gradient(180deg, #0d0a1c 0%, var(--night) 100%);
}

.hero::before {
  /* starfield */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #d9cfff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 34%, #cfe9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 46%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 36% 52%, #e9e1ff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 4%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 20% 70%, #d9cfff 50%, transparent 51%);
  opacity: 0.75;
  animation: twinkle 6s ease-in-out infinite alternate;
}

.moon {
  position: absolute;
  z-index: -2;
  top: clamp(-120px, -8vw, -40px);
  right: clamp(-160px, -6vw, -40px);
  width: clamp(320px, 42vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 255, 255, 0.95), rgba(214, 226, 255, 0.85) 38%, rgba(160, 180, 240, 0.55) 62%, rgba(120, 140, 220, 0.2) 70%, transparent 71%);
  filter: blur(0.4px);
  opacity: 0.22;
  box-shadow: 0 0 160px 60px rgba(140, 160, 255, 0.18);
}

.skyline {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(120px, 18vw, 230px);
  color: #0b0818;
  pointer-events: none;
}

.fog {
  position: absolute;
  z-index: -1;
  left: -50%;
  width: 200%;
  height: 160px;
  bottom: 30px;
  background:
    radial-gradient(ellipse 30% 50% at 20% 50%, rgba(180, 170, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 25% 45% at 55% 60%, rgba(170, 200, 255, 0.1), transparent 70%),
    radial-gradient(ellipse 30% 50% at 85% 40%, rgba(200, 180, 255, 0.1), transparent 70%);
  animation: drift 38s linear infinite;
  pointer-events: none;
}
.fog.two {
  bottom: 70px;
  opacity: 0.7;
  animation-duration: 56s;
  animation-direction: reverse;
}

.wisp {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #e6fbff 0%, var(--spirit) 40%, transparent 70%);
  box-shadow: 0 0 18px 6px rgba(87, 220, 255, 0.45);
  opacity: 0;
  animation: rise 11s ease-in infinite;
  pointer-events: none;
}
.wisp:nth-of-type(1) { left: 8%; bottom: 12%; animation-delay: 0s; }
.wisp:nth-of-type(2) { left: 46%; bottom: 8%; animation-delay: 3.5s; transform: scale(0.7); }
.wisp:nth-of-type(3) { left: 72%; bottom: 18%; animation-delay: 6s; }
.wisp:nth-of-type(4) { left: 92%; bottom: 10%; animation-delay: 8.2s; transform: scale(0.6); }
.wisp:nth-of-type(5) { left: 28%; bottom: 22%; animation-delay: 1.8s; transform: scale(0.5); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero h1 {
  margin: 0 0 18px;
  line-height: 0;
}
.hero h1 img {
  width: min(100%, 520px);
  height: auto;
  margin-left: -8px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(87, 220, 255, 0.15));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--amber-hi);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lede {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 34ch;
  font-weight: 600;
}
.lede em {
  font-style: normal;
  color: var(--amber-hi);
}
.sub {
  color: var(--ink-dim);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

/* device frame */
.hero-visual {
  position: relative;
  padding: 26px 0 40px 30px;
}
.device {
  position: relative;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(145deg, #3a2f60, #17112c 55%, #2a2148);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 40px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 120px -10px rgba(122, 98, 224, 0.45);
  transform: rotate(-3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.device:hover {
  transform: rotate(-1.5deg) translateY(-4px);
}
.device::before {
  /* camera notch */
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 46px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
}
.device img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 740;
  object-fit: cover;
  background: #1b2a1a;
}
.app-tile {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(92px, 12vw, 138px);
  border-radius: 26%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14), 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: rotate(-8deg);
  animation: bob 6s ease-in-out infinite;
}
.peek {
  position: absolute;
  right: -18px;
  top: -34px;
  width: clamp(110px, 14vw, 170px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(255, 140, 40, 0.35));
  animation: hover-float 5s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- stats ---------- */
.stats {
  position: relative;
  margin-top: -56px;
  z-index: 2;
}
.stats ul {
  list-style: none;
  margin: 0;
  padding: 22px clamp(16px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(44, 33, 84, 0.92), rgba(28, 20, 54, 0.92));
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stats li {
  text-align: center;
  padding: 6px 4px;
}
.stats li + li {
  border-left: 1px solid var(--line);
}
.stats b {
  display: block;
  font: 400 clamp(34px, 5vw, 52px)/1 var(--font-display);
  background: linear-gradient(180deg, var(--amber-hi), var(--amber) 60%, #ef8d1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats li:nth-child(even) b {
  background-image: linear-gradient(180deg, #b6f1ff, var(--spirit) 60%, #2ea6e8);
}
.stats span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-dim);
  letter-spacing: 0.4px;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
}
.section.tight-bottom {
  padding-bottom: clamp(48px, 6vw, 72px);
}
.section.patterned {
  background-image: var(--kawung);
  background-size: 56px 56px;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
h2 {
  font: 400 clamp(34px, 5vw, 54px)/1.05 var(--font-display);
  letter-spacing: 0.3px;
  margin: 0 0 14px;
  text-wrap: balance;
}
h2 .accent {
  color: var(--amber);
}
h2 .accent-2 {
  color: var(--spirit);
}
.section-head p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 18px;
}
.section-head .eyebrow {
  color: var(--amber-hi);
  font-size: 13px;
  margin-bottom: 14px;
}

/* ---------- ghosts ---------- */
.ghost-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
.ghost {
  --tint: #b9a7ff;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  padding: 14px 18px 20px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.ghost:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tint) 55%, transparent);
  box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--tint) 45%, transparent);
}
.ghost figure {
  margin: 0 -6px 6px;
  aspect-ratio: 1;
  position: relative;
}
.ghost figure::after {
  /* floor shadow */
  content: '';
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 12%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(6px);
  z-index: 0;
  transition: transform 0.35s;
}
.ghost img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ghost:hover img {
  transform: translateY(-8px) scale(1.04);
}
.ghost:hover figure::after {
  transform: scaleX(0.8);
}
.ghost.flies img {
  animation: hover-float 4.5s ease-in-out infinite;
}
.ghost .row {
  margin-bottom: 6px;
}
.ghost .row .chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ghost h3 {
  font: 400 24px/1.1 var(--font-display);
  letter-spacing: 0.3px;
  margin: 0;
}
.ghost p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.5;
}
.ghost .tip {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-hi);
}
.ghost .tip::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg) translateY(-2px);
}
.ghost .desc {
  min-height: 3em;
}

/* ---------- towers ---------- */
.towers {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(87, 220, 255, 0.08), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 180, 58, 0.07), transparent 60%),
    var(--night-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tower-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
.tower {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s;
}
.tower:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.tower .art {
  height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  position: relative;
}
.tower .art::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(255, 180, 58, 0.28)), transparent 70%);
}
.tower .art img {
  position: relative;
  height: 150px;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tower:hover .art img {
  transform: scale(1.06) rotate(-2deg);
}
.tower h3 {
  font: 400 23px/1.1 var(--font-display);
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.tower p {
  margin: 0 0 14px;
  color: var(--ink-dim);
  font-size: 15px;
}
.tower .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.levels {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
}
.levels i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
  opacity: 0.35;
}
.levels i:nth-child(2) { opacity: 0.65; }
.levels i:nth-child(3) { opacity: 1; box-shadow: 0 0 8px var(--amber); }

/* how to play */
.steps {
  list-style: none;
  margin: clamp(48px, 7vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 22px 22px 84px;
  border-radius: var(--radius-sm);
  background: rgba(10, 7, 20, 0.45);
  border: 1px dashed var(--line-2);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font: 400 26px/1 var(--font-display);
  color: #3a1d00;
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  box-shadow: 0 4px 0 var(--amber-deep);
}
.steps strong {
  display: block;
  font: 400 20px/1.2 var(--font-display);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.steps li > span {
  color: var(--ink-dim);
  font-size: 15px;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
.shot {
  margin: 0;
  grid-column: span 3;
}
.shot.wide {
  grid-column: span 6;
}
.shot.third {
  grid-column: span 2;
}
.shot button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.shot button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--amber), 0 30px 60px -24px rgba(0, 0, 0, 0.9);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 740;
  object-fit: cover;
}
.shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-faint);
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1400px, 94vw);
  max-height: 92vh;
}
.lightbox::backdrop {
  background: rgba(8, 5, 18, 0.88);
  backdrop-filter: blur(6px);
}
.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.lightbox .close {
  appearance: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

/* ---------- features + CTA ---------- */
.features {
  list-style: none;
  margin: 0 0 clamp(56px, 8vw, 88px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
.features li {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}
.features svg {
  width: 30px;
  height: 30px;
  color: var(--spirit);
  margin-bottom: 12px;
}
.features strong {
  display: block;
  font: 400 20px/1.2 var(--font-display);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.features li > span {
  color: var(--ink-dim);
  font-size: 15px;
}

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 30px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(87, 220, 255, 0.18), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 180, 58, 0.16), transparent 60%),
    linear-gradient(135deg, #2e2260, #1a1336);
  border: 1px solid var(--line-2);
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--kawung);
  background-size: 56px 56px;
  opacity: 0.8;
}
.cta img {
  width: clamp(110px, 14vw, 170px);
  border-radius: 26%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14), 0 24px 50px rgba(0, 0, 0, 0.6);
  transform: rotate(-6deg);
}
.cta h2 {
  margin-bottom: 8px;
}
.cta p {
  margin: 0 0 22px;
  color: var(--ink-dim);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--ink-faint);
  font-size: 14px;
  background: #0d0919;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.site-footer a {
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover {
  color: var(--amber-hi);
}

/* ---------- privacy page ---------- */
.doc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(90, 67, 184, 0.5), transparent 60%),
    linear-gradient(180deg, #0d0a1c, var(--night));
  border-bottom: 1px solid var(--line);
}
.doc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--kawung);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.doc-hero h1 {
  font: 400 clamp(40px, 7vw, 68px)/1 var(--font-display);
  margin: 0 0 14px;
  letter-spacing: 0.3px;
}
.doc-hero p {
  margin: 0;
  color: var(--ink-dim);
}
.doc-hero .wrap,
.doc {
  max-width: 780px;
}
.doc {
  padding-top: clamp(36px, 6vw, 56px);
  padding-bottom: clamp(64px, 10vw, 110px);
}
.tldr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 clamp(36px, 6vw, 52px);
  padding: 0;
}
.tldr li {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}
.tldr svg {
  width: 28px;
  height: 28px;
  color: var(--ground);
  margin-bottom: 8px;
}
.tldr strong {
  display: block;
  font: 400 19px/1.2 var(--font-display);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.tldr li > span {
  font-size: 14px;
  color: var(--ink-dim);
}
.doc section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.doc h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  margin: 0 0 10px;
}
.doc p,
.doc li {
  color: var(--ink-dim);
}
.doc p {
  margin: 0 0 12px;
}
.doc ul.plain {
  margin: 0 0 12px;
  padding-left: 22px;
}
.doc ul.plain li {
  margin-bottom: 6px;
}
.doc strong {
  color: var(--ink);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink-dim);
}
.back-link:hover {
  color: var(--amber-hi);
}

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* hero entrance */
.hero .enter {
  animation: enter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}

/* ---------- keyframes ---------- */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes twinkle {
  to {
    opacity: 0.35;
  }
}
@keyframes drift {
  to {
    transform: translateX(25%);
  }
}
@keyframes rise {
  0% {
    opacity: 0;
    translate: 0 0;
  }
  15% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    translate: 30px -320px;
  }
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}
@keyframes hover-float {
  50% {
    translate: 0 -10px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .ghost-grid,
  .tower-grid,
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    padding: 30px 6px 34px 22px;
    max-width: 640px;
  }
  .nav-links {
    display: none;
  }
  .gallery .shot,
  .gallery .shot.third {
    grid-column: span 3;
  }
  .gallery .shot.wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .stats ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
  .stats li:nth-child(3) {
    border-left: 0;
  }
  .ghost-grid {
    gap: 10px;
  }
  .ghost {
    padding: 10px 12px 16px;
  }
  .ghost h3 {
    font-size: 20px;
  }
  .ghost .row .chip {
    top: 10px;
    left: 10px;
  }
  .ghost p {
    font-size: 14px;
  }
  .tower-grid,
  .features,
  .tldr {
    grid-template-columns: 1fr;
  }
  .gallery .shot,
  .gallery .shot.third {
    grid-column: span 6;
  }
  .cta {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .store {
    min-width: 0;
    flex: 1 1 150px;
  }
  .hero .stores {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hero .store {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }
  .hero .store small {
    font-size: 10px;
    letter-spacing: 0.4px;
  }
  .hero .store strong {
    font-size: 17px;
  }
  .peek {
    right: -4px;
    top: -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .wisp {
    display: none;
  }
}
