/* takeout bento — "neon pixel arcade". Hard neon on near-black, CRT flavor. */

:root {
  --bg: #060309;
  --panel: rgba(16, 10, 30, 0.72);
  --panel-solid: #0f0a1c;
  --brd: rgba(120, 140, 200, 0.16);
  --text: #eef0ff;
  --muted: #9aa0c8;

  --cyan: #1ff0ff;
  --cyan-dk: #0b8fa0;
  --pink: #ff2e97;
  --pink-dk: #a01560;
  --green: #45ff8f;
  --green-dk: #1f9e54;
  --purple: #b15bff;
  --purple-dk: #6d2eb0;
  --gold: #ffd84d;
  --gold-dk: #b8951c;

  --r: 16px;
  --maxw: 1140px;
  --pix: "VT323", ui-monospace, monospace;
  --arcade: "Press Start 2P", "VT323", monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 90% at 50% -10%, #150a2a, var(--bg) 60%);
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}
/* keeps foreground text readable over the attract-mode reel */
.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
      120% 75% at 50% 30%,
      rgba(6, 3, 9, 0.82),
      rgba(6, 3, 9, 0.42) 55%,
      rgba(6, 3, 9, 0.72) 100%
    );
  transition: background 1.8s ease;
}
body.constellation-mode .veil {
  background: radial-gradient(
      120% 75% at 50% 30%,
      rgba(6, 3, 9, 0.72),
      rgba(6, 3, 9, 0.32) 55%,
      rgba(6, 3, 9, 0.55) 100%
    );
}

/* pixel eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--arcade);
  font-size: 0.6rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(31, 240, 255, 0.6);
}

/* NAV */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav__cube {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--pix);
  font-size: 1.2rem;
  color: var(--muted);
}
.nav__links a:not(.btn):hover {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(31, 240, 255, 0.7);
}

/* PRESSABLE ARCADE BUTTONS */
.btn {
  --sh: rgba(0, 0, 0, 0.5);
  --glow: transparent;
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
  box-shadow: 0 6px 0 var(--sh), 0 8px 26px -6px var(--glow);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--sh), 0 4px 16px -6px var(--glow);
}
.btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.btn--sm {
  padding: 9px 15px;
  font-size: 0.8rem;
  border-radius: 10px;
}
.btn--lime {
  background: var(--green);
  color: #04180b;
  --sh: var(--green-dk);
  --glow: rgba(69, 255, 143, 0.7);
}
.btn--ghost {
  background: var(--panel-solid);
  color: var(--text);
  --sh: #07030f;
  border: 1px solid var(--brd);
}

/* HERO */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 24px 44px;
  text-align: center;
}
.hud {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pix);
  font-size: 1.15rem;
  color: var(--text);
  background: rgba(69, 255, 143, 0.06);
  border: 1px solid rgba(69, 255, 143, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 28px;
}
.hud__blip {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: blink 1.2s steps(1) infinite;
}
.hud__tag {
  font-family: var(--arcade);
  font-size: 0.55rem;
  color: var(--green);
  letter-spacing: 0.05em;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.hero__title {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  font-weight: 800;
}
.wobble {
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 26px rgba(69, 255, 143, 0.7), 0 0 6px rgba(69, 255, 143, 0.9);
}
.hero:hover .wobble {
  animation: wobble 0.6s ease;
}
@keyframes wobble {
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}
.hero__sub {
  max-width: 600px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* SCOREBOARD */
.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  background: var(--panel);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.score {
  padding: 24px 16px;
  border-right: 1px solid var(--brd);
}
.score:last-child {
  border-right: none;
}
.score__num {
  font-family: var(--pix);
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--text);
  line-height: 1;
}
.score__num--live {
  color: var(--green);
  text-shadow: 0 0 18px rgba(69, 255, 143, 0.7);
}
.score__label {
  font-family: var(--arcade);
  color: var(--muted);
  font-size: 0.52rem;
  margin-top: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* SECTIONS */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px;
}
.section__head {
  margin-bottom: 36px;
}
.section__head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  position: relative;
  display: inline-block;
}
.section__head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 14px rgba(31, 240, 255, 0.7);
}
.section__head p {
  color: var(--muted);
  margin: 14px 0 0;
  font-family: var(--pix);
  font-size: 1.2rem;
}

/* GAME GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--panel-solid);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--cyan);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.card:nth-child(4n + 1) {
  border-top-color: var(--green);
}
.card:nth-child(4n + 2) {
  border-top-color: var(--pink);
}
.card:nth-child(4n + 3) {
  border-top-color: var(--cyan);
}
.card:nth-child(4n + 4) {
  border-top-color: var(--purple);
}
.card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.card:nth-child(4n + 1):hover {
  box-shadow: 0 22px 46px -20px rgba(69, 255, 143, 0.5);
}
.card:nth-child(4n + 2):hover {
  box-shadow: 0 22px 46px -20px rgba(255, 46, 151, 0.5);
}
.card:nth-child(4n + 3):hover {
  box-shadow: 0 22px 46px -20px rgba(31, 240, 255, 0.5);
}
.card:nth-child(4n + 4):hover {
  box-shadow: 0 22px 46px -20px rgba(177, 91, 255, 0.5);
}
.card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}
.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transition: transform 0.4s ease;
}
.card:hover .card__thumb img {
  transform: scale(1.07);
}
.card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 3, 9, 0.92));
}
.card__badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  font-family: var(--pix);
  font-size: 0.95rem;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(6, 3, 9, 0.85);
  border: 1px solid var(--brd);
  color: var(--text);
}
.card__live {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--pix);
  font-size: 1.05rem;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(6, 3, 9, 0.85);
  border: 1px solid rgba(69, 255, 143, 0.45);
  color: var(--green);
}
.card__live i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.2s steps(1) infinite;
}
.card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card__name {
  font-size: 1.22rem;
}
.card__detail {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.card__stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--brd);
  padding-top: 12px;
}
.card__stats b {
  display: block;
  font-family: var(--pix);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--cyan);
}
.card__stats span {
  font-family: var(--arcade);
  font-size: 0.5rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* STUDIOS */
.studios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.studio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--panel-solid);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 28px 22px;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.studio:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 140, 200, 0.45);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.studio__logo {
  height: 60px;
  display: grid;
  place-items: center;
}
.studio__logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.studio__wordmark {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--text);
}
.studio__name {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0;
}
.studio__role {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* STACK / LOADOUT — three grouped panels, one accent each */
/* Roblox leads on its own row; web + devops support it underneath. */
.loadout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  align-items: start;
}
.load {
  --accent: var(--cyan);
  position: relative;
  background: var(--panel-solid);
  border: 1px solid var(--brd);
  border-top: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 20px 22px 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.load:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--brd));
  border-top-color: var(--accent);
}
.load--green { --accent: var(--green); }
.load--cyan { --accent: var(--cyan); }
.load--pink { --accent: var(--pink); }
.load--gold { --accent: var(--gold); }

/* HERO PANEL — full width, brighter, bigger type */
.load--hero {
  grid-column: 1 / -1;
  padding: 30px 30px 30px;
  border-top-width: 4px;
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 60%
    ),
    var(--panel-solid);
  box-shadow: 0 0 60px -30px color-mix(in srgb, var(--accent) 70%, transparent);
}
.load--hero:hover {
  transform: none;
}
.load--hero .load__group {
  font-size: 2rem;
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}

.load__head {
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--brd);
}
.load__badge {
  display: inline-block;
  font-family: var(--arcade);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 999px;
  padding: 5px 9px 4px;
  margin-bottom: 10px;
}
.load__group {
  font-size: 1.05rem;
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.load__note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 52ch;
}

.load__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.load__list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--brd);
}
.load__list li:last-child {
  border-bottom: none;
}
.load__list b {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.load__list span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

/* Hero tools read as tiles, not a list */
.load__list--tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  padding-top: 20px;
}
.load__list--tiles li {
  padding: 16px 16px 17px;
  border: 1px solid var(--brd);
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.load__list--tiles b {
  font-family: "Unbounded", sans-serif;
  font-size: 1.15rem;
  color: var(--accent);
}

/* Web dev has the most tools, so it runs two abreast */
.load__list--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}
.load__list--split li:nth-last-child(2) {
  border-bottom: none;
}

/* ABOUT — player card */
.about__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.playercard {
  background: var(--panel);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.playercard__frame {
  aspect-ratio: 1;
  border: 3px solid var(--green);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 26px rgba(69, 255, 143, 0.4);
}
.playercard__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.playercard:hover .playercard__frame img {
  transform: scale(1.05);
}
.playercard__handle {
  font-family: var(--pix);
  font-size: 1.6rem;
  color: var(--text);
  margin-top: 16px;
  text-shadow: 0 0 14px rgba(69, 255, 143, 0.35);
}
.playercard__handle::after {
  content: "_";
  color: var(--green);
  animation: blink 1.1s steps(1) infinite;
}
.playercard__tag {
  font-family: var(--arcade);
  font-size: 0.5rem;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.playercard__stats {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.playercard__stats li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--brd);
  border-radius: 12px;
  padding: 14px 8px;
}
.playercard__stats b {
  display: block;
  font-family: var(--pix);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(31, 240, 255, 0.45);
}
.playercard__stats span {
  font-family: var(--arcade);
  font-size: 0.45rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.about__body {
  font-size: 1.1rem;
}
.about__body p {
  color: #d8d6f2;
  margin-top: 0;
}
.about__body strong {
  color: #fff;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags li {
  font-family: var(--pix);
  font-size: 1.1rem;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: default;
}
.tags li:hover {
  transform: translateY(-2px);
}
.tags li:nth-child(5n + 1) { color: var(--green); background: rgba(69, 255, 143, 0.1); }
.tags li:nth-child(5n + 1):hover { box-shadow: 0 0 16px rgba(69, 255, 143, 0.5); }
.tags li:nth-child(5n + 2) { color: var(--pink); background: rgba(255, 46, 151, 0.1); }
.tags li:nth-child(5n + 2):hover { box-shadow: 0 0 16px rgba(255, 46, 151, 0.5); }
.tags li:nth-child(5n + 3) { color: var(--cyan); background: rgba(31, 240, 255, 0.1); }
.tags li:nth-child(5n + 3):hover { box-shadow: 0 0 16px rgba(31, 240, 255, 0.5); }
.tags li:nth-child(5n + 4) { color: var(--purple); background: rgba(177, 91, 255, 0.1); }
.tags li:nth-child(5n + 4):hover { box-shadow: 0 0 16px rgba(177, 91, 255, 0.5); }
.tags li:nth-child(5n + 5) { color: var(--gold); background: rgba(255, 216, 77, 0.1); }
.tags li:nth-child(5n + 5):hover { box-shadow: 0 0 16px rgba(255, 216, 77, 0.5); }

/* CONTACT — arcade "continue" screen */
@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes ringspin {
  to { --ang: 360deg; }
}
.contact__card {
  position: relative;
  isolation: isolate;
  background: #0b0718;
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 50px -12px rgba(31, 240, 255, 0.35);
}
.contact__card::before {
  /* animated neon border ring */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 24px;
  padding: 2px;
  background: conic-gradient(from var(--ang), var(--green), var(--cyan), var(--pink), var(--purple), var(--gold), var(--green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringspin 6s linear infinite;
}
.contact__card .eyebrow {
  margin-bottom: 12px;
}
.contact__card h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}
.contact__card p {
  color: var(--muted);
  margin: 14px 0 30px;
}
.contact__links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__credit {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--arcade);
  font-size: 0.5rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.contact__prompt {
  display: block;
  margin-top: 26px;
  font-family: var(--pix);
  font-size: 1.25rem;
  color: var(--green);
  text-shadow: 0 0 12px rgba(69, 255, 143, 0.6);
  animation: blink 1.1s steps(1) infinite;
}

/* FOOTER */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 54px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--pix);
  font-size: 1.05rem;
  border-top: 1px solid var(--brd);
}

/* MOTION + ARCADE FX */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero > * {
  animation: heroIn 0.7s 2.1s both; /* waits for the boot screen to clear */
}
.hero > *:nth-child(2) { animation-delay: 2.18s; }
.hero > *:nth-child(3) { animation-delay: 2.26s; }
.hero > *:nth-child(4) { animation-delay: 2.34s; }
.hero > *:nth-child(5) { animation-delay: 2.42s; }

/* CRT scanlines over the whole page */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.16) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.3;
}

/* MARQUEE ticker */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  background: rgba(10, 6, 22, 0.6);
  backdrop-filter: blur(4px);
  padding: 13px 0;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--pix);
  font-size: 1.2rem;
  color: var(--text);
  padding: 0 22px;
}
.marquee__sep {
  color: var(--cyan);
  font-size: 0.8rem;
}

/* ARCADE BOOT SCREEN */
.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #04040a;
  display: grid;
  place-items: center;
  overflow: hidden;
  transform-origin: center;
  /* self-dismissing at ~2s (works even without JS / the reduced-motion fallback) */
  animation: bootOut 0.55s ease-in 2s both;
}
.boot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}
.boot__crt {
  width: min(560px, 84vw);
  transform-origin: center;
  animation: crtOn 0.55s ease-out both;
}
.boot__logo {
  font-family: var(--arcade);
  font-size: 0.9rem;
  color: var(--green);
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(69, 255, 143, 0.6);
  margin-bottom: 24px;
}
.boot__log {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-family: var(--pix);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--green);
}
.boot__log li {
  opacity: 0;
  white-space: pre;
  animation: lineIn 0.01s linear both;
}
.boot__log li:nth-child(1) { animation-delay: 0.55s; }
.boot__log li:nth-child(2) { animation-delay: 0.9s; }
.boot__log li:nth-child(3) { animation-delay: 1.25s; }
.boot__log b { color: var(--cyan); }
.boot__bar {
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 0 12px rgba(69, 255, 143, 0.4);
}
.boot__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 9px, transparent 9px 13px);
  animation: fill 1.35s steps(22) 0.55s both;
}
.boot__status {
  font-family: var(--arcade);
  font-size: 0.7rem;
  color: var(--green);
  text-shadow: 0 0 12px rgba(69, 255, 143, 0.7);
  opacity: 0;
  animation: statusBlink 0.8s steps(1, end) 1.6s infinite;
}
@keyframes crtOn {
  0% { transform: scaleY(0.005); opacity: 0; filter: brightness(3); }
  32% { transform: scaleY(0.005); opacity: 1; filter: brightness(3); }
  60% { transform: scaleY(1); filter: brightness(1.7); }
  100% { transform: scaleY(1); filter: brightness(1); }
}
@keyframes bootOut {
  0% { opacity: 1; transform: scaleY(1); }
  45% { opacity: 1; transform: scaleY(1); }
  72% { transform: scaleY(0.006); filter: brightness(3); opacity: 1; }
  100% { transform: scale(0, 0.006); opacity: 0; visibility: hidden; }
}
@keyframes fill { to { width: 100%; } }
@keyframes lineIn { to { opacity: 1; } }
@keyframes statusBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid,
  .studios,
  .loadout {
    grid-template-columns: repeat(2, 1fr);
  }
  .load--hero {
    padding: 24px 22px;
  }
  .load--hero .load__group {
    font-size: 1.6rem;
  }
  .about__grid {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
  .scoreboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .score:nth-child(2) {
    border-right: none;
  }
  .score:nth-child(1),
  .score:nth-child(2) {
    border-bottom: 1px solid var(--brd);
  }
}
@media (max-width: 620px) {
  .nav__links a:not(.btn) {
    display: none;
  }
  .grid,
  .studios,
  .loadout {
    grid-template-columns: 1fr;
  }
  .load__list--split {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .load__list--split li:nth-last-child(2) {
    border-bottom: 1px dashed var(--brd);
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .playercard {
    max-width: 340px;
    margin: 0 auto;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .boot {
    display: none !important; /* no boot animation to run, so hide it outright */
  }
}
