:root {
  --bg: #0a0f1f;
  --panel: #101a33;
  --ink: #eaf2ff;
  --spark: #46d9c4;
  --flare: #ff9a44;
  --line: #2a3f68;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, #17305e 0%, transparent 42%),
    radial-gradient(circle at 84% 24%, #382255 0%, transparent 38%),
    var(--bg);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 13, 28, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  width: min(1240px, 96vw);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bungee", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: uppercase;
}
.brand img {
  width: 42px;
  height: 42px;
}
.menu-handle {
  display: none;
  background: linear-gradient(145deg, #1c2a4f, #10203f);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 1rem;
}
.topnav {
  display: flex;
  gap: 10px;
}
.topnav a {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}
.topnav a:hover,
.topnav a.current {
  border-color: var(--spark);
  background: rgba(70, 217, 196, 0.12);
}
.shell {
  width: min(1240px, 96vw);
  margin: 28px auto 72px;
  display: grid;
  gap: 22px;
}
.hero {
  border: 1px solid var(--line);
  background: linear-gradient(138deg, rgba(34, 59, 112, 0.48), rgba(14, 23, 44, 0.9));
  border-radius: 26px;
  padding: clamp(22px, 5vw, 46px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 10px;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}
.hero p {
  margin: 0 0 12px;
  max-width: 62ch;
}
.badge-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  padding: 8px 12px;
  border: 1px solid #365f97;
  background: rgba(16, 33, 66, 0.8);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
}
.readout {
  background: rgba(7, 14, 30, 0.9);
  border: 1px solid #2a4a7d;
  border-radius: 18px;
  padding: 20px;
}
.readout h2 {
  margin: 0 0 10px;
  font-family: "Bungee", sans-serif;
  font-size: 1.08rem;
}
.readout ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.readout li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stage {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #081027;
}
.stage-head {
  padding: 16px 20px;
  border-bottom: 1px solid #23457e;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.stage-head h2 {
  margin: 0;
  font-family: "Bungee", sans-serif;
  font-size: 1.04rem;
}
.stage iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #02060e;
}
.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.matrix article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(16, 24, 45, 0.88);
}
.matrix h3 {
  margin: 0 0 8px;
  font-family: "Bungee", sans-serif;
  font-size: 0.95rem;
  color: var(--flare);
}
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
}
.foot-inner {
  width: min(1240px, 96vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
}
.safety-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(1, 4, 11, 0.9);
}
.gate.show {
  display: flex;
}
.gate-panel {
  width: min(540px, 95vw);
  border: 1px solid #3d6098;
  background: #09142b;
  border-radius: 16px;
  padding: 24px;
}
.gate-panel h2 {
  margin-top: 0;
  font-family: "Bungee", sans-serif;
}
.gate-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.gate-actions button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 700;
}
.gate-yes {
  background: #2fbb89;
}
.gate-no {
  background: #b54c5f;
}
.article-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  background: rgba(9, 18, 36, 0.9);
}
.article-shell h1 {
  margin-top: 0;
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
}
.article-shell h2 {
  font-family: "Bungee", sans-serif;
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: var(--flare);
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .matrix {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .menu-handle {
    display: inline-flex;
  }
  .topnav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0 0 14px;
  }
  .topnav.open {
    display: flex;
  }
  .mast-inner {
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .topnav a {
    border-radius: 10px;
    border-color: #23457e;
    background: rgba(10, 23, 47, 0.75);
  }
  .matrix {
    grid-template-columns: 1fr;
  }
}