﻿:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7fafc;
  background: #0d1117;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(16, 185, 129, .18), transparent 24rem),
    linear-gradient(135deg, #10141c 0%, #151922 46%, #20141d 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #31d2ac, #ff6b6b);
  box-shadow: 0 0 28px rgba(49, 210, 172, .35);
}

nav a {
  color: #c9d4df;
  font-size: 14px;
  font-weight: 700;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.page {
  min-height: calc(100vh - 150px);
  padding-top: 72px;
}

.page.narrow {
  max-width: 780px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 38px;
  min-height: calc(100vh - 72px);
  padding: 42px 0 34px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #31d2ac;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: #c7d0da;
  font-size: 19px;
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: #31d2ac;
  color: #06120f;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #f7fafc;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
}

.hero-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.stats,
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stats {
  margin: -12px 0 66px;
}

.stats article,
.game-grid article,
.event-list article {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.stats article {
  padding: 22px;
}

.stats strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: #aeb9c5;
  font-weight: 700;
}

.content-band,
.leaderboard,
.video-stage,
.schedule {
  padding: 54px 0 10px;
}

.commentator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 30px;
  margin: 10px 0 56px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 210, 172, .14), rgba(255, 107, 107, .12)),
    rgba(255, 255, 255, .06);
}

.commentator img {
  display: block;
  width: 100%;
  max-width: 320px;
  justify-self: end;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

.commentator .lead {
  margin-bottom: 18px;
}

.slogan {
  display: inline-flex;
  margin-bottom: 0;
  padding: 12px 14px;
  border-left: 3px solid #31d2ac;
  background: rgba(0, 0, 0, .22);
  color: #fff4dc;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.game-grid article {
  min-height: 210px;
  padding: 24px;
}

.chip {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 107, .16);
  color: #ffb4a9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.game-grid p,
.event-list p {
  margin-bottom: 0;
  color: #b9c3cf;
  line-height: 1.55;
}

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

.live-board {
  margin: -18px 0 62px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 210, 172, .14), rgba(255, 107, 107, .10)),
    rgba(255, 255, 255, .055);
}

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

.live-grid article,
.live-feed p {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
}

.live-grid article {
  min-height: 104px;
  padding: 18px;
}

.live-grid span,
.live-feed span {
  display: block;
  color: #aeb9c5;
  font-size: 13px;
  font-weight: 800;
}

.live-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.live-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.live-feed p {
  margin: 0;
  padding: 16px;
}

.live-feed strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.live-updated {
  margin: 14px 0 0;
  color: #aeb9c5;
  font-size: 13px;
  font-weight: 800;
}

.map-atlas {
  margin: 0 0 62px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 210, 172, .1), rgba(255, 107, 107, .08)),
    rgba(0, 0, 0, .18);
}

.map-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.map-preview {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: #0b1018;
}

.map-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.map-preview figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(6, 10, 16, .78);
  backdrop-filter: blur(10px);
}

.map-preview strong {
  font-size: 24px;
}

.map-preview span {
  color: #c7d0da;
  line-height: 1.45;
}

.map-list {
  display: grid;
  gap: 10px;
}

.map-list button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: #f7fafc;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.map-list button span {
  color: #31d2ac;
  font-weight: 900;
}

.map-list button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-list button em {
  grid-column: 2;
  color: #c7d0da;
  font-style: normal;
  font-size: 14px;
}

.map-list button.is-active {
  border-color: #31d2ac;
  background: rgba(49, 210, 172, .15);
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: #05070b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.featured-video {
  margin: -18px 0 62px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 210, 172, .12), rgba(248, 193, 74, .1)),
    rgba(255, 255, 255, .055);
}

.featured-video .video-frame {
  max-width: 980px;
  margin: 0 auto;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.music-player {
  margin: -18px 0 62px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 107, .12), rgba(49, 210, 172, .10)),
    rgba(255, 255, 255, .055);
}

.music-player .section-heading {
  align-items: flex-start;
  margin-bottom: 20px;
}

.music-player h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.arena-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
  overflow: hidden;
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 210, 172, .18), rgba(255, 107, 107, .10)),
    rgba(0, 0, 0, .30);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .30);
}

.arena-player::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 46px);
  opacity: .25;
  pointer-events: none;
  content: "";
}

.player-now {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(6, 10, 16, .55);
  z-index: 1;
}

.player-now > span {
  color: #31d2ac;
  font-weight: 900;
  text-transform: uppercase;
}

.player-now h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.player-now p {
  margin: 0;
  color: #c7d0da;
}

.player-time {
  display: flex;
  justify-content: space-between;
  color: #c7d0da;
  font-weight: 800;
}

.seek-control,
.volume-control {
  display: grid;
  gap: 8px;
  color: #c7d0da;
  font-weight: 900;
}

.seek-control span {
  font-size: 13px;
  text-transform: uppercase;
}

.seek-control input,
.volume-control input {
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: #31d2ac;
  cursor: pointer;
}

.seek-control input {
  --seek: 0%;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #31d2ac var(--seek), rgba(255, 255, 255, .16) var(--seek));
}

.seek-control input::-webkit-slider-thumb,
.volume-control input::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 3px solid #06120f;
  border-radius: 50%;
  background: #31d2ac;
  box-shadow: 0 0 0 4px rgba(49, 210, 172, .18);
}

.seek-control input::-moz-range-thumb,
.volume-control input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #06120f;
  border-radius: 50%;
  background: #31d2ac;
}

.player-controls {
  position: relative;
  display: grid;
  grid-template-columns: 58px 76px 58px;
  gap: 14px;
  align-content: center;
  justify-content: center;
  align-self: start;
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(6, 10, 16, .45);
  z-index: 1;
}

.player-controls button,
.track-queue button {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.player-controls button {
  display: grid;
  width: 58px;
  height: 58px;
  min-height: 0;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
}

.player-controls .play-toggle {
  width: 76px;
  height: 76px;
  background: #31d2ac;
  color: #06120f;
  font-size: 30px;
  box-shadow: 0 0 0 8px rgba(49, 210, 172, .12), 0 18px 38px rgba(49, 210, 172, .20);
}

.player-controls .shuffle-toggle {
  grid-column: 1 / -1;
  width: 100%;
  height: 44px;
  border-radius: 999px;
  background: #31d2ac;
  color: #06120f;
  font-size: 14px;
  text-transform: uppercase;
}

.player-controls button:hover,
.track-queue button:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 210, 172, .65);
}

.track-queue {
  position: relative;
  grid-column: 2;
  display: grid;
  gap: 8px;
  max-height: 440px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(6, 10, 16, .45);
  z-index: 1;
}

.track-queue button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 3px 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
}

.track-queue button span {
  color: #31d2ac;
  font-weight: 900;
}

.track-queue button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-queue button em {
  grid-column: 2;
  color: #c7d0da;
  font-style: normal;
  font-size: 14px;
}

.playing-bars {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: none;
  align-items: end;
  justify-content: center;
  gap: 3px;
  height: 24px;
}

.playing-bars b {
  display: block;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: #31d2ac;
  animation: playing-bar .76s ease-in-out infinite;
}

.playing-bars b:nth-child(2) {
  animation-delay: .12s;
}

.playing-bars b:nth-child(3) {
  animation-delay: .24s;
}

.is-playing .track-queue button.is-active .playing-bars {
  display: flex;
}

.track-queue button.is-active {
  border-color: #31d2ac;
  background: rgba(49, 210, 172, .16);
}

@keyframes playing-bar {
  0%, 100% {
    height: 8px;
    opacity: .62;
  }

  50% {
    height: 24px;
    opacity: 1;
  }
}
.leader-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: leaders;
}

.leader-list li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  counter-increment: leaders;
}

.leader-list li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(49, 210, 172, .16);
  color: #31d2ac;
  font-weight: 900;
  content: counter(leaders);
}

.leader-list strong {
  font-size: 20px;
}

.leader-list span {
  color: #aeb9c5;
  font-weight: 800;
}

.event-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 22px;
}

time {
  color: #31d2ac;
  font-weight: 900;
}

.text-block {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.text-block h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.text-block p {
  color: #c7d0da;
  line-height: 1.65;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #aeb9c5;
  font-size: 14px;
}

.footer a {
  color: #d7e0ea;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 300px;
  }

  .stats,
  .map-viewer,
  .game-grid {
    grid-template-columns: 1fr;
  }

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

  .commentator img {
    justify-self: start;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .event-list article {
    grid-template-columns: 1fr;
  }

  .leader-list li {
    grid-template-columns: 42px 1fr;
  }

  .leader-list span {
    grid-column: 2;
  }

  .arena-player {
    grid-template-columns: 1fr;
  }

  .track-queue {
    grid-column: 1;
    grid-template-columns: 1fr;
    max-height: none;
  }

  .featured-video {
    padding: 20px;
  }
}
