/* Desain 2 · ORBITAL — luar angkasa, hologram cyan + magenta, kaca, layout bento */
:root {
  --bg: #030614; --fg: #eaf6ff; --muted: #8aa0c2; --line: rgba(140,200,255,.16); --card: rgba(120,190,255,.06);
  --accent: #22e4ff; --accent2: #ff3df0; --ok: #7dffb2; --radius: 22px; --modal-bg: rgba(8,14,34,.95);
  --font-display: 'Syne', system-ui, sans-serif; --font-body: 'Manrope', system-ui, sans-serif; --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
.haze { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 50% at 50% 100%, rgba(3,6,20,.0), rgba(3,6,20,.6)); }
main, .foot { position: relative; z-index: 2; }
.nx-cta { background: linear-gradient(120deg, var(--accent), #7b8bff 50%, var(--accent2)); color: #020414; box-shadow: 0 0 30px rgba(34,228,255,.35); }

/* header */
.top { position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(6,12,30,.55); border: 1px solid var(--line); backdrop-filter: blur(16px); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.orb { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 35%, #2b3cff 70%); box-shadow: 0 0 16px var(--accent); position: relative; }
/* Cincin logo gaya Saturnus: ::before = separuh belakang (di balik bola), ::after = separuh depan (dipotong ke bagian bawah). */
.logo { position: relative; z-index: 0; }
.orb::before, .orb::after { content: ''; position: absolute; left: -7px; right: -7px; top: 50%; height: 8px; margin-top: -4px; border-radius: 50%;
  border: 1.5px solid var(--accent2); box-shadow: 0 0 6px rgba(255,61,240,.55); transform: rotate(-18deg); pointer-events: none; }
.orb::before { z-index: -1; opacity: .8; }
.orb::after { z-index: 1; clip-path: inset(50% -20% -60% -20%); }
.pill-nav { display: flex; gap: 4px; }
.pill-nav a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: .2s; }
.pill-nav a:hover { color: var(--fg); background: var(--card); }
.btn-ghost { text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); box-shadow: inset 0 0 20px rgba(34,228,255,.15); }
@media (max-width: 860px) { .pill-nav { display: none; } }

/* hero */
/* Grid 3 baris: judul / HUD kiri · ruang orbit 3D · HUD kanan / teks + input. Tidak ada yang diposisikan absolut, jadi tidak bisa saling tumpuk. */
.hero { min-height: 100vh; position: relative; display: grid; text-align: center; pointer-events: none;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) minmax(140px, 1fr);
  grid-template-rows: auto minmax(clamp(120px, 28vh, 360px), 1fr) auto;
  grid-template-areas: "top top top" "hl mid hr" "bottom bottom bottom";
  align-items: center; justify-items: center; gap: 14px 24px; padding: 100px 4vw 52px; }
.hero-top { grid-area: top; }
.hero-bottom { grid-area: bottom; }
.hero-top, .hero-bottom { pointer-events: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(6,12,30,.5); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(125,255,178,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(125,255,178,0); } 100% { box-shadow: 0 0 0 0 rgba(125,255,178,0); } }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, min(5.2vw, 8.4vh), 80px); line-height: .95; letter-spacing: -.03em; margin: 20px 0 0; text-shadow: 0 0 60px rgba(3,6,20,.9); }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #9aa8ff, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-bottom { width: min(680px, 100%); }
.lead { color: #b8c8e4; font-size: 16px; margin: 0 auto 20px; max-width: 560px; text-shadow: 0 2px 20px #030614; }
.job { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(8,16,40,.72); border: 1px solid var(--line); backdrop-filter: blur(18px); transition: .3s; }
.job:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34,228,255,.12), 0 0 50px rgba(34,228,255,.25); }
.job-icon { color: var(--accent); }
.job input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 10px 4px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,16,40,.5); color: var(--muted); cursor: pointer; transition: .2s; }
.chips button:hover { color: var(--fg); border-color: var(--accent2); box-shadow: 0 0 20px rgba(255,61,240,.2); }
.hud { display: flex; flex-direction: column; gap: 22px; pointer-events: auto; }
.hud-l { grid-area: hl; justify-self: start; text-align: left; } .hud-r { grid-area: hr; justify-self: end; text-align: right; }
.hud div { padding-left: 14px; border-left: 1px solid var(--accent); }
.hud-r div { padding: 0 14px 0 0; border: 0; border-right: 1px solid var(--accent2); }
.hud small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hud b { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.hud .glow { color: var(--accent); text-shadow: 0 0 24px var(--accent); }
.scroll-cue { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); letter-spacing: .2em; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(170px, 32vh) auto auto;
    grid-template-areas: "top top" "mid mid" "hl hr" "bottom bottom"; gap: 18px 16px; }
  .hud { gap: 12px; } .hud b { font-size: 24px; } .scroll-cue { display: none; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .hero { padding: 84px 4vw 34px; gap: 8px 24px; grid-template-rows: auto minmax(70px, 1fr) auto; }
  h1 { margin-top: 12px; font-size: clamp(32px, min(5vw, 7.6vh), 80px); }
  .hud { gap: 12px; } .hud b { font-size: 26px; }
  .lead { margin-bottom: 12px; font-size: 15px; } .chips { margin-top: 10px; } .scroll-cue { display: none; }
}

/* sections */
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 14vh 0 4vh; }
.s-head { max-width: 640px; margin-bottom: 34px; }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.6vw, 66px); line-height: 1; letter-spacing: -.03em; margin: 12px 0 16px; }
h2 span { color: var(--muted); }
.s-head p { color: #b8c8e4; font-size: 17px; margin: 0; }
.glass { background: linear-gradient(160deg, rgba(40,80,160,.16), rgba(8,14,34,.55)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.35); }

/* market cards */
.market { padding: 18px; }
.market-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.seg button { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--fg); color: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cards .nx-row { grid-template-columns: 56px 1fr auto; grid-template-areas: 'av name rank' 'av sub sub' 'earn profit hire' 'heat heat heat';
  gap: 4px 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(4,8,22,.5); transition: transform .3s, border-color .3s; }
.cards .nx-row:hover { transform: translateY(-4px); border-color: hsl(var(--h) 90% 65% / .6); background: rgba(4,8,22,.7); }
.cards .nx-rank { grid-area: rank; } .cards .nx-main { display: contents; }
.cards .nx-name { grid-area: name; align-self: end; } .cards .nx-sub { grid-area: sub; }
.cards .nx-avatar { grid-area: av; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, hsl(var(--h) 95% 65%) 30%, hsl(calc(var(--h) + 40) 80% 30%) 80%); box-shadow: 0 0 24px hsl(var(--h) 95% 60% / .55); }
/* Cincin planet kecil: separuh atas (span) di BELAKANG bola, separuh bawah (::after) di DEPANNYA.
   Kartu jadi stacking context supaya z-index -1 tetap di atas latar kartu tapi di bawah bola. */
.cards .nx-row { position: relative; z-index: 0; }
.cards .nx-avatar { overflow: visible; }
.cards .nx-avatar span, .cards .nx-avatar::after { content: ''; position: absolute; left: -11px; right: -11px; top: 50%; height: 15px; margin-top: -7.5px;
  inset-block-end: auto; border-radius: 50%; background: none; border: 1.5px solid hsl(var(--h) 90% 82% / .85);
  box-shadow: 0 0 8px hsl(var(--h) 95% 65% / .5); transform: rotate(-16deg); }
.cards .nx-avatar span { z-index: -1; }
.cards .nx-avatar::after { z-index: 1; clip-path: inset(50% -20% -60% -20%); }
.cards .nx-avatar span::before, .cards .nx-avatar span::after { display: none; }
.cards .nx-num { text-align: left; margin-top: 12px; }
.cards .nx-num:not(.nx-profit) { grid-area: earn; } .cards .nx-profit { grid-area: profit; }
.cards .nx-hire { grid-area: hire; align-self: end; border-color: hsl(var(--h) 90% 65% / .5); }
.cards .nx-heat { grid-area: heat; margin-top: 10px; height: 3px; }
.cards .nx-heat i { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .cards .nx-num:not(.nx-profit), .cards .nx-heat { display: block; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.feed { margin-top: 14px; padding: 18px 22px; }
.feed ul { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
@media (max-width: 800px) { .feed ul { grid-template-columns: 1fr; } }

/* bento steps */
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.b-step { position: relative; overflow: hidden; padding: 30px; min-height: 230px; }
.b-step:first-child { grid-row: span 2; min-height: 474px; display: flex; flex-direction: column; justify-content: flex-end; }
.num { font-family: var(--font-display); font-weight: 800; font-size: 80px; line-height: 1; background: linear-gradient(180deg, var(--fg), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
.b-step h3 { font-family: var(--font-display); font-size: 28px; margin: 8px 0 8px; position: relative; }
.b-step p { color: var(--muted); margin: 0; max-width: 420px; position: relative; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--accent); opacity: .5; pointer-events: none; animation: rot 20s linear infinite; }
.ring::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 16px var(--accent2); }
.r1 { width: 420px; height: 420px; right: -120px; top: -120px; } .r2 { width: 240px; height: 240px; right: -80px; top: -80px; animation-duration: 12s; } .r3 { width: 200px; height: 200px; right: -60px; bottom: -90px; animation-direction: reverse; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (max-width: 800px) { .bento { grid-template-columns: 1fr; } .b-step:first-child { grid-row: auto; min-height: 280px; } }

.till-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.till { padding: 28px; }
.till .nx-till-ctl { grid-template-columns: 1fr 1fr; } .till .nx-till-ctl label:first-child { grid-column: 1 / -1; }
.till .nx-till-legend { grid-template-columns: 1fr 1fr; }
.till .nx-till-bar { height: 70px; border-radius: 18px; }
.facts { display: grid; gap: 14px; }
.facts .glass { padding: 20px 22px; }
.facts h4 { font-family: var(--font-display); font-size: 20px; margin: 6px 0 4px; }
.facts p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .till-grid { grid-template-columns: 1fr; } }

.status { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.status .glass { padding: 26px; }
.status h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); display: inline-block; }
.dot.ok { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status ul { list-style: none; margin: 0; padding: 0; }
.status li { padding: 11px 0; border-top: 1px solid var(--line); }
.status .dim li { color: var(--muted); }
@media (max-width: 800px) { .status { grid-template-columns: 1fr; } }

.dock { padding: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.dock p { color: #b8c8e4; }
.cmd { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--line); }
.cmd code { font-size: 14px; color: var(--accent); word-break: break-all; }
.cmd .nx-cta { align-self: flex-start; }
@media (max-width: 860px) { .dock { grid-template-columns: 1fr; padding: 26px; } }

.token { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.planet { position: relative; width: min(340px, 70vw); aspect-ratio: 1; margin: auto; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff 0, #9ff4ff 8%, var(--accent) 25%, #3340ff 60%, #120a3a 90%);
  box-shadow: 0 0 120px rgba(34,228,255,.45), inset -30px -40px 80px rgba(0,0,0,.55); display: grid; place-items: center; animation: breathe 6s ease-in-out infinite; }
.planet span { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: rgba(2,4,20,.75); letter-spacing: .04em; }
/* Sistem planet $ORBW: cincin pita gaya Saturnus. Separuh belakang tertutup bola, separuh depan melintas di depannya. */
.planet-sys { position: relative; width: min(290px, 56vw); aspect-ratio: 1; margin: 60px auto; animation: breathe 6s ease-in-out infinite; }
.planet-sys .planet { position: absolute; inset: 0; width: auto; margin: 0; z-index: 1; animation: none; }
.planet-sys .planet span { font-size: min(36px, 7vw); }
/* Cincin garis tipis (elips) yang melingkari bola: separuh atas di belakang planet, separuh bawah di depannya.
   Nama kelas .orbw-orbit sengaja unik: jangan pakai .ring (sudah dipakai animasi di bagian "Three steps"). */
.planet-sys .orbw-orbit { position: absolute; left: 50%; top: 50%; width: 150%; height: 30%; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255,61,240,.85); box-shadow: 0 0 18px rgba(255,61,240,.45), inset 0 0 14px rgba(255,61,240,.25);
  transform: translate(-50%, -50%) rotate(-14deg); }
.planet-sys .orbw-orbit::after { content: ''; position: absolute; inset: -10% -5%; border-radius: 50%; border: 1px solid rgba(34,228,255,.45); }
.planet-sys .orbit-back { z-index: 0; }
.planet-sys .orbit-front { z-index: 2; clip-path: inset(50% -10% -40% -10%); }
@keyframes breathe { 50% { transform: translateY(-10px); } }
.token-copy { padding: 34px; }
.ca { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line); margin-bottom: 14px; font-size: 13px; }
.ca small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tk { padding: 12px 0; border-top: 1px solid var(--line); } .tk p { margin: 4px 0 0; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-bottom: 0; }
@media (max-width: 860px) { .token { grid-template-columns: 1fr; } }

.final { min-height: 80vh; display: grid; place-content: center; text-align: center; padding: 10vh 20px; }
.final h2 { font-size: clamp(36px, 8vw, 120px); }
.nx-cta.big { justify-self: center; text-decoration: none; font-size: 18px; padding: 18px 34px; }

.foot { width: min(1180px, calc(100% - 32px)); margin: 0 auto 30px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(6,12,30,.7); backdrop-filter: blur(14px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--muted); } .foot nav a:hover, .foot nav a.on { color: var(--accent); }
.foot .designs { margin-left: auto; font-size: 12px; }
.foot .nx-demo { width: 100%; margin: 0; }

/* header & hero di layar sempit */
.btn-ghost { white-space: nowrap; }
@media (max-width: 560px) {
  .top { padding: 8px 8px 8px 14px; }
  .logo { font-size: 14px; }
  .btn-ghost { padding: 8px 12px; font-size: 12px; }
  .hero { padding-top: 96px; }
  .badge { font-size: 11px; }
}
@media (max-width: 420px) {
  .logo { letter-spacing: .02em; gap: 8px; }
  .btn-ghost { font-size: 0; padding: 8px 14px; }
  .btn-ghost::after { content: 'Launch'; font-size: 13px; }
  /* ORBWRIGHT lebih panjang: kecilkan logo, dan sembunyikan tombol Launch header bila tombol Wallet ada (input hero tetap di bawahnya). */
  .top .logo { font-size: 12px; }
  .top:has(.nx-wallet) .btn-ghost { display: none; }
}
