:root {
  --bg-deep: #05000d;
  --bg-void: #0c021f;
  --bg-card: rgba(23, 8, 46, 0.85);
  --bg-card-alt: rgba(12, 5, 30, 0.9);
  --bg-highlight: linear-gradient(135deg, rgba(164, 81, 255, 0.8), rgba(63, 16, 161, 0.9));
  --pillar-glow: rgba(173, 88, 255, 0.55);
  --text-primary: #f7f2ff;
  --text-muted: rgba(220, 210, 255, 0.75);
  --accent: #8b5cf6;
  --accent-strong: #c084fc;
  --accent-hot: #ff7ce5;
  --grid-gap: clamp(1.5rem, 2vw, 2.5rem);
  --radius: 18px;
  --shadow-soft: 0 25px 60px rgba(91, 44, 165, 0.25);
  --shadow-hard: 0 18px 32px rgba(10, 0, 46, 0.55);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(76, 0, 159, 0.4), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(157, 23, 207, 0.35), transparent 55%),
    var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, rgba(118, 47, 255, 0.22), transparent 45%, rgba(42, 12, 66, 0.65));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -2;
}

.cosmic-noise {
  position: fixed;
  inset: -20% -10%;
  background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
  opacity: 0.15;
  mix-blend-mode: screen;
  z-index: -1;
  animation: drift 48s linear infinite;
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-5%, 8%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 2.5rem);
  padding: 1.25rem clamp(1rem, 5vw, 4rem);
  backdrop-filter: blur(22px);
  background: rgba(7, 2, 18, 0.78);
  border-bottom: 1px solid rgba(172, 120, 255, 0.25);
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo .glyph {
  font-size: 1.8rem;
  color: var(--accent-hot);
}

.logo .type {
  font-size: 1.1rem;
}

.main-nav {
  position: relative;
  display: flex;
  gap: 1.4rem;
  background: rgba(33, 9, 59, 0.65);
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  align-items: center;
  transition: 0.4s ease;
}

.main-nav .nav-link {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: color 0.3s ease;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  color: var(--text-primary);
}

.nav-highlight {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 120px;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(147, 51, 234, 0.85), rgba(56, 189, 248, 0.35));
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.25s ease;
  z-index: -1;
}

.nav-trigger {
  display: none;
  border: none;
  background: rgba(33, 9, 59, 0.65);
  color: var(--text-primary);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 1.4rem;
}

.header-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.45rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(33, 9, 59, 0.72);
  border: 1px solid rgba(164, 81, 255, 0.45);
  box-shadow: 0 12px 35px rgba(80, 25, 155, 0.35);
  overflow: hidden;
}

.header-banner .banner-glow {
  position: absolute;
  inset: -120% -30% 55% -30%;
  background: radial-gradient(circle, rgba(255, 124, 229, 0.5), transparent 70%);
  filter: blur(18px);
  animation: bannerSweep 6s ease-in-out infinite;
  opacity: 0.85;
}

.header-banner .banner-text {
  position: relative;
  z-index: 1;
}

@keyframes bannerSweep {
  0% { transform: translateX(-40%) rotate(8deg); opacity: 0.4; }
  50% { transform: translateX(30%) rotate(-6deg); opacity: 1; }
  100% { transform: translateX(60%) rotate(10deg); opacity: 0.5; }
}

main {
  padding: 2.5rem clamp(1.25rem, 6vw, 6rem) 6rem;
}

.section {
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.7rem;
}

.section-header p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--accent-hot);
  display: block;
}

.hero-content .lead {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1.2rem 0 1.8rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta {
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.cta.primary {
  background-image: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.45);
}

.cta.ghost {
  background: rgba(94, 33, 166, 0.3);
  color: var(--text-primary);
  border: 1px solid rgba(164, 132, 255, 0.35);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(124, 58, 237, 0.35);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-badges span {
  background: rgba(25, 10, 40, 0.65);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(124, 58, 237, 0.22);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 3rem;
  min-height: 420px;
  background: radial-gradient(circle at 50% 30%, rgba(103, 41, 220, 0.25), transparent 60%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.pillar-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: drop-shadow(0 0 24px rgba(164, 81, 255, 0.35));
}

.pillar-field .pillar {
  position: absolute;
  width: clamp(30px, 3vw, 54px);
  height: clamp(180px, 22vh, 320px);
  bottom: -40px;
  background: linear-gradient(180deg, rgba(92, 22, 197, 0.9), rgba(15, 3, 45, 0.95));
  border-radius: 18px;
  box-shadow: inset 0 0 12px rgba(255, 164, 255, 0.4);
  overflow: hidden;
  transform: rotate(calc(var(--skew) * 1deg)) translateZ(0);
}

.pillar::before,
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 111, 232, 0.15));
  mix-blend-mode: screen;
}

.pillar::after {
  clip-path: polygon(50% 0, 60% 15%, 55% 32%, 70% 47%, 50% 68%, 60% 82%, 45% 100%, 30% 85%, 25% 65%, 35% 40%, 30% 20%);
  background: radial-gradient(circle at 50% 50%, rgba(182, 123, 255, 0.75), transparent 70%);
  animation: vein 6s ease-in-out infinite;
}

@keyframes vein {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.85; transform: translateY(-12%); }
}

.orbital {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(207, 166, 255, 0.35);
  border-radius: 50%;
  animation: orbit-spin 16s linear infinite;
}

.orbit.delayed {
  width: 160px;
  height: 160px;
  animation-duration: 22s;
  animation-direction: reverse;
  opacity: 0.6;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbital .core {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(147, 51, 234, 0.85), rgba(76, 29, 149, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.1rem;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 45px rgba(168, 85, 247, 0.55);
}

.hero-radial {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: grid;
  place-items: center;
}

.radial-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, rgba(79, 35, 146, 0.9), rgba(182, 94, 255, 0.85));
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.radial-menu {
  position: absolute;
  inset: 0;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  display: grid;
  place-items: center;
}

.radial-menu a {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(91, 33, 153, 0.92);
  box-shadow: 0 10px 25px rgba(98, 54, 255, 0.4);
  text-decoration: none;
  font-size: 1.15rem;
  transition: transform 0.35s ease, background 0.3s ease;
}

.radial-menu a:hover {
  background: rgba(217, 70, 239, 0.95);
}

.radial-label {
  position: absolute;
  bottom: -2.5rem;
  background: rgba(24, 8, 48, 0.85);
  border: 1px solid rgba(138, 92, 246, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.pillar-lab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
}

.pillar-card {
  background: var(--bg-card);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(158, 114, 255, 0.22);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.pillar-card.primary {
  background: linear-gradient(160deg, rgba(72, 35, 129, 0.85), rgba(161, 87, 255, 0.72));
}

.pillar-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.pillar-card .status {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pillar-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.spec-list i {
  color: var(--accent-strong);
}

.system-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--grid-gap);
  align-items: stretch;
}

.flow-board {
  background: var(--bg-card-alt);
  border-radius: var(--radius);
  border: 1px solid rgba(120, 63, 255, 0.35);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-hard);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.board-zoom {
  border: none;
  background: rgba(86, 33, 153, 0.6);
  color: white;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

.board-canvas {
  flex: 1;
  position: relative;
  margin-top: 1.25rem;
  background: radial-gradient(circle at 20% 20%, rgba(109, 40, 217, 0.25), transparent 60%);
  border-radius: 14px;
  overflow: hidden;
}

.board-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff0f 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.6;
}

.board-canvas .node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  min-width: 180px;
  max-width: 220px;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(16, 3, 34, 0.9);
  border: 1px solid rgba(133, 77, 255, 0.4);
  box-shadow: 0 16px 30px rgba(76, 0, 139, 0.45);
  font-size: 0.85rem;
}

.board-canvas .node h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.board-canvas .node p {
  margin: 0;
  color: rgba(239, 227, 255, 0.75);
  line-height: 1.5;
}

.board-canvas .node span {
  color: var(--accent-hot);
}

.board-links {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.board-links path {
  fill: none;
  stroke: rgba(196, 141, 255, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}

.radio-menu {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(116, 58, 196, 0.35);
  padding: 1.8rem;
  display: grid;
  gap: 1.4rem;
}

.radio-shell {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 19, 90, 0.95), rgba(9, 1, 26, 0.95));
  border: 1px solid rgba(167, 125, 255, 0.3);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 15px rgba(167, 125, 255, 0.3), 0 15px 30px rgba(40, 8, 87, 0.45);
}

.radio-center {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 33, 166, 0.95), rgba(212, 78, 235, 0.95));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(209, 102, 255, 0.45);
}

.radio-item {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: rgba(80, 33, 148, 0.85);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.radio-item.active,
.radio-item:hover {
  background: rgba(199, 119, 255, 0.95);
  transform: scale(1.1);
}

.radio-item:nth-child(2) { transform: translate(-78px, -92px); }
.radio-item:nth-child(3) { transform: translate(90px, -82px); }
.radio-item:nth-child(4) { transform: translate(98px, 78px); }
.radio-item:nth-child(5) { transform: translate(-88px, 90px); }

.radio-panels {
  min-height: 200px;
}

.radio-panel {
  display: none;
  background: rgba(16, 6, 34, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(145, 101, 247, 0.28);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.radio-panel.active {
  display: block;
}

.radio-panel h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.radio-panel pre {
  background: rgba(9, 3, 22, 0.85);
  border-radius: 12px;
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: rgba(225, 215, 255, 0.85);
  overflow-x: auto;
}

.intel-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
}

.intel-column {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(118, 61, 204, 0.3);
  padding: 1.8rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.tag-deck {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.tag-deck li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 4, 38, 0.92);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(138, 84, 255, 0.3);
  font-size: 0.9rem;
  color: rgba(228, 214, 255, 0.9);
  box-shadow: inset 0 0 12px rgba(118, 53, 193, 0.25);
}

.tag-deck span {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(199, 146, 255, 0.85);
}

.signal-cards {
  display: grid;
  gap: 0.9rem;
}

.signal-cards article {
  background: rgba(13, 3, 32, 0.9);
  border-radius: 14px;
  padding: 1.2rem;
  border: 1px solid rgba(146, 93, 247, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signal-cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(96, 64, 196, 0.35);
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--grid-gap);
}

.arsenal-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(20, 6, 43, 0.88);
  border: 1px solid rgba(160, 108, 255, 0.32);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.arsenal-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(194, 120, 255, 0.35), transparent 70%);
  top: var(--pointer-y, 20%);
  left: var(--pointer-x, 80%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.arsenal-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px rgba(146, 103, 255, 0.32);
}

.arsenal-card:hover::before {
  opacity: 0.65;
}

.arsenal-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.arsenal-card .category {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(235, 215, 255, 0.65);
}

.arsenal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.playbook-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.4rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(137, 85, 246, 0.28);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.playbook-nav {
  display: grid;
  background: rgba(16, 5, 36, 0.95);
}

.playbook-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
  text-align: left;
  border-bottom: 1px solid rgba(140, 95, 246, 0.2);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.playbook-tab.active,
.playbook-tab:hover {
  background: rgba(107, 33, 168, 0.35);
  color: white;
}

.playbook-panels {
  padding: 1.8rem;
}

.playbook-panel {
  display: none;
}

.playbook-panel.active {
  display: block;
}

.playbook-panel pre {
  background: rgba(10, 2, 28, 0.92);
  padding: 1.2rem;
  border-radius: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.87rem;
  color: rgba(228, 214, 255, 0.92);
  overflow-x: auto;
}

.playbook-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hud-feed {
  position: fixed;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  width: min(340px, 90vw);
  background: rgba(10, 4, 28, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(150, 106, 255, 0.35);
  box-shadow: 0 30px 50px rgba(23, 10, 60, 0.6);
  padding: 1.6rem;
  backdrop-filter: blur(18px);
  z-index: 60;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hud-header h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blink {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 18px rgba(255, 126, 229, 0.8);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hud-section {
  margin-bottom: 1.4rem;
}

.hud-section h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hud-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-height: 180px;
  overflow-y: auto;
}

.hud-list li {
  background: rgba(16, 5, 40, 0.88);
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(133, 91, 255, 0.25);
  font-size: 0.85rem;
  line-height: 1.4;
}

.hud-list a {
  color: var(--accent-strong);
  text-decoration: none;
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.hud-bonus {
  background: rgba(107, 40, 180, 0.15);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(179, 122, 255, 0.35);
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: rgba(212, 192, 255, 0.65);
  font-size: 0.85rem;
}

@media (max-width: 1080px) {
  .system-grid {
    grid-template-columns: 1fr;
  }

  .hud-feed {
    position: static;
    margin: 3rem auto 0;
    width: min(480px, 100%);
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    flex-direction: column;
    width: 220px;
    padding: 0.8rem;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-highlight {
    display: none;
  }

  .nav-trigger {
    display: inline-flex;
  }

  .header-banner {
    display: none;
  }
}

@media (max-width: 640px) {
  main {
    padding: 2rem 1.2rem 5rem;
  }

  .hero-visual {
    padding: 2rem;
  }

  .playbook-shell {
    grid-template-columns: 1fr;
  }

  .playbook-nav {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }

  .playbook-tab {
    text-align: center;
    border-bottom: none;
    border-right: 1px solid rgba(140, 95, 246, 0.2);
  }
}

/* HyperBoard particle twist */
.panel article,
.arsenal-card,
.signal-cards article {
  position: relative;
}

.panel article::before,
.signal-cards article::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(208, 132, 255, 0.4), transparent 70%);
  top: var(--pointer-y, -40px);
  left: var(--pointer-x, -40px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel article:hover::before,
.signal-cards article:hover::before {
  opacity: 0.55;
}

.panel article::after,
.arsenal-card::after,
.signal-cards article::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 120, 255, 0.4), transparent 65%);
  top: -40px;
  right: -40px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.panel article:hover::after,
.arsenal-card:hover::after,
.signal-cards article:hover::after {
  opacity: 0.65;
  transform: translate(-20px, 10px) scale(1.1);
}

.panel article:hover,
.signal-cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(111, 66, 255, 0.3);
}
