/* ==========================================================================
   AI蛙 mint site — dark AI-lab theme (neon green + cyan on near-black)
   Distinct from the earlier warm sticker look: no cream, no orange, no
   cartoon outlines. Glassy dark panels, mono numbers, glowing borders.
   ========================================================================== */
:root {
  --bg: #06110B;
  --bg2: #081711;
  --panel: #0C1F14;
  --panel2: #10291B;
  --line: #1E4630;
  --line2: #2A5C40;
  --neon: #4ADE80;
  --neon-dim: #22C55E;
  --cyan: #22D3EE;
  --amber: #FBBF24;
  --text: #E7F5EA;
  --muted: #8FB89E;
  --danger: #F87171;
  --display: "ZCOOL QingKe HuangYou", "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; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    linear-gradient(rgba(74, 222, 128, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
  line-height: 1.6;
}
a { color: var(--neon); }
.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(6, 17, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 18px; 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(--line2); box-shadow: 0 0 14px rgba(74, 222, 128, 0.35); }
.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: 4px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
nav a:hover { color: var(--text); background: var(--panel); }
.sp { flex: 1; }
.btn-neon {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 15px; color: #04120A;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  border: none; border-radius: 10px; padding: 9px 18px;
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-neon:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(74, 222, 128, 0.55); }
.btn-neon.big { width: 100%; padding: 13px 18px; font-size: 17px; }
.btn-o {
  cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 14px;
  color: var(--neon); background: transparent; border: 1px solid var(--line2);
  border-radius: 9px; padding: 8px 14px;
}
.btn-o:hover:not(:disabled) { border-color: var(--neon); background: rgba(74, 222, 128, 0.08); }
.btn-o:disabled { opacity: 0.4; cursor: default; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg2); }
#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 { padding: 56px 0 8px; }
.hero-grid { 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(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
h1 { font-family: var(--display); font-size: 56px; line-height: 1.15; margin: 0 0 16px; font-weight: 400; }
.neon { color: var(--neon); text-shadow: 0 0 26px rgba(74, 222, 128, 0.45); }
.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: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; }
.chip b { display: block; font-family: var(--mono); font-size: 19px; color: var(--text); }
.chip span { font-size: 12px; color: var(--muted); }
.hero-art-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.holo-ring {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.18), inset 0 0 60px rgba(74, 222, 128, 0.1);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-art { width: 78%; border-radius: 50%; border: 1px solid var(--line2); 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); }

/* ---------- mint console ---------- */
.console { padding: 40px 0 10px; }
.console-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--panel2); 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: 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(--neon); border-color: var(--neon); box-shadow: 0 0 14px rgba(74, 222, 128, 0.3); }
.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; }
.price { font-family: var(--mono); font-size: 24px; font-weight: 700; }
.price .arrow { color: var(--neon); }
.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;
}
.seg button[aria-pressed="true"] { color: #04120A; background: var(--neon); border-color: var(--neon); box-shadow: 0 0 16px rgba(74, 222, 128, 0.4); }
.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: 19px; margin-top: 2px; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; word-break: break-all; }
.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: 30px; font-weight: 700; }
.prog-fig span { font-size: 15px; color: var(--muted); }
.track { height: 10px; 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(--neon), var(--cyan)); border-radius: 999px; transition: width 0.6s ease; }
.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; }
.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(--neon); }
.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; }
.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(--neon); }
.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); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.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; }
.lb { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lb h3 { font-size: 17px; margin: 0 0 12px; }
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(30, 70, 48, 0.5); }
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(--neon); }
.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; }
.addr .a { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(30, 70, 48, 0.5); }
.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; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.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(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.06); border-radius: 12px; font-size: 14px; color: var(--amber); }

/* ---------- 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(--neon); }
footer span:last-child { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 42px; }
  .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, .lb { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .addr .a { grid-template-columns: 1fr auto; }
  .addr .a .lbl { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .quote { flex-direction: column; gap: 8px; }
}
