:root {
  --bg: #0a0c0f;
  --surface: #101317;
  --surface-2: #15191e;
  --line: rgba(212, 255, 63, 0.14);
  --line-strong: rgba(212, 255, 63, 0.3);
  --ink: #f2f5ef;
  --muted: #93a09c;
  --dim: #5c6863;
  --volt: #d4ff3f;
  --volt-deep: #9fd400;
  --cyan: #4fd8ff;
  --ember: #ff5b3d;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; min-height: 100%; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--bg); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
::selection { color: #06090a; background: var(--volt); }
h1, h2, h3 { font-family: "Chakra Petch", "Inter", sans-serif; }

#grid-canvas { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
.scanlines {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(180deg, rgba(212,255,63,0.018) 0px, rgba(212,255,63,0.018) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

.scroll-progress { position: fixed; z-index: 40; top: 0; right: 0; left: 0; height: 2px; background: rgba(255,255,255,0.05); }
.scroll-progress i { display: block; width: 0; height: 100%; background: var(--volt); box-shadow: 0 0 10px rgba(212,255,63,0.7); transform-origin: left; }

main, .footer { position: relative; z-index: 2; }

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid rgba(212, 255, 63, 0.1);
  padding: 0 40px;
  background: rgba(10, 12, 15, 0.72);
  backdrop-filter: blur(16px) saturate(120%);
}

.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 26px; height: 26px; border-radius: 6px; }
.brand-name { color: #fff; font-family: "Chakra Petch", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.brand-name b, .brand-name span { color: var(--volt); font-weight: 700; }

.main-nav { display: inline-flex; align-items: center; gap: 30px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; color: #97a29d; font-size: 12px; font-weight: 600; }
.main-nav a i { color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 9px; font-style: normal; }
.main-nav a:hover { color: #fff; }
.main-nav a:hover i { color: var(--volt); }

.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(242,245,239,0.14);
  border-radius: 5px;
  padding: 3px;
  background: rgba(255,255,255,0.035);
}
.language-switcher :is(button, a) {
  min-width: 30px;
  height: 28px;
  border-radius: 3px;
  color: #87938d;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}
.language-switcher :is(button, a):hover { color: #fff; background: rgba(255,255,255,0.055); }
.language-switcher :is(button, a).is-active { color: #07100a; background: var(--volt); }
.nav-discord {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 255, 63, 0.4);
  border-radius: 4px;
  padding: 0 14px;
  color: #eaffb8;
  background: rgba(212, 255, 63, 0.08);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.nav-discord:hover { border-color: var(--volt); background: rgba(212, 255, 63, 0.16); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 96svh; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 118px 40px 72px; }
.hero-inner { position: relative; display: grid; width: min(1440px, 100%); margin: 0 auto; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); align-items: center; gap: 64px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.kicker i { display: block; width: 24px; height: 1px; background: var(--volt); box-shadow: 0 0 8px rgba(212,255,63,0.8); }
.hero h1 { margin: 18px 0 0; color: #fff; font-size: 78px; font-weight: 700; line-height: 0.92; letter-spacing: 0; }
.hero h1 span { color: var(--volt); }
.hero h2 { max-width: 590px; margin: 22px 0 0; color: #e8ede8; font-size: 29px; font-weight: 600; line-height: 1.24; font-family: "Inter", sans-serif; }
.launch-status {
  width: min(420px, 100%);
  display: grid;
  gap: 9px;
  margin-top: 28px;
}
.launch-status-head { display: flex; align-items: center; gap: 10px; }
.launch-status-head span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(212, 255, 63, 0.28);
  border-radius: 3px;
  padding: 0 8px;
  color: var(--volt);
  background: rgba(212, 255, 63, 0.055);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}
.launch-status-head strong { color: #b9c3bd; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; }
.launch-progress {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.launch-progress i {
  display: block;
  width: 85%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--volt), var(--cyan));
  box-shadow: 0 0 16px rgba(212,255,63,0.35);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }

.primary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--volt);
  border-radius: 5px;
  padding: 0 22px;
  color: #08100a;
  background: var(--volt);
  box-shadow: 0 0 0 rgba(212,255,63,0);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.primary-button:hover { background: #e4ff70; box-shadow: 0 10px 34px rgba(212,255,63,0.22); transform: translateY(-2px); }
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(242,245,239,0.28);
  border-radius: 5px;
  padding: 0 22px;
  color: #f2f5ef;
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.secondary-button:hover { border-color: rgba(242,245,239,0.6); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.discord-button { margin-top: 26px; }
.text-button { display: inline-flex; align-items: center; gap: 10px; color: #a7b2ad; font-size: 13px; font-weight: 600; }
.text-button:hover { color: #fff; }

/* HUD panel */
.hud-panel { position: relative; border: 1px solid var(--line-strong); border-radius: 6px; padding: 22px 22px 18px; background: rgba(16, 19, 23, 0.72); backdrop-filter: blur(6px); }
.hud-corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--volt); opacity: 0.85; }
.hud-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hud-label { display: block; color: #8ea089; font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; letter-spacing: 0; }
.hud-label b { color: var(--volt); }
.hud-readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.hud-stat { border-top: 1px solid var(--line); padding-top: 10px; }
.hud-stat span { display: block; color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; }
.hud-stat strong { display: inline-block; margin-top: 6px; color: var(--volt); font-family: "Chakra Petch", sans-serif; font-size: 30px; font-weight: 600; }
.hud-stat small { margin-left: 4px; color: var(--muted); font-size: 11px; }
.hud-graph { height: 90px; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.hud-graph canvas { width: 100%; height: 100%; display: block; }
.hud-footnote { display: block; margin-top: 12px; color: #4c5651; font-size: 10px; }

/* ---------- Signal strip ---------- */
.signal-strip { position: relative; z-index: 3; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(13, 16, 19, 0.9); }
.signal-strip > div { display: flex; width: max-content; min-height: 50px; align-items: center; gap: 26px; animation: marquee 28s linear infinite; }
.signal-strip span { color: #a3b0aa; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; white-space: nowrap; }
.signal-strip i { display: block; width: 5px; height: 5px; background: var(--volt); box-shadow: 0 0 8px rgba(212,255,63,0.7); }

/* ---------- Layout helpers ---------- */
.section-band { position: relative; overflow: hidden; background: rgba(13, 16, 19, 0.85); }
.section-inner { width: min(1320px, 100%); margin: 0 auto; padding: 104px 40px; }
.section-heading { display: grid; gap: 12px; }
.section-heading h2 { max-width: 760px; margin: 0; color: #fff; font-size: 42px; font-weight: 600; line-height: 1.12; }
.section-heading p { max-width: 700px; margin: 0; color: #a6b1ab; font-size: 15px; line-height: 1.7; }
.section-index { display: inline-flex; align-items: center; gap: 10px; color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; }

/* ---------- Intro ---------- */
.intro { border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr); gap: 70px; align-items: start; }
.intro-copy p { margin: 0 0 20px; max-width: 620px; color: #c3ccc6; font-size: 17px; line-height: 1.72; }
.intro-old { border-left: 2px solid rgba(255,91,61,0.5); padding-left: 24px; }
.intro-old-label { display: block; margin-bottom: 14px; color: #77837e; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.intro-old ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.intro-old li { position: relative; padding-left: 18px; color: #8b968f; font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(255,91,61,0.55); }
.intro-old li::before { content: "×"; position: absolute; left: 0; color: var(--ember); text-decoration: none; }

/* ---------- Pillars ---------- */
.pillar { border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.pillar-grid-reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.pillar-grid-reverse .pillar-mockup { order: 1; }
.pillar-grid-reverse .pillar-copy { order: 2; }
.pillar-caption { display: block; margin-top: 14px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.pillar-copy h2 { max-width: 520px; margin: 16px 0 14px; color: #fff; font-size: 38px; font-weight: 600; line-height: 1.12; }
.pillar-copy > p { max-width: 480px; margin: 0 0 26px; color: #a6b1ab; font-size: 15px; line-height: 1.65; }
.spec-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.spec-list li { position: relative; min-height: 44px; display: flex; align-items: center; padding-left: 20px; border-bottom: 1px solid var(--line); color: #d3dad4; font-size: 14px; }
.spec-list li::before { content: ""; position: absolute; left: 0; width: 7px; height: 7px; background: var(--volt); box-shadow: 0 0 8px rgba(212,255,63,0.6); }

.pillar-performance .spec-list li::before { background: var(--volt); box-shadow: 0 0 8px rgba(212,255,63,0.6); }
.pillar-performance .section-index, .pillar-performance .pillar-caption { color: var(--volt); }
.pillar-visual-section .spec-list li::before { background: var(--cyan); box-shadow: 0 0 8px rgba(79,216,255,0.6); }
.pillar-visual-section .section-index { color: var(--cyan); }
.pillar-social-section .spec-list li::before { background: var(--ember); box-shadow: 0 0 8px rgba(255,91,61,0.6); }
.pillar-social-section .section-index { color: var(--ember); }

/* Performance graph compare */
.pillar-visual { border: 1px solid var(--line-strong); border-radius: 6px; padding: 26px; background: rgba(16,19,23,0.6); }
.compare-graph { display: grid; gap: 22px; }
.compare-graph-row { display: grid; gap: 8px; }
.compare-graph-label { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.compare-graph-label.them { color: #8b968f; }
.compare-graph-label.us { color: var(--volt); }
.compare-graph canvas { width: 100%; height: 90px; display: block; border-bottom: 1px solid var(--line); }
.compare-graph-note { display: block; margin-top: 4px; color: var(--dim); font-size: 10px; }

/* Visual mockup */
.pillar-mockup { display: flex; justify-content: center; }
.mock-frame { width: min(460px, 100%); border: 1px solid rgba(79,216,255,0.32); border-radius: 8px; overflow: hidden; background: #0c1013; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.mock-topbar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(79,216,255,0.16); background: rgba(79,216,255,0.04); }
.mock-topbar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.mock-topbar span:first-child { background: var(--cyan); box-shadow: 0 0 8px rgba(79,216,255,0.7); }
.mock-body { padding: 22px; display: grid; gap: 18px; }
.mock-minimap { position: relative; height: 130px; border: 1px solid rgba(79,216,255,0.22); border-radius: 6px; background: radial-gradient(circle at 30% 30%, rgba(79,216,255,0.08), transparent 60%); }
.mock-minimap i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(79,216,255,0.8); }
.mock-minimap i:nth-child(1) { top: 24%; left: 30%; }
.mock-minimap i:nth-child(2) { top: 58%; left: 62%; background: var(--ember); box-shadow: 0 0 10px rgba(255,91,61,0.8); }
.mock-minimap i:nth-child(3) { top: 40%; left: 78%; }
.mock-hud-row { display: flex; gap: 8px; }
.mock-chip { height: 20px; flex: 1; border-radius: 4px; background: rgba(255,255,255,0.05); }
.mock-chip.red { background: rgba(255,91,61,0.18); border: 1px solid rgba(255,91,61,0.3); }
.mock-chip.blue { background: rgba(79,216,255,0.14); border: 1px solid rgba(79,216,255,0.28); }
.mock-playerlist { display: grid; gap: 8px; }
.mock-playerlist div { height: 14px; border-radius: 3px; background: rgba(255,255,255,0.045); }
.mock-playerlist div:nth-child(2) { width: 82%; }
.mock-playerlist div:nth-child(3) { width: 90%; }
.mock-playerlist div:nth-child(4) { width: 68%; }

/* Social widget */
.pillar-social-widget { display: flex; justify-content: center; }
.social-card { width: min(440px, 100%); border: 1px solid rgba(255,91,61,0.3); border-radius: 8px; padding: 22px; background: rgba(16,19,23,0.6); }
.social-card header { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: #b7958c; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.social-card header .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px rgba(255,91,61,0.7); animation: pulse 1.8s ease-in-out infinite; }
.social-card header b { margin-left: auto; color: var(--ember); font-size: 9px; }
.social-avatars { display: flex; margin-bottom: 20px; }
.social-avatars i { width: 34px; height: 34px; margin-left: -10px; border-radius: 50%; border: 2px solid #0c1013; background: linear-gradient(135deg, rgba(255,91,61,0.5), rgba(212,255,63,0.35)); }
.social-avatars i:first-child { margin-left: 0; }
.social-ticker { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.06); }
.social-ticker li { display: flex; align-items: center; gap: 10px; min-height: 42px; border-bottom: 1px solid rgba(255,255,255,0.06); color: #b7c0ba; font-size: 12.5px; }
.social-ticker .tag { padding: 2px 7px; border-radius: 3px; background: rgba(255,91,61,0.14); color: var(--ember); font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; }

/* ---------- Roadmap ---------- */
.roadmap { border-bottom: 1px solid var(--line); background: rgba(10,12,15,0.92); }
.build-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.build-card {
  min-height: 245px;
  display: grid;
  align-content: start;
  border: 1px solid rgba(242,245,239,0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(16,19,23,0.7);
}
.build-label { color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.build-card h3 { margin: 14px 0 10px; color: #fff; font-size: 22px; line-height: 1.1; }
.build-card p { min-height: 76px; margin: 0; color: #9ca7a1; font-size: 13px; line-height: 1.6; }
.build-card strong { margin-top: 12px; color: #f2f5ef; font-family: "Chakra Petch", sans-serif; font-size: 26px; line-height: 1; }
.build-meter { overflow: hidden; height: 8px; margin-top: 22px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.build-meter i { display: block; height: 100%; border-radius: inherit; background: var(--volt); }
.build-card.accent-cyan .build-meter i { background: var(--cyan); }
.build-card.accent-ember .build-meter i { background: var(--ember); }
.build-card.accent-dim .build-meter i { background: #8ea089; }
.build-card.accent-volt { border-color: rgba(212,255,63,0.26); }
.build-card.accent-cyan { border-color: rgba(79,216,255,0.22); }
.build-card.accent-ember { border-color: rgba(255,91,61,0.24); }
.build-card.accent-dim { border-color: rgba(142,160,137,0.2); }
.meter-45 i { width: 45%; }
.meter-40 i { width: 40%; }
.meter-30 i { width: 30%; }
.meter-25 i { width: 25%; }
.meter-20 i { width: 20%; }
.meter-15 i { width: 15%; }
.meter-10 i { width: 10%; }
.roadmap-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 34px; border: 1px solid var(--line); background: var(--line); }
.timeline-step { position: relative; min-height: 180px; padding: 28px; background: rgba(13,16,19,0.97); }
.timeline-step::before { content: ""; position: absolute; top: 0; right: 28px; left: 28px; height: 2px; background: rgba(255,255,255,0.08); }
.timeline-step.is-active::before { background: var(--volt); box-shadow: 0 0 12px rgba(212,255,63,0.45); }
.timeline-step span { color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.timeline-step h3 { margin: 22px 0 10px; color: #fff; font-size: 24px; line-height: 1.12; }
.timeline-step p { margin: 0; color: #9ca7a1; font-size: 13px; line-height: 1.65; }

/* ---------- Discord lab ---------- */
.discord-lab { border-bottom: 1px solid var(--line); background: rgba(13,16,19,0.88); }
.discord-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.discord-copy h2 { max-width: 520px; margin: 16px 0 16px; color: #fff; font-size: 40px; line-height: 1.12; }
.discord-copy p { max-width: 500px; margin: 0; color: #a6b1ab; font-size: 15px; line-height: 1.7; }
.discord-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.discord-cards article {
  min-height: 180px;
  border: 1px solid rgba(255,91,61,0.2);
  border-radius: 8px;
  padding: 22px;
  background: rgba(16,19,23,0.66);
}
.discord-cards span { color: var(--ember); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; }
.discord-cards h3 { margin: 18px 0 10px; color: #fff; font-size: 22px; line-height: 1.1; }
.discord-cards p { margin: 0; color: #a9b3ad; font-size: 13px; line-height: 1.65; }

/* ---------- Quote wall ---------- */
.quote-wall { border-bottom: 1px solid var(--line); background: rgba(10,12,15,0.94); }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.quote-grid blockquote { margin: 0; padding: 40px; background: rgba(13,16,19,0.96); color: #d6ddd8; font-size: 18px; font-weight: 500; line-height: 1.5; }
.quote-grid .q-large { grid-column: 1 / -1; color: #fff; font-family: "Chakra Petch", sans-serif; font-size: 32px; font-weight: 600; line-height: 1.28; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); background: rgba(13,16,19,0.9); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid rgba(242,245,239,0.13);
  border-radius: 8px;
  background: rgba(16,19,23,0.7);
}
.faq-list summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  color: #f2f5ef;
  font-weight: 700;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 18px; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { margin: 0; border-top: 1px solid rgba(242,245,239,0.08); padding: 16px 20px 20px; color: #a6b1ab; font-size: 14px; line-height: 1.7; }

/* ---------- Final CTA ---------- */
.final-cta { min-height: 620px; display: flex; align-items: center; background: radial-gradient(circle at 80% 30%, rgba(212,255,63,0.06), transparent 55%); }
.final-cta h2 { margin: 24px 0 36px; color: #f2f5ef; font-size: 58px; line-height: 1.06; }
.final-cta h2 strong { color: var(--volt); font-weight: 700; }
.final-actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Footer ---------- */
.footer { display: grid; min-height: 88px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 0 40px; background: #08090b; }
.footer > span { color: #59635e; font-size: 10px; }
.footer > a:last-child { justify-self: end; color: #98a29c; font-size: 11px; font-weight: 700; }
.footer > a:last-child:hover { color: var(--volt); }
.footer-links { display: inline-flex; justify-self: end; align-items: center; gap: 18px; }
.footer-links a { color: #98a29c; font-size: 11px; font-weight: 700; }
.footer-links a:hover { color: var(--volt); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.66s ease, transform 0.66s cubic-bezier(0.22, 0.8, 0.25, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- News / Devlog ---------- */
.news-hero {
  border-bottom: 1px solid var(--line);
  padding: 140px 40px 62px;
  background: radial-gradient(circle at 78% 18%, rgba(212, 255, 63, 0.06), transparent 55%);
}
.news-hero-inner { width: min(920px, 100%); margin: 0 auto; }
.news-hero h1 { margin: 16px 0 0; color: #fff; font-size: 56px; font-weight: 700; line-height: 0.98; letter-spacing: 0; }
.news-hero h1 span { color: var(--volt); }
.news-hero .lead { max-width: 640px; margin: 20px 0 0; color: #a6b1ab; font-size: 17px; line-height: 1.72; }
.news-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }

.news-feed { width: min(920px, 100%); margin: 0 auto; padding: 68px 40px 112px; display: grid; gap: 20px; }
.news-empty { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 13px; }

.news-post {
  position: relative;
  border: 1px solid rgba(242, 245, 239, 0.12);
  border-left: 2px solid var(--volt);
  border-radius: 8px;
  padding: 26px 28px;
  background: rgba(16, 19, 23, 0.7);
}
.news-post.tag-visual { border-left-color: var(--cyan); }
.news-post.tag-community { border-left-color: var(--ember); }
.news-post.tag-core { border-left-color: #8ea089; }
.news-post.tag-build { border-left-color: var(--volt-deep); }

.news-post.is-focus { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(212, 255, 63, 0.14), 0 20px 60px rgba(0, 0, 0, 0.4); }
.news-post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-post-date { color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.news-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid rgba(242, 245, 239, 0.14);
  border-radius: 4px;
  color: #8b968f;
  background: rgba(255, 255, 255, 0.02);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.news-copy:hover { color: #fff; border-color: rgba(212, 255, 63, 0.4); background: rgba(212, 255, 63, 0.08); }
.news-copy.is-copied { color: var(--volt); border-color: rgba(212, 255, 63, 0.5); background: rgba(212, 255, 63, 0.1); }
.news-tag {
  padding: 3px 8px;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--volt);
  background: rgba(212, 255, 63, 0.12);
}
.news-post.tag-visual .news-tag { color: var(--cyan); background: rgba(79, 216, 255, 0.12); }
.news-post.tag-community .news-tag { color: var(--ember); background: rgba(255, 91, 61, 0.14); }
.news-post.tag-core .news-tag { color: #b7c0ba; background: rgba(142, 160, 137, 0.14); }
.news-post.tag-build .news-tag { color: var(--volt-deep); background: rgba(159, 212, 0, 0.14); }

.news-post h2 { margin: 0 0 12px; color: #fff; font-size: 26px; font-weight: 600; line-height: 1.16; }
.news-performance-preview { width: min(360px, 100%); margin: 22px 0 25px; }
.performance-hud-demo {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  min-height: 112px;
  padding: 14px;
  overflow: hidden;
  border: 2px solid #29445a;
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(31, 51, 67, 0.38), transparent 48%),
    #101d28;
  box-shadow: inset 0 1px 0 rgba(143, 190, 220, 0.08), 0 14px 38px rgba(0, 0, 0, 0.26);
  color: #ecf4fa;
  font-family: "JetBrains Mono", monospace;
}
.performance-hud-demo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 13px;
  left: 13px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(150, 190, 214, 0.58) 12%, rgba(150, 190, 214, 0.58) 88%, transparent);
}
.performance-demo-fps {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1px 13px 0 1px;
  border-right: 1px solid rgba(108, 145, 169, 0.36);
}
.performance-demo-fps span,
.performance-demo-ping > span {
  color: #aebfca;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.performance-demo-fps strong {
  margin-top: 13px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.performance-demo-network { min-width: 0; }
.performance-demo-ping-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.performance-demo-ping { display: flex; flex-direction: column; flex: 0 0 auto; }
.performance-demo-ping strong {
  margin-top: 7px;
  white-space: nowrap;
  font-family: "Chakra Petch", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.performance-demo-ping strong b { font-size: 21px; font-weight: inherit; }
.performance-demo-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 18px;
  color: #b4c0c8;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 700;
}
.performance-demo-detail i { width: 1px; height: 10px; background: rgba(180, 192, 200, 0.42); }
.performance-demo-signal {
  --signal-strength: 98%;
  height: 15px;
  margin-top: 15px;
  overflow: hidden;
}
.performance-demo-signal::before {
  content: "";
  display: block;
  width: var(--signal-strength);
  height: 100%;
  background: repeating-linear-gradient(90deg, #58e692 0 3px, transparent 3px 5px);
  filter: drop-shadow(0 0 4px rgba(88, 230, 146, 0.42));
  transition: width 0.4s ease, filter 0.4s ease;
  animation: performance-signal-glow 1.7s ease-in-out infinite;
}
.news-performance-preview figcaption {
  margin-top: 8px;
  color: #78867e;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  line-height: 1.45;
}
.news-post-body p { margin: 0 0 14px; color: #c3ccc6; font-size: 15px; line-height: 1.72; }
.news-post-body p:last-child { margin-bottom: 0; }
.news-bullets { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-bullets li { position: relative; min-height: 42px; display: flex; align-items: center; padding-left: 20px; border-bottom: 1px solid var(--line); color: #d3dad4; font-size: 14px; }
.news-bullets li::before { content: ""; position: absolute; left: 0; width: 7px; height: 7px; background: var(--volt); box-shadow: 0 0 8px rgba(212, 255, 63, 0.6); }
.news-post.tag-visual .news-bullets li::before { background: var(--cyan); box-shadow: 0 0 8px rgba(79, 216, 255, 0.6); }
.news-post.tag-community .news-bullets li::before { background: var(--ember); box-shadow: 0 0 8px rgba(255, 91, 61, 0.6); }
.news-post.tag-build .news-bullets li::before { background: var(--volt-deep); box-shadow: 0 0 8px rgba(159, 212, 0, 0.6); }

@media (max-width: 900px) {
  .news-hero { padding: 116px 22px 48px; }
  .news-hero h1 { font-size: 42px; }
  .news-feed { padding: 54px 22px 90px; }
}
@media (max-width: 620px) {
  .news-hero { padding: 104px 18px 42px; }
  .news-hero h1 { font-size: 34px; }
  .news-hero .news-hero-actions { flex-direction: column; align-items: stretch; }
  .news-hero .news-hero-actions .primary-button,
  .news-hero .news-hero-actions .secondary-button { width: 100%; }
  .news-post { padding: 22px 20px; }
  .news-post h2 { font-size: 22px; }
  .performance-hud-demo { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; min-height: 104px; padding: 12px; }
  .performance-demo-fps { padding-right: 10px; }
  .performance-demo-fps strong { font-size: 23px; }
  .performance-demo-detail { gap: 4px; font-size: 7px; }
  .news-feed { padding: 46px 18px 80px; }
}

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes performance-signal-glow { 0%, 100% { opacity: 0.78; } 50% { opacity: 1; } }

@media (max-width: 1180px) {
  .hero h1 { font-size: 64px; }
  .hero h2 { font-size: 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hud-panel { max-width: 560px; }
  .pillar-grid, .pillar-grid-reverse { grid-template-columns: 1fr; gap: 44px; }
  .pillar-grid-reverse .pillar-mockup { order: 0; }
  .pillar-grid-reverse .pillar-copy { order: 1; }
  .pillar-copy h2, .pillar-copy > p { max-width: 100%; }
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discord-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .discord-copy h2, .discord-copy p { max-width: 100%; }
  .final-cta h2 { font-size: 46px; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: minmax(0,1fr) auto; padding: 0 22px; }
  .main-nav { display: none; }
  .hero { padding: 108px 22px 64px; }
  .section-inner { padding: 80px 22px; }
  .section-heading h2, .discord-copy h2 { font-size: 34px; }
  .roadmap-timeline { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-grid blockquote { padding: 30px; }
  .quote-grid .q-large { font-size: 26px; }
}

@media (max-width: 620px) {
  .topbar { min-height: 60px; }
  .brand-name { font-size: 15px; }
  .nav-discord { display: none; }
  .language-switcher :is(button, a) { min-width: 28px; height: 26px; }
  .hero { padding: 100px 18px 60px; }
  .hero h1 { font-size: 50px; }
  .hero h2 { font-size: 21px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 26px; }
  .section-heading h2, .discord-copy h2 { font-size: 28px; }
  .build-grid, .discord-cards { grid-template-columns: 1fr; }
  .build-card, .timeline-step, .discord-cards article { min-height: auto; }
  .primary-button, .secondary-button { width: 100%; }
  .hud-readouts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hud-stat strong { font-size: 22px; }
  .section-inner { padding: 64px 18px; }
  .pillar-copy h2 { font-size: 28px; }
  .final-cta h2 { font-size: 32px; }
  .final-actions { flex-direction: column; align-items: stretch; }
  .footer { grid-template-columns: 1fr auto; min-height: 76px; padding: 0 18px; }
  .footer > span { display: none; }
}

/* ---------- Download (hero + CTA final) ---------- */
.download-box { display: grid; gap: 12px; width: min(520px, 100%); margin-top: 30px; }
.download-cta {
  position: relative;
  min-height: 58px;
  gap: 12px;
  padding: 0 26px;
  overflow: hidden;
  font-size: 15px;
}
.download-cta b { font-size: 19px; font-weight: 700; line-height: 1; }
.download-cta small {
  margin-left: 4px;
  border: 1px solid rgba(8, 16, 10, 0.35);
  border-radius: 3px;
  padding: 2px 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.download-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  animation: cta-shine 3.6s ease-in-out infinite;
}
.download-cta:hover { box-shadow: 0 14px 44px rgba(212, 255, 63, 0.32); }
.download-meta { margin: 0; color: #8b968f; font-family: "JetBrains Mono", monospace; font-size: 10.5px; line-height: 1.6; }
.platform-row { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 245, 239, 0.14);
  border-radius: 4px;
  padding: 0 11px;
  color: #77837e;
  background: rgba(255, 255, 255, 0.025);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
}
.platform-chip i {
  border: 1px solid rgba(242, 245, 239, 0.16);
  border-radius: 2px;
  padding: 1px 5px;
  color: #5c6863;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.05em;
}
.platform-chip.is-live { border-color: rgba(212, 255, 63, 0.45); color: #eaffb8; background: rgba(212, 255, 63, 0.07); }
.platform-chip.is-live b { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px rgba(212, 255, 63, 0.8); animation: pulse 1.8s ease-in-out infinite; }
.final-platforms { margin: 20px 0 0; color: #77837e; font-family: "JetBrains Mono", monospace; font-size: 11px; }
.final-actions .download-cta { min-width: 300px; }

/* ---------- Showcase (capturas) ---------- */
.showcase { border-bottom: 1px solid var(--line); background: rgba(10, 12, 15, 0.92); }
.shot-stage { display: grid; gap: 14px; margin-top: 44px; }
.shot-main {
  position: relative;
  display: grid;
  width: fit-content;
  min-width: min(300px, 100%);
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16, 19, 23, 0.75);
}
/* A moldura abraca o print ativo: nada de mar de fundo vazio em volta */
.shot-zoom { display: grid; width: 100%; place-items: center; padding: 0; background: #0a0d10; cursor: zoom-in; }
/* Nunca ampliar print acima do tamanho natural: grande reduz, pequeno fica no tamanho real */
.shot-zoom img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(68vh, 640px); }
.shot-main.is-missing { width: 100%; }
.shot-fallback {
  display: none;
  align-content: center;
  justify-items: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: var(--dim);
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 255, 63, 0.05), transparent 58%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 12px, transparent 12px 24px);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.shot-fallback b { display: block; color: #4c5651; font-size: 10px; font-weight: 500; letter-spacing: 0.02em; text-transform: lowercase; }
.shot-main.is-missing .shot-zoom { cursor: default; }
.shot-main.is-missing .shot-zoom img { display: none; }
.shot-main.is-missing .shot-fallback { display: grid; }
.shot-main figcaption {
  /* width 0 + min-width 100%: a legenda preenche a moldura sem alarga-la */
  width: 0;
  min-width: 100%;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  color: #a6b1ab;
  font-size: 13.5px;
  line-height: 1.6;
}
.shot-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.shot-rail button {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 245, 239, 0.12);
  border-radius: 6px;
  padding: 0;
  background: rgba(16, 19, 23, 0.7);
  text-align: left;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.shot-rail button:hover { border-color: rgba(212, 255, 63, 0.4); transform: translateY(-2px); }
.shot-rail button[aria-selected="true"] { border-color: var(--volt); box-shadow: 0 0 0 1px rgba(212, 255, 63, 0.35), 0 8px 26px rgba(0, 0, 0, 0.35); }
.shot-rail button img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; opacity: 0.85; }
.shot-rail button[aria-selected="true"] img { opacity: 1; }
.shot-rail button.is-missing img { display: none; }
.shot-rail button.is-missing::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px);
}
.shot-rail button span {
  display: block;
  border-top: 1px solid rgba(242, 245, 239, 0.08);
  padding: 8px 10px;
  color: #a3b0aa;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-rail button[aria-selected="true"] span { color: var(--volt); }

.shot-lightbox {
  width: fit-content;
  min-width: min(420px, calc(100vw - 32px));
  max-width: min(1240px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #0c0f12;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.shot-lightbox::backdrop { background: rgba(4, 6, 8, 0.82); backdrop-filter: blur(4px); }
.shot-lightbox img { display: block; width: auto; height: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; background: #08090b; }
.lightbox-caption { display: block; border-top: 1px solid var(--line); padding: 13px 52px 13px 18px; color: #a6b1ab; font-size: 13px; }
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 245, 239, 0.25);
  border-radius: 5px;
  color: #f2f5ef;
  background: rgba(10, 12, 15, 0.8);
  font-size: 18px;
  line-height: 1;
}
.lightbox-close:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- Tech cards (motor / GPU / peso) ---------- */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0 !important;
}
.tech-card {
  border: 1px solid rgba(212, 255, 63, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(16, 19, 23, 0.7);
}
.tech-label { color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
.tech-card h3 { margin: 14px 0 10px; color: #fff; font-size: 21px; line-height: 1.14; }
.tech-card p { margin: 0; color: #9ca7a1; font-size: 13px; line-height: 1.65; }
.weight-compare { display: grid; gap: 14px; margin-top: 18px; }
.weight-row { display: grid; gap: 7px; }
.weight-row span { color: #a3b0aa; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.weight-row strong { color: #f2f5ef; font-family: "Chakra Petch", sans-serif; font-size: 18px; line-height: 1; }
.weight-row.us strong { color: var(--volt); }
.weight-bar { overflow: hidden; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.weight-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #5c6863; transition: width 1.1s cubic-bezier(0.22, 0.8, 0.25, 1) 0.15s; }
.weight-row.us .weight-bar i { background: linear-gradient(90deg, var(--volt), var(--cyan)); box-shadow: 0 0 14px rgba(212, 255, 63, 0.4); }
.tech-cards.is-visible .weight-bar i { width: var(--w, 100%); }
.weight-note { margin: 14px 0 0 !important; color: var(--dim) !important; font-size: 10.5px !important; }

/* ---------- Beta: hoje vs proximo ---------- */
.beta-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 14px; margin-top: 42px; }
.beta-col-label { display: block; margin-bottom: 16px; color: var(--volt); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
.beta-now {
  border: 1px solid rgba(212, 255, 63, 0.26);
  border-radius: 8px;
  padding: 24px;
  background: rgba(16, 19, 23, 0.7);
}
.beta-check { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.beta-check li {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding-left: 26px;
  border-bottom: 1px solid var(--line);
  color: #d3dad4;
  font-size: 14px;
}
.beta-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--volt);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(212, 255, 63, 0.6);
}
.beta-next {
  border: 1px solid rgba(79, 216, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(16, 19, 23, 0.55);
}
.beta-next .beta-col-label { color: var(--cyan); }
.beta-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.beta-cards article {
  border: 1px solid rgba(79, 216, 255, 0.14);
  border-radius: 6px;
  padding: 16px 18px;
  background: rgba(13, 16, 19, 0.8);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.beta-cards article:hover { border-color: rgba(79, 216, 255, 0.45); transform: translateY(-2px); }
.beta-cards h3 { margin: 0 0 6px; color: #e8f6fb; font-size: 15.5px; line-height: 1.2; }
.beta-cards p { margin: 0; color: #8fa0a5; font-size: 12px; line-height: 1.55; }

@keyframes cta-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

@media (max-width: 1180px) {
  .tech-cards { grid-template-columns: 1fr; }
  .beta-grid { grid-template-columns: 1fr; }
  .shot-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .download-box { width: 100%; }
  .download-cta { width: 100%; }
  .shot-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-main figcaption { padding: 12px 14px; font-size: 12.5px; }
  .beta-cards { grid-template-columns: 1fr; }
  .final-actions .download-cta { min-width: 0; }
  .lightbox-caption { padding-right: 18px; }
}

/* ---------- Hero interativo: bola jogavel ---------- */
.hero { overflow: hidden; }
#hero-ball { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { z-index: 2; }
.ball-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 255, 63, 0.25);
  border-radius: 999px;
  padding: 7px 14px;
  color: #cfe3a8;
  background: rgba(10, 12, 15, 0.6);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse 2.2s ease-in-out infinite;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.ball-hint.is-done { opacity: 0; }

/* Profundidade no titulo */
.hero h1 { position: relative; }
.hero h1::before {
  content: "Kick2D";
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 255, 63, 0.22);
}
.hud-panel { transform: rotate(-1.4deg); transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.25, 1); }
.hud-panel:hover { transform: rotate(0deg); }

/* ---------- Trilho lateral de secoes ---------- */
.section-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 25;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}
.section-rail a { display: flex; align-items: center; gap: 8px; opacity: 0.55; transition: opacity 0.2s ease; }
.section-rail a:hover { opacity: 1; }
.section-rail i { display: block; width: 8px; height: 8px; border: 1px solid rgba(212, 255, 63, 0.5); transform: rotate(45deg); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.section-rail span { color: #77837e; font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; }
.section-rail a.is-active { opacity: 1; }
.section-rail a.is-active i { background: var(--volt); box-shadow: 0 0 12px rgba(212, 255, 63, 0.8); }
.section-rail a.is-active span { color: var(--volt); }
@media (max-width: 1180px) { .section-rail { display: none; } }

/* ---------- Sell-row: propaganda antes do download ---------- */
.sell-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.sell-row li {
  display: grid;
  gap: 3px;
  min-width: 128px;
  border: 1px solid rgba(212, 255, 63, 0.2);
  border-left: 2px solid var(--volt);
  border-radius: 5px;
  padding: 12px 16px;
  background: rgba(16, 19, 23, 0.66);
}
.sell-row strong { color: var(--volt); font-family: "Chakra Petch", sans-serif; font-size: 26px; font-weight: 700; line-height: 1; text-shadow: 0 0 18px rgba(212, 255, 63, 0.35); }
.sell-row span { color: #b8c2bc; font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Comparador arrastavel ---------- */
.compare-slider { position: relative; height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: rgba(10, 12, 15, 0.65); cursor: ew-resize; touch-action: pan-y; }
.compare-slider canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Fundo opaco: sem ele a linha "outros apps" vaza por baixo do lado haxball.app */
.cmp-us { clip-path: inset(0 0 0 50%); background: #0d1013; }
.compare-slider .compare-graph-label { position: absolute; top: 12px; z-index: 2; padding: 4px 8px; border-radius: 3px; background: rgba(10, 12, 15, 0.75); }
.compare-slider .compare-graph-label.them { left: 12px; }
.compare-slider .compare-graph-label.us { right: 12px; }
.cmp-divider { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 0; }
.cmp-divider b { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--volt); box-shadow: 0 0 14px rgba(212, 255, 63, 0.7); }
.cmp-divider .compare-drag-hint {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 255, 63, 0.55);
  border-radius: 999px;
  padding: 6px 12px;
  color: #08100a;
  background: var(--volt);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible ~ .cmp-divider b { outline: 2px solid #fff; }

/* ---------- Vitrine com tilt ---------- */
.shot-main { transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.25, 1); transform-style: preserve-3d; will-change: transform; }

/* ---------- Prova do medidor real ---------- */
.meter-proof { display: inline-grid; gap: 8px; margin: 24px 0 0; }
.meter-proof img { display: block; width: auto; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); }
.meter-proof figcaption { color: #8b968f; font-family: "JetBrains Mono", monospace; font-size: 10.5px; }

/* ---------- Prints reais nos pilares (substituem mockups genericos) ---------- */
.pillar-shot {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0a0d10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.pillar-shot-tall { max-height: 560px; }

/* ---------- Modal de download iniciado ---------- */
.dl-modal {
  width: min(480px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 34px 30px 28px;
  color: var(--ink);
  background: #0d1013;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.dl-modal::backdrop { background: rgba(4, 6, 8, 0.82); backdrop-filter: blur(4px); }
.dl-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid var(--volt);
  border-radius: 50%;
  color: var(--volt);
  background: rgba(212, 255, 63, 0.08);
  box-shadow: 0 0 30px rgba(212, 255, 63, 0.3);
  font-size: 26px;
  animation: dl-bounce 1.4s ease-in-out infinite;
}
.dl-title { margin: 0 0 8px; color: #fff; font-size: 26px; }
.dl-sub { margin: 0 0 18px; color: #b8c2bc; font-size: 14.5px; line-height: 1.6; }
.dl-sub strong { color: var(--volt); }
.dl-steps {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: dl;
  border-top: 1px solid var(--line);
  text-align: left;
}
.dl-steps li {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-left: 34px;
  border-bottom: 1px solid var(--line);
  color: #dde3de;
  font-size: 14px;
}
.dl-steps li::before {
  counter-increment: dl;
  content: "0" counter(dl);
  position: absolute;
  left: 0;
  color: var(--volt);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}
.dl-note { margin: 0 0 16px; color: #8b968f; font-size: 12px; line-height: 1.6; }
/* A ponte para a marca propria acontece DEPOIS do download, nunca antes: quem
   chegou buscando o jogo antigo primeiro converte, dai conhece o nome novo. */
.dl-brand { margin: 0 0 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.dl-brand strong { color: var(--ink); }
.dl-brand a { color: var(--volt); text-decoration: none; border-bottom: 1px solid currentColor; }
.dl-brand a:hover, .dl-brand a:focus-visible { color: var(--ink); }
.dl-actions { display: grid; gap: 12px; justify-items: center; }
.dl-actions .secondary-button { width: 100%; }

@keyframes dl-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Recomendacoes de jogadores ---------- */
.testimonials { border-bottom: 1px solid var(--line); background: rgba(13, 16, 19, 0.9); }
.rec-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.rec-card {
  margin: 0;
  flex: 1 1 300px;
  max-width: 460px;
  overflow: hidden;
  border: 1px solid rgba(212, 255, 63, 0.18);
  border-radius: 8px;
  background: rgba(16, 19, 23, 0.7);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.rec-card:hover { transform: translateY(-3px) rotate(-0.4deg); border-color: rgba(212, 255, 63, 0.45); }
.rec-card img { display: block; width: auto; height: auto; max-width: 100%; margin: 0 auto; }

/* ---------- Passe de legibilidade ---------- */
:root { --muted: #a4b1ab; }
p { text-wrap: pretty; }
.hero h2 { color: #eef2ec; }
.section-heading p { color: #b8c2bc; font-size: 16px; line-height: 1.75; }
.pillar-copy > p { color: #b8c2bc; font-size: 16px; line-height: 1.7; }
.intro-copy p { color: #d2dad4; font-size: 17.5px; }
.spec-list li { min-height: 48px; color: #dde3de; font-size: 15px; }
.shot-main figcaption { color: #b8c2bc; font-size: 14.5px; }
.tech-card p { color: #aab5af; font-size: 13.5px; line-height: 1.7; }
.beta-cards p { color: #a3b3b8; font-size: 12.5px; }
.beta-check li { color: #dde3de; font-size: 15px; }
.discord-cards p { color: #b3bdb7; font-size: 14px; }
.timeline-step p { color: #aab5af; font-size: 14px; }
.faq-list p { color: #b8c2bc; font-size: 15px; }
.quote-grid blockquote { color: #dee4df; font-size: 19px; }
.download-meta { color: #9aa69f; font-size: 11.5px; }
.hud-footnote { color: #67736d; font-size: 11px; }
.compare-graph-note { color: #8b968f; font-size: 11px; }
.social-ticker li { color: #c0c9c3; font-size: 13.5px; }
.intro-old li { color: #98a39c; font-size: 14.5px; }
.footer > span { color: #6b756f; font-size: 11px; }
.platform-chip { color: #8e9a94; }
.build-card p { color: #aab5af; font-size: 13.5px; }

@media (max-width: 620px) {
  .sell-row { gap: 8px; }
  .sell-row li { flex: 1 1 calc(50% - 8px); min-width: 0; padding: 10px 12px; }
  .sell-row strong { font-size: 21px; }
  .compare-slider { height: 210px; }
  .ball-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .download-cta::after { animation: none; content: none; }
  .tech-cards .weight-bar i { width: var(--w, 100%); }
  #hero-ball, .ball-hint { display: none; }
  .hud-panel { transform: none; }
}

.language-switcher a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.news-post h2 a { color: inherit; text-decoration: none; }
.news-post h2 a:hover, .news-read:hover, .news-related a:hover { text-decoration: underline; }
.news-read, .news-back, .news-related a { color: var(--volt); }
.news-related { padding: 24px 0; line-height: 1.8; }
.news-related ul { padding-left: 22px; }
.news-detail .news-hero { padding-bottom: 28px; }
.news-detail .news-hero h1 { font-size: clamp(30px, 4.5vw, 50px); line-height: 1.12; overflow-wrap: anywhere; }

/* Installation guidance shares the existing section rhythm and colors. */
.client-start { scroll-margin-top: 90px; }
.client-start-title { max-width: 850px; margin: 18px 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.client-start-lead { max-width: 740px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.client-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 24px; padding: 0; list-style: none; counter-reset: install; }
.client-steps li { counter-increment: install; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.client-steps li::before { display: block; margin-bottom: 24px; color: var(--volt); content: "0" counter(install); font: 700 13px "JetBrains Mono", monospace; }
.client-steps h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
.client-steps p, .client-start-note { color: var(--muted); font-size: 15px; line-height: 1.8; }
.client-start-note a, .faq-list p a { color: var(--volt); text-decoration: underline; text-underline-offset: 4px; }
.faq-list summary:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; }
@media (max-width: 760px) { .client-steps { grid-template-columns: 1fr; } }

.news-post-body section + section { margin-top: 32px; }
.news-post-body section h2 { margin-bottom: 12px; }

/* Product benefits remain readable without loading demonstration media. */
.differentials { scroll-margin-top: 76px; background: #0b1113; }
.smoothing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
#smoothing-title { max-width: 720px; margin: 20px 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.smoothing-lead { max-width: 580px; margin: 0 0 18px; color: var(--ink); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.smoothing-body { max-width: 610px; color: #b8c2bc; font-size: 16px; line-height: 1.8; }
.smoothing-control { padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(212, 255, 63, .3); border-radius: 12px; background: #10181a; }
.smoothing-control h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.smoothing-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 28px 0; }
.smoothing-facts dt { color: var(--muted); font-size: 13px; }
.smoothing-facts dd { margin: 8px 0 0; color: var(--volt); font-size: 19px; font-weight: 700; }
.smoothing-path, .smoothing-hint { margin: 16px 0 0; color: #b8c2bc; font-size: 14px; line-height: 1.75; }
.smoothing-path strong { color: var(--ink); font-weight: 600; }
#differentials-more-title { margin: 52px 0 24px; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; }
.differential-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.differential-card { padding: 24px; border-top: 2px solid var(--volt); background: rgba(255, 255, 255, .025); }
.differential-card h4 { margin: 0 0 14px; font-size: 20px; line-height: 1.4; }
.differential-card p, .differentials-note { color: #b8c2bc; font-size: 15px; line-height: 1.8; }
.differential-card p { margin: 0; }
.differentials-note { margin: 26px 0 0; }
@media (max-width: 800px) { .smoothing-grid, .differential-cards { grid-template-columns: 1fr; } }
