@font-face {
  font-family: "Integral CF";
  src: url("assets/fonts/integral-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Integral CF";
  src: url("assets/fonts/integral-demibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Integral CF";
  src: url("assets/fonts/integral-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Integral CF";
  src: url("assets/fonts/integral-extrabold.otf") format("opentype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Integral CF";
  src: url("assets/fonts/integral-heavy.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/proxima-nova-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/proxima-nova-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/proxima-nova-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/proxima-nova-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --black: #121113;
  --black-deep: #09090a;
  --graphite: #1d1d1d;
  --graphite-2: #262426;
  --yellow: #ffcc00;
  --pink: #ff056c;
  --white: #fdfdfd;
  --muted: #aaa7ab;
  --line: rgba(253, 253, 253, 0.13);
  --discord: #5865f2;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Proxima Nova", Arial, sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.025) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, transparent 51%);
  background-size: 120px 100px;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.glyph-exclamation {
  display: inline-block;
  position: relative;
  width: max(0.3em, 5px);
  height: max(0.86em, 11px);
  margin-inline: 0.05em;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  text-indent: -999px;
  vertical-align: -0.04em;
}

.glyph-exclamation::before,
.glyph-exclamation::after {
  position: absolute;
  left: 50%;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
}

.glyph-exclamation::before {
  top: 0;
  width: max(0.18em, 3px);
  height: max(0.58em, 7px);
  border-radius: 0.02em;
}

.glyph-exclamation::after {
  bottom: 0;
  width: max(0.2em, 3px);
  height: max(0.18em, 3px);
  border-radius: 50%;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0.65rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 9, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand b {
  color: var(--pink);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.site-header nav a {
  position: relative;
  color: #d4d1d4;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--graphite);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button svg {
  width: 18px;
}

.button .discord-mark {
  width: 20px;
  height: 16px;
}

.button.primary {
  color: var(--black);
  background: var(--yellow);
}

.button.primary:hover {
  background: var(--white);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.25);
}

.discord-button {
  color: var(--white);
  background: var(--discord);
}

.hero {
  position: relative;
  min-height: min(900px, 100vh);
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 7s ease;
}

.hero-media.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 9, 10, 0.98) 0%, rgba(9, 9, 10, 0.78) 38%, rgba(9, 9, 10, 0.1) 75%),
    linear-gradient(0deg, var(--black) 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, var(--max));
  min-height: min(900px, 100vh);
  margin: auto;
  padding: 8rem clamp(1rem, 5vw, 5.5rem) 5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  flex: 0 0 28px;
  width: 28px;
  height: 3px;
  background: var(--pink);
}

.eyebrow > span:not(:first-child) {
  width: auto;
  height: auto;
  background: transparent;
  white-space: nowrap;
}

h1,
h2 {
  margin: 0;
  font-family: "Integral CF", Impact, sans-serif;
  font-weight: 900;
  line-height: 0.83;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  font-size: clamp(4.5rem, 10vw, 9.5rem);
}

h2 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h1 em,
h2 em {
  color: var(--pink);
  font-style: normal;
}

.hero-copy {
  max-width: 590px;
  margin: 1.6rem 0 0;
  color: #d2cfd2;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-status strong {
  color: var(--white);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52df73;
  box-shadow: 0 0 0 5px rgba(82, 223, 115, 0.12);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 4vw, 4.5rem);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-social-bar {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(680px, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 1.25rem clamp(1rem, 5vw, 5.5rem);
  border-block: 1px solid var(--line);
  border-top-color: rgba(255, 5, 108, 0.55);
  background: var(--black-deep);
}

.next-event-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 64px;
  padding-right: clamp(1rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}

.next-event-label {
  padding: 0.4rem 0.55rem;
  color: var(--black);
  border-radius: 3px;
  background: var(--pink);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.next-event-copy {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.next-event-copy strong {
  overflow: hidden;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.15rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.next-event-copy small {
  color: var(--muted);
  font-size: 0.7rem;
}

.next-event-summary > svg {
  width: 20px;
  color: var(--yellow);
}

.discord-section,
.tournaments-section,
.profile-section,
.creators-section,
.future-section,
.final-cta {
  width: min(100%, var(--max));
  margin: auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5.5rem);
}

.discord-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(520px, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.section-intro > p:last-child,
.section-heading-row > p,
.profile-copy > p,
.creator-copy > p,
.future-panel p {
  max-width: 590px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.discord-section .section-intro h2 {
  font-size: clamp(3rem, 4vw, 4.2rem);
}

.discord-console {
  display: grid;
  grid-template-columns: 68px 190px 1fr;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #202225;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

.server-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.7rem;
  background: #17181a;
}

.server-rail img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--graphite);
}

.server-rail span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #303236;
}

.channel-panel {
  position: relative;
  padding: 1rem;
  background: #25272b;
}

.channel-panel > p {
  margin: 0 0 1.4rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.channel-panel ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel-panel li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: #a8aaad;
  border-radius: 4px;
  font-size: 0.74rem;
}

.channel-panel li.active {
  color: var(--white);
  background: #393c41;
}

.channel-panel svg {
  width: 15px;
}

.server-user {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem;
  background: #1d1e21;
}

.avatar-mini {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--black);
  border-radius: 50%;
  background: var(--pink);
  font-weight: 900;
}

.server-user div {
  display: grid;
}

.server-user strong,
.server-user small {
  font-size: 0.65rem;
}

.server-user small {
  color: var(--muted);
}

.activity-panel {
  position: relative;
  padding: 1.1rem 1.3rem 5rem;
  background: #303237;
}

.activity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-heading div {
  display: grid;
  gap: 0.2rem;
}

.activity-heading small {
  color: var(--muted);
  font-size: 0.65rem;
}

.activity-heading strong {
  font-size: 0.78rem;
}

.status-chip {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
  color: #9eeaaf;
  border-radius: 4px;
  background: rgba(82, 223, 115, 0.1);
  font-size: 0.6rem;
  font-weight: 800;
}

.message {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.message-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--black);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.message-avatar.pink {
  background: var(--pink);
}

.message-avatar.yellow {
  background: var(--yellow);
}

.message strong,
.message time {
  font-size: 0.7rem;
}

.message strong b {
  padding: 0.15rem 0.3rem;
  color: var(--white);
  border-radius: 2px;
  background: var(--pink);
  font-size: 0.48rem;
}

.message time {
  margin-left: 0.4rem;
  color: #8f9194;
  font-size: 0.58rem;
}

.message p {
  margin: 0.35rem 0 0;
  color: #d0d1d2;
  font-size: 0.72rem;
  line-height: 1.5;
}

.console-cta {
  position: absolute;
  right: 1.3rem;
  bottom: 1.2rem;
  left: 1.3rem;
}

.tournaments-section {
  background: var(--black-deep);
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: end;
}

.tournament-heading-actions {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.tournament-heading-actions > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.tournament-heading-actions .button {
  justify-self: start;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin: 3rem 0 1.3rem;
  padding-bottom: 0.7rem;
  overflow-x: auto;
}

.filter-button {
  flex: 0 0 auto;
  padding: 0.7rem 1rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active {
  color: var(--black);
  border-color: var(--yellow);
  background: var(--yellow);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tournament-empty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 190px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px dashed rgba(253, 253, 253, 0.22);
  background: var(--graphite);
}

.tournament-empty > svg {
  width: 38px;
  height: 38px;
  color: var(--pink);
}

.tournament-empty h3 {
  margin: 0;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.tournament-empty p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.tournament-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--graphite);
}

.tournament-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 145px;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.08) 45% 48%, transparent 48%),
    var(--card-color, var(--pink));
}

.tournament-art.has-image {
  background-color: var(--graphite);
  background-position: center;
  background-size: cover;
}

.tournament-art.has-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 17, 19, 0.04), rgba(18, 17, 19, 0.76));
}

.tournament-art.has-image::before {
  display: none;
}

.tournament-art.has-image .game-monogram {
  display: none;
}

.tournament-art::before {
  position: absolute;
  top: -70px;
  right: -20px;
  width: 190px;
  height: 230px;
  content: "";
  border: 24px solid rgba(18, 17, 19, 0.7);
  transform: rotate(24deg);
}

.game-monogram {
  position: relative;
  z-index: 1;
  color: var(--black);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.8;
}

.event-status {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.35rem 0.5rem;
  color: var(--white);
  border-radius: 3px;
  background: var(--black);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.tournament-game {
  margin: 0 0 0.5rem;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-card h3 {
  margin: 0;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.event-meta span {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.event-meta strong {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: none;
}

.capacity {
  margin-top: 1.1rem;
}

.interest-count {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.interest-count svg {
  width: 15px;
}

.capacity-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.capacity-bar {
  height: 4px;
  overflow: hidden;
  background: #373437;
}

.capacity-bar span {
  display: block;
  height: 100%;
  background: var(--yellow);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.card-actions.two-step {
  grid-template-columns: 1fr 1fr auto;
}

.external-action {
  color: var(--white);
  border-color: var(--pink);
  background: var(--pink);
}

.external-action[aria-disabled="true"] {
  opacity: 0.42;
  pointer-events: none;
}

.card-actions .button {
  min-height: 42px;
}

.details-button {
  min-width: 42px;
  padding-inline: 0.7rem;
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(540px, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.profile-copy .button {
  margin-top: 2rem;
}

.player-dashboard {
  border: 1px solid var(--line);
  border-top: 4px solid var(--pink);
  border-radius: 6px;
  background: var(--graphite);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.player-id {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.player-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  color: var(--black);
  border-radius: 50%;
  background: var(--yellow);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-id div {
  display: grid;
  gap: 0.16rem;
}

.player-id small,
.player-id span {
  color: var(--muted);
  font-size: 0.65rem;
}

.player-id strong {
  font-size: 1rem;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.connection-state.connected {
  color: #62df7f;
}

.connection-state svg {
  width: 15px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat-grid div {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.stat-grid div:last-child {
  border: 0;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.stat-grid strong {
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 2rem;
}

.history {
  padding: 1.2rem;
}

.results-heading {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.history-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
}

.history-head span {
  color: var(--muted);
}

.empty-history {
  display: grid;
  place-items: center;
  min-height: 130px;
  margin-top: 1rem;
  padding: 1rem;
  color: #716e72;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.empty-history svg {
  width: 26px;
}

.empty-history p {
  max-width: 320px;
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.result-row:last-child {
  border: 0;
}

.result-row div {
  display: grid;
  gap: 0.2rem;
}

.result-row span {
  color: var(--muted);
  font-size: 0.64rem;
}

.result-row b {
  color: var(--yellow);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.2rem;
}

.registration-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.registration-row:last-child {
  border: 0;
}

.registration-row div {
  display: grid;
  gap: 0.2rem;
}

.registration-row span {
  color: var(--muted);
  font-size: 0.64rem;
}

.registration-row b {
  color: var(--pink);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.creators-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: var(--graphite);
  color: var(--white);
}

.creator-broadcast {
  min-width: 0;
}

.creator-player {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-deep);
}

.creator-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.creator-empty {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  padding: 2rem;
  text-align: center;
}

.creator-autoplay-ready {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  height: 100%;
  padding: 2rem;
  color: var(--muted);
  background: var(--black-deep);
  text-align: center;
}

.creator-autoplay-ready strong {
  color: var(--white);
  font-family: "Integral CF", Impact, sans-serif;
  text-transform: uppercase;
}

.creator-embed-mount,
.creator-embed-mount iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.creator-empty img {
  width: 120px;
  margin-bottom: 0.5rem;
}

.creator-empty span {
  color: var(--muted);
  font-size: 0.82rem;
}

.creator-now-playing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--black);
}

.creator-now-playing div {
  display: grid;
  gap: 0.2rem;
}

.creator-now-playing span {
  color: var(--muted);
  font-size: 0.68rem;
}

.creator-live-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-creator {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.featured-creator > span {
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-creator h3 {
  margin: 0;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

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

.featured-creator .text-link {
  width: fit-content;
  margin-top: 0.6rem;
  color: var(--white);
}

.creator-fallback-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  object-fit: cover;
  color: var(--black);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.creator-manage-button {
  margin-top: 1rem;
}

.event-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--black);
  font: 400 0.9rem "Proxima Nova", Arial, sans-serif;
}

.future-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.future-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--graphite);
}

.future-panel h2 {
  font-size: clamp(2.7rem, 3.6vw, 3.8rem);
}

.future-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--graphite);
}

.future-copy p {
  max-width: 32rem;
  margin-top: 1rem;
  color: #d8d5d8;
}

.future-copy .coming-label {
  margin-top: 1.5rem;
}

.future-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}

.future-art::before,
.future-art::after {
  position: absolute;
  content: "";
  background: var(--black);
  transform: rotate(-18deg);
}

.future-art::before {
  width: 36px;
  height: 150%;
  left: 12%;
}

.future-art::after {
  width: 14px;
  height: 150%;
  right: 18%;
  opacity: 0.35;
}

.shop-art {
  color: var(--black);
  background: var(--yellow);
}

.shop-art > span {
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  color: rgba(18, 17, 19, 0.12);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
}

.curriculum-art {
  align-content: center;
  gap: 1rem;
  color: var(--white);
  background: var(--pink);
}

.curriculum-art svg {
  position: relative;
  z-index: 2;
  width: clamp(70px, 10vw, 120px);
  height: auto;
  color: var(--white);
}

.curriculum-art > span {
  position: relative;
  z-index: 2;
  max-width: 160px;
  color: var(--white);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  text-align: center;
}

.coming-label {
  width: fit-content;
  padding: 0.5rem 0.7rem;
  color: var(--black);
  background: var(--yellow);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.curriculum-panel .coming-label {
  color: var(--white);
  background: var(--pink);
}

.final-cta {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.final-cta > img {
  width: 130px;
}

.final-cta h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 5vw, 5.5rem);
  border-top: 1px solid var(--line);
  background: var(--black-deep);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 0.2rem;
}

.footer-brand span,
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.community-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.community-socials > span {
  margin-right: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.community-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--graphite);
  font-size: 0.7rem;
  font-weight: 800;
}

.community-socials img,
.social-links img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.community-socials a:hover,
.social-links a:hover {
  color: var(--black);
  border-color: var(--yellow);
  background: var(--yellow);
}

.community-socials a:hover img,
.social-links a:hover img {
  filter: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--graphite);
}

.event-dialog {
  width: min(620px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--graphite);
}

.admin-dialog {
  width: min(900px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--graphite);
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.admin-dialog-heading {
  padding: 2rem 2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.admin-dialog-heading h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.admin-dialog-heading > p:last-child {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.integration-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: var(--black);
}

.integration-connect > div {
  display: grid;
  gap: 0.2rem;
}

.integration-connect span,
.device-code-panel > span {
  color: var(--muted);
  font-size: 0.7rem;
}

.device-code-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem 1rem;
  align-items: center;
  margin-top: 0.7rem;
  padding: 1rem;
  color: var(--white);
  border: 1px solid #9146ff;
  background: rgba(145, 70, 255, 0.12);
}

.device-code-panel > span {
  grid-column: 1;
}

.device-code-panel > strong {
  grid-column: 1;
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.8rem;
}

.device-code-panel .button {
  grid-column: 2;
  grid-row: 1 / 3;
}

.event-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.event-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-form input,
.event-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: var(--black);
  font: 400 0.9rem "Proxima Nova", Arial, sans-serif;
  text-transform: none;
}

.event-form textarea {
  resize: vertical;
}

.event-form input[type="file"] {
  padding: 0.55rem;
}

.event-form input:focus,
.event-form textarea:focus {
  border-color: var(--pink);
}

.form-wide,
.form-actions {
  grid-column: 1 / -1;
}

.publish-toggle {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr !important;
  align-items: center;
}

.publish-toggle input {
  width: 18px;
  min-height: 18px;
}

.form-actions {
  display: flex;
  gap: 0.7rem;
}

.admin-event-list {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem 2rem 2rem;
}

.admin-event-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
}

.admin-event-row div:first-child {
  display: grid;
  gap: 0.2rem;
}

.admin-event-row span {
  color: var(--muted);
  font-size: 0.68rem;
}

.admin-row-actions {
  display: flex;
  gap: 0.4rem;
}

.event-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
}

.dialog-hero {
  padding: 4rem 2rem 2rem;
  background: var(--pink);
}

.dialog-hero.has-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  background-position: center;
  background-size: cover;
}

.dialog-hero.has-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 12%, rgba(18, 17, 19, 0.92));
}

.dialog-hero.has-image > * {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dialog-hero p {
  margin: 0 0 0.5rem;
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dialog-hero h3 {
  margin: 0;
  color: var(--black);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 3rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.dialog-body {
  padding: 1.5rem 2rem 2rem;
}

.event-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.event-tab {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.event-tab.active {
  color: var(--white);
  border-color: var(--pink);
}

.event-tab-panel[hidden] {
  display: none !important;
}

.public-results-list {
  display: grid;
  gap: 0.5rem;
}

.public-result-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid var(--line);
}

.public-result-row > b {
  color: var(--yellow);
  font-family: "Integral CF", Impact, sans-serif;
  font-size: 1.4rem;
}

.public-result-row div {
  display: grid;
  gap: 0.2rem;
}

.public-result-row span {
  color: var(--muted);
  font-size: 0.7rem;
}

.batch-results-form {
  padding: 1.5rem 2rem 2rem;
}

.batch-results-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.batch-results-head span {
  color: var(--muted);
  font-size: 0.72rem;
}

.batch-results-list {
  display: grid;
  gap: 0.55rem;
}

.batch-result-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(3, 90px);
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.batch-result-player {
  display: grid;
  gap: 0.2rem;
}

.batch-result-player span,
.batch-result-field span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.batch-result-field {
  display: grid;
  gap: 0.25rem;
}

.batch-result-field input {
  width: 100%;
  min-height: 40px;
  padding: 0.55rem;
  color: var(--white);
  border: 1px solid var(--line);
  background: var(--black);
}

.batch-save-actions {
  margin-top: 1rem;
}

.dialog-body > p {
  color: var(--muted);
  line-height: 1.7;
}

.dialog-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.dialog-details div {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
}

.dialog-details span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  max-width: 360px;
  padding: 1rem 1.2rem;
  color: var(--black);
  border-left: 5px solid var(--pink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-button {
    display: inline-grid;
    grid-column: 4;
    margin-left: auto;
  }

  .site-header nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--black-deep);
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    padding: 0.9rem;
  }

  .header-login {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-right: 0.7rem;
  }

  .discord-section,
  .profile-section {
    grid-template-columns: 1fr;
  }

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

  .final-cta {
    grid-template-columns: 90px 1fr;
  }

  .final-cta > img {
    width: 90px;
  }

  .final-cta .button {
    grid-column: 2;
    justify-self: start;
  }

  .event-social-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .next-event-summary {
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .community-socials {
    justify-content: flex-start;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-links,
  footer > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 0.6rem;
    min-height: 68px;
    padding: 0.45rem 0.8rem;
  }

  .brand span,
  .header-login span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header nav {
    top: 68px;
  }

  .header-login {
    grid-column: 2;
    justify-self: end;
    width: 42px;
    min-width: 42px;
    min-height: 40px;
    margin-right: 0;
    padding-inline: 0;
  }

  .header-login .discord-mark {
    width: 21px;
    height: 17px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 9, 10, 0.96), rgba(9, 9, 10, 0.45)),
      linear-gradient(0deg, var(--black) 0%, transparent 35%);
  }

  .hero-content {
    min-height: 760px;
    padding-top: 7rem;
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 6.2rem);
  }

  .scroll-cue {
    display: none;
  }

  .discord-console {
    grid-template-columns: 52px 1fr;
    min-height: 490px;
  }

  .server-rail {
    padding-inline: 0.35rem;
  }

  .server-rail img,
  .server-rail span {
    width: 38px;
    height: 38px;
  }

  .channel-panel {
    display: none;
  }

  .section-heading-row,
  .creators-section,
  .future-section {
    grid-template-columns: 1fr;
  }

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

  .tournament-empty {
    grid-template-columns: 1fr;
  }

  .tournament-empty .button {
    justify-self: start;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid div:nth-child(2) {
    border-right: 0;
  }

  .stat-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .future-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .future-art {
    min-height: 230px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta > img {
    width: 110px;
  }

  .final-cta .button {
    grid-column: 1;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    transform: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  .button {
    width: 100%;
  }

  .site-header .button,
  .site-header .icon-button {
    width: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .community-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-socials > span {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
  }

  .community-socials a {
    justify-content: center;
  }

  .discord-section,
  .tournaments-section,
  .profile-section,
  .creators-section,
  .future-section,
  .final-cta {
    padding-inline: 1rem;
  }

  .activity-panel {
    padding-inline: 0.9rem;
  }

  .console-cta {
    right: 0.9rem;
    left: 0.9rem;
  }

  .dialog-details {
    grid-template-columns: 1fr;
  }

  .event-form {
    grid-template-columns: 1fr;
    padding-inline: 1rem;
  }

  .batch-result-row {
    grid-template-columns: 1fr repeat(3, minmax(60px, 1fr));
  }

  .batch-results-form {
    padding-inline: 1rem;
  }

  .admin-dialog-heading,
  .admin-event-list {
    padding-inline: 1rem;
  }

  .admin-event-row {
    grid-template-columns: 1fr;
  }

  .integration-connect,
  .device-code-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .integration-connect {
    flex-direction: column;
    align-items: stretch;
  }

  .device-code-panel .button {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
