:root {
  --bg: #050508;
  --card: rgba(14, 13, 19, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f7fb;
  --muted: #9aa3b5;
  --solar: #ff5e2b;
  --gold: #ffb36b;
  --sans: "Plus Jakarta Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap { gap: 10px; }
.wrap-row { flex-wrap: wrap; }
.mono { font-family: var(--mono); }
.solar { color: var(--gold); }
.hidden { display: none !important; }
.ribbon, .nav { font-size: 12px; }
.ribbon { background: #040406; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); padding: 8px 0; }
.ribbon .row { justify-content: space-between; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--solar); box-shadow: 0 0 10px var(--solar); display: inline-block; }
.sep { opacity: 0.4; }
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(5,5,8,.72); border-bottom: 1px solid var(--line); }
.nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand img { border-radius: 50%; }
.brand em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--gold); border: 1px solid rgba(255,122,61,.4); background: rgba(255,94,43,.12); padding: 3px 8px; border-radius: 99px; }
.links { display: flex; gap: 22px; }
.links a { color: var(--muted); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid transparent; text-decoration: none; color: var(--text); font-weight: 700; cursor: pointer; font-family: var(--sans); }
.btn.solar { background: linear-gradient(135deg,#ff5722,#ff8a3d); color: #140804; box-shadow: 0 8px 24px rgba(255,87,34,.28); padding: 10px 16px; }
.btn.glass { background: rgba(255,255,255,.05); border-color: var(--line); padding: 10px 16px; }
.btn.lg { padding: 13px 22px; }
.btn.sm, .btn.xs { padding: 7px 12px; font-size: 12px; }
.btn.block { width: 100%; border-radius: 12px; margin-top: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.hero { position: relative; min-height: 760px; overflow: hidden; border-bottom: 1px solid var(--line); }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; background: #050508; }
.veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,5,8,.86) 0%, rgba(5,5,8,.55) 30%, rgba(5,5,8,.16) 62%, rgba(5,5,8,0) 100%); }
.hero-grid { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--gold); border: 1px solid rgba(255,122,61,.35); background: rgba(255,94,43,.1); border-radius: 99px; padding: 6px 12px; }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; margin: 16px 0; }
h1 span { background: linear-gradient(90deg,#fff,#ffb37b 40%,#ff5722); -webkit-background-clip: text; color: transparent; }
.lead { color: #b7becd; max-width: 540px; margin-bottom: 22px; }
.ca { margin-top: 22px; display: flex; gap: 10px; align-items: center; max-width: 640px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10,10,14,.8); }
.ca.live { border-color: rgba(255,122,61,.6); }
#caSymbol { font-family: var(--mono); color: var(--gold); font-size: 12px; }
#caValue { font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.modes, .stats div, .card { background: rgba(12,11,16,.72); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.modes { display: flex; gap: 4px; padding: 4px; border-radius: 999px; }
.mode { background: transparent; color: var(--muted); border: 0; border-radius: 999px; padding: 7px 12px; font-family: var(--mono); font-size: 11px; cursor: pointer; }
.mode.on { background: linear-gradient(135deg,#ff5722,#ff8a3d); color: #140804; font-weight: 800; }
.stats { display: flex; gap: 8px; }
.stats div { border-radius: 14px; padding: 10px 12px; text-align: right; }
.stats span, .compare span, .kicker { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.stats strong { font-family: var(--mono); color: var(--gold); }
.stack { padding: 36px 0 70px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { border-radius: 22px; padding: 22px; margin-bottom: 18px; }
h2 { font-size: 28px; letter-spacing: -.03em; margin: 6px 0 8px; }
.sub { color: var(--muted); margin-bottom: 14px; }
.form, .form label { display: grid; gap: 8px; }
.form { grid-template-columns: 1fr 1fr; }
.form .btn.block { grid-column: 1 / -1; }
.form label { color: var(--muted); font-size: 12px; }
input, select { background: #07070b; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: var(--mono); }
.out, .explorer, .feed div { font-family: var(--mono); font-size: 12.5px; }
.out { margin-top: 12px; padding: 12px; border-radius: 12px; background: #09090e; border: 1px solid rgba(255,122,61,.35); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.compare div { background: #09090e; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.compare .hot { border-color: rgba(255,122,61,.45); }
.compare strong { display: block; font-size: 28px; }
.compare em { color: var(--muted); font-style: normal; }
.burst { display: grid; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.explorer { display: grid; gap: 6px; }
.explorer div, .feed div { background: #09090e; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; justify-content: space-between; }
.feed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.arch div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.arch .hot { border-color: rgba(255,122,61,.4); }
.arch b { color: var(--gold); font-family: var(--mono); }
.arch p { color: var(--muted); margin-top: 6px; font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 18px 0 28px; color: var(--muted); }
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .ribbon { font-size: 10px; }
  .ribbon .row { gap: 8px; }
  .nav-inner { height: auto; min-height: 56px; padding: 8px 0; gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 15px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 13px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .veil { display: none; }
  #heroCanvas { position: relative; inset: auto; order: 2; width: 100%; height: 340px; }
  .hero-grid { display: contents; }
  .hero-copy { order: 1; margin: 18px 16px 0; padding: 16px; border-radius: 20px; background: rgba(8,8,12,.9); border: 1px solid var(--line); }
  .hud { order: 3; align-items: stretch; margin: 0 16px 22px; width: auto; }
  h1 { font-size: 40px; margin: 12px 0; }
  .lead { font-size: 15px; line-height: 1.5; }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .ca { flex-wrap: wrap; max-width: none; }
  #caValue { flex: 1 1 140px; min-width: 0; }
  .modes { width: 100%; justify-content: space-between; }
  .mode { flex: 1; text-align: center; padding: 8px 4px; }
  .stats { width: 100%; }
  .stats div { flex: 1; text-align: center; padding: 10px 6px; }
  .stats strong { font-size: 13px; }
  .stack { padding: 8px 0 48px; }
  .grid2, .arch, .feed, .form, .compare { grid-template-columns: 1fr; }
  .card { padding: 16px; border-radius: 18px; }
  h2 { font-size: 24px; }
  .compare strong { font-size: 26px; }
  .explorer div, .feed div { gap: 8px; align-items: center; }
  .explorer div span, .feed div span { min-width: 0; }
  .explorer div span:first-child, .feed div span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  footer .row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
