/* ============================================================
   Soccer Stars Hub — Football Manager / Data-heavy theme
   Dark graphite UI, dense tables, monochrome charts, micro type.
   "Coach terminal" aesthetics.
   ============================================================ */

:root {
  --bg:        #0c1117;
  --bg-1:      #11171f;
  --bg-2:      #161d27;
  --bg-3:      #1c2532;
  --line:      #23303f;
  --line-2:    #2c3a4c;
  --ink:       #d8e1ed;
  --ink-mute:  #8a99ad;
  --ink-dim:   #5d6c81;
  --accent:    #5fb8ff;
  --accent-2:  #7be0c2;
  --warn:      #f2a13b;
  --bad:       #e2615a;
  --good:      #4ec38a;
  --table-stripe: rgba(255,255,255,0.018);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    linear-gradient(180deg, #0a0f15 0%, #0c1117 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,0.014) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,0.014) 31px 32px);
  background-blend-mode: normal, screen, screen;
  background-attachment: fixed;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: #f1f5fb;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.1rem; margin-bottom: 14px; font-weight: 700; }
h2 { font-size: 1.45rem; margin-bottom: 8px; }
h3 { font-size: 1rem; margin-bottom: 6px; font-weight: 600; }
p { margin-bottom: 10px; color: var(--ink-mute); }

a { color: var(--accent); text-decoration: none; transition: color 0.12s; }
a:hover { color: var(--accent-2); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 12px;
  font-family: var(--mono);
}
.cookie-banner .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; color: var(--ink-mute); }
.cookie-banner button {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  font-family: var(--mono);
  transition: background 0.15s, color 0.15s;
}
.cookie-banner button:hover { background: var(--accent); color: var(--bg); }

.kbd {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 14px 0;
  background: rgba(12,17,23,0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.navbar .container { display: flex; align-items: center; gap: 28px; }

.site-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}
.site-logo:hover { color: #fff; }
.logo-mark {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  padding: 5px 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 2px;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: #f1f5fb;
}
.logo-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-dim);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle.is-active { border-color: var(--accent); background: var(--bg-2); }
.nav-toggle-bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle-bars i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, top 0.2s, opacity 0.15s;
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5px; }
.nav-toggle-bars i:nth-child(3) { top: 10px; }
.nav-toggle.is-active .nav-toggle-bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.nav-links {
  display: flex; gap: 22px; list-style: none; margin-left: auto;
}
.nav-links a {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.12s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::before { content: "// "; color: var(--ink-dim); }
.nav-links .cta-link {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
}
.nav-links .cta-link::before { content: ""; }
.nav-links .cta-link:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Sections ---------- */
section { padding: 48px 0; border-bottom: 1px solid var(--line); }
section.alt { background: rgba(255,255,255,0.012); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.section-head p { max-width: 640px; margin: 6px 0 0; }
.legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute);
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 1px;
}
.dot-a { background: var(--accent); }
.dot-c { background: var(--accent-2); }
.dot-s { background: var(--warn); }
.dot-x { background: var(--bad); }

/* ---------- Hero ---------- */
.hero { padding-top: 60px; padding-bottom: 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  border-radius: 2px;
  background: var(--bg-1);
}
.tag-live { color: var(--good); border-color: var(--good); }
.tag-soon { color: var(--warn); border-color: var(--warn); }

.hero-lead {
  font-size: 15px; max-width: 540px; margin-bottom: 22px;
  color: var(--ink-mute);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Terminal panel */
.terminal {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7);
}
.terminal-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-dim);
}
.terminal-head strong { color: var(--ink); font-weight: 500; }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.terminal-body {
  padding: 16px 18px;
  color: var(--ink);
  white-space: pre;
  overflow-x: auto;
  line-height: 1.55;
}
.t-c { color: var(--accent); }
.t-k { color: var(--ink-dim); }

/* Stat strip */
.stat-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-1);
  border-radius: 4px;
  overflow: hidden;
}
.stat-item {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.stat-item:last-child { border-right: 0; }
.stat-num {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

/* ---------- Catalog grid: 2 columns on desktop ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.card:hover { border-color: var(--accent); background: var(--bg-2); }

.game-head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
}
.game-icon {
  width: 64px; height: 64px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
}
.game-title-block { flex: 1; min-width: 0; }
.game-title-block h3 { color: #fff; margin-bottom: 2px; font-size: 17px; }
.developer {
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
  margin-bottom: 8px;
}

.meta-row {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute);
}
.rating { color: var(--warn); }
.dl { color: var(--ink-dim); }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid;
  color: var(--ink);
}
.badge-a { color: var(--accent); border-color: var(--accent); }
.badge-c { color: var(--accent-2); border-color: var(--accent-2); }
.badge-s { color: var(--warn); border-color: var(--warn); }
.badge-x { color: var(--bad); border-color: var(--bad); }

.game-desc {
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 11.5px;
  margin-bottom: 16px;
}
.stat-table td {
  padding: 5px 8px;
  border-top: 1px solid var(--line);
}
.stat-table td:first-child {
  color: var(--ink-dim);
  width: 36%;
  text-transform: lowercase;
  letter-spacing: 0.03em;
}
.stat-table td:last-child {
  color: var(--ink);
  text-align: right;
}

.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.screenshots img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line);
  filter: saturate(0.92) brightness(0.94);
  transition: filter 0.18s, transform 0.18s;
}
.card:hover .screenshots img { filter: saturate(1) brightness(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn:hover { background: var(--accent-2); color: var(--bg); border-color: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); border-color: var(--ink-mute); }
.btn-block { display: block; width: 100%; }

/* ---------- Data tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-1);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}
.data-table thead th {
  background: var(--bg-2);
  color: var(--ink-dim);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.data-table tbody tr:nth-child(odd) td { background: var(--table-stripe); }
.data-table tbody tr:hover td { background: var(--bg-2); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.row-total td {
  border-top: 1px solid var(--line-2) !important;
  background: var(--bg-2) !important;
  color: #fff !important;
  font-weight: 600;
}

/* Bars inside tables (monochrome chart) */
.bar {
  display: inline-block;
  width: 110px;
  height: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--ink-mute);
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 2px,
    rgba(0,0,0,0.18) 2px 4px
  );
}

/* ---------- Tactics board ---------- */
.tactics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tactic-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
}
.formation-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.form-tag {
  font-family: var(--mono);
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.form-when {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
}

.pitch {
  position: relative;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100%/12 - 1px), rgba(255,255,255,0.05) calc(100%/12 - 1px) calc(100%/12)),
    linear-gradient(180deg, #0b2418 0%, #102e1f 100%);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  aspect-ratio: 3 / 4;
  margin: 0 auto 14px;
  overflow: hidden;
}
.pitch::before {
  /* center line + circle */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.pitch::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 70px; height: 70px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.player {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px var(--bg);
}
.player.p-gk {
  left: 50%; top: 92%;
  background: var(--warn);
}
.player::after {
  content: attr(data-pos);
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tactic-notes {
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 3px 3px;
  background: var(--bg-2);
  margin: 0 -16px -16px;
}
.tactic-notes li { padding: 2px 0; }
.tactic-notes b { color: var(--ink); font-weight: 500; }

/* ---------- Tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tip-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  transition: border-color 0.15s, transform 0.15s;
}
.tip-card:hover { border-color: var(--accent); }
.tip-card header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
}
.tip-game { color: var(--accent); }
.tip-num  { color: var(--ink-dim); }
.tip-card h3 { font-size: 14px; margin-bottom: 6px; color: #fff; }
.tip-card p  { font-size: 12.5px; margin: 0; color: var(--ink-mute); line-height: 1.5; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.about-meta .data-table td:first-child {
  color: var(--ink-dim);
  width: 45%;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 8px;
  width: 100%;
}
details {
  border: 1px solid var(--line);
  background: var(--bg-1);
  border-radius: 4px;
  padding: 12px 16px;
  transition: border-color 0.15s;
}
details[open] { border-color: var(--accent); }
summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
}
details[open] summary::before { content: "−"; }
details p {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ---------- Form ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-card {
  padding: 28px;
  border-color: var(--line-2);
}
.form-card .eyebrow { display: block; margin-bottom: 8px; }
.form-card h2 { color: #fff; }
.form-subtitle { color: var(--ink-mute); margin-bottom: 20px; font-size: 13px; }

.form-group { margin-bottom: 14px; }
label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  color: var(--ink-dim);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.req { color: var(--bad); }

input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 13px;
  outline: none;
  font-family: var(--mono);
  color: var(--ink);
  transition: border-color 0.15s;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder { color: var(--ink-dim); }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--accent);
}

.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.form-check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 0px;
  width: 5px; height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check label {
  display: inline;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-mute);
  font-size: 11.5px;
  font-family: var(--mono);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 11px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--mono);
  margin-top: 6px;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--accent-2); }

.form-success {
  margin-top: 12px;
  padding: 10px;
  background: rgba(78,195,138,0.1);
  color: var(--good);
  border: 1px solid var(--good);
  border-radius: 2px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  display: none;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(226,97,90,0.08);
  color: var(--bad);
  border: 1px solid var(--bad);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
}
.form-error.show { display: block; }

/* ---------- Legal pages ---------- */
.page-content { max-width: 880px; margin: 0 auto; }
.page-content h2 { margin-top: 26px; color: #fff; }
.page-content ul { padding-left: 20px; margin-bottom: 14px; }
.page-content li { margin-bottom: 6px; color: var(--ink-mute); }

/* ---------- Footer ---------- */
footer {
  color: var(--ink-dim);
  padding: 36px 0 28px;
  font-size: 12px;
  font-family: var(--mono);
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-top p { color: var(--ink-mute); margin-top: 8px; }
footer .footer-links {
  display: flex; gap: 18px; flex-wrap: wrap; list-style: none;
}
footer .footer-links a { color: var(--ink-mute); }
footer .footer-links a:hover { color: var(--accent); }
.addr { color: var(--ink-mute); margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-item:last-child { border-right: 0; }
  .tactics-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    margin: 0;
    gap: 0;
    box-shadow: 0 24px 40px -20px rgba(0,0,0,0.55);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 13px;
  }
  .nav-links .cta-link {
    margin: 10px 20px;
    text-align: center;
    padding: 12px 16px;
  }
  .navbar { position: sticky; }
  .navbar .container { position: relative; flex-wrap: nowrap; gap: 12px; }
}

@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .tactics-grid, .tips-grid { grid-template-columns: 1fr; }
  .screenshots img { height: 110px; }
  h1 { font-size: 1.65rem; }
  .terminal-body { font-size: 11px; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .logo-text { font-size: 13px; }
  .logo-sub { display: none; }
}
