/* ==========================================================================
   ModrinthNW — "Obsidian" design system  ·  v10
   Palette: deep midnight base · violet→cyan brand gradient · gold + pink accents
   Every animation is transform/opacity only (compositor-friendly).
   ========================================================================== */

:root {
  /* base */
  --bg-0: #06070d;
  --bg-1: #0a0c16;
  --surface: #0e1120;
  --surface-2: #131729;
  --surface-3: #191e36;
  --line: rgba(160, 168, 220, 0.13);
  --line-2: rgba(160, 168, 220, 0.22);

  /* text */
  --text: #eef0ff;
  --text-soft: #c3c8ea;
  --muted: #8b91b8;
  --faint: #5d6285;

  /* accents */
  --acc: #8b5cf6;
  --acc-2: #22d3ee;
  --acc-deep: #6d3ae8;
  --violet: #a78bfa;
  --pink: #f472b6;
  --amber: #f5c04a;
  --green: #34d399;
  --red: #f87171;

  --grad-brand: linear-gradient(100deg, #a78bfa, #22d3ee 55%, #f472b6);
  --grad-acc: linear-gradient(135deg, #8b5cf6, #6366f1 55%, #22d3ee);
  --glow: 0 0 44px rgba(139, 92, 246, 0.32);

  --shadow-1: 0 10px 34px rgba(2, 4, 14, 0.55);
  --shadow-2: 0 24px 70px rgba(2, 4, 14, 0.6);

  --nav-h: 66px;
  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-display: "Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Grotesk";
  src: url("/fonts/grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Grotesk";
  src: url("/fonts/grotesk-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------ base ----------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* hidden attr must beat any class display rule */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 650; }
p { margin: 0 0 12px; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 2px; border-radius: 4px; }

@media (min-width: 1021px) {
  body::-webkit-scrollbar { width: 11px; }
  body::-webkit-scrollbar-track { background: var(--bg-0); }
  body::-webkit-scrollbar-thumb { background: #232a4d; border-radius: 8px; border: 3px solid var(--bg-0); }
}

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: 0.02em; }
.center { text-align: center; }
.text-strong { color: var(--text); font-weight: 650; }
.nowrap { white-space: nowrap; }
.hide-sm { display: revert; }
.w-full { width: 100%; }

.grad-text {
  background: var(--grad-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.i-xs { width: 15px; height: 15px; vertical-align: -2.5px; }
.i-sm { width: 17px; height: 17px; vertical-align: -3.5px; }
.icon.flip { transform: scaleX(-1); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) var(--d, 0ms); }
@supports (animation-timeline: view()) {
  .reveal:not(.in) { animation: fadeUp 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; animation-timeline: view(); animation-range: entry 0% entry 36%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.linklike { color: var(--acc-2); cursor: pointer; border-radius: 4px; }
.linklike:hover { text-decoration: underline; }
.link-more { color: var(--acc-2); font-size: 0.92rem; font-weight: 600; }
.link-more:hover { text-decoration: underline; }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }

.skeleton-line { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 45%, var(--surface-2) 65%); background-size: 240% 100%; animation: shimmer 1.4s ease-in-out infinite; margin: 12px 0; }
.skeleton-line.w30 { width: 30%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w90 { width: 90%; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -110% 0; } }

/* --------------------------- boot screen -------------------------------- */
.boot {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(560px 420px at 50% 38%, rgba(109, 58, 232, 0.24), transparent 70%),
    var(--bg-0);
  opacity: 1;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.boot.boot-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.boot-orb { position: relative; width: 108px; height: 108px; display: grid; place-items: center; }
.boot-orb::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 12%, var(--acc) 28%, var(--acc-2) 40%, transparent 58%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: bootSpin 1.1s linear infinite;
}
@keyframes bootSpin { to { transform: rotate(360deg); } }
.boot-logo { width: 76px; height: 76px; border-radius: 22px; animation: bootPop 1.2s cubic-bezier(0.3, 1.4, 0.4, 1) infinite alternate; }
@keyframes bootPop {
  from { transform: scale(0.96); filter: drop-shadow(0 6px 22px rgba(139, 92, 246, 0.35)); }
  to { transform: scale(1.04); filter: drop-shadow(0 10px 30px rgba(34, 211, 238, 0.4)); }
}
.boot-bar { width: 190px; height: 5px; border-radius: 3px; background: rgba(160, 168, 220, 0.14); overflow: hidden; position: relative; }
.boot-bar i {
  position: absolute; inset: 0; width: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: bootSweep 1.15s ease-in-out infinite;
}
@keyframes bootSweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(300%); }
}
.boot-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.32em; text-transform: uppercase; }
.boot-sub { letter-spacing: 0.08em; }

/* --------------------------- background scene --------------------------- */
.bg-scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aur {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: aurFloat 26s ease-in-out infinite alternate;
}
.aur-1 { width: 760px; height: 760px; top: -300px; left: -180px; background: radial-gradient(circle at 40% 40%, rgba(109, 58, 232, 0.5), transparent 70%); }
.aur-2 { width: 620px; height: 620px; top: 26%; right: -240px; background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.32), transparent 70%); animation-delay: -8s; animation-duration: 32s; }
.aur-3 { width: 560px; height: 560px; bottom: -240px; left: 30%; background: radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.2), transparent 70%); animation-delay: -16s; animation-duration: 38s; }
@keyframes aurFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160, 168, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 168, 220, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(1000px 620px at 50% 0, #000 30%, transparent 78%);
  mask-image: radial-gradient(1000px 620px at 50% 0, #000 30%, transparent 78%);
}
.bg-noise { position: absolute; inset: 0; opacity: 0.5; background-image: url("/img/pattern-blocks.svg"); background-size: 240px; }

/* ------------------------------ nav ------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 10, 20, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.01em; }
.brand .logo-img { width: 30px; height: 30px; border-radius: 9px; }
.brand-name b { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  position: relative; padding: 8px 13px; border-radius: 10px;
  font-size: 0.94rem; font-weight: 550; color: var(--text-soft);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(160, 168, 220, 0.08); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad-brand);
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--muted); }
.nav-status-text { min-width: 62px; }
.nav-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--text-soft); border: 1px solid var(--line); transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.nav-icon-btn:hover { color: #fff; border-color: rgba(139, 92, 246, 0.55); transform: translateY(-1px); }
.nav-icon-btn .icon { width: 18px; height: 18px; }
.nav-cta { white-space: nowrap; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); place-items: center; align-content: center; gap: 4px; }
.nav-burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-drawer { display: none; }

/* --------------------------- status dot --------------------------------- */
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; position: relative; }
.status-dot.is-online { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
.status-dot.is-offline { background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); }
.status-dot.is-loading::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(160, 168, 220, 0.3); border-top-color: var(--acc-2);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ hero ----------------------------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 54px) 0 96px; }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art img { position: absolute; right: 0; top: 0; width: min(72vw, 1240px); height: 100%; object-fit: cover; object-position: right center; opacity: 0.9; }
.hero-art-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-0) 8%, rgba(6, 7, 13, 0.55) 42%, rgba(6, 7, 13, 0) 74%),
    linear-gradient(180deg, rgba(6, 7, 13, 0) 55%, var(--bg-0) 96%);
}
/* Keep the container's centered width; constrain the copy column inside it so
   hero text aligns with every other section instead of hugging the viewport edge. */
.hero-inner { position: relative; }
.hero-inner > * { max-width: 620px; }
.hero-mark { position: relative; width: 62px; height: 62px; margin-bottom: 22px; }
.hero-mark img { width: 62px; height: 62px; border-radius: 17px; box-shadow: var(--glow); }
.hero-mark::before {
  content: ""; position: absolute; inset: -7px; border-radius: 24px;
  background: var(--grad-brand); opacity: 0.55; filter: blur(13px); z-index: -1;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.1);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--violet);
}
.badge-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); animation: badgePulse 2.2s ease-out infinite; }
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; margin: 18px 0 16px; }
.hero-title em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 7s ease-in-out infinite alternate; background-size: 200% 100%; }
.hero-sub { font-size: 1.08rem; max-width: 33em; margin-bottom: 26px; }
.hero-ip { margin-bottom: 14px; }
.players-line { min-height: 1.4em; margin-bottom: 26px; }
.players-line[data-skeleton] { color: transparent; position: relative; }
.players-line[data-skeleton]::before {
  content: ""; position: absolute; left: 0; top: 0; width: min(430px, 80%); height: 0.9em;
  border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 45%, var(--surface-2) 65%);
  background-size: 240% 100%; animation: shimmer 1.4s ease-in-out infinite;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: linear-gradient(180deg, transparent, var(--bg-0)); pointer-events: none; }

/* --------------------------- stats strip -------------------------------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: -38px; position: relative; z-index: 2;
  padding: 26px 28px;
  background: linear-gradient(160deg, rgba(19, 23, 41, 0.92), rgba(14, 17, 32, 0.86));
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stat { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; letter-spacing: -0.02em; background: linear-gradient(180deg, #fff, #b9bff0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:first-child .stat-value { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------ sections -------------------------------- */
.section { padding: 58px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-sub { margin: 6px 0 0; max-width: 44em; }
.narrow { width: min(760px, 100%); margin-inline: auto; }
.center-page { text-align: center; }

.card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

/* --------------------------- feature cards ------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 190px at 18% -8%, rgba(139, 92, 246, 0.2), transparent 62%);
  opacity: 0; transition: opacity 0.3s ease;
}
.feature-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-brand); opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature-card:hover::before, .feature-card:hover::after { opacity: 1; }
.feature-card h3 { margin: 14px 0 6px; }
.feature-card p { margin: 0; font-size: 0.95rem; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: #fff;
  background: var(--grad-acc);
  box-shadow: 0 6px 18px rgba(109, 58, 232, 0.35);
}
.feature-icon .icon { width: 22px; height: 22px; }

/* ---------------------------- mod cards --------------------------------- */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mod-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14;
  background: radial-gradient(320px 190px at 82% -10%, var(--g1, #8b5cf6), transparent 62%),
              radial-gradient(320px 220px at -6% 108%, var(--g2, #22d3ee), transparent 62%);
  transition: opacity 0.3s ease;
}
.mod-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.mod-card:hover::before { opacity: 0.3; }
.mod-card h3 { font-size: 1.06rem; }
.mod-card p { margin: 0; font-size: 0.9rem; flex: 1; }
.mod-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; background: rgba(160, 168, 220, 0.09); border: 1px solid var(--line);
}
.mod-icon.lg { width: 62px; height: 62px; font-size: 30px; border-radius: 18px; }
.mod-meta { display: flex; gap: 14px; margin-top: 4px; }
.mod-meta span { display: inline-flex; align-items: center; gap: 5px; }
.mod-go {
  position: absolute; right: 18px; bottom: 18px;
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 11px; color: var(--acc-2);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.28);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mod-card:hover .mod-go { opacity: 1; transform: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--violet);
  padding: 3.5px 10px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ---------------------------- step cards -------------------------------- */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step-card {
  position: relative;
  display: flex; gap: 16px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.step-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.step-card p { margin: 0; font-size: 0.92rem; }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 750; font-size: 1.05rem;
  background: var(--grad-acc); color: #fff;
  box-shadow: 0 6px 16px rgba(109, 58, 232, 0.35);
}
.step-body { flex: 1; }
.step-ico { margin-right: 8px; color: var(--acc-2); }
.step-ico .icon { vertical-align: -4px; }
.step-link {
  align-self: center; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  color: var(--acc-2); border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
}

/* ---------------------------- promo duo --------------------------------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.promo-card h3 { font-size: 1.45rem; margin: 12px 0 8px; }
.promo-card p { max-width: 30em; }
.promo-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.promo-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--acc-2);
}
.promo-store { background: linear-gradient(150deg, rgba(139, 92, 246, 0.2), rgba(14, 17, 32, 0.9) 55%), var(--surface); }
.promo-verify { background: linear-gradient(150deg, rgba(34, 211, 238, 0.16), rgba(14, 17, 32, 0.9) 55%), var(--surface); }

/* --------------------------- discord band ------------------------------- */
.discord-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 30px 34px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    url("/img/pattern-blocks.svg") right center / 240px no-repeat,
    linear-gradient(140deg, rgba(109, 58, 232, 0.3), rgba(88, 28, 135, 0.18) 60%, rgba(14, 17, 32, 0.9)),
    var(--surface);
  box-shadow: var(--shadow-1);
}
.discord-info { display: flex; align-items: center; gap: 18px; }
.discord-band h3 { font-size: 1.35rem; margin-bottom: 4px; }
.discord-band p { margin: 0; }
.discord-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: rgba(139, 92, 246, 0.22); border: 1px solid rgba(139, 92, 246, 0.4); }
.discord-ico .icon { width: 26px; height: 26px; }

/* ----------------------------- cta band --------------------------------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 54px 30px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(560px 260px at 50% -20%, rgba(139, 92, 246, 0.3), transparent 70%),
    linear-gradient(165deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -2px;
  background: conic-gradient(from 180deg at 50% 120%, transparent 70%, rgba(139, 92, 246, 0.35) 86%, transparent 94%);
  animation: aurFloat 18s ease-in-out infinite alternate;
  opacity: 0.6;
  pointer-events: none;
}
.cta-band h2 { position: relative; }
.cta-band .muted { position: relative; }
.cta-ip { position: relative; display: flex; justify-content: center; margin-top: 18px; }

/* ----------------------------- page head -------------------------------- */
.page-head { padding: calc(var(--nav-h) + 46px) 0 8px; }
.page-title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 750; }

/* ----------------------------- toolbar ---------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.search-wrap {
  flex: 1 1 260px; max-width: 420px;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: border-color 0.2s ease;
}
.search-wrap:focus-within { border-color: rgba(34, 211, 238, 0.5); }
.search { flex: 1; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.search::placeholder { color: var(--faint); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 7px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  color: var(--text-soft); border: 1px solid var(--line); background: var(--surface);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--line-2); }
.filter-chip.active { color: #fff; border-color: transparent; background: var(--grad-acc); }
.empty-state { text-align: center; padding: 60px 0 30px; color: var(--muted); }
.empty-ico { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 18px; color: var(--acc-2); border: 1px solid var(--line); background: var(--surface); }
.empty-ico .icon { width: 26px; height: 26px; }

/* ---------------------------- detail page ------------------------------- */
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.back-link:hover { color: var(--text); }
.detail-head {
  position: relative; display: flex; align-items: center; gap: 20px;
  padding: 30px; border-radius: var(--r-xl);
  border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(14, 17, 32, 0.9) 55%), var(--surface);
}
.detail-head::after {
  content: ""; position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background: radial-gradient(420px 220px at 88% -10%, var(--g1, #8b5cf6), transparent 65%),
              radial-gradient(420px 260px at -4% 110%, var(--g2, #22d3ee), transparent 65%);
}
.detail-head-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin-top: 16px; }
.detail-body p { color: var(--text-soft); }
.detail-body .btn { margin-top: 6px; }
.detail-body .notice { margin-top: 16px; }
.detail-side h3 { margin-bottom: 14px; }
.kv { margin: 0; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv > div:first-child { padding-top: 0; }
.kv dt { color: var(--muted); font-size: 0.9rem; }
.kv dd { margin: 0; font-size: 0.92rem; text-align: right; overflow-wrap: anywhere; }
.side-ip { margin-top: 16px; }

/* ------------------------------ play page ------------------------------- */
.play-ip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.play-meta { margin-top: 6px; }
.play-cta { display: flex; align-items: center; gap: 14px; margin: 24px 0 8px; }
.tip-list { list-style: none; margin: 0; padding: 0; }
.tip-list li { display: flex; flex-direction: column; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--line); position: relative; padding-left: 22px; }
.tip-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 3px; background: var(--grad-acc); }
.tip-list strong { color: var(--text); font-weight: 620; }
.tip-list .muted { font-size: 0.9rem; }

/* ------------------------------ rules page ------------------------------ */
.rules-card { padding: 10px 26px; }
.rules-list { list-style: none; margin: 0; padding: 0; counter-reset: rules; }
.rule-item { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rule-item:first-child { padding-top: 20px; }
.rule-num { font-family: var(--font-display); font-weight: 750; color: var(--violet); font-size: 0.95rem; flex: none; }
.rule-text { color: var(--text-soft); }

/* ------------------------------ store ----------------------------------- */
.store-banner-wrap { padding-bottom: 10px; }
.store-banner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 34px 36px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    radial-gradient(600px 280px at 16% -10%, rgba(34, 211, 238, 0.22), transparent 62%),
    linear-gradient(140deg, rgba(109, 58, 232, 0.3), rgba(14, 17, 32, 0.92) 60%),
    var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.store-banner h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 10px 0 8px; }
.store-banner p { max-width: 34em; margin: 0; }
.store-banner-art { position: relative; width: 190px; height: 150px; flex: none; }
.sb-cube {
  position: absolute; border-radius: 12px;
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.9), rgba(34, 211, 238, 0.7));
  box-shadow: 0 10px 26px rgba(109, 58, 232, 0.35);
  animation: sbFloat 5.5s ease-in-out infinite alternate;
}
.sb-1 { width: 64px; height: 64px; left: 14px; top: 42px; animation-delay: 0s; }
.sb-2 { width: 44px; height: 44px; left: 92px; top: 14px; opacity: 0.8; animation-delay: -1.8s; background: linear-gradient(160deg, rgba(244, 114, 182, 0.85), rgba(139, 92, 246, 0.7)); }
.sb-3 { width: 34px; height: 34px; left: 126px; top: 92px; opacity: 0.7; animation-delay: -3.4s; background: linear-gradient(160deg, rgba(245, 192, 74, 0.9), rgba(249, 115, 22, 0.7)); }
@keyframes sbFloat {
  from { transform: translateY(-7px) rotate(-2deg); }
  to { transform: translateY(7px) rotate(2deg); }
}

.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rank-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.rank-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 240px at 88% -6%, var(--g1, #8b5cf6), transparent 64%),
    radial-gradient(420px 260px at -8% 106%, var(--g2, #22d3ee), transparent 66%);
  opacity: 0.18;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.rank-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--g1, #8b5cf6), var(--g2, #22d3ee));
  opacity: 0.85;
}
.rank-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.rank-card:hover::before { opacity: 0.34; }
.rank-art { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.rank-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0a0c16;
  background: linear-gradient(100deg, var(--g1, #8b5cf6), var(--g2, #22d3ee));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.rank-featured { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.28), var(--shadow-1); }
.rank-head { position: relative; display: flex; align-items: center; gap: 13px; padding: 20px 22px 0; }
.rank-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--g1, #8b5cf6), var(--g2, #22d3ee));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.rank-icon .icon { width: 20px; height: 20px; }
.rank-tier { display: block; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 650; }
.rank-name { font-size: 1.3rem; font-weight: 750; }
.rank-tagline { position: relative; padding: 6px 22px 0; margin: 0; font-size: 0.92rem; }
.rank-price { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 12px 22px 0; }
.price { font-family: var(--font-display); font-weight: 780; font-size: 1.5rem; letter-spacing: -0.02em; }
.price-free { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-note { font-size: 0.8rem; color: var(--muted); }
.perk-list { position: relative; list-style: none; margin: 14px 0 0; padding: 0 22px; flex: 1; }
.perk-list li { display: flex; gap: 9px; align-items: flex-start; padding: 5.5px 0; font-size: 0.92rem; color: var(--text-soft); }
.perk-list .icon { color: var(--green); margin-top: 3px; width: 14px; height: 14px; }
.rank-cta { position: relative; margin: 18px 22px 22px; }
.rank-state { position: relative; margin: 0 22px 22px; display: flex; align-items: center; gap: 10px; }
.store-faq { max-width: 880px; margin-inline: auto; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.faq-item h3 { font-size: 1rem; margin-bottom: 7px; }
.faq-item p { margin: 0; }
.store-notice { margin-top: 22px; }
.verified-chip { display: inline-flex; align-items: center; gap: 10px; }

/* ------------------------------ notices --------------------------------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 17px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 0.94rem; color: var(--text-soft);
}
.notice .icon { margin-top: 2px; width: 18px; height: 18px; flex: none; }
.notice-green { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.notice-green .icon { color: var(--green); }
.notice-amber { border-color: rgba(245, 192, 74, 0.35); background: rgba(245, 192, 74, 0.07); }
.notice-amber .icon { color: var(--amber); }
.notice-blue { border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.07); }
.notice-blue .icon { color: var(--acc-2); }
.notice-card { display: flex; gap: 12px; padding: 16px; margin-top: 14px; border-radius: var(--r-md); }
.notice-ico { flex: none; }
.notice-ico .icon { width: 20px; height: 20px; }
.notice-copy p { margin: 4px 0 0; font-size: 0.9rem; }

/* --------------------------- verify wizard ------------------------------ */
.verify-section { padding-top: calc(var(--nav-h) + 40px); }
.verify-wrap { max-width: 620px; margin-inline: auto; }
.verify-head { text-align: center; margin-bottom: 26px; }
.verify-head p { max-width: 34em; margin-inline: auto; }
.wizard {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.wizard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 50% -6%, rgba(139, 92, 246, 0.16), transparent 70%);
}
.wizard-rail { list-style: none; display: flex; justify-content: space-between; gap: 6px; padding: 0 4px 22px; margin: 0; position: relative; }
.rail-step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; position: relative; }
.rail-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--line-2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.rail-step.is-active .rail-dot { background: var(--acc-2); border-color: var(--acc-2); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18); }
.rail-step.is-done .rail-dot { background: var(--acc); border-color: var(--acc); }
.rail-step.is-done::after {
  content: ""; position: absolute; top: 5px; left: calc(50% + 12px); height: 2px; width: calc(100% - 24px);
  background: var(--acc);
}
.rail-label { font-size: 0.74rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.rail-step.is-active .rail-label, .rail-step.is-done .rail-label { color: var(--text-soft); }
.wstep { position: relative; animation: stepIn 0.4s cubic-bezier(0.22, 0.8, 0.3, 1); }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
.wstep-head { margin-bottom: 20px; }
.wstep-head h2 { font-size: 1.4rem; margin: 10px 0 6px; }
.wstep-head p { margin: 0; font-size: 0.94rem; }
.wstep-ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; color: var(--acc-2);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
}
.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-weight: 620; font-size: 0.92rem; margin-bottom: 7px; }
.input {
  width: 100%; padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  color: var(--text); font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--faint); }
.input:focus, .input:focus-visible { outline: none; border-color: var(--acc-2); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16); }
.input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); }
.field-hint { display: block; margin-top: 7px; }
.verified-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-bottom: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.vs-label { letter-spacing: 0.08em; text-transform: uppercase; font-weight: 650; font-size: 0.72rem; }
.auth-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; margin-right: 8px; margin-bottom: 8px;
  border-radius: 999px; font-size: 0.78rem; font-weight: 650;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
}
.auth-chip .icon { width: 14px; height: 14px; }
.chip-totp { border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.1); color: var(--acc-2); }
.chip-push { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1); color: var(--green); }
.approve-card { text-align: center; padding: 22px; margin-bottom: 16px; border-radius: var(--r-md); border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.05); }
.approve-orb {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  animation: orbPulse 1.8s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
}
.approve-line { margin: 0 0 6px; }
.push-status { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.88rem; margin: 0; }
.push-status.is-ok { color: var(--green); }
.push-status.is-bad { color: var(--red); }
.push-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--acc-2);
  animation: badgePulse 1.6s ease-out infinite;
}
.push-status.is-ok .push-dot { background: var(--green); }
.push-status.is-bad .push-dot { background: var(--red); animation: none; }
.code-hint { margin-bottom: 12px; }
.code-cell {
  width: 100%;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  letter-spacing: 0.32em;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.code-cell::placeholder { color: var(--faint); letter-spacing: 0.32em; }
.code-cell:focus, .code-cell:focus-visible { outline: none; border-color: var(--acc-2); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16); }
.code-cell.filled { border-color: rgba(52, 211, 153, 0.5); }
.code-cell.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); animation: shake 0.3s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.code-meta { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; }
.auth-push-note { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }
.otp-row { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.otp-cell {
  width: 44px; height: 52px; text-align: center;
  font-family: var(--font-mono); font-size: 1.3rem;
  border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--bg-1); color: var(--text);
}
.otp-cell:focus { outline: none; border-color: var(--acc-2); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16); }
.otp-cell.filled { border-color: rgba(52, 211, 153, 0.5); }
.success-head { text-align: center; }
.success-orb {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  animation: popIn 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.success-orb .icon { width: 26px; height: 26px; }
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.done-grid { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 18px; }
.done-card { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-1); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.claim-now {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(139, 92, 246, 0.4);
  background:
    radial-gradient(420px 200px at 90% -10%, rgba(139, 92, 246, 0.25), transparent 65%),
    linear-gradient(160deg, rgba(34, 211, 238, 0.08), rgba(14, 17, 32, 0.6)),
    var(--bg-1);
}
.claim-now h3 { font-size: 1.2rem; margin: 8px 0 4px; }
.claim-now p { margin: 0; }
.claim-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--acc-2);
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}
.claim-now-action { text-align: right; flex: none; }
.claim-done { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-radius: var(--r-md); border: 1px solid rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.06); }
.verify-foot { margin-top: 22px; }
.werror {
  margin-top: 16px; padding: 12px 15px;
  border-radius: var(--r-md);
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: #ffb4b4;
  font-size: 0.92rem;
}
.werror.is-good { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); color: #a7f3d0; }

/* ---------------------------- account page ------------------------------ */
.account-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: start; }
.account-card h3 { margin-bottom: 16px; }
.identity-row { display: flex; align-items: center; gap: 14px; }
.identity-avatar {
  flex: none; width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 750; font-size: 1.15rem;
  background: var(--grad-acc); color: #fff;
  box-shadow: var(--glow);
}
.identity-meta { display: flex; flex-direction: column; gap: 2px; }
.identity-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }

/* ------------------------------ buttons --------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 13px;
  font-weight: 650; font-size: 0.95rem; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 14px 26px; border-radius: 15px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; border-radius: 11px; }
.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--acc-deep), var(--acc) 45%, #7c3aed);
  background-size: 160% 160%;
  box-shadow: 0 8px 22px rgba(109, 58, 232, 0.4);
}
.btn-solid:hover { background-position: 100% 50%; box-shadow: 0 10px 28px rgba(109, 58, 232, 0.55); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text-soft);
  border-color: var(--line-2);
  background: rgba(160, 168, 220, 0.05);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.1); transform: translateY(-1px); }
.btn-discord {
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(88, 101, 242, 0.5); }
.btn.is-loading, .btn.is-disabled { pointer-events: none; opacity: 0.7; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.btn-ghost.is-loading::after { border-color: rgba(160, 168, 220, 0.35); border-top-color: var(--text-soft); }

/* ---------------------------- ip chip / copy ----------------------------- */
.ip-chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 11px 9px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(14, 17, 32, 0.8);
  font-size: 0.98rem;
}
.chip-lg { padding: 13px 13px 13px 19px; font-size: 1.06rem; }
.chip-sm { padding: 5px 8px 5px 11px; font-size: 0.84rem; }
.ip-text { font-weight: 650; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 9px;
  font-size: 0.8rem; font-weight: 650;
  color: var(--text-soft);
  border: 1px solid var(--line);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.copy-btn:hover { color: var(--text); border-color: var(--line-2); background: rgba(160, 168, 220, 0.07); }
.copy-btn.solid { color: #fff; border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.16); }
.copy-btn.solid:hover { background: rgba(139, 92, 246, 0.3); }
.copy-btn.copied { color: var(--green); border-color: rgba(52, 211, 153, 0.45); }

/* ------------------------------ modal ----------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(4, 5, 10, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(170deg, var(--surface-2), var(--bg-1));
  box-shadow: var(--shadow-2);
  padding: 24px;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.modal-backdrop.open .modal { transform: none; }
.modal h3 { font-size: 1.25rem; margin-bottom: 6px; }
.modal .price { font-size: 1.2rem; }
.modal .perk-list { padding: 0; margin-top: 12px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.modal-close {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.modal-close:hover { color: var(--text); border-color: var(--line-2); }
.modal-close:focus-visible { outline: 2px solid var(--acc-2); }
.modal-wizard { width: min(560px, 100%); }
.order-box { display: grid; gap: 8px; padding: 15px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-1); }
.order-id { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status-pill.green { color: #a7f3d0; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1); }
.status-pill.amber { color: #fde68a; border-color: rgba(245, 192, 74, 0.4); background: rgba(245, 192, 74, 0.1); }

/* ------------------------------ toasts ---------------------------------- */
.toast-root { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 180; display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(440px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 13px 17px;
  border-radius: var(--r-md);
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(19, 23, 41, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  font-size: 0.92rem;
  animation: toastIn 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.toast .icon { color: var(--green); flex: none; }
.toast.err { border-color: rgba(248, 113, 113, 0.45); }
.toast.err .icon { color: var(--red); }
.toast.leaving { opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------------------------- error pages ------------------------------- */
.err-orb {
  width: 120px; height: 120px; margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 34px;
  font-family: var(--font-display); font-size: 2rem; font-weight: 780;
  background: var(--grad-acc);
  color: #fff;
  box-shadow: var(--glow);
}
.err-500 { background: linear-gradient(135deg, #b91c1c, #f97316); }

/* ------------------------------ footer ---------------------------------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(109, 58, 232, 0.05)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 26px; padding: 44px 0 28px; }
.footer-brand { font-size: 1.05rem; }
.footer-brand .logo-img { width: 26px; height: 26px; border-radius: 8px; }
.footer-brandcol .muted { margin: 10px 0 16px; max-width: 26em; }
.footer-ip { margin-bottom: 14px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 13px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); font-size: 0.93rem; transition: color 0.16s ease; }
.footer-col a:hover { color: var(--acc-2); }
.footer-legal p { line-height: 1.55; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 26px; }
.footer-live { display: inline-flex; align-items: center; gap: 8px; }

/* ---------------------------- responsive -------------------------------- */
@media (max-width: 1020px) {
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-art img { opacity: 0.55; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-status, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .nav-drawer {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    padding: 14px 20px 20px;
    background: rgba(8, 10, 20, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  .nav-drawer a { padding: 12px 14px; border-radius: 11px; font-weight: 600; color: var(--text-soft); }
  .nav-drawer a:hover { background: rgba(160, 168, 220, 0.07); color: var(--text); }
  .nav-drawer a.active { color: var(--text); background: rgba(139, 92, 246, 0.12); }
  .drawer-foot { margin-top: 12px; display: flex; justify-content: center; }

  .hero { padding-bottom: 72px; }
  .hero-art img { width: 100%; opacity: 0.4; }
  .hero-inner { max-width: 100%; }
  .stats-strip { margin-top: -30px; grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .discord-band { flex-direction: column; align-items: flex-start; }
  .store-banner { flex-direction: column; align-items: flex-start; }
  .store-banner-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .claim-now { flex-direction: column; align-items: stretch; }
  .claim-now-action { text-align: left; }
  .faq-grid { grid-template-columns: 1fr; }
  .play-cta { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-lg { flex: 1 1 auto; }
  /* Vertical fade on mobile — horizontal art fade leaves text unreadable */
  .hero-art-fade { background: linear-gradient(180deg, rgba(6, 7, 13, 0.72) 0%, rgba(6, 7, 13, 0.88) 62%, var(--bg-0) 100%); }
}

@media (max-width: 640px) {
  .mod-grid { grid-template-columns: 1fr; }
  /* Rich feature cards at 173px were cramped — one per row on phones */
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .stats-strip { padding: 20px; }
  .section { padding: 44px 0; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .badge { font-size: 0.74rem; }
  .hero-actions { gap: 9px; }
  .code-cell { font-size: 1.3rem; letter-spacing: 0.2em; }
  .stat-value { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .aur, .sb-cube, .cta-band::before, .boot-orb::before, .boot-logo, .boot-bar i { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* v13 — features cards: version + live-status meta */
.mod-meta .live-chip {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--green);
  font-weight: 650;
}
.mod-meta .live-chip .icon { width: 12px; height: 12px; }
