* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --void: #0d1017;
  --void-2: #12151f;
  --steel: #151a24;
  --steel-2: #202737;
  --hairline: rgba(255, 255, 255, 0.1);
  --paper: #f4f7fb;
  --paper-rgb: 244, 247, 251;
  --ash: #a7b0c0;
  --ash-dim: #6d7688;
  --signal: #f5a623;
  --signal-rgb: 245, 166, 35;

  --fib: #a5b4fc;
  --fib-rgb: 165, 180, 252;
  --lspd: #60a5fa;
  --lspd-rgb: 96, 165, 250;
  --sahp: #e6b800;
  --sahp-rgb: 230, 184, 0;
  --gov: #c084fc;
  --gov-rgb: 192, 132, 252;
  --ng: #a3c65a;
  --ng-rgb: 163, 198, 90;
  --bio: #ff66dd;
  --bio-rgb: 255, 102, 221;
}

html {
  scroll-behavior: smooth;
}

body {
  --accent: var(--signal);
  --accent-dim: #d9901c;
  --accent-deep: #a46712;
  --accent-rgb: var(--signal-rgb);
  --badge: var(--paper);
  --badge-rgb: var(--paper-rgb);
  --bg-grad:
    radial-gradient(circle at 12% 0%, rgba(var(--accent-rgb), 0.16), transparent 34rem),
    linear-gradient(135deg, #0c111c 0%, #111723 52%, #080b12 100%);
  --card-bg: rgba(19, 24, 34, 0.92);
  --cmd-bg: rgba(28, 35, 49, 0.96);
  --cmd-bg-hover: rgba(38, 47, 64, 0.98);
  --text-body: var(--paper);
  --text-cmd: #f7f9fd;
  --text-muted: var(--ash);
  --logo-ring-radius: 50%;
  --logo-ring-style: solid;
  --logo-img-radius: 0;
  --logo-img-padding: 0;
  --logo-img-bg: transparent;
  --scroll-thumb-a: var(--accent);
  --scroll-thumb-b: var(--accent-deep);
  --scroll-track: rgba(5, 8, 14, 0.75);

  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-grad);
  color: var(--text-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.05;
  /* Removed mix-blend-mode and heavy fractal noise SVG to vastly improve performance and reduce lag */
  background: transparent;
}

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

button {
  font: inherit;
}

.vignette,
.glow-wash,
.grain-grid,
.scanlines {
  display: none !important;
}

.hud-frame span {
  position: fixed;
  width: 26px;
  height: 26px;
  border-color: rgba(var(--accent-rgb), 0.48);
  border-style: solid;
  border-width: 0;
  z-index: 5;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.hud-frame .tl {
  top: 18px;
  left: 18px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.hud-frame .tr {
  top: 18px;
  right: 18px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.hud-frame .bl {
  bottom: 18px;
  left: 18px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.hud-frame .br {
  right: 18px;
  bottom: 18px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.back-button:hover,
.back-button:focus-visible {
  background: rgba(var(--accent-rgb), 0.24);
  border-color: var(--accent);
  box-shadow: 0 6px 25px rgba(var(--accent-rgb), 0.34);
  outline: none;
  transform: translateX(-5px);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

header {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  grid-column: 1 / -1;
}

.logo-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 8px;
}

.logo-wrapper img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--logo-img-radius);
  background: var(--logo-img-bg);
  padding: var(--logo-img-padding);
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.5));
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.5));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.8));
    transform: scale(1.05);
  }
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px var(--logo-ring-style) rgba(var(--accent-rgb), 0.24);
  border-radius: var(--logo-ring-radius);
  animation: rotate-border 10s linear infinite;
}

@keyframes rotate-border {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

header h1 {
  margin-bottom: 15px;
  color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent) 52%, var(--accent-dim) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(var(--accent-rgb), 0.4));
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

@supports not (-webkit-background-clip: text) {
  header h1 {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.creator-tag {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  color: rgba(var(--accent-rgb), 0.9);
  backdrop-filter: blur(5px);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.container>p {
  width: 100%;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6;
}

.container>p strong {
  color: var(--badge);
}

.section {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease-out backwards;
}

.section:has(> .card ~ .card) {
  flex: 2 1 600px;
}

.section:has(> .card ~ .card ~ .card ~ .card) {
  flex: 1 1 100%;
}

.section:nth-child(1) {
  animation-delay: 0.1s;
}

.section:nth-child(2) {
  animation-delay: 0.2s;
}

.section:nth-child(3) {
  animation-delay: 0.3s;
}

.section:nth-child(4) {
  animation-delay: 0.4s;
}

.section:nth-child(5) {
  animation-delay: 0.5s;
}

.section:nth-child(6) {
  animation-delay: 0.6s;
}

.section:nth-child(7) {
  animation-delay: 0.7s;
}

.section:nth-child(8) {
  animation-delay: 0.8s;
}

.section:nth-child(9) {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.28);
  position: relative;
}

.section-header::after {
  display: none;
}

.section-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.5));
}

.section h2 {
  margin: 0;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.35);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.section>.card {
  flex: 1 1 280px;
  min-width: 0;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-opacity: 0;
}

.section>.card>* {
  position: relative;
  z-index: 2;
}

.section>.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.06),
      transparent 40%);
  opacity: var(--spotlight-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.section>.card:first-of-type {
  margin-bottom: 0;
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--accent-rgb), 0.15);
  transform: scale(1.02);
  --spotlight-opacity: 1;
}

.card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.card h3::before {
  display: none;
}

.card-title-text {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.card-title-text::before {
  content: '>';
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.card-badge {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid rgba(var(--badge-rgb), 0.42);
  border-radius: 999px;
  background: rgba(var(--badge-rgb), 0.14);
  color: var(--badge);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.command-line {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  background: var(--cmd-bg);
  color: var(--text-cmd);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.command-line::before {
  display: none;
}

.command-line:hover,
.command-line:focus-within {
  background: var(--cmd-bg-hover);
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.command-text {
  flex: 1;
  min-width: 0;
  color: var(--text-cmd);
  line-height: 1.5;
  overflow-wrap: anywhere;
  user-select: none;
}

.command-text .cmd-prefix {
  color: var(--badge);
  font-weight: 700;
}

.copy-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--paper);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: var(--accent);
  color: #ffffff;
  outline: none;
}

.copy-hint {
  flex-shrink: 0;
  color: rgba(var(--accent-rgb), 0.78);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.command-line:hover .copy-hint {
  color: var(--accent);
}

.command-line.copied-flash {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.52);
}

.command-line.copied-flash .copy-hint {
  color: #4ade80;
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  padding: 15px 20px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-note::before {
  content: '!';
  flex-shrink: 0;
  color: #fbbf24;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
}

.search-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 10px;
  position: relative;
  grid-column: 1 / -1;
}

.search-input {
  width: 100%;
  padding: 14px 45px 14px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  border-radius: 10px;
  background: rgba(22, 28, 40, 0.88);
  color: var(--paper);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input::placeholder {
  color: rgba(244, 247, 251, 0.48);
}

.search-input:focus {
  border-color: rgba(var(--accent-rgb), 0.56);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(var(--accent-rgb), 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  opacity: 0.65;
  font-size: 1.1rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.table-wrapper {
  margin-top: 20px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
}

th,
td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.14);
  color: var(--text-cmd);
  text-align: left;
}

th {
  background: rgba(12, 16, 24, 0.94);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tr {
  transition: background 0.25s ease;
}

tr:hover {
  background: rgba(var(--accent-rgb), 0.08);
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 8px;
  padding: 10px 15px 10px 30px;
  border-left: 3px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 6px;
  background: rgba(17, 22, 32, 0.72);
  color: var(--text-cmd);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

li::before {
  content: '>';
  position: absolute;
  left: 10px;
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: linear-gradient(180deg, var(--scroll-thumb-a), var(--scroll-thumb-b));
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--scroll-thumb-a));
}

@media (max-width: 768px) {
  .container {
    padding: 80px 15px 40px;
  }

  header h1 {
    font-size: 2.45rem;
    letter-spacing: 0.05em;
  }

  .section h2 {
    font-size: 1.35rem;
  }

  .command-line {
    align-items: flex-start;
  }

  .back-button {
    top: 15px;
    left: 15px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .logo-wrapper img {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 560px) {
  .card h3 {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-badge {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Background Paths Animation */
.background-paths {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.6;
}

.paths-svg {
  width: 100%;
  height: 100%;
}

.path-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 2;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: drawPath 20s linear infinite alternate, floatPath 12s ease-in-out infinite alternate;
}

.path-line.path-1 {
  stroke: rgba(var(--signal-rgb), 0.15);
  animation-delay: 0s, 0s;
  stroke-width: 3;
}

.path-line.path-2 {
  stroke: rgba(var(--lspd-rgb), 0.15);
  animation-delay: -4s, -2s;
}

.path-line.path-3 {
  stroke: rgba(var(--gov-rgb), 0.15);
  animation-delay: -8s, -4s;
}

.path-line.path-4 {
  stroke: rgba(var(--fib-rgb), 0.15);
  animation-delay: -12s, -6s;
}

.path-line.path-5 {
  stroke: rgba(var(--ng-rgb), 0.15);
  animation-delay: -16s, -8s;
}

@keyframes drawPath {
  0% {
    stroke-dashoffset: 3000;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes floatPath {
  0% {
    transform: translateY(-15px) scale(1);
  }

  100% {
    transform: translateY(15px) scale(1.05);
  }
}