:root {
  --bg: #0b0d12;
  --panel: #151922;
  --panel-2: #11151d;
  --line: #2a303b;
  --line-soft: #202631;
  --text: #e7e9ee;
  --muted: #9ca5b4;
  --red: #f01414;
  --red-dark: #9c0d0d;
  --shadow: rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 20, 20, 0.16), transparent 32rem),
    linear-gradient(180deg, #0d1017 0%, #080a0f 100%);
  color: var(--text);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

.topbar {
  height: 58px;
  background: linear-gradient(180deg, #1a202b, #121720);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 5;
}

.topbar-inner {
  width: min(1120px, calc(100% - 28px));
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(240, 20, 20, 0.35));
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 2px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: #c8ced8;
  font-weight: 700;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.nav a:hover {
  color: white;
  background: rgba(255,255,255,0.045);
}

.nav a.active {
  color: white;
  background: rgba(240, 20, 20, 0.08);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(240, 20, 20, 0.7);
}

.page {
  width: min(1120px, calc(100% - 28px));
  margin: 26px auto 0;
  min-height: calc(100vh - 150px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.card {
  background: linear-gradient(180deg, rgba(22, 27, 37, 0.98), rgba(13, 17, 24, 0.98));
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px var(--shadow);
}

.hero-main {
  padding: 38px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border: 32px solid rgba(240, 20, 20, 0.09);
  transform: rotate(12deg);
}

.kicker {
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  font-size: 15px;
}

.panel-stack {
  display: grid;
  gap: 14px;
}

.mini-panel {
  padding: 20px;
  min-height: 104px;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.status-box {
  border: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.22);
  padding: 13px;
}

.status-box strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.status-box span {
  color: var(--muted);
  font-size: 12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid #4a1111;
  background: linear-gradient(180deg, #d91717, #8f0d0d);
  color: white;
  font-weight: 700;
  box-shadow: inset 0 1px rgba(255,255,255,0.24), 0 4px 0 #4d0808;
}

.btn.secondary {
  background: linear-gradient(180deg, #242b37, #161b24);
  border-color: var(--line);
  box-shadow: inset 0 1px rgba(255,255,255,0.08), 0 4px 0 #090b10;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  padding: 24px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.art-card {
  overflow: hidden;
}

.art-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #050608;
  border-bottom: 1px solid var(--line);
}

.art-meta {
  padding: 14px 16px 16px;
}

.art-meta p {
  margin: 0;
  font-size: 13px;
}

.footer {
  width: min(1120px, calc(100% - 28px));
  margin: 32px auto 0;
  padding: 18px 0 28px;
  color: #7f8795;
  font-size: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.error-page {
  max-width: 640px;
  margin: 70px auto 0;
  text-align: center;
  padding: 38px;
}

@media (max-width: 820px) {
  .topbar { height: auto; }
  .topbar-inner {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    padding: 10px 0 0;
    gap: 10px;
  }
  .brand { width: 100%; }
  .nav { height: 48px; width: 100%; overflow-x: auto; }
  .hero, .content-grid, .gallery { grid-template-columns: 1fr; }
  .hero-main { padding: 26px; min-height: 300px; }
  .status-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}


.text-link {
  color: #ffffff;
  border-bottom: 1px solid var(--red);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  padding: 22px;
  border-left: 4px solid var(--red);
}

.news-card time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

@media (max-width: 720px) {
  .topbar { height: auto; }
  .topbar-inner {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 8px 0;
  }
  .brand { min-width: auto; }
  .nav { height: 44px; overflow-x: auto; }
  .nav a { padding: 0 13px; white-space: nowrap; }
}
