:root {
  --bg: #070a10;
  --panel: #101a28;
  --panel-strong: #14263a;
  --text: #f8fcff;
  --muted: #aebdca;
  --cyan: #26f4ff;
  --pink: #ff3d7f;
  --acid: #f7ff3c;
  --line: rgba(248, 252, 255, .14);
  --shadow: 0 24px 80px rgba(0, 0, 0, .4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 10, 16, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 42px rgba(0, 0, 0, .32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 118px;
  height: 42px;
  object-fit: contain;
  background: #000;
  border-radius: 6px;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

nav a:hover {
  color: var(--text);
}

nav a.active {
  color: var(--acid);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  min-height: calc(100vh - 75px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px) 72px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7, 10, 16, .96), rgba(7, 10, 16, .54)),
    url("assets/arena-grid.svg");
  background-size: cover;
  background-position: center;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 138px) 0 clamp(42px, 7vw, 76px);
}

.page-hero h1 {
  max-width: none;
  margin-bottom: 22px;
}

.page-hero .hero-text {
  max-width: 780px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, var(--bg), rgba(7, 10, 16, 0));
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker {
  color: var(--muted);
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 132px);
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(38, 244, 255, .22);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: .95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

.button.primary {
  color: #061016;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 34px rgba(38, 244, 255, .28);
}

.button.secondary {
  background: rgba(248, 252, 255, .08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.hero-panel {
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-logo {
  width: min(86vw, 520px);
  border-radius: 8px;
  filter: drop-shadow(0 0 38px rgba(38, 244, 255, .28));
  animation: float 4s ease-in-out infinite;
}

.stats,
.section,
.split-section,
.join,
footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-34px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats div {
  padding: 24px;
  background: rgba(16, 26, 40, .95);
}

.stats strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stats span,
.muted {
  color: var(--muted);
}

.section,
.split-section,
.join {
  padding: clamp(56px, 9vw, 110px) 0;
}

.section-heading {
  max-width: 720px;
}

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

.event-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(38, 244, 255, .12), rgba(255, 61, 127, .08)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card.featured {
  border-color: rgba(247, 255, 60, .42);
  box-shadow: 0 0 44px rgba(247, 255, 60, .12);
}

.event-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card p,
.join p {
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.card-meta b {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--cyan);
  background: rgba(38, 244, 255, .08);
  border: 1px solid rgba(38, 244, 255, .22);
  border-radius: 999px;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.match-row time {
  display: grid;
  place-items: center;
  height: 48px;
  color: #061016;
  background: var(--acid);
  border-radius: 6px;
  font-weight: 950;
}

.match-row span {
  display: block;
  color: var(--muted);
}

.match-row b {
  color: var(--cyan);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 244, 255, .42);
}

.contact-card strong {
  color: var(--text);
  font-size: 20px;
}

.contact-card span {
  color: var(--muted);
}

.results-board {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--acid);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

td:nth-child(1),
td:nth-child(2),
td:last-child {
  color: var(--text);
  font-weight: 900;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.compact {
  padding-top: clamp(48px, 7vw, 82px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.tool-grid article {
  min-height: 170px;
  padding: 22px;
  background: rgba(248, 252, 255, .055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 20px;
}

.tool-grid span {
  color: var(--muted);
}

.join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  padding-inline: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(120deg, rgba(38, 244, 255, .15), rgba(255, 61, 127, .12)),
    var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.join div {
  max-width: 760px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 360px;
  }

  .stats,
  .event-grid,
  .split-section,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    transform: translateY(-16px);
  }

  .join,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  h1 {
    font-size: 48px;
  }

  .match-row {
    grid-template-columns: 52px 1fr;
  }

  .match-row b {
    grid-column: 2;
  }
}
