:root {
  --bg: #0a0908;
  --bg-2: #100d0c;
  --ink: #c5c1b8;
  --dim: #827c73;
  --faint: #534e47;
  --line: #26211d;
  --line-2: #181512;
  --red: #2fd6c4;
  --red-dim: #1f897c;
  --red-rgb: 47, 214, 196;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 65% at 50% 42%,
    transparent 45%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
/* faint CRT scanlines */
.crt {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.16) 3px,
    rgba(0, 0, 0, 0) 4px
  );
  mix-blend-mode: multiply;
}
#chart {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* viewport HUD frame */
.cnr {
  position: fixed;
  width: 22px;
  height: 22px;
  z-index: 4;
  pointer-events: none;
  border: 1.5px solid var(--red);
  filter: drop-shadow(0 0 4px rgba(var(--red-rgb), 0.5));
  animation: cnrin 0.7s 0.15s both;
}
@keyframes cnrin {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tl {
  top: 13px;
  left: 13px;
  border-right: 0;
  border-bottom: 0;
}
.tr {
  top: 13px;
  right: 13px;
  border-left: 0;
  border-bottom: 0;
}
.bl {
  bottom: 13px;
  left: 13px;
  border-right: 0;
  border-top: 0;
}
.br {
  bottom: 13px;
  right: 13px;
  border-left: 0;
  border-top: 0;
}
.etag {
  position: fixed;
  z-index: 4;
  pointer-events: none;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--faint);
  text-transform: uppercase;
  animation: fade 1s 0.5s both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.et-tl {
  top: 17px;
  left: 46px;
}
.et-tr {
  top: 17px;
  right: 46px;
  color: var(--red);
}
.et-bl {
  bottom: 17px;
  left: 46px;
}
.et-br {
  bottom: 17px;
  right: 46px;
  color: var(--dim);
}
.vol {
  color: var(--red);
}
.dotpulse {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 6px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* layout */
.wrap {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 30px 70px;
}
.reveal {
  animation: rise 0.7s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* status strip */
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  margin-bottom: 40px;
}
.status .r {
  color: var(--red);
}

/* hero */
.kicker {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
h1 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 7.5vw, 62px);
  line-height: 1;
  letter-spacing: 0.24em;
  color: #aeaaa2;
  cursor: default;
}
.sub {
  margin-top: 14px;
  font-size: clamp(10px, 2.4vw, 12.5px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red-dim);
}
.hbar {
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin: 22px 0 4px;
  transform-origin: left;
  animation: draw 0.8s 0.35s both;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* section module */
.mod {
  margin-top: 46px;
}
.mod-h {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.mod-mark {
  width: 0;
  height: 0;
  flex-shrink: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--red);
  filter: drop-shadow(0 0 4px rgba(var(--red-rgb), 0.6));
}
.mod-t {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.mod-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.mod-rule::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--red-rgb), 0.7),
    transparent
  );
  animation: slide 4.5s linear infinite;
}
@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}
.mod-ix {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
  flex-shrink: 0;
}

/* capability rows */
.cap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line-2);
}
.cap:last-child {
  border-bottom: 0;
}
.cap-ix {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  width: 22px;
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.cap-t {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.cap:hover {
  background: rgba(var(--red-rgb), 0.04);
}

/* community */
.comm {
  font-size: 13px;
  line-height: 1.65;
  color: #b0aca3;
  padding: 2px 6px;
}
.hud-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red-dim);
  padding: 8px 14px;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.hud-link:hover {
  background: rgba(var(--red-rgb), 0.1);
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(var(--red-rgb), 0.25);
}

/* achievements */
.rec {
  border-bottom: 1px solid var(--line-2);
}
.rec:first-child {
  border-top: 1px solid var(--line-2);
}
.rec-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.rec-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.2s;
  box-shadow: 0 0 8px var(--red);
}
.rec:hover .rec-head {
  background: rgba(var(--red-rgb), 0.05);
}
.rec:hover .rec-head::before,
.rec.open .rec-head::before {
  transform: scaleY(1);
}
.rec-ix {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
  flex-shrink: 0;
}
.rec-date {
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.rec-badge {
  flex-shrink: 0;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red);
  border: 1px solid var(--red-dim);
  padding: 2px 5px;
  line-height: 1;
  box-shadow: 0 0 8px rgba(var(--red-rgb), 0.18) inset;
}
.rec-title {
  flex: 1;
  min-width: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
}
.rec-x {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  position: relative;
}
.rec-x::before,
.rec-x::after {
  content: '';
  position: absolute;
  background: var(--red-dim);
  transition:
    transform 0.3s,
    opacity 0.3s,
    background 0.2s;
}
.rec-x::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 1.5px;
}
.rec-x::after {
  left: 6px;
  top: 0;
  width: 1.5px;
  height: 13px;
}
.rec:hover .rec-x::before,
.rec:hover .rec-x::after {
  background: var(--red);
}
.rec.open .rec-x::after {
  transform: scaleY(0);
  opacity: 0;
}
.rec.open .rec-x::before {
  background: var(--red);
}
.rec-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.rec-body-in {
  padding: 2px 6px 17px 24px;
}
.feat {
  font-size: 12.5px;
  line-height: 1.6;
  color: #bdb8b0;
  padding: 3px 0 3px 16px;
  position: relative;
}
.feat::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--red);
  font-size: 10px;
}
.feat b {
  color: var(--ink);
  font-weight: 700;
}
.rec-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red-dim);
  padding-bottom: 2px;
}
.rec-link:hover {
  border-color: var(--red);
}

/* footer */
.foot {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-id {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-links {
  display: flex;
  gap: 9px;
}
.foot-links a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 7px 12px;
  transition:
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.foot-links a:hover {
  color: var(--red);
  border-color: var(--red-dim);
  box-shadow: 0 0 12px rgba(var(--red-rgb), 0.2);
}

@media (max-width: 560px) {
  .wrap {
    padding: 54px 20px 60px;
  }
  .etag {
    display: none;
  }
  .rec-body-in {
    padding-left: 16px;
  }
  .rec-ix {
    display: none;
  }
}
