:root {
  --bg: #0b0c11;
  --panel: #171820;
  --panel-soft: #20222d;
  --text: #f6f6fb;
  --muted: #b9bac6;
  --line: rgba(255,255,255,.13);
  --red: #df242b;
  --red-dark: #a9181d;
  --blue: #3f55bd;
  --gold: #c6a15b;
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223,36,43,.28), transparent 32rem),
    linear-gradient(135deg, #12070a 0%, #0b0c11 42%, #11131b 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 14, .78);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
}

.main-nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover { color: var(--text); }

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-switcher a {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.lang-switcher a.active {
  background: var(--blue);
  color: white;
  border-color: transparent;
}

.page-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto;
}

.hero-card,
.section-card,
.module-card,
.tv-screen {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 28px 65px rgba(0,0,0,.28);
}

.hero-card + .section-card,
.section-card + .section-card,
.hero-card + .dashboard-grid { margin-top: 24px; }

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(223,36,43,.75);
  background: rgba(223,36,43,.16);
  color: white;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
}

h2 { margin: 0 0 18px; }

.lead {
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 26px;
}

.status-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.status-card {
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(0,0,0,.16);
}

.status-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.status-card strong {
  font-size: 22px;
  word-break: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: white;
  font-weight: 900;
}

.btn.primary {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border-color: transparent;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: white;
}

.compact p { margin-bottom: 0; color: var(--muted); }

.dashboard-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-card h2 { font-size: 22px; }
.module-card p { color: var(--muted); }

.tv-screen {
  min-height: 70vh;
}

.tv-pairings {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.tv-pairings div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  font-size: 26px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .lang-switcher { margin-left: auto; }

  .hero-card,
  .section-card,
  .module-card,
  .tv-screen { padding: 22px; }

  .status-grid,
  .dashboard-grid { grid-template-columns: 1fr; }

  h1 { font-size: 42px; }

  .tv-pairings div {
    flex-direction: column;
    font-size: 20px;
  }
}
