/* =========================================================
   XTREMEX — section architecture
   ========================================================= */

/* ---------- Manifesto / artifact ---------- */

.manifesto {
  background:
    radial-gradient(circle at 20% 34%, rgba(216, 255, 63, 0.035), transparent 28%),
    var(--bg);
  overflow: hidden;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.artifact-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(400px, 43vw, 620px);
  perspective: 1200px;
}

.artifact {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.artifact__aura {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 63, 0.2), rgba(216, 255, 63, 0.03) 38%, transparent 70%);
  filter: blur(30px);
  animation: auraBreathe 5s ease-in-out infinite;
}

@keyframes auraBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 1; }
}

.artifact__ring {
  position: absolute;
  border: 1px solid rgba(241, 240, 232, 0.14);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.artifact__ring::before,
.artifact__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(216, 255, 63, 0.9);
}

.artifact__ring--one {
  inset: 3%;
  transform: rotateX(68deg) rotateZ(10deg);
  animation: artifactRingOne 24s linear infinite;
}

.artifact__ring--one::before {
  top: 8%;
  left: 28%;
  width: 4px;
  height: 4px;
}

.artifact__ring--one::after {
  right: 18%;
  bottom: 7%;
  width: 2px;
  height: 2px;
}

.artifact__ring--two {
  inset: 10%;
  border-color: rgba(216, 255, 63, 0.24);
  transform: rotateX(27deg) rotateY(61deg) rotateZ(-20deg);
  animation: artifactRingTwo 18s linear infinite;
}

.artifact__ring--two::before {
  top: 16%;
  right: 13%;
  width: 3px;
  height: 3px;
}

.artifact__ring--two::after {
  left: 8%;
  bottom: 28%;
  width: 2px;
  height: 2px;
}

.artifact__ring--three {
  inset: 22%;
  border-style: dashed;
  border-color: rgba(241, 240, 232, 0.14);
  transform: rotateY(74deg) rotateZ(35deg);
  animation: artifactRingThree 30s linear infinite reverse;
}

@keyframes artifactRingOne {
  to { transform: rotateX(68deg) rotateZ(370deg); }
}
@keyframes artifactRingTwo {
  to { transform: rotateX(27deg) rotateY(61deg) rotateZ(340deg); }
}
@keyframes artifactRingThree {
  to { transform: rotateY(74deg) rotateZ(395deg); }
}

.artifact__satellite {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(216, 255, 63, 0.55), inset 0 0 6px rgba(216, 255, 63, 0.6);
  transform: translateZ(80px);
}

.artifact__satellite::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--acid);
  opacity: 0.8;
}

.artifact__satellite--one {
  top: 16%;
  right: 15%;
  animation: satelliteFloat 5s ease-in-out infinite;
}

.artifact__satellite--two {
  left: 10%;
  bottom: 24%;
  width: 5px;
  height: 5px;
  animation: satelliteFloat 6s ease-in-out infinite reverse;
}

@keyframes satelliteFloat {
  0%, 100% { transform: translate3d(0, 0, 80px); }
  50% { transform: translate3d(8px, -12px, 120px); }
}

.artifact__disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39%;
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 100px);
  transform-style: preserve-3d;
  animation: discFloat 7s ease-in-out infinite;
}

@keyframes discFloat {
  0%, 100% { transform: translate3d(-50%, -50%, 100px) rotateZ(-3deg); }
  50% { transform: translate3d(-50%, -54%, 130px) rotateZ(4deg); }
}

.artifact__disc-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, 0.95) 0 1.5%, transparent 5%),
    conic-gradient(from 210deg, #f8f8ef 0deg, #82857f 28deg, #fdfdf6 55deg, #1a1b19 90deg, #a6a9a2 125deg, #ffffff 160deg, #242623 200deg, #d3d5cc 235deg, #3b3d39 270deg, #f1f1e8 305deg, #4d504b 340deg, #f8f8ef 360deg);
  box-shadow:
    inset -28px -24px 55px rgba(0, 0, 0, 0.58),
    inset 18px 15px 34px rgba(255, 255, 255, 0.45),
    0 45px 90px rgba(0, 0, 0, 0.75),
    0 0 70px rgba(216, 255, 63, 0.08);
}

.artifact__disc-face::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 8px rgba(0, 0, 0, 0.08);
}

.artifact__disc-face::after {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 255, 63, 0.09), transparent 40%),
    #0b0c0d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 8px 22px rgba(0, 0, 0, 0.9), inset 0 -2px 6px rgba(255, 255, 255, 0.08);
}

.artifact__disc-face .artifact__logo {
  position: relative;
  z-index: 2;
  width: 54%;
  height: 54%;
  object-fit: contain;
}

.artifact__disc-face span {
  position: absolute;
  left: 50%;
  bottom: 21%;
  z-index: 2;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.3em;
  color: rgba(241, 240, 232, 0.5);
}

.artifact__coord {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  white-space: nowrap;
}

.artifact__coord::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--line);
}

.artifact__coord--a { top: 22%; left: -3%; }
.artifact__coord--b { right: -2%; top: 56%; }
.artifact__coord--c { bottom: 13%; left: 18%; }

.manifesto__copy {
  max-width: 760px;
}

.manifesto__copy h2 {
  margin-bottom: clamp(32px, 4vw, 54px);
}

.manifesto__lead {
  max-width: 640px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(241, 240, 232, 0.86);
}

.manifesto__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.manifesto__cols p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

.manifesto__copy .text-link {
  margin-top: 38px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 9vw, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-block {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 0 8px;
  padding: 34px clamp(16px, 2.5vw, 38px);
  border-right: 1px solid var(--line);
}

.stat-block:first-child {
  padding-left: 0;
}

.stat-block:last-child {
  border-right: 0;
}

.stat-block__value {
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--bone);
}

.stat-block__suffix {
  align-self: end;
  padding-bottom: 7px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--acid);
}

.stat-block__label {
  grid-column: 1 / -1;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.55;
  letter-spacing: 0.15em;
  color: var(--muted-2);
}

/* ---------- Roster ---------- */

.roster {
  background:
    radial-gradient(ellipse at 50% 56%, rgba(255, 255, 255, 0.025), transparent 38%),
    #090a0b;
  overflow: hidden;
}

.roster__ghost {
  position: absolute;
  top: 9%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: clamp(12rem, 27vw, 34rem);
  line-height: 0.75;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 240, 232, 0.12);
  opacity: 0.8;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.5s;
  white-space: nowrap;
}

.roster__head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: end;
  position: relative;
  z-index: 2;
}

.roster__head-copy {
  max-width: 420px;
  justify-self: end;
  padding-bottom: 8px;
}

.roster__head-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

.roster__legend {
  display: flex;
  gap: 26px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.roster__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.legend-ring {
  width: 11px;
  height: 11px;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
}

.squad-stage {
  position: relative;
  height: clamp(460px, 43vw, 610px);
  margin-top: clamp(30px, 4vw, 60px);
  perspective: 1500px;
  perspective-origin: 50% 45%;
  transform-style: preserve-3d;
  z-index: 2;
  touch-action: pan-y;
  user-select: none;
}

.squad-stage__grid {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  height: 42%;
  background-image:
    linear-gradient(rgba(241, 240, 232, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 232, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(68deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 90%);
  opacity: 0.3;
  pointer-events: none;
}

.squad-stage__floor {
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: min(760px, 72%);
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(216, 255, 63, 0.13), transparent 68%);
  filter: blur(15px);
  pointer-events: none;
}

.squad-cards {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.player-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(238px, 21vw, 294px);
  aspect-ratio: 0.705;
  overflow: hidden;
  background: #111214;
  border: 1px solid rgba(241, 240, 232, 0.17);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  opacity: 0;
  cursor: grab;
  will-change: transform, filter, opacity;
  outline: none;
}

.player-card:active {
  cursor: grabbing;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--player-accent);
  mix-blend-mode: color;
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.5s;
}

.player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.04) 0%, transparent 35%, rgba(3, 4, 5, 0.36) 62%, #070809 100%);
  pointer-events: none;
}

.player-card.is-active::before {
  opacity: 0.35;
}

.player-card.is-active {
  border-color: color-mix(in srgb, var(--player-accent) 55%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--player-accent) 18%, transparent),
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 70px color-mix(in srgb, var(--player-accent) 12%, transparent);
}

.player-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #191a1c;
}

.player-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.12) 50%, transparent 74%);
  mix-blend-mode: screen;
  opacity: 0.22;
  pointer-events: none;
}

.player-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.25) brightness(0.66);
  transform: scale(1.045);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}

.player-card.is-active .player-card__media img {
  filter: grayscale(0.25) contrast(1.1) brightness(0.86) saturate(0.8);
  transform: scale(1);
}

.player-card__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.18) 3px 4px);
  opacity: 0.38;
  pointer-events: none;
}

.player-card__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.player-card__top {
  position: absolute;
  top: 17px;
  left: 17px;
  right: 17px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.player-card__num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 240, 232, 0.72);
}

.player-card__country {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(241, 240, 232, 0.32);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--bone);
  backdrop-filter: blur(8px);
}

.player-card__side {
  position: absolute;
  top: 94px;
  right: 13px;
  z-index: 5;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.22em;
  color: rgba(241, 240, 232, 0.36);
}

.player-card__bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 5;
}

.player-card__role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--player-accent);
}

.player-card__role::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}

.player-card__tag {
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.player-card__name {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(241, 240, 232, 0.5);
}

.player-card__corner {
  position: absolute;
  z-index: 6;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.player-card__corner--tl {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--player-accent);
  border-left: 1px solid var(--player-accent);
}

.player-card__corner--br {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid var(--player-accent);
  border-bottom: 1px solid var(--player-accent);
}

.squad-stage__hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  pointer-events: none;
}

.squad-stage__hint svg {
  width: 34px;
  height: 14px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1;
}

.roster__rail {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roster__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roster__count {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.roster__count b {
  color: var(--bone);
  font-weight: 400;
}

.roster__identity {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 0 18px;
  text-align: center;
}

.roster__role {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: var(--acid);
}

.roster__name {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.roster__country {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.roster__identity .text-link {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
  font-size: 8px;
  color: var(--muted);
}

.roster__metrics {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 48px);
}

.roster__metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.roster__metrics span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--muted-2);
}

.roster__metrics strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

/* Live-roster additions: monogram cards and the empty state. */
[hidden] {
  display: none !important;
}

.squad-stage.is-empty .squad-stage__hint {
  display: none;
}

.roster-empty {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  text-align: center;
}

.roster-empty__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.roster-empty__copy {
  max-width: 44ch;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.roster-empty .button {
  margin-top: 10px;
}

.player-card__media--live {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--player-accent) 20%, #16181b), #0a0b0d 72%);
}

.player-card__monogram {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--player-accent) 62%, #ffffff 38%);
  opacity: 0.9;
  text-shadow: 0 0 34px color-mix(in srgb, var(--player-accent) 30%, transparent);
}

.roster__metrics strong {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---------- Divisions ---------- */

.divisions {
  background: var(--bg-soft);
  overflow: hidden;
}

.divisions__head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(50px, 6vw, 84px);
}

.divisions__head p {
  max-width: 370px;
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

.games-rail {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 44px);
  margin-bottom: clamp(34px, 4vw, 58px);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.games-rail__label {
  flex: none;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--acid);
}

.games-rail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.games-rail__list span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(241, 240, 232, 0.025);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--bone);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
}

.games-rail__list span:hover {
  border-color: var(--acid);
  background: var(--acid-soft);
  color: var(--acid);
  transform: translateY(-2px);
}

.division-list {
  border-top: 1px solid var(--line);
}

.division {
  position: relative;
  display: block;
  min-height: 152px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, border-color 0.4s, background 0.4s;
  transform-style: preserve-3d;
}

.division::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--game-accent) 9%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
}

.division__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
  overflow: hidden;
}

.division__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.55);
  opacity: 0.2;
  transform: scale(1.08);
  transition: opacity 0.6s, transform 0.9s var(--ease), filter 0.6s;
}

.division__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg-soft) 24%, rgba(10, 11, 12, 0.8) 54%, rgba(10, 11, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.25), rgba(10, 11, 12, 0.75));
  pointer-events: none;
}

.division__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 70px minmax(320px, 1.5fr) minmax(100px, 0.42fr) minmax(100px, 0.42fr) 56px;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 152px;
  padding: 22px clamp(10px, 1.6vw, 26px);
  transform: translateZ(34px);
}

.division__index {
  align-self: start;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--game-accent);
}

.division__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.division__game {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.3vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: color 0.35s, transform 0.45s var(--ease);
}

.division__meta {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.division__record {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.division__record span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.division__record strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

.division__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.45s var(--ease);
}

.division__arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.division:hover {
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(241, 240, 232, 0.24);
}

.division:hover::before {
  opacity: 1;
}

.division:hover .division__media img {
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(0.45) contrast(1.1) brightness(0.65);
}

.division:hover .division__game {
  color: var(--game-accent);
  transform: translateX(8px);
}

.division:hover .division__arrow {
  background: var(--game-accent);
  border-color: var(--game-accent);
  color: #070809;
  transform: rotate(45deg);
}

/* ---------- Matches ---------- */

.matches {
  background: #070809;
  overflow: hidden;
}

.matches__glow {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 63, 0.07), transparent 68%);
  pointer-events: none;
}

.matches__head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(46px, 6vw, 76px);
}

.countdown {
  justify-self: end;
  min-width: 340px;
}

.matches__status {
  justify-self: end;
  max-width: 380px;
  text-align: right;
}

.matches__status .countdown__label {
  margin-bottom: 16px;
}

.matches__status-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.matches__status-copy {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.countdown__label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.countdown__label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.countdown__clock {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
}

.countdown__clock div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 54px;
}

.countdown__clock b {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.3vw, 3.4rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown__clock span {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.17em;
  color: var(--muted-2);
}

.countdown__colon {
  padding-top: 0.1em;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--acid);
}

.match-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.match-tab {
  position: relative;
  padding: 0 22px 17px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  transition: color 0.3s;
}

.match-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.match-tab span {
  margin-left: 5px;
  color: var(--muted-2);
  font-size: 7px;
}

.match-tab:hover,
.match-tab.is-active {
  color: var(--bone);
}

.match-tab.is-active::after {
  transform: scaleX(1);
}

.match-tab.is-active span {
  color: var(--acid);
}

.match-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(34px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.match-empty__title {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.match-empty__copy {
  max-width: 58ch;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.match-empty__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}

.match-list {
  display: flex;
  flex-direction: column;
}

.match-row {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(180px, 0.9fr) minmax(300px, 1.1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 118px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, padding 0.35s;
}

.match-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--acid);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}

.match-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.match-row:hover::before {
  transform: scaleY(1);
}

.match-row__date {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 9px;
  width: max-content;
}

.match-row__date span {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--acid);
}

.match-row__date strong {
  grid-column: 2;
  grid-row: 1 / 3;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: 0.02em;
}

.match-row__date small {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.match-row__event {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-row__event span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: rgba(241, 240, 232, 0.8);
}

.match-row__event small {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.match-row__versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.match-row__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}

.match-row__team:last-child {
  justify-content: flex-start;
}

.match-row__team strong {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.team-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
}

.team-mark--xtreme {
  background: var(--acid);
  border-color: var(--acid);
  color: #070809;
}

.team-mark--sentinel { color: #ff5d4a; }
.team-mark--loud { color: #a5ff48; }
.team-mark--drx { color: #67b7ff; }
.team-mark--g2 { color: #c9c9c9; }
.team-mark--t1 { color: #ff3b3b; }
.team-mark--prx { color: #9cff57; }

.match-row__vs {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.match-row__vs--score {
  color: var(--bone);
  font-size: 12px;
  white-space: nowrap;
}

.match-row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.match-row__format {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.add-cal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.add-cal:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: #070809;
}

.add-cal span {
  font-size: 12px;
  line-height: 1;
}

.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  background: rgba(241, 240, 232, 0.06);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  transition: background 0.3s, color 0.3s;
}

.watch-link svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.watch-link:hover {
  background: var(--bone);
  color: #070809;
}

.result-pill {
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.result-pill--win {
  background: rgba(216, 255, 63, 0.12);
  color: var(--acid);
  border: 1px solid rgba(216, 255, 63, 0.22);
}

/* ---------- Drop ---------- */

.drop {
  background:
    radial-gradient(circle at 76% 52%, rgba(216, 255, 63, 0.07), transparent 28%),
    #0a0b0c;
  overflow: hidden;
}

.drop__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.drop__copy {
  position: relative;
  z-index: 2;
}

.drop__copy > p {
  max-width: 400px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

.drop__swatches {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.swatch {
  position: relative;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid rgba(241, 240, 232, 0.2);
  border-radius: 50%;
  background: var(--swatch);
  transition: transform 0.25s, border-color 0.25s;
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.swatch:hover {
  transform: scale(1.12);
}

.swatch.is-active {
  border-color: var(--bone);
  transform: scale(1.16);
}

#swatch-label {
  margin-left: 8px;
}

.drop__buy {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.drop__price {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: auto;
}

.drop__price span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}

.drop__price strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
}

.drop__price strong .drop__amount {
  font-family: var(--display);
  font-size: clamp(26px, 6vw, 38px);
  letter-spacing: 0;
  line-height: 1;
  color: inherit;
}

.drop__price strong .drop__ccy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--muted);
}

.drop__billing {
  font-family: var(--mono);
  font-style: normal;
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  max-width: 34ch;
}

.drop__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.drop__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(500px, 48vw, 660px);
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.035), transparent 55%);
  background-size: 56px 56px, 56px 56px, auto;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.4s;
}

.drop__stage:hover {
  border-color: rgba(241, 240, 232, 0.22);
}

.drop__stage::before,
.drop__stage::after {
  content: "+";
  position: absolute;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
}
.drop__stage::before {
  top: 13px;
  left: 16px;
}
.drop__stage::after {
  right: 16px;
  bottom: 13px;
}

.drop__stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--jersey-accent, #d8ff3f) 28%, transparent), transparent 66%);
  filter: blur(40px);
  animation: auraBreathe 5s ease-in-out infinite;
}

.drop__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(241, 240, 232, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.drop__orbit--a {
  width: 70%;
  aspect-ratio: 1;
  margin: -35% 0 0 -35%;
  transform: rotateX(70deg) rotateZ(12deg);
  animation: orbitSpinA 22s linear infinite;
}

.drop__orbit--b {
  width: 55%;
  aspect-ratio: 1;
  margin: -27.5% 0 0 -27.5%;
  border-color: rgba(216, 255, 63, 0.16);
  transform: rotateX(63deg) rotateY(25deg) rotateZ(-14deg);
  animation: orbitSpinB 16s linear infinite reverse;
}

.drop__vertical {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.jersey {
  position: relative;
  z-index: 2;
  width: min(90%, 600px);
  transform: translateZ(70px) rotateZ(-3deg);
  animation: jerseyFloat 6s ease-in-out infinite;
  cursor: pointer;
  outline: none;
}

.jersey:focus-visible .jersey__frame {
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 2px var(--jersey-accent, #d8ff3f);
}

@keyframes jerseyFloat {
  0%, 100% { transform: translateZ(70px) translateY(0) rotateZ(-3deg); }
  50% { transform: translateZ(90px) translateY(-14px) rotateZ(-1deg); }
}

.jersey__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 10, 0.16);
  background:
    radial-gradient(130% 110% at 50% 16%, #ffffff 0%, #f6f5f1 44%, #e1dfd7 100%);
  box-shadow:
    0 46px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(216, 255, 63, 0.1),
    inset 0 0 60px rgba(0, 0, 0, 0.05);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.jersey__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 10, 11, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 10, 11, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mix-blend-mode: multiply;
}

.jersey__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.18);
}

.jersey__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.jersey__image.is-opaque {
  -webkit-mask-image: radial-gradient(ellipse 76% 80% at 50% 50%, #000 60%, rgba(0, 0, 0, 0.45) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 80% at 50% 50%, #000 60%, rgba(0, 0, 0, 0.45) 86%, transparent 100%);
}

.jersey__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jersey__scan {
  position: absolute;
  top: -20%;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 26%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(216, 255, 63, 0.4) 34%,
    rgba(255, 255, 255, 0.85) 52%,
    rgba(102, 92, 255, 0.35) 68%,
    transparent
  );
  mix-blend-mode: screen;
}

.jersey__shards {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.jersey__shards::before,
.jersey__shards::after {
  content: "";
  position: absolute;
  left: -6%;
  width: 112%;
  background: rgba(255, 255, 255, 0.55);
  mix-blend-mode: overlay;
}

.jersey__shards::before {
  top: 30%;
  height: 13%;
}

.jersey__shards::after {
  top: 62%;
  height: 8%;
  background: rgba(216, 255, 63, 0.45);
}

.jersey.is-morphing .jersey__scan {
  animation: jerseyScan 820ms linear;
}

.jersey.is-morphing .jersey__shards {
  opacity: 1;
  animation: jerseyShards 820ms steps(3, end);
}

.jersey.is-morphing .jersey__image {
  animation: jerseyMorph 900ms steps(2, end) both;
}

@keyframes jerseyScan {
  0% { top: -24%; opacity: 0; }
  12% { opacity: 0.95; }
  100% { top: 104%; opacity: 0; }
}

@keyframes jerseyShards {
  0% { transform: translateX(0); opacity: 1; }
  25% { transform: translateX(-2.5%); }
  50% { transform: translateX(1.8%); }
  100% { transform: translateX(0); opacity: 0; }
}

@keyframes jerseyMorph {
  0% {
    opacity: 0.2;
    transform: scale(1.07) translateY(8px);
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3)) hue-rotate(0deg) saturate(1);
  }
  16% {
    opacity: 0.92;
    transform: scale(1.015) translateY(0);
  }
  24% {
    opacity: 0.45;
    transform: scale(1.035) translateX(7px);
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3)) hue-rotate(80deg) saturate(1.8);
  }
  34% {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3)) hue-rotate(0deg) saturate(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.jersey__index,
.jersey__name,
.jersey__hint,
.jersey__timer {
  position: absolute;
  z-index: 5;
  padding: 4px 8px;
  background: rgba(248, 248, 245, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.jersey__index {
  top: 14px;
  right: 16px;
  color: rgba(9, 10, 11, 0.72);
}

.jersey__timer {
  top: 14px;
  left: 16px;
  color: rgba(9, 10, 11, 0.62);
}

.jersey__name {
  bottom: 14px;
  left: 16px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #0a0b0c;
}

.jersey__hint {
  bottom: 14px;
  right: 16px;
  color: rgba(9, 10, 11, 0.7);
  animation: jerseyHint 2.6s ease-in-out infinite;
}

@keyframes jerseyHint {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}

.jersey__tag {
  position: absolute;
  z-index: 5;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--jersey-accent, #d8ff3f) 35%, transparent);
  background: rgba(7, 8, 9, 0.72);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  color: var(--jersey-accent, #d8ff3f);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.jersey__tag--a {
  top: 50%;
  right: 12px;
}

.jersey__tag--b {
  top: 50%;
  left: 12px;
}

.drop__floor-shadow {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 56%;
  height: 50px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8), transparent 68%);
  filter: blur(8px);
}

/* ---------- Enlist ---------- */

.enlist {
  position: relative;
  overflow: hidden;
  background: var(--acid);
  color: #070809;
  padding-block: clamp(110px, 13vw, 190px);
}

.enlist .eyebrow {
  color: rgba(7, 8, 9, 0.6);
}

.enlist .eyebrow b {
  color: #070809;
}

.enlist__portal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82vw, 980px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.enlist__portal span {
  position: absolute;
  border: 1px solid rgba(7, 8, 9, 0.14);
  border-radius: 50%;
}

.enlist__portal span:nth-child(1) {
  inset: 0;
  animation: portalSpin 40s linear infinite;
  border-style: dashed;
}
.enlist__portal span:nth-child(2) {
  inset: 12%;
  border-width: 1px;
  animation: portalSpin 28s linear infinite reverse;
}
.enlist__portal span:nth-child(3) {
  inset: 25%;
  border-style: dashed;
  animation: portalSpin 20s linear infinite;
}
.enlist__portal span:nth-child(4) {
  inset: 38%;
  border-color: rgba(7, 8, 9, 0.24);
  animation: portalPulse 5s ease-in-out infinite;
}

@keyframes portalSpin {
  to { transform: rotate(360deg); }
}

@keyframes portalPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

.enlist__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.enlist h2 {
  margin-top: 30px;
  color: #070809;
}

.enlist h2 em {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.14vw, 2px) #070809;
}

.enlist__inner > p {
  max-width: 540px;
  margin-top: 34px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(7, 8, 9, 0.7);
}

.enlist__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 38px;
}

.enlist .button--primary {
  background: #070809;
  color: var(--acid);
}

.enlist .button--primary::before {
  background: #23261f;
}

.enlist .text-link {
  color: #070809;
  border-color: rgba(7, 8, 9, 0.25);
}

.enlist .text-link i {
  color: #070809;
}

.enlist__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
  width: 100%;
  margin-top: clamp(70px, 9vw, 120px);
  padding-top: 22px;
  border-top: 1px solid rgba(7, 8, 9, 0.18);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  color: rgba(7, 8, 9, 0.55);
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: 64px;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.newsletter__copy h3 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.newsletter__form {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(241, 240, 232, 0.3);
}

.newsletter__form:focus-within {
  border-color: var(--acid);
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone);
}

.newsletter__form input::placeholder {
  color: var(--muted-2);
}

.newsletter__form button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding-left: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--acid);
}

.newsletter__form button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.35s var(--ease);
}

.newsletter__form button:hover svg {
  transform: translateX(5px);
}

.newsletter__note {
  position: absolute;
  left: 0;
  top: 62px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.newsletter__note.is-error {
  color: #ff6d5e;
}

.newsletter__note.is-success {
  color: var(--acid);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: clamp(70px, 8vw, 110px);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.7fr;
  gap: 60px;
  padding-bottom: 70px;
}

.brand--footer .brand__word {
  font-size: 38px;
}

.brand--footer .brand__star {
  width: 62px;
  height: 47px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer__nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer__nav span,
.footer__loc > span {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.17em;
  color: var(--muted-2);
}

.footer__nav a {
  font-size: 12px;
  color: rgba(241, 240, 232, 0.72);
  transition: color 0.25s;
}

.footer__nav a:hover {
  color: var(--acid);
}

.footer__loc p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(241, 240, 232, 0.6);
}

.footer__loc > .footer__partner {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--acid);
  opacity: 0.72;
}

.footer__loc a {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--acid);
  border-bottom: 1px solid rgba(216, 255, 63, 0.3);
  padding-bottom: 4px;
}

.footer__wordmark {
  font-family: var(--display);
  font-size: 24.4vw;
  line-height: 0.7;
  letter-spacing: -0.012em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--bone) 0%, #6b6e68 58%, #0a0b0c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  transform: translateY(2.5%);
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  color: var(--muted-2);
}

.footer__legal > div {
  display: flex;
  gap: 20px;
}

.footer__legal a:hover {
  color: var(--acid);
}

/* ---------- Player modal ---------- */

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.5s, opacity 0.5s;
}

.player-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.player-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.player-modal__panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: min(1040px, 94vw);
  max-height: 88vh;
  overflow: hidden;
  background: #0c0d0f;
  border: 1px solid rgba(241, 240, 232, 0.17);
  box-shadow: 0 50px 150px rgba(0, 0, 0, 0.7);
  transform: translateY(40px) scale(0.97);
  transition: transform 0.65s var(--ease);
}

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

.player-modal__visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #111214;
}

.player-modal__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(0.4) contrast(1.15) brightness(0.72) saturate(0.8);
}

.player-modal__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: 0.05em;
  color: var(--acid);
  text-shadow: 0 0 60px rgba(216, 255, 63, 0.3);
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 255, 63, 0.12), transparent 62%),
    #0c0d0f;
}

.player-modal__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #0c0d0f 100%), linear-gradient(90deg, transparent 60%, rgba(12, 13, 15, 0.45));
}

.player-modal__index {
  position: absolute;
  left: 24px;
  top: 20px;
  z-index: 2;
  font-family: var(--display);
  font-size: 68px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 240, 232, 0.5);
}

.player-modal__glow {
  position: absolute;
  bottom: -10%;
  left: 50%;
  z-index: 1;
  width: 80%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 63, 0.22), transparent 68%);
  filter: blur(30px);
}

.player-modal__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  overflow-y: auto;
}

.player-modal__content h2 {
  margin-top: 9px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.01em;
  /* In-game IDs can be long and have no spaces; break instead of clipping. */
  overflow-wrap: anywhere;
}

.player-modal__real {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--muted);
  text-transform: uppercase;
}

.player-modal__bio {
  max-width: 420px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

.player-modal__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.player-modal__stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  background: #0c0d0f;
}

.player-modal__stats span {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.player-modal__stats strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.player-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 18px;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 8, 9, 0.4);
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}

.modal-close span {
  position: absolute;
  top: 20px;
  left: 13px;
  width: 15px;
  height: 1px;
  background: var(--bone);
}

.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }

.modal-close:hover {
  background: var(--acid);
  border-color: var(--acid);
}

.modal-close:hover span {
  background: #070809;
}

/* ---------- Open challenge CTA (matches) ---------- */

.challenge-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(32px, 4vw, 54px);
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(216, 255, 63, 0.07), transparent 52%),
    #090b0c;
  overflow: hidden;
}

.challenge-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 96px;
  height: 2px;
  background: var(--acid);
}

.challenge-cta__copy h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.challenge-cta__copy h3 em {
  color: var(--acid);
  font-style: normal;
}

.challenge-cta__copy p {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.challenge-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
  padding-bottom: 4px;
}

.challenge-cta__note {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

@media (max-width: 860px) {
  .challenge-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .challenge-cta__actions {
    width: 100%;
  }
}