:root {
  --ink: #fbf7ff;
  --muted: #cabee1;
  --soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.18);
  --violet: #a855f7;
  --pink: #ff4fd8;
  --cyan: #42e8f3;
  --green: #bbf451;
  --night: #07050d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 5, 13, 0.08), var(--night) 76%),
    url("../img/background.jpg") center top / cover fixed;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 85, 247, 0.32), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(66, 232, 243, 0.18), transparent 30%),
    linear-gradient(115deg, rgba(7, 5, 13, 0.94), rgba(7, 5, 13, 0.48));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  top: 20px;
  right: clamp(18px, 4vw, 64px);
  left: clamp(18px, 4vw, 64px);
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7, 5, 13, 0.86), rgba(20, 13, 36, 0.58)),
    rgba(7, 5, 13, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    transform 180ms ease;
  animation: nav-drop 560ms ease both;
}

.topbar--scrolled {
  background:
    linear-gradient(90deg, rgba(7, 5, 13, 0.94), rgba(20, 13, 36, 0.78)),
    rgba(7, 5, 13, 0.88);
  transform: translateY(-6px);
}

.topbar__brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.topbar__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(66, 232, 243, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(66, 232, 243, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.06);
}

.topbar__mark img,
.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.75));
}

.topbar__name {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.topbar__name strong {
  color: var(--cyan);
  font-size: 0.68rem;
}

.topbar__name span {
  color: var(--ink);
  font-size: 1rem;
}

.topbar__nav,
.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar__nav a,
.topbar__nav button,
.social-links a {
  padding: 12px 14px;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.topbar__nav a:hover,
.topbar__nav button:hover,
.social-links a:hover {
  color: var(--ink);
  border-color: rgba(66, 232, 243, 0.24);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 138px clamp(18px, 6vw, 92px) 86px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  right: -10vw;
  bottom: 8vh;
  width: 58vw;
  height: 34vh;
  content: "";
  background: linear-gradient(110deg, rgba(255, 79, 216, 0.18), rgba(66, 232, 243, 0.22));
  transform: skewY(-9deg);
  filter: blur(2px);
  animation: neon-drift 7s ease-in-out infinite;
}

.hero__content {
  position: relative;
  max-width: 930px;
  animation: fade-up 700ms ease 120ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 8rem;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(168, 85, 247, 0.8),
    0 0 70px rgba(255, 79, 216, 0.3);
  animation: title-arrive 760ms ease 220ms both;
}

h2 {
  margin-bottom: 0;
  font-size: 4.6rem;
  line-height: 0.9;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.hero__copy,
.identity-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 950;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #100719;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 46px rgba(66, 232, 243, 0.24);
}

.button--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.hero__match {
  position: absolute;
  right: clamp(18px, 6vw, 92px);
  bottom: 42px;
  width: min(520px, calc(100% - 36px));
  padding: 18px 24px;
  border-left: 3px solid var(--green);
  background: linear-gradient(90deg, rgba(7, 5, 13, 0.86), rgba(7, 5, 13, 0.2));
  transform: skewX(-10deg);
  backdrop-filter: blur(10px);
  animation: match-slide 700ms ease 380ms both;
}

.hero__match > * {
  display: block;
  transform: skewX(10deg);
}

.hero__match span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero__match strong {
  margin: 5px 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hero__match p {
  margin: 0;
  color: var(--muted);
}

.pulse-line {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 76px);
  flex-wrap: wrap;
  padding: 22px clamp(18px, 5vw, 72px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 5, 13, 0.52);
  backdrop-filter: blur(10px);
}

.pulse-line span {
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
}

.social-strip {
  gap: 0;
  padding: 0 clamp(18px, 5vw, 72px);
  scroll-margin-top: 112px;
}

.social-strip a {
  min-height: 78px;
  flex: 1 1 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
  animation: strip-rise 520ms ease both;
  will-change: transform;
}

.social-strip a:nth-child(2) {
  animation-delay: 90ms;
}

.social-strip a:nth-child(3) {
  animation-delay: 180ms;
}

.social-strip a:last-child {
  border-right: 0;
}

.social-strip a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.social-strip svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-strip a:nth-child(2) svg path,
.social-strip a:nth-child(3) svg path,
.social-strip a:nth-child(3) svg circle {
  fill: currentColor;
  stroke: none;
}

.social-strip a:nth-child(1) svg {
  color: var(--pink);
}

.social-strip a:nth-child(2) svg {
  color: var(--cyan);
}

.section {
  padding: 96px clamp(18px, 6vw, 92px);
}

.section__heading {
  margin-bottom: 44px;
}

.roster-orbit {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 48px;
  align-items: stretch;
}

.player-card {
  position: relative;
  opacity: 0;
  grid-column: span 2;
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 14px 14px 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px 999px 32px 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(20, 13, 36, 0.68);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 260ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform, opacity;
}

.player-card:nth-child(6) {
  grid-column: 4 / span 2;
  margin-right: 16px;
}

.player-card:nth-child(7) {
  grid-column: 6 / span 2;
  margin-left: 16px;
}

.player-card:nth-child(even) {
  transform: translateY(46px);
}

.player-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(66, 232, 243, 0.12), transparent 62%);
  opacity: 0.8;
}

.player-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px 999px 22px 22px;
  background:
    radial-gradient(circle at 50% 36%, rgba(66, 232, 243, 0.22), transparent 62%),
    rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.player-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.48));
}

.player-card:nth-child(2) .player-card__image img {
  object-position: 32% center;
}

.player-card__role {
  position: relative;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 13px;
  color: #11091d;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.player-card h3,
.player-card p {
  position: relative;
}

.player-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.player-card--ready {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.player-card--ready:nth-child(even) {
  transform: translateY(28px);
}

.player-card--ready:hover {
  border-color: rgba(66, 232, 243, 0.58);
  transform: translateY(-8px);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.42), 0 0 34px rgba(66, 232, 243, 0.12);
}

.player-card--ready:nth-child(even):hover {
  transform: translateY(18px);
}

.player-card:nth-child(n + 6) {
  transform: translateY(18px);
}

.player-card--ready:nth-child(n + 6) {
  transform: translateY(0);
}

.player-card--ready:nth-child(n + 6):hover {
  transform: translateY(-8px);
}

.staff-section {
  padding-top: 124px;
}

.staff-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 80px);
}

.staff-member {
  position: relative;
  min-height: 230px;
  padding: 34px;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(7, 5, 13, 0.62);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.staff-member:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(66, 232, 243, 0.34), 0 30px 76px rgba(0, 0, 0, 0.42);
}

.staff-member::after {
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 210px;
  aspect-ratio: 1;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(187, 244, 81, 0.28), transparent 68%);
}

.staff-member span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.staff-member p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.identity-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}

.identity-copy {
  max-width: 780px;
}

.identity-marks {
  display: grid;
  gap: 14px;
}

.identity-marks div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.identity-marks strong {
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
}

.identity-marks span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.live-search {
  position: relative;
  max-width: 680px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(66, 232, 243, 0.26);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(7, 5, 13, 0.72);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(168, 85, 247, 0.12);
  overflow: hidden;
}

.live-search::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(66, 232, 243, 0.1) 44% 46%, transparent 48%),
    radial-gradient(circle at 10% 18%, rgba(255, 79, 216, 0.18), transparent 34%);
  pointer-events: none;
}

.live-search > * {
  position: relative;
}

.live-search__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.live-search__head div {
  display: grid;
  gap: 4px;
}

.live-search__head strong {
  color: var(--ink);
  text-transform: uppercase;
}

.live-search__kicker,
.live-player__role,
.live-player__meta,
.live-search__opgg {
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.live-search__kicker {
  color: var(--cyan);
}

.live-search__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.live-player {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.live-player--error {
  border-color: rgba(255, 79, 216, 0.34);
}

.live-player__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.live-player__name {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-player__role {
  color: var(--green);
}

.live-player__rank {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.live-player__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.live-player__live {
  color: var(--pink);
}

.live-player--loading {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 900;
}

.live-search__opgg {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 10px 13px;
  color: #100719;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 34px rgba(66, 232, 243, 0.16);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.live-search__opgg:hover {
  box-shadow: 0 18px 40px rgba(66, 232, 243, 0.24);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 6vw, 92px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 5, 13, 0.88);
}

.reveal-target {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.social-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 72px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.social-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.social-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(168, 85, 247, 0.36), transparent 34%),
    radial-gradient(circle at 78% 68%, rgba(66, 232, 243, 0.18), transparent 28%),
    rgba(7, 5, 13, 0.78);
  backdrop-filter: blur(14px);
}

.social-modal__panel {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(66, 232, 243, 0.26);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(10, 6, 18, 0.92);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 58px rgba(168, 85, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 260ms ease;
}

.social-modal.is-open .social-modal__panel {
  transform: translateY(0) scale(1);
}

.social-modal__panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(66, 232, 243, 0.12) 36% 38%, transparent 40%),
    radial-gradient(circle at 12% 18%, rgba(255, 79, 216, 0.18), transparent 28%);
  pointer-events: none;
}

.social-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.social-modal__close:hover {
  border-color: rgba(66, 232, 243, 0.38);
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}

.social-modal__mark,
.social-modal .eyebrow,
.social-modal h2,
.social-modal__links {
  position: relative;
}

.social-modal__mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  border: 1px solid rgba(66, 232, 243, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(66, 232, 243, 0.18), transparent 68%),
    rgba(255, 255, 255, 0.06);
}

.social-modal__mark img {
  width: 54px;
  filter: drop-shadow(0 0 26px rgba(168, 85, 247, 0.78));
}

.social-modal h2 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.social-modal__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.social-modal__links a {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px 14px;
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.social-modal__links a:hover {
  color: var(--ink);
  border-color: rgba(66, 232, 243, 0.42);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(66, 232, 243, 0.12);
  transform: translateY(-5px);
}

.social-modal__links svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-modal__links a:nth-child(1) svg {
  color: var(--pink);
}

.social-modal__links a:nth-child(2) svg {
  color: var(--cyan);
}

.social-modal__links a:nth-child(2) svg path,
.social-modal__links a:nth-child(3) svg path,
.social-modal__links a:nth-child(3) svg circle {
  fill: currentColor;
  stroke: none;
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-arrive {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes match-slide {
  from {
    opacity: 0;
    transform: translateX(24px) skewX(-10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) skewX(-10deg);
  }
}

@keyframes strip-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neon-drift {
  50% {
    transform: translate3d(-14px, 8px, 0) skewY(-9deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.site-footer p {
  margin: 0;
}

.admin-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-shell {
  width: min(720px, 100%);
}

.admin-panel {
  position: relative;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(66, 232, 243, 0.26);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(7, 5, 13, 0.84);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 58px rgba(168, 85, 247, 0.16);
  overflow: hidden;
}

.admin-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(66, 232, 243, 0.1) 38% 40%, transparent 42%),
    radial-gradient(circle at 14% 18%, rgba(255, 79, 216, 0.18), transparent 30%);
  pointer-events: none;
}

.admin-panel > * {
  position: relative;
}

.admin-panel__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-panel__brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.75));
}

.admin-panel h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form[hidden] {
  display: none;
}

.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-form label span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.admin-form input:focus {
  border-color: rgba(66, 232, 243, 0.48);
  box-shadow: 0 0 0 3px rgba(66, 232, 243, 0.12);
}

.admin-message {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--green);
  font-weight: 900;
}

.admin-message.is-error {
  color: var(--pink);
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-login-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.admin-login-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.admin-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(7, 5, 13, 0.5), rgba(7, 5, 13, 0.22)),
    radial-gradient(circle at 34% 20%, rgba(255, 79, 216, 0.18), transparent 30%),
    radial-gradient(circle at 74% 76%, rgba(66, 232, 243, 0.14), transparent 32%),
    rgba(7, 5, 13, 0.2);
  backdrop-filter: blur(7px);
}

.admin-login-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(66, 232, 243, 0.34);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(10, 6, 18, 0.96);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.62),
    0 0 64px rgba(168, 85, 247, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transform: translateY(22px) scale(0.96);
  transition: transform 260ms ease;
}

.admin-login-modal.is-open .admin-login-modal__panel {
  transform: translateY(0) scale(1);
}

.admin-login-modal__panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 30%, rgba(66, 232, 243, 0.14) 32% 34%, transparent 36%),
    radial-gradient(circle at 14% 20%, rgba(255, 79, 216, 0.2), transparent 30%);
  pointer-events: none;
}

.admin-login-modal__panel > * {
  position: relative;
}

.admin-login-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.admin-login-modal__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-login-modal__mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(66, 232, 243, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle, rgba(66, 232, 243, 0.2), transparent 66%),
    rgba(255, 255, 255, 0.07);
}

.admin-login-modal__mark img {
  width: 48px;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.78));
}

.admin-login-modal h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 9vw, 4.9rem);
  text-shadow:
    0 0 18px rgba(168, 85, 247, 0.72),
    0 0 54px rgba(66, 232, 243, 0.18);
}

.admin-login-modal__message {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-login-modal__message.is-error {
  color: var(--pink);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

@media (max-width: 1100px) {
  .hero__match {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .roster-orbit {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-card,
  .player-card:nth-child(6),
  .player-card:nth-child(7) {
    grid-column: auto;
    margin-inline: 0;
  }

  .player-card:nth-child(even),
  .player-card--ready:nth-child(even),
  .player-card--ready:nth-child(even):hover {
    transform: translateY(0);
  }

  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3.4rem;
  }
}

@media (max-width: 760px) {
  .topbar,
  .site-footer,
  .staff-flow,
  .identity-section {
    grid-template-columns: 1fr;
  }

  .topbar,
  .site-footer {
    align-items: flex-start;
    border-radius: 28px;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .topbar__nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 210px;
  }

  .roster-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-modal__links {
    grid-template-columns: 1fr;
  }

  .social-modal__links a {
    min-height: 86px;
    grid-template-columns: auto 1fr;
    align-content: center;
    justify-items: start;
    padding-inline: 22px;
  }

  .live-search__head {
    display: grid;
  }

  .live-search__grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    min-height: 220px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }
}

@media (max-width: 520px) {
  .topbar__nav,
  .social-links,
  .hero__actions {
    width: 100%;
  }

  .topbar__nav a,
  .topbar__nav button,
  .social-links a,
  .button {
    flex: 1 1 auto;
  }

  .hero {
    padding-top: 250px;
  }

  .roster-orbit {
    grid-template-columns: 1fr;
  }

  .player-card {
    min-height: 190px;
    border-radius: 42px;
  }

  .hero__match {
    animation: fade-up 700ms ease 380ms both;
    transform: none;
  }

  .hero__match > * {
    transform: none;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero__copy,
  .identity-copy p {
    font-size: 1rem;
  }
}
