:root {
  color-scheme: dark;
  --bg: #070a08;
  --panel: rgba(17, 23, 19, .93);
  --line: rgba(163, 180, 145, .2);
  --text: #eef2e9;
  --muted: #9ba598;
  --accent: #c8e35a;
  --danger: #e07b68;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 227, 90, .16), transparent 26rem),
    radial-gradient(circle at 10% 78%, rgba(53, 98, 72, .22), transparent 34rem),
    linear-gradient(135deg, #050806 0%, #0a100c 48%, #050706 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .44;
  background-image:
    linear-gradient(rgba(200, 227, 90, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 227, 90, .025) 1px, transparent 1px),
    radial-gradient(circle at 75% 40%, rgba(200, 227, 90, .13), transparent 1px);
  background-size: 48px 48px, 48px 48px, 4px 4px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 82%);
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  min-height: 64px;
  margin-top: 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(200, 227, 90, .12);
  border-radius: 14px;
  background: rgba(7, 11, 8, .62);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 227, 90, .5);
  color: var(--accent);
  background: rgba(200, 227, 90, .06);
  clip-path: polygon(50% 0, 100% 28%, 88% 86%, 50% 100%, 12% 86%, 0 28%);
}

.environment-label {
  padding: 6px 9px;
  color: #11150b;
  border-radius: 7px;
  background: var(--accent);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-shell {
  flex: 1;
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 44px 0 80px;
  display: grid;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  isolation: isolate;
  max-width: 840px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(200, 227, 90, .24);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(23, 33, 25, .94), rgba(9, 14, 11, .88));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .52), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px);
}

.hero-card::after {
  content: "S.T.A.L.K.E.R // TEST 01";
  position: absolute;
  right: -34px;
  bottom: 44px;
  z-index: -1;
  color: rgba(200, 227, 90, .055);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right bottom;
}

.status-line {
  width: fit-content;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  border: 1px solid rgba(200, 227, 90, .2);
  border-radius: 999px;
  background: rgba(200, 227, 90, .045);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.status-line span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.eyebrow {
  margin: 34px 0 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  max-width: 730px;
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, #f7faef 8%, #dfe9c5 58%, #9fb55a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(2.65rem, 8vw, 6.5rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 2.6vw, 1.12rem);
}

.system-status {
  max-width: 620px;
  margin-top: 30px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-block: 1px solid var(--line);
}

.system-status > div { display: grid; gap: 3px; }
.status-label { color: var(--muted); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; }
.system-status strong { font-size: .92rem; }
.is-online { color: var(--accent); }
.is-offline { color: var(--danger); }

.button {
  min-height: 52px;
  margin-top: 28px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #11150b;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(200, 227, 90, .16);
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}

.button:hover { transform: translateY(-1px); background: #d7ef77; }

.site-footer {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #707970;
  font-size: .75rem;
}

@media (max-width: 620px) {
  .site-header { margin-top: 10px; padding-inline: 14px; }
  .brand { letter-spacing: .13em; }
  .hero-shell { width: min(100% - 22px, 1180px); padding: 28px 0 52px; }
  .hero-card { border-radius: 18px; padding: 28px 22px 34px; }
  .hero-card::after { display: none; }
  .system-status { grid-template-columns: 1fr; }
  .button { width: 100%; text-align: center; }
  .site-footer {
    width: calc(100% - 28px);
    padding: 16px 0;
    flex-direction: column;
    justify-content: center;
  }
}
