/* =============================================================================
   AutoMart storefront — orange glow on black
   ============================================================================= */
:root {
  --bg: #080706;
  --bg-2: #0f0d0b;
  --bg-3: #16120e;
  --panel: rgba(26, 21, 16, 0.72);
  --panel-solid: #17130f;
  --stroke: rgba(255, 138, 31, 0.16);
  --stroke-strong: rgba(255, 138, 31, 0.42);
  --brand: #ff8a1f;
  --brand-2: #ff6a00;
  --brand-3: #ffb861;
  --brand-4: #ffd9a8;
  --glow: rgba(255, 122, 20, 0.55);
  --glow-soft: rgba(255, 122, 20, 0.22);
  --text: #f6ede2;
  --muted: #b7a794;
  --muted-2: #857567;
  --good: #46d6a1;
  --good-bg: rgba(70, 214, 161, 0.12);
  --bad: #ff6070;
  --bad-bg: rgba(255, 96, 112, 0.12);
  --warn: #ffc861;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Layered ambient background: warm glows + faint grid. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 82% -8%, rgba(255, 122, 20, 0.20), transparent 60%),
    radial-gradient(50vw 50vw at 8% 4%, rgba(255, 90, 0, 0.14), transparent 55%),
    radial-gradient(70vw 50vw at 50% 118%, rgba(255, 138, 31, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
/* Background grid removed by request. */

a { color: var(--brand-3); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-4); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-3);
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 138, 31, 0.06);
}
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(120deg, var(--brand-4), var(--brand) 60%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 42px var(--glow-soft);
}
.section { padding: 84px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- Icons ---------------------------------------------------------------- */
.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 15px; flex: none;
  display: grid; place-items: center; color: var(--brand);
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 138, 31, 0.22), rgba(255, 122, 20, 0.05));
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 0 0 20px rgba(255, 138, 31, 0.12);
}
.icon-badge .ico { width: 26px; height: 26px; stroke-width: 1.6; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  --_bg: var(--panel);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 13px; cursor: pointer;
  border: 1px solid var(--stroke-strong); background: var(--_bg); color: var(--text);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .2s;
  text-align: center; white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #1a0d02; border: none;
  background: var(--brand);
  box-shadow: 0 10px 26px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost { background: rgba(255, 138, 31, 0.05); }
.btn-ghost:hover { background: rgba(255, 138, 31, 0.12); border-color: var(--brand); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; border-radius: 15px; }
.btn-sm { padding: 8px 13px; font-size: .84rem; border-radius: 10px; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.86), rgba(8, 7, 6, 0.5));
  border-bottom: 1px solid var(--stroke);
}
/* Header spans the full width so the brand sits at the far left and the
   status/Discord sit at the far right (page content below stays centered). */
.site-header .container { max-width: 100%; padding-inline: 30px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; }
.brand { justify-self: start; white-space: nowrap; display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; color: var(--text); }
.brand img, .brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 18px var(--glow-soft); }
.brand b { background: linear-gradient(120deg, var(--brand-3), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .94rem; padding: 8px 13px; border-radius: 9px;
  transition: color .18s, background .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 138, 31, 0.08); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-mobile-link { display: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 100px; border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.3); color: var(--muted);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 0 rgba(70, 214, 161, 0.5); }
.status-pill.online .status-dot { background: var(--good); animation: pulse 2.2s infinite; }
.status-pill.online { color: var(--good); border-color: rgba(70, 214, 161, 0.3); }
.status-pill.offline .status-dot { background: var(--bad); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 214, 161, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(70, 214, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 214, 161, 0); } }
.nav-toggle { display: none; background: none; border: 1px solid var(--stroke-strong); border-radius: 10px; padding: 8px; color: var(--text); cursor: pointer; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { padding: 54px 0 40px; text-align: center; position: relative; }
.hero-logo { display: block; width: 124px; max-width: 46%; height: auto; margin: 0 auto 20px; filter: drop-shadow(0 0 26px rgba(255, 122, 20, 0.5)); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 900; margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--brand); width: 1.05em; height: 1.05em; }
.hero-glow-coin { filter: drop-shadow(0 0 30px var(--glow)); }

/* ---- Cards / grids -------------------------------------------------------- */
.panel {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--stroke-strong); box-shadow: 0 22px 50px -30px var(--glow); }
.card h3 { font-size: 1.16rem; margin-top: 16px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-glow::before {
  content: ""; position: absolute; top: -40%; right: -30%; width: 60%; height: 80%;
  background: radial-gradient(circle, var(--glow-soft), transparent 70%); pointer-events: none;
}

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 22px 16px; }
.stat .num { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: var(--brand-3); text-shadow: 0 0 26px var(--glow-soft); }
.stat .label { color: var(--muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }

/* Steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding: 26px; position: relative; }
.step .step-n {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: var(--brand); background: rgba(255, 138, 31, 0.1);
  border: 1px solid var(--stroke-strong); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ico { color: var(--good); flex: none; margin-top: 3px; }
.feature-list b { display: block; }
.feature-list span { color: var(--muted); font-size: .93rem; }

/* Rate cards */
.rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rate { text-align: center; padding: 28px 20px; }
.rate .k { color: var(--muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; }
.rate .v { font-size: 1.9rem; font-weight: 900; color: var(--brand-3); margin: 6px 0; }
.rate .sub { color: var(--muted-2); font-size: .82rem; }

/* CTA band */
.cta-band { text-align: center; padding: 60px 30px; border-radius: 26px; position: relative; overflow: hidden;
  background: radial-gradient(120% 160% at 50% -20%, rgba(255, 138, 31, 0.22), transparent 60%), var(--panel); border: 1px solid var(--stroke-strong); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--stroke); margin-top: 40px; padding: 54px 0 30px; background: linear-gradient(180deg, transparent, rgba(255, 138, 31, 0.03)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.footer-grid a { display: block; color: var(--muted); font-size: .93rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--brand-3); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--stroke); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: .84rem; }
.disclaimer { color: var(--muted-2); font-size: .8rem; max-width: 340px; margin-top: 12px; }

/* ---- Flow (sell/buy) ------------------------------------------------------ */
.flow-wrap { max-width: 620px; margin: 0 auto; }
.flow-card { padding: 30px; }
.flow-steps-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.flow-steps-bar .fs { flex: 1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.flow-steps-bar .fs.done { background: var(--brand); box-shadow: 0 0 12px var(--glow-soft); }
.flow-steps-bar .fs.active { background: var(--brand); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--brand-4); }
.field .hint { color: var(--muted-2); font-size: .8rem; margin-top: 6px; }
.input {
  width: 100%; font: inherit; color: var(--text); padding: 13px 15px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.34); border: 1px solid var(--stroke-strong);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.14); }
.input.bad { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.field-err { color: var(--bad); font-size: .82rem; margin-top: 6px; min-height: 0; }

.pay-box { background: rgba(0, 0, 0, 0.36); border: 1px solid var(--stroke-strong); border-radius: 14px; padding: 18px; margin: 6px 0 16px; }
.pay-cmd { display: flex; align-items: center; gap: 10px; justify-content: space-between; font-family: "Consolas", "SF Mono", ui-monospace, monospace; background: #0b0906; border: 1px solid var(--stroke); border-radius: 10px; padding: 12px 14px; color: var(--brand-3); font-size: .98rem; word-break: break-all; }
.copy-row { display: flex; align-items: center; gap: 10px; }
.copy-btn { flex: none; }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: .93rem; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 700; color: var(--text); }
.kv .v.big { color: var(--brand-3); }

.qr-wrap { display: grid; place-items: center; gap: 14px; padding: 8px 0 4px; }
.qr-wrap img { width: 210px; height: 210px; border-radius: 14px; border: 1px solid var(--stroke-strong); background: #ffffff; padding: 8px; box-shadow: 0 0 40px var(--glow-soft); }
.addr { font-family: "Consolas", ui-monospace, monospace; font-size: .9rem; word-break: break-all; color: var(--brand-4); }

/* Status blocks */
.status-block { text-align: center; padding: 18px 6px; }
.status-block .status-ico { margin: 0 auto 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem;
  padding: 7px 14px; border-radius: 100px;
}
.badge-wait { color: var(--warn); background: rgba(255, 200, 97, 0.1); border: 1px solid rgba(255, 200, 97, 0.3); }
.badge-ok { color: var(--good); background: var(--good-bg); border: 1px solid rgba(70, 214, 161, 0.3); }
.badge-bad { color: var(--bad); background: var(--bad-bg); border: 1px solid rgba(255, 96, 112, 0.3); }
.result-amt { font-size: 2rem; font-weight: 900; color: var(--brand-3); text-shadow: 0 0 30px var(--glow-soft); margin: 6px 0; }

/* Fail code */
.failcode { font-family: "Consolas", ui-monospace, monospace; font-size: 1.3rem; letter-spacing: .08em; font-weight: 800; color: var(--brand-3); background: #0b0906; border: 1px dashed var(--stroke-strong); border-radius: 12px; padding: 14px; text-align: center; margin: 12px 0; }

/* Loader — the animated "gif" for AutoBuy waiting states */
.loader { width: 96px; height: 96px; position: relative; margin: 8px auto 18px; }
.loader .ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.loader .ring:nth-child(1) { border-top-color: var(--brand); animation: spin 1.1s linear infinite; box-shadow: 0 0 24px var(--glow-soft); }
.loader .ring:nth-child(2) { inset: 12px; border-top-color: var(--brand-2); border-right-color: var(--brand-2); animation: spin 1.6s linear infinite reverse; opacity: .8; }
.loader .coin { position: absolute; inset: 28px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--brand-3), var(--brand-2)); color: #1a0d02; font-weight: 900; box-shadow: 0 0 30px var(--glow); animation: bob 2.4s ease-in-out infinite; }
.loader .coin .ico { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.dots::after { content: ""; animation: dots 1.6s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* Spinner inline */
.spin { width: 1.05em; height: 1.05em; border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--brand-3); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -0.15em; }

/* Toast */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--panel-solid); border: 1px solid var(--stroke-strong); color: var(--text); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 100; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 9px; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast .ico { color: var(--good); }

/* FAQ / accordion */
.accordion { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--stroke); border-radius: 14px; background: var(--panel); overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font: inherit; font-weight: 700; font-size: 1.02rem; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.acc-q .ico { color: var(--brand); transition: transform .3s var(--ease); flex: none; }
.acc-item.open .acc-q .ico { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-a-inner { padding: 0 22px 20px; color: var(--muted); }
.acc-item.open .acc-a { max-height: 420px; }

/* Legal pages */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; color: var(--brand-3); }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .5em; }
.callout { border: 1px solid var(--stroke-strong); background: rgba(255, 138, 31, 0.06); border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; margin: 20px 0; }
.callout .ico { color: var(--warn); flex: none; width: 1.4em; height: 1.4em; }
.callout p { margin: 0; color: var(--brand-4); font-size: .94rem; }
.page-hero { text-align: center; padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Admin dashboard ------------------------------------------------------ */
.admin-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-3); border: 1px solid var(--stroke-strong); border-radius: 6px; padding: 2px 7px; margin-left: 8px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin-top: 10px; color: var(--muted); font-size: .92rem; }
.switch input { width: 18px; height: 18px; accent-color: var(--brand); }
.task-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.task-row:last-child { border-bottom: none; }
.log-view { height: 260px; overflow-y: auto; background: #0b0906; border: 1px solid var(--stroke); border-radius: 12px; padding: 12px 14px; margin: 14px 0; font-family: "Consolas", ui-monospace, monospace; font-size: .8rem; line-height: 1.55; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.log-view .log-line { display: block; }
.log-view .log-time { color: var(--muted-2); }
.log-view .log-self { color: var(--brand-3); }
.cmd-row { display: flex; gap: 8px; }
.cmd-row .input { flex: 1; min-width: 0; font-family: "Consolas", ui-monospace, monospace; }
.task-src { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-3); border: 1px solid var(--stroke-strong); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }

/* AutoBuy deposit countdown */
.deposit-timer { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 0 auto 18px; font-weight: 700; font-size: .92rem; color: var(--brand-3); background: rgba(255, 138, 31, 0.08); border: 1px solid var(--stroke-strong); border-radius: 100px; padding: 8px 16px; font-variant-numeric: tabular-nums; }
.deposit-timer .ico { width: 1.05em; height: 1.05em; }
.deposit-timer.danger { color: var(--bad); border-color: rgba(255, 96, 112, 0.4); background: rgba(255, 96, 112, 0.1); }

/* Tabs (how it works) */
.tabs { display: flex; gap: 8px; justify-content: center; margin: 0 auto 32px; background: var(--panel); border: 1px solid var(--stroke); border-radius: 100px; padding: 6px; width: max-content; max-width: 100%; }
.tab { font: inherit; font-weight: 700; font-size: .96rem; color: var(--muted); background: none; border: none; cursor: pointer; padding: 10px 22px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background .2s; }
.tab .ico { width: 1.1em; height: 1.1em; }
.tab:hover { color: var(--text); }
.tab.active { color: #1a0d02; background: var(--brand); }
.tab-panel[hidden] { display: none; }

/* Step transition animation (sell/buy flows) */
@keyframes stepIn { from { opacity: 0; transform: translateY(22px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim-in { animation: stepIn .5s var(--ease) both; }
/* Cascade the inner blocks so each step visibly builds itself in. */
.anim-in > * { animation: popIn .5s var(--ease) both; }
.anim-in > *:nth-child(1) { animation-delay: .06s; }
.anim-in > *:nth-child(2) { animation-delay: .12s; }
.anim-in > *:nth-child(3) { animation-delay: .18s; }
.anim-in > *:nth-child(4) { animation-delay: .24s; }
.anim-in > *:nth-child(5) { animation-delay: .30s; }
.anim-in > *:nth-child(6) { animation-delay: .36s; }
.anim-in > *:nth-child(n+7) { animation-delay: .42s; }

/* Modal (escrow access) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); display: grid; place-items: center; z-index: 200; padding: 18px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-card { max-width: 460px; width: 100%; padding: 24px; max-height: 90vh; overflow-y: auto; }

.hide { display: none !important; }
/* The little uppercase "eyebrow" labels are hidden site-wide by request. */
.eyebrow { display: none !important; }
/* Reviews (vouches mirrored from Discord) */
.review-viewall { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-3); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.review-viewall .ico { width: 1em; height: 1em; }
.review-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-av { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: #241c14; }
.review-av-initial { display: grid; place-items: center; font-weight: 800; color: #1a0d02; background: linear-gradient(135deg, var(--brand-3), var(--brand-2)); }
.review-stars { display: flex; gap: 2px; margin-top: 3px; }
.review-star { width: 15px; height: 15px; color: #ffc02e; }
.review-card p { color: var(--muted); font-size: .95rem; margin: 0; white-space: pre-wrap; word-break: break-word; }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.review-count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 108px; text-align: center; }
.review-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--stroke-strong); color: var(--text); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.review-arrow:hover:not(:disabled) { background: rgba(255, 138, 31, 0.12); transform: translateY(-1px); }
.review-arrow:disabled { opacity: .35; cursor: not-allowed; }
.review-arrow .ico { width: 20px; height: 20px; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: .85rem; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .split, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps, .rate-cards, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .log-view { height: 220px; }
  .task-row { flex-wrap: wrap; }
  /* Mobile header: brand on the left, hamburger on the right — nothing else,
     so it can never wrap or overlap. The pill and Discord move into the menu. */
  .nav { display: flex; justify-content: space-between; gap: 12px; }
  .site-header .container { padding-inline: 16px; }
  .brand { font-size: 1.06rem; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-right .status-pill,
  .nav-right .btn { display: none; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--panel-solid); border-bottom: 1px solid var(--stroke); padding: 12px 22px; gap: 4px;
  }
  .site-header.open .nav-links a { padding: 12px; }
  /* Discord link injected by app.js — only shown inside the open mobile menu. */
  .site-header.open .nav-links .nav-mobile-link { display: flex; align-items: center; gap: 8px; color: var(--brand-3); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .steps, .rate-cards, .stats-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .flow-card { padding: 22px; }
  .hero-badges { gap: 14px; }
  .container { padding-inline: 16px; }
  /* Keep the admin overview compact (2x2) instead of a tall single column. */
  #dash-view .stats-row { grid-template-columns: repeat(2, 1fr); }
  #dash-view .panel { padding: 18px !important; }
  .cmd-row { flex-direction: column; }
  .cmd-row .btn { width: 100%; }
  .page-hero { padding: 44px 0 12px; }
  h1 { word-break: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
