/* NinjaAura — house style v5
   ground/ink/accent, flat surfaces, no gradients, no glows, square controls. */

:root {
  --ground: #0a0b0d;
  --surface: #14161a;
  --surface-2: #1b1e24;
  --ink: #f2f3f6;
  --ink-2: #b7bcc7;
  --ink-3: #8a909c;
  --accent: #ff6a1a;
  --accent-ink: #160a02;
  --line: #262a31;
  --page: 1240px;
  --gap: 28px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 18px; --s5: 28px; --s6: 44px; --s7: 72px; --s8: 120px;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Switzer", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
section + section { padding-top: calc(var(--s8) - 8px); }
.lede { max-width: 60ch; color: var(--ink-2); font-size: 16px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 26ch; }
h3 { font-size: 22px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #0e1013; }
.nav { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: 0; }
.brand .mark { width: auto; height: 34px; display: block; }
.brand small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: var(--s4); }
.nav-links a, .drop-btn { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover, .drop-btn:hover { color: var(--ink); }
.drop { position: relative; }
.drop-btn { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.drop-menu { position: absolute; top: 30px; left: -12px; min-width: 200px; background: var(--surface-2); border-radius: var(--r); padding: 8px; display: none; flex-direction: column; z-index: 80; box-shadow: 0 18px 40px rgba(0,0,0,.5); /* taste-skill-ignore */ }
.drop.open .drop-menu { display: flex; }
.drop-menu a { padding: 9px 10px; border-radius: var(--r); font-size: 16px; color: var(--ink-2); }
.drop-menu a:hover { background: var(--surface); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--s3); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r); font-size: 16px; font-weight: 600; border: 0; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8138; }
.btn-ghost { color: var(--ink); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-quiet { color: var(--ink-2); padding: 12px 4px; }
.btn-quiet:hover { color: var(--ink); }
.link { color: var(--accent); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s; }
.hero-slide.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(8,9,11,.72); }
.hero-inner { position: relative; z-index: 2; padding-left: 24px; padding-right: 24px; padding-top: 120px; padding-bottom: 72px; max-width: 720px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.hero p { color: var(--ink-2); font-size: 16px; margin: 20px 0 30px; max-width: 52ch; }
.hero-actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.hero-dots { position: absolute; right: 24px; bottom: 28px; z-index: 3; display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 3px; border: 0; background: #4a4f58; cursor: pointer; }
.hero-dots button.on { background: var(--accent); }

/* ---------- status strip ---------- */
.strip { display: flex; flex-wrap: wrap; gap: var(--s5); padding: var(--s5) 0; font-size: 16px; color: var(--ink-2); }
.strip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.strip .ok { color: var(--ink); }
.strip .ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; margin-right: 8px; vertical-align: 1px; }

/* ---------- editorial two-up ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.duo + .duo { margin-top: var(--s8); }
.duo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); }
.duo h3 { font-size: clamp(20px, 2vw, 22px); margin-bottom: 12px; }
.duo p { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.duo.rev .media { order: 2; }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s5); }
.news-main, .news-side a { display: block; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.news-main img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news-main .body, .news-side .body { padding: var(--s4) var(--s4) var(--s5); }
.news-side { display: grid; gap: var(--s5); }
.news-side img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news time { display: block; font-size: 13px; color: var(--ink-3); }
.news h4 { font-size: 22px; margin: 8px 0 8px; }
.news p { font-size: 16px; color: var(--ink-2); }
.news .more { display: inline-block; margin-top: 12px; font-size: 16px; color: var(--accent); font-weight: 600; }
.news-main:hover h4, .news-side a:hover h4 { color: var(--accent); }

/* ---------- leaderboard ---------- */
.lb { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.lb h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
table.rank { width: 100%; border-collapse: collapse; font-size: 16px; }
table.rank th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); /* taste-skill-ignore */ }
table.rank td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); /* taste-skill-ignore */ }
table.rank tr:last-child td { border-bottom: 0; }
table.rank td:first-child { color: var(--ink-3); width: 28px; }
table.rank td:nth-child(2) { color: var(--ink); }
table.rank .empty { color: var(--ink-3); }

/* ---------- gallery ---------- */
.tabs { display: flex; gap: var(--s4); }
.tab { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 16px; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: var(--s5); }
.card { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--surface); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.card:hover img { opacity: .82; }
.card figcaption { position: absolute; inset: auto 0 0 0; padding: 10px; font-size: 13px; color: var(--ink); background: rgba(8,9,11,.82); opacity: 0; transition: opacity .2s; }
.card:hover figcaption { opacity: 1; }

/* ---------- downloads ---------- */
.dl { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: start; }
.dl h3 { font-size: 22px; margin-bottom: 8px; }
.dl > div > p { color: var(--ink-2); font-size: 16px; max-width: 60ch; margin-bottom: var(--s4); }
.dl-list { display: grid; gap: var(--s2); }
.dl-item { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 14px 16px; background: var(--surface); border-radius: var(--r); }
.dl-item:hover { background: var(--surface-2); }
.dl-item b { font-size: 16px; font-weight: 600; }
.dl-item span { font-size: 13px; color: var(--ink-3); }
.spec { background: var(--surface); border-radius: var(--r); padding: var(--s4) var(--s5); }
.spec div { display: flex; justify-content: space-between; gap: var(--s3); font-size: 13px; padding: 7px 0; }
.spec div:nth-child(odd) { background: var(--surface-2); border-radius: var(--r); }
.spec span { color: var(--ink-3); }
.spec b { font-weight: 500; font-variant-numeric: tabular-nums; word-break: break-all; text-align: right; }

/* ---------- packages as list ---------- */
.pk { display: grid; gap: 0; }
.pk-row { display: grid; grid-template-columns: 240px 1fr auto; gap: var(--s5); align-items: center; padding: var(--s5); background: var(--surface); border-radius: var(--r); }
.pk-row + .pk-row { margin-top: 6px; }
.pk-row h4 { font-size: 22px; }
.pk-row .meta { color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.pk-row ul { display: flex; flex-wrap: wrap; gap: 6px var(--s4); list-style: none; font-size: 16px; color: var(--ink-2); }
.pk-row .price { font-size: 22px; font-weight: 600; white-space: nowrap; }

/* ---------- roadmap ---------- */
.road { display: grid; gap: var(--s2); }
.road-row { display: grid; grid-template-columns: 140px 220px 1fr; gap: var(--s5); padding: var(--s4) var(--s5); background: var(--surface); border-radius: var(--r); font-size: 16px; }
.road-row + .road-row { margin-top: 4px; }
.road-row .phase { color: var(--ink-3); font-size: 16px; }
.road-row .title { color: var(--ink); font-weight: 600; }
.road-row .desc { color: var(--ink-2); }

/* ---------- community ---------- */
.comm { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.comm a { display: block; padding: var(--s5); background: var(--surface); border-radius: var(--r); }
.comm a:hover { background: var(--surface-2); }
.comm b { display: block; font-size: 16px; margin-bottom: 6px; }
.comm p { font-size: 16px; color: var(--ink-2); }
.comm .go { display: inline-block; margin-top: 14px; font-size: 16px; color: var(--accent); }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.q + .q { margin-top: 8px; }
.q > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); background: var(--surface); border-radius: var(--r); background: none; border: 0; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.q > button i { color: var(--ink-3); font-style: normal; font-size: 22px; }
.q.open > button i { color: var(--accent); }
.q .a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.q .a > div { padding: 0 var(--s5) var(--s5); color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.q.open .a { max-height: 420px; }

/* ---------- footer ---------- */
.site-footer { background: #0e1013; padding: var(--s7) 0 var(--s5); }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s6); }
.f-brand { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.f-brand span { display: block; font-size: 16px; color: var(--ink-3); font-weight: 500; margin-top: 6px; }
.f-col b { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.f-col a { display: block; font-size: 16px; color: var(--ink-2); padding: 4px 0; }
.f-col a:hover { color: var(--ink); }
.f-bot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s7); font-size: 13px; color: var(--ink-3); }

/* ---------- lightbox ---------- */
.lb-box { position: fixed; inset: 0; z-index: 200; background: rgba(6,7,9,.94); display: none; place-items: center; padding: 24px; }
.lb-box.on { display: grid; }
.lb-box img { max-height: 88vh; max-width: 92vw; border-radius: var(--r); }
.lb-box button { position: absolute; top: 20px; right: 22px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 18px; cursor: pointer; }

/* ---------- inner pages ---------- */
.page-head { padding: var(--s7) 0 var(--s5); }
.page-head h1 { font-size: clamp(26px, 3.2vw, 40px); }
.page-head p { color: var(--ink-2); font-size: 16px; margin-top: 12px; max-width: 60ch; }
.stack { display: grid; gap: var(--s4); }
.rows { display: grid; gap: var(--s2); }
.row-item { display: flex; justify-content: space-between; gap: var(--s4); background: var(--surface); border-radius: var(--r); padding: 16px 18px; font-size: 16px; }
.status-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--surface); border-radius: var(--r); font-size: 16px; }
.badge { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: var(--r); }
.badge.ok { background: #16311f; color: #7fe3a4; }
.badge.bad { background: #3a1a1a; color: #ff9b9b; }
.note { color: var(--ink-2); font-size: 16px; max-width: 70ch; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .duo, .dl, .news { grid-template-columns: 1fr; gap: var(--s5); }
  .duo.rev .media { order: 0; }
  .lb, .comm { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr; }
  .pk-row { grid-template-columns: 1fr; gap: var(--s2); }
  .road-row { grid-template-columns: 120px 1fr; }
  .road-row .desc { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  section { padding: var(--s7) 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .lb, .comm { grid-template-columns: 1fr; }
  .hero-inner { padding: 96px 24px 56px; }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero-slide { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }
.q .a { }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { animation: none; }
}
/* community as plain link list (no boxes) */
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 40px; max-width: 900px; }
.links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 16px; color: var(--ink); }
.links a span { color: var(--ink-3); font-size: 16px; text-align: right; }
.links a:hover span, .links a:hover { color: var(--accent); }
@media (max-width: 700px) { .links { grid-template-columns: 1fr; } }

/* roadmap: dua kolom + responsif */
.road-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 32px; }
.road-wrap { display: grid; grid-template-columns: 2.2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 1000px) {
  .road-head, .road-wrap { grid-template-columns: 1fr; gap: 20px; }
}

.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
section { padding: 104px 0; }
