/* soundboard.gametimecoin.com -- landing page. Static, no build step. */

:root {
  --bg: #0b0e17;
  --bg-alt: #10141f;
  --surface: #161b29;
  --surface-2: #1d2436;
  --line: #262f45;
  --text: #e8ecf5;
  --muted: #98a2b8;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
kbd {
  font: 600 12px/1 ui-monospace, Consolas, monospace;
  padding: 3px 6px; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 23, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(600px 360px at 10% 90%, rgba(34, 211, 238, .14), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; color: var(--cyan);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); margin: 20px 0 30px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 22px;
  border-radius: 12px; font-weight: 650; font-size: 15px;
}
.btn:hover { text-decoration: none; }
.btn-soon { background: var(--grad); color: #fff; opacity: .9; cursor: default; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.center { text-align: center; }

/* pad demo */
.board-demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.board-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.board-title { margin-left: auto; color: var(--muted); font-size: 13px; }
.pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pad {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 10px; text-align: left;
  font: inherit; color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
}
.pad:hover { border-color: #3a4666; }
.pad:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pad .k { font: 700 12px/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.pad .n { font-size: 13px; font-weight: 600; line-height: 1.2; }
.pad.on {
  border-color: transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 24px -4px rgba(34, 211, 238, .55);
  transform: scale(.97);
}
.pad.on .k { color: var(--cyan); }
.board-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-lede { color: var(--muted); font-size: 18px; margin: 12px 0 40px; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 18px; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, .1);
}
.ico svg {
  width: 22px; height: 22px; fill: none; stroke: var(--cyan);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* voices */
.voices {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.voices li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px 18px;
}
.voices img { width: 64px; height: 64px; margin-bottom: 8px; }
.voices b { font-size: 16px; }
.voices span { color: var(--muted); font-size: 13px; }
.voices .soon { border-style: dashed; }
.voices .soon span { color: var(--amber); }

/* routing flow */
.flow {
  display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center; gap: 8px;
}
.flow-col { display: flex; flex-direction: column; gap: 12px; }
.node {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; text-align: center; font-weight: 650;
}
.node small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.node-hub {
  padding: 30px 16px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 40px -12px rgba(139, 92, 246, .6);
}
.arrow { height: 2px; background: var(--grad); position: relative; }
.arrow::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border: 6px solid transparent; border-left-color: var(--violet); border-right: 0;
}
.steps {
  margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.steps li {
  counter-increment: s; position: relative;
  padding: 18px 18px 18px 58px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li b { color: var(--text); }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
}

/* in-house */
.inhouse { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.inhouse p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 10px; text-align: center;
}
.facts b { display: block; font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 13px; }

/* status */
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 28px; }
.st { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.st h3 { font-size: 17px; margin: 12px 0 6px; }
.st p { margin: 0; color: var(--muted); font-size: 14px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
}
.st-done .tag { color: var(--green); background: rgba(52, 211, 153, .12); }
.st-wip .tag { color: var(--amber); background: rgba(251, 191, 36, .12); }

/* account: header link */
.nav-in > .nav-signin, .nav-in > .nav-user { margin-left: 24px; }
.nav-signin {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 10px; background: #5865f2; color: #fff; font-weight: 650; font-size: 14px;
}
.nav-signin:hover { text-decoration: none; background: #4752c4; }
.nav-user { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; }
.nav-user:hover { text-decoration: none; color: var(--cyan); }
.nav-user img { width: 24px; height: 24px; border-radius: 50%; }
.nav-links { margin-left: auto; }

/* account: pages */
.page { padding: 56px 0 88px; min-height: 60vh; }
.acct { max-width: 640px; }
.acct-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.acct-avatar { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--line); }
.acct-head h1 { font-size: 32px; }
.acct-handle { color: var(--muted); margin: 6px 0 0; }
.acct-facts { margin: 0 0 16px; padding: 8px 24px; }
.acct-facts > div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acct-facts > div:last-child { border-bottom: 0; }
.acct-facts dt { width: 140px; flex: none; color: var(--muted); }
.acct-facts dd { margin: 0; overflow-wrap: anywhere; }
.acct-facts code { font: 14px/1.4 ui-monospace, Consolas, monospace; color: var(--muted); }
.acct-note { font-size: 14px; margin: 0 0 24px; }
.dim { color: var(--muted); }
.tag-ok { color: var(--green); background: rgba(52, 211, 153, .12); }
.tag-warn { color: var(--amber); background: rgba(251, 191, 36, .12); }
.msg-card { max-width: 560px; }
.msg-card h1 { font-size: 26px; margin-bottom: 12px; }
.msg-card p { color: var(--muted); }
button.btn { font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 960px) {
  .hero-in, .inhouse { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .voices, .status { grid-template-columns: repeat(2, 1fr); }
  .board-demo { max-width: 520px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-in > .nav-signin, .nav-in > .nav-user { margin-left: auto; }
  .nav-user span { display: none; }
  .acct-facts > div { flex-direction: column; gap: 2px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .arrow { width: 2px; height: 28px; margin: 0 auto; }
  .arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top-color: var(--violet); border-bottom: 0; }
  .pad { padding: 7px; }
  .pad .n { font-size: 11px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .facts b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pad { transition: none; }
}
