/* ==========================================================================
   DOGSTAR mint site — deep-space starfield theme (dark navy sky, gold
   star accent, violet nebula). Distinct from the earlier dark AI-lab
   look: warm gold + violet on midnight blue, animated starfield hero,
   orbiting rings, twinkling sparks, lively hover states everywhere.
   ========================================================================== */
:root {
  --bg: #050816;
  --bg2: #0A0F2E;
  --panel: #0D1538;
  --panel2: #131E4A;
  --line: #24356E;
  --line2: #31458C;
  --gold: #FFC93C;
  --gold2: #FFB800;
  --gold-dim: #E8A90C;
  --violet: #8B5CF6;
  --violet2: #A78BFA;
  --cyan: #38E1FF;
  --pink: #F472B6;
  --text: #F2F0FF;
  --muted: #9AA3D1;
  --danger: #F87171;
  --display: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Safety net only — the layout itself must fit (see .price, .console-head,
   grid min-width: 0 below). overflow-x: clip (not hidden) so the sticky
   header keeps working. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 30%, rgba(56, 225, 255, 0.08), transparent 60%),
    radial-gradient(800px 600px at 50% 100%, rgba(255, 185, 0, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
}
a { color: var(--gold); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 8, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 24px; letter-spacing: 1px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); box-shadow: 0 0 16px rgba(255, 201, 60, 0.45); }
.brand em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); margin-left: -4px; }
nav { display: flex; gap: 2px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 9px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
nav a:hover { color: var(--gold); background: var(--panel); }
.sp { flex: 1; }
.lang-toggle {
  cursor: pointer; font-family: var(--mono); font-weight: 700; font-size: 13px;
  color: var(--gold); background: rgba(255, 201, 60, 0.08); border: 1px solid var(--line2);
  border-radius: 999px; padding: 7px 13px; letter-spacing: 1px; white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.lang-toggle:hover { border-color: var(--gold); background: rgba(255, 201, 60, 0.16); }
.btn-star {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 15px; color: #1A1200;
  background: linear-gradient(135deg, #FFE27A, var(--gold) 45%, var(--gold2));
  border: none; border-radius: 10px; padding: 9px 18px;
  box-shadow: 0 0 22px rgba(255, 201, 60, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-star:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 34px rgba(255, 201, 60, 0.65); }
.btn-star.big { width: 100%; padding: 13px 18px; font-size: 17px; }
.btn-ghost {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--violet2);
  background: rgba(139, 92, 246, 0.12); border: 1px solid var(--violet);
  border-radius: 10px; padding: 11px 20px;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(139, 92, 246, 0.22); }
.btn-o {
  cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 14px;
  color: var(--gold); background: transparent; border: 1px solid var(--line2);
  border-radius: 9px; padding: 8px 14px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-o:hover:not(:disabled) { border-color: var(--gold); background: rgba(255, 201, 60, 0.1); }
.btn-o:disabled { opacity: 0.4; cursor: default; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(139, 92, 246, 0.14), rgba(255, 201, 60, 0.1), rgba(56, 225, 255, 0.1)); }
#ticker-track { display: inline-flex; white-space: nowrap; padding: 7px 0; animation: tick 36s linear infinite; font-family: var(--mono); font-size: 13px; color: var(--muted); }
#ticker-track span { padding: 0 14px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 8px; overflow: hidden; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nebula { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; pointer-events: none; animation: nebula-drift 18s ease-in-out infinite alternate; }
.nebula.n1 { width: 420px; height: 420px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%); }
.nebula.n2 { width: 360px; height: 360px; bottom: -140px; left: -80px; background: radial-gradient(circle, rgba(56, 225, 255, 0.35), transparent 70%); animation-delay: -9s; }
@keyframes nebula-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-24px, 18px) scale(1.08); } }
.shoot { position: absolute; width: 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #FFF7D6 60%, var(--gold)); transform: rotate(-32deg); opacity: 0; pointer-events: none; animation: shoot 7s linear infinite; }
.shoot.s1 { top: 12%; left: 62%; }
.shoot.s2 { top: 30%; left: 78%; animation-delay: -2.4s; animation-duration: 9s; }
.shoot.s3 { top: 6%; left: 30%; animation-delay: -4.8s; animation-duration: 11s; }
@keyframes shoot { 0%, 88% { opacity: 0; transform: rotate(-32deg) translateX(0); } 90% { opacity: 1; } 96% { opacity: 0; transform: rotate(-32deg) translateX(-260px); } 100% { opacity: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
h1 { font-family: var(--display); font-size: clamp(38px, 10vw, 60px); line-height: 1.12; margin: 0 0 16px; font-weight: 400; }
.gold { color: var(--gold); text-shadow: 0 0 30px rgba(255, 201, 60, 0.55); }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 26px; max-width: 520px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip { background: rgba(13, 21, 56, 0.85); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.chip:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(255, 201, 60, 0.18); }
.chip b { display: block; font-family: var(--mono); font-size: 19px; color: var(--text); }
.chip span { font-size: 12px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; }
.hero-cta .btn-star.big { width: auto; padding: 12px 26px; }
.hero-art-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.halo {
  position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.28), rgba(139, 92, 246, 0.12) 55%, transparent 72%);
  animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.07); opacity: 1; } }
.orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit.o1 { width: 88%; aspect-ratio: 1; border: 1px dashed rgba(255, 201, 60, 0.5); animation: spin 36s linear infinite; }
.orbit.o2 { width: 102%; aspect-ratio: 1; border: 1px solid rgba(139, 92, 246, 0.35); animation: spin-rev 52s linear infinite; }
.orbit.o3 { width: 74%; aspect-ratio: 1; border: 1px dotted rgba(56, 225, 255, 0.4); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
.hero-art { width: 78%; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 70px rgba(255, 201, 60, 0.35), 0 0 140px rgba(139, 92, 246, 0.25); animation: float 5s ease-in-out infinite; position: relative; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-caption { margin-top: 18px; font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.spark { position: absolute; color: var(--gold); font-size: 20px; animation: twinkle 2.6s ease-in-out infinite; pointer-events: none; text-shadow: 0 0 12px var(--gold); }
.spark.sp1 { top: 6%; left: 8%; animation-delay: 0s; }
.spark.sp2 { top: 18%; right: 4%; font-size: 15px; color: var(--cyan); text-shadow: 0 0 12px var(--cyan); animation-delay: -0.9s; }
.spark.sp3 { bottom: 22%; left: 2%; font-size: 24px; animation-delay: -1.7s; }
.spark.sp4 { bottom: 8%; right: 12%; font-size: 13px; color: var(--violet2); text-shadow: 0 0 12px var(--violet2); animation-delay: -2.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* Grid children must be allowed to shrink below their content width,
   or one long unbreakable line (e.g. the price line) stretches the
   whole grid past the viewport on phones. */
.hero-grid > *, .console-grid > *, .stats-grid > *, .feat-grid > *, .grid > *, .steps > *, .invite > *, .ct-grid > *, .chips > * { min-width: 0; }

/* ---------- mint console ---------- */
.console { padding: 40px 0 10px; }
.console-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--panel2), rgba(139, 92, 246, 0.25)); border: 1px solid var(--line2); border-bottom: none;
  border-radius: 16px 16px 0 0; padding: 14px 20px;
}
.console-title { font-family: var(--display); font-size: clamp(17px, 5vw, 22px); letter-spacing: 1px; }
.pill { font-family: var(--mono); font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); background: var(--bg); }
.pill[data-s="live"] { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 201, 60, 0.35); animation: pulse 2s ease-in-out infinite; }
.pill[data-s="open"] { color: var(--cyan); border-color: var(--cyan); }
.console-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line2); border-radius: 0 0 16px 16px;
}
.console-col { padding: 22px; }
.console-col + .console-col { border-left: 1px solid var(--line); }
.blk { margin-bottom: 22px; }
.blk:last-child { margin-bottom: 0; }
.lbl { font-size: 13px; color: var(--muted); letter-spacing: 1px; }
/* The price line used to be white-space: nowrap at 20px — it measured
   408px and forced the whole page past the viewport on phones (the
   "GSTAR / 003 BNB" cut-off). It now wraps and scales with the screen. */
.price { font-family: var(--mono); font-size: clamp(15px, 4.6vw, 20px); font-weight: 700; line-height: 1.55; overflow-wrap: break-word; }
.price .arrow { color: var(--gold); }
.price small { font-size: 13px; color: var(--muted); font-family: var(--body); }
.seg { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.seg button {
  flex: 1 1 0; min-width: 34px; cursor: pointer; font-family: var(--mono); font-size: 15px; font-weight: 700;
  color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 9px 0;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}
.seg button:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--gold); color: var(--gold); }
.seg button[aria-pressed="true"] { color: #1A1200; background: linear-gradient(135deg, #FFE27A, var(--gold)); border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 201, 60, 0.45); }
.seg button:disabled { opacity: 0.35; cursor: default; }
.quote { display: flex; gap: 24px; margin-top: 14px; }
.quote b { display: block; font-family: var(--mono); font-size: clamp(16px, 5vw, 19px); margin-top: 2px; overflow-wrap: anywhere; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; word-break: break-all; }
.attr { margin-top: 14px; }
.attr input {
  display: block; width: 100%; margin-top: 6px; font-family: var(--body); font-size: 14px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; outline: none;
}
.attr input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.15); }
.prompt-details { margin-top: 14px; }
.prompt-details summary { cursor: pointer; font-size: 14px; color: var(--cyan); }
.prompt-box {
  margin: 10px 0 0; padding: 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; word-break: break-all; color: var(--text);
}
.row { display: flex; justify-content: space-between; align-items: baseline; }
.prog-fig { font-family: var(--mono); font-size: clamp(24px, 7vw, 30px); font-weight: 700; }
.prog-fig span { font-size: 15px; color: var(--muted); }
.track { height: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold) 50%, var(--cyan)); background-size: 200% 100%; border-radius: 999px; transition: width 0.6s ease; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.cd > div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 0; text-align: center; transition: border-color 0.15s ease; }
.cd > div:hover { border-color: var(--violet); }
.cd b { display: block; font-family: var(--mono); font-size: 26px; }
.cd span { font-size: 12px; color: var(--muted); }
.cd-msg { margin-top: 12px; font-family: var(--mono); font-size: 18px; color: var(--cyan); text-align: center; }
.status { font-size: 14px; color: var(--muted); margin: 16px 0 0; min-height: 20px; }
.status[data-state="ok"] { color: var(--gold); }
.status[data-state="err"] { color: var(--danger); }

/* ---------- sections ---------- */
.sec { padding: 52px 0 10px; }
.sec-head { margin-bottom: 24px; }
.sec-head h2, .invite h2 { font-family: var(--display); font-size: 32px; font-weight: 400; margin: 0; line-height: 1.3; }
.lead { color: var(--muted); margin: 10px 0 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }

/* live stats band */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.stat:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 10px 28px rgba(139, 92, 246, 0.22); }
.stat-v { display: block; font-family: var(--mono); font-size: clamp(20px, 6vw, 26px); font-weight: 700; margin-top: 6px; color: var(--gold); }
.stat-b { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 17px; }

/* leaderboard (prominent) */
.lb-sec { padding-top: 60px; }
.lb-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.lb-tab {
  cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 15px;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 22px; transition: all 0.15s ease;
}
.lb-tab:hover { color: var(--text); border-color: var(--violet); }
.lb-tab.active { color: #1A1200; background: linear-gradient(135deg, #FFE27A, var(--gold)); border-color: var(--gold); box-shadow: 0 0 20px rgba(255, 201, 60, 0.35); }
.lb-panel { display: none; }
.lb-panel.active { display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.feat:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 30px rgba(255, 201, 60, 0.16); }
.feat-ico { font-size: 34px; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(255, 201, 60, 0.4)); }
.feat h3 { font-size: 17px; margin: 0 0 8px; }
.feat p { font-size: 14px; color: var(--muted); margin: 0; }

/* how it works */
.steps { display: flex; gap: 12px; align-items: stretch; }
.step { flex: 1; text-align: center; transition: transform 0.15s ease, border-color 0.15s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 12px 30px rgba(56, 225, 255, 0.14); }
.step-n {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 24px; font-weight: 700; color: #1A1200;
  background: linear-gradient(135deg, #FFE27A, var(--gold));
  box-shadow: 0 0 22px rgba(255, 201, 60, 0.45);
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.step-arrow { display: flex; align-items: center; font-size: 26px; color: var(--violet2); }

/* invite */
.invite { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.big { font-family: var(--mono); font-size: 56px; font-weight: 700; line-height: 1; }
.invite-input { display: flex; gap: 8px; margin-top: 10px; }
.invite-input input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; outline: none;
}
.invite-input input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.15); }
.linkbox { display: flex; gap: 8px; align-items: center; margin-top: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 8px 8px 8px 12px; }
.linkbox code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; word-break: break-all; color: var(--cyan); }

/* mechanism */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mech { transition: transform 0.15s ease, border-color 0.15s ease; }
.mech:hover { transform: translateY(-3px); border-color: var(--violet); }
.mech .n { font-size: 13px; color: var(--cyan); margin-bottom: 8px; }
.mech h3 { font-size: 17px; margin: 0 0 8px; }
.mech p { font-size: 14px; color: var(--muted); margin: 0; }

/* leaderboard tables */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 6px 4px; border-bottom: 1px solid var(--line); }
td { padding: 8px 4px; border-bottom: 1px solid rgba(36, 53, 110, 0.6); }
td.r, th.r { text-align: right; font-family: var(--mono); }
td.rk { font-family: var(--mono); color: var(--muted); width: 28px; }
td a { color: var(--text); text-decoration: none; font-family: var(--mono); font-size: 13px; }
td a:hover { color: var(--gold); }
.empty { color: var(--muted); font-size: 14px; padding: 18px 0; text-align: center; }
.lb-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* contracts */
.addr .a { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(36, 53, 110, 0.6); }
.addr .a:last-child { border-bottom: none; }
.addr .a a { font-family: var(--mono); font-size: 13px; color: var(--cyan); text-decoration: none; word-break: break-all; }
.pending { color: var(--muted); font-size: 14px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ct-grid h3 { font-size: 17px; margin: 0; }
.nothave { margin-top: 14px; border-color: rgba(244, 114, 182, 0.45); background: linear-gradient(160deg, rgba(244, 114, 182, 0.07), var(--panel)); }
.nothave h3 { font-size: 18px; margin: 0; }
.nothave ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.nothave li { font-size: 14px; color: var(--muted); padding-left: 22px; position: relative; }
.nothave li::before { content: "✕"; position: absolute; left: 0; color: var(--pink); font-family: var(--mono); font-size: 13px; }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; transition: border-color 0.15s ease; }
.faq details:hover { border-color: var(--violet); }
.faq details[open] { border-color: var(--gold); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 15px 0; }
.faq p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.risk { margin-top: 20px; padding: 14px 18px; border: 1px solid rgba(255, 201, 60, 0.35); background: rgba(255, 201, 60, 0.06); border-radius: 12px; font-size: 14px; color: var(--gold); }

/* ---------- footer ---------- */
footer { margin-top: 56px; border-top: 1px solid var(--line); padding: 26px 0 34px; }
footer .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
footer .brand { font-size: 20px; }
footer .brand img { width: 28px; height: 28px; }
.social { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-size: 14px; }
.social:hover { color: var(--gold); }
footer span:last-child { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  nav { display: none; }
  .brand em { display: none; } /* header must fit brand + lang toggle + mint button */
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { width: 62%; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: 1fr; }
  .console-col + .console-col { border-left: none; border-top: 1px solid var(--line); }
  .invite, .ct-grid { grid-template-columns: 1fr; }
  .stats-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); justify-content: center; }
  .nothave ul { grid-template-columns: 1fr; }
  .addr .a { grid-template-columns: 1fr auto; }
  .addr .a .lbl { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .bar .wrap { gap: 10px; }
  .lang-toggle { padding: 6px 11px; font-size: 12px; }
  .bar .btn-star { padding: 8px 13px; font-size: 14px; }
  .console-col { padding: 18px 16px; }
  .grid, .stats-grid, .feat-grid { grid-template-columns: 1fr; }
  .quote { flex-direction: column; gap: 8px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-star.big, .hero-cta .btn-ghost { text-align: center; }
  table { font-size: 13px; }
  th, td { padding: 6px 3px; }
  td a { font-size: 12px; word-break: break-all; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
