@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("./assets/fonts/tektur-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("./assets/fonts/tektur-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f0f10;
  --ink-soft: #151518;
  --ink-raised: #1a191f;
  --paper: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.18);
  --purple: #b287fd;
  --lime: #b2f142;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1400px;
  --font-heading: "Tektur", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(178, 135, 253, 0.07), transparent 20rem),
    radial-gradient(circle at 80% 8%, rgba(178, 241, 66, 0.08), transparent 18rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: min(calc(100% - 48px), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(15, 15, 16, 0.88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(68px, 6vw, 92px);
  filter: drop-shadow(0 0 18px rgba(178, 135, 253, 0.18));
}

.main-nav,
.header-actions,
.hero-actions,
.match-tabs {
  display: flex;
  align-items: center;
}

.main-nav {
  justify-content: center;
  gap: clamp(18px, 2.2vw, 42px);
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.button,
.text-link,
.section-label,
.schedule-note,
.stage-head span,
.match-row,
.match-more,
.season-tabs button,
.footer-grid h3,
.footer-slogan,
.footer-email,
.powered-by {
  font-family: var(--font-heading);
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--paper);
}

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

.header-actions,
.hero-actions {
  gap: 14px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-transform: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-soft {
  background: var(--purple);
  box-shadow: 0 16px 40px rgba(178, 135, 253, 0.2);
}

.button-lime {
  background: var(--lime);
  box-shadow: 0 16px 40px rgba(178, 241, 66, 0.16);
}

.announcement-open {
  overflow: hidden;
}

.gallery-open {
  overflow: hidden;
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.announcement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 16, 0.78);
  backdrop-filter: blur(12px);
}

.announcement-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(178, 135, 253, 0.55);
  background:
    linear-gradient(135deg, rgba(178, 135, 253, 0.14), transparent 44%),
    radial-gradient(circle at 92% 94%, rgba(178, 241, 66, 0.12), transparent 34%),
    rgba(21, 21, 24, 0.98);
  box-shadow: var(--shadow);
}

.announcement-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  cursor: pointer;
}

.announcement-close:hover,
.announcement-close:focus-visible {
  border-color: var(--purple);
  background: rgba(178, 135, 253, 0.14);
  outline: none;
}

.announcement-close span,
.announcement-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
}

.announcement-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.announcement-close span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.announcement-dialog .section-label {
  margin: 0 54px 18px 0;
}

.announcement-dialog h2 {
  max-width: 11ch;
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.announcement-dialog p:not(.section-label) {
  max-width: 38rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.play-mark {
  width: 20px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
}

.play-mark::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--purple);
  content: "";
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

main,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(980px, 100svh);
  display: grid;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(56%, 760px);
  content: "";
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(15, 15, 16, 0.96) 56%, transparent 100%),
    linear-gradient(135deg, rgba(178, 135, 253, 0.12), transparent 24rem);
}

.hero-media {
  position: absolute;
  inset: 60px -10vw 0 28%;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 15, 16, 0.95), transparent 28%, transparent 82%, rgba(15, 15, 16, 0.75)),
    linear-gradient(0deg, var(--ink), transparent 38%),
    url("./assets/bel-hero.webp") center / cover no-repeat;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-copy {
  width: min(540px, 50vw);
  padding-top: 86px;
}

.hero h1 {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(6.6rem, 15vw, 15rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-name,
h2,
h3,
p {
  margin-top: 0;
}

.hero-name {
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.hero-text {
  max-width: 480px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.season-date {
  width: fit-content;
  margin: 0 0 34px;
  padding: 10px 14px;
  border: 1px solid rgba(178, 241, 66, 0.44);
  color: var(--lime);
  background: rgba(178, 241, 66, 0.07);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-band,
.broadcast-band,
.league-grid,
.clubs-band,
.schedule-band,
.standings-band,
.mvp-band,
.gallery-band,
.hall-band,
.press-band,
.partners {
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 30%),
    rgba(255, 255, 255, 0.018);
}

.stats-band {
  position: relative;
  z-index: 2;
  min-height: 176px;
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: grid;
  grid-template-columns: 70px auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 2px 18px;
  padding: 34px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

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

.stat strong {
  font-size: clamp(2.3rem, 3vw, 4rem);
  line-height: 1;
}

.stat span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.stat-icon {
  grid-row: span 2;
  width: 66px;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
}

.overview-band {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}

.overview-visual {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.overview-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 46%, rgba(15, 15, 16, 0.3), var(--ink));
}

.overview-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.section-label {
  margin-bottom: 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 4rem);
  line-height: 0.98;
}

.overview-copy > p:not(.section-label),
.broadcast-copy p:not(.section-label) {
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.7;
}

.value-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.value-row div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.value-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--purple);
}

.fairplay {
  color: var(--lime);
}

.value-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 3;
}

.broadcast-band {
  position: relative;
  margin-top: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(520px, 1fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
}

.broadcast-copy h2 {
  max-width: 340px;
}

.broadcast-copy .button {
  margin-top: 12px;
}

.broadcast-screen {
  position: relative;
  min-height: 390px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  background:
    linear-gradient(135deg, rgba(178, 135, 253, 0.16), rgba(178, 241, 66, 0.08)),
    var(--ink-raised);
  box-shadow: var(--shadow);
}

.broadcast-screen iframe,
.twitch-placeholder {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  border: 0;
}

.twitch-placeholder {
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(15, 15, 16, 0.72), rgba(15, 15, 16, 0.18)),
    url("./assets/bel-hero.webp") center / cover no-repeat;
}

.twitch-placeholder strong {
  color: var(--paper);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1;
}

.twitch-placeholder span {
  max-width: 460px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.twitch-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(15, 15, 16, 0.82);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
}

.format-steps span,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.league-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.94fr 1fr;
  border-top: 0;
}

.league-grid article {
  min-height: 470px;
  padding: clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--line);
}

.league-grid article:last-child {
  border-right: 0;
}

.league-grid h2,
.schedule-band h2 {
  font-size: clamp(1.8rem, 2.2vw, 3rem);
}

.format-steps {
  position: relative;
  margin: 38px 0 28px;
  padding: 0 0 0 40px;
  list-style: none;
}

.format-steps::before {
  position: absolute;
  top: 8px;
  bottom: 18px;
  left: 12px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--purple), var(--lime));
}

.format-steps li {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.format-steps li::before {
  position: absolute;
  top: 4px;
  left: -35px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--purple);
  background: var(--ink);
  content: "";
}

.format-steps li:first-child::before {
  border-radius: 50%;
}

.format-steps strong {
  font-size: 1.14rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-weight: 950;
}

.prize-panel table {
  width: 100%;
  margin-top: 34px;
  border-collapse: collapse;
  color: var(--muted);
}

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

.prize-panel th {
  font-weight: 800;
}

.prize-panel td {
  color: var(--paper);
  font-weight: 900;
  text-align: right;
}

.prize-panel tbody tr:first-child td,
.prize-panel tfoot td {
  color: var(--lime);
}

.prize-panel tfoot th,
.prize-panel tfoot td {
  padding-top: 24px;
  border-bottom: 0;
  color: var(--paper);
  font-size: 1.24rem;
}

.team-count {
  margin: 34px 0 18px;
  display: flex;
  align-items: end;
  gap: 16px;
}

.team-count strong {
  color: var(--purple);
  font-size: clamp(3.6rem, 5vw, 6rem);
  line-height: 0.88;
}

.team-count span {
  padding-bottom: 8px;
  color: var(--muted);
  font-weight: 900;
}

.silhouettes {
  position: relative;
  min-height: 212px;
  margin: 4px -8px 24px;
  padding-top: 22px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 92%, rgba(178, 135, 253, 0.46), transparent 46%),
    radial-gradient(ellipse at 50% 104%, rgba(178, 241, 66, 0.12), transparent 34%);
}

.silhouettes span {
  position: relative;
  width: var(--player-width, 21%);
  height: var(--person-height, 128px);
  margin-inline: var(--player-overlap, -2.6%);
  border-radius: 26px 26px 10px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
    #040405;
  box-shadow:
    inset 0 18px 34px rgba(255, 255, 255, 0.018),
    0 0 0 1px rgba(255, 255, 255, 0.018);
}

.silhouettes span::before {
  position: absolute;
  top: var(--head-top, -44px);
  left: 50%;
  z-index: 2;
  width: var(--head-size, 58px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.05), transparent 28%),
    #040405;
  content: "";
  transform: translateX(-50%);
}

.silhouettes span::after {
  position: absolute;
  right: -18%;
  bottom: 0;
  left: -18%;
  height: 76%;
  border-radius: 42px 42px 8px 8px;
  background:
    linear-gradient(180deg, rgba(178, 135, 253, 0.08), transparent 34%),
    #020203;
  content: "";
}

.silhouettes span:first-child,
.silhouettes span:last-child {
  --person-height: 118px;
  --head-size: 48px;
  --head-top: -34px;
  --player-width: 18%;
  z-index: 1;
}

.silhouettes span:nth-child(2),
.silhouettes span:nth-child(4) {
  --person-height: 138px;
  --head-size: 54px;
  --head-top: -40px;
  --player-width: 20%;
  z-index: 2;
}

.silhouettes span:nth-child(3) {
  --person-height: 158px;
  --head-size: 64px;
  --head-top: -50px;
  --player-width: 23%;
  z-index: 3;
}

.clubs-band {
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
}

.clubs-head {
  margin-bottom: clamp(26px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.6fr);
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.clubs-head h2 {
  margin-bottom: 0;
}

.clubs-head > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  line-height: 1.65;
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

[data-team-grid]:not(.is-rendered) > .club-card {
  display: none;
}

.club-more {
  display: none;
}

.club-card {
  min-width: 0;
  min-height: 390px;
  outline: 0;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}

.club-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 390px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.club-card:hover .club-card-inner,
.club-card:focus .club-card-inner,
.club-card:focus-visible .club-card-inner {
  transform: rotateY(180deg);
}

.club-card:focus-visible .club-face {
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 5px var(--lime),
    var(--shadow);
}

.club-face {
  position: absolute;
  inset: 0;
  min-height: 390px;
  display: grid;
  border: 1px solid var(--line);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  box-shadow: var(--shadow);
}

.club-face::before,
.club-face::after {
  display: none;
}

.club-face::before {
  inset: 16px;
  border-top: 2px solid rgba(178, 135, 253, 0.84);
  border-left: 2px solid rgba(178, 135, 253, 0.84);
  clip-path: polygon(0 0, 48px 0, 48px 2px, 2px 2px, 2px 48px, 0 48px);
}

.club-face::after {
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
}

.club-front {
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 18px;
  padding: clamp(26px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(178, 135, 253, 0.08), transparent 30%),
    radial-gradient(circle at 50% 34%, rgba(178, 135, 253, 0.28), transparent 32%),
    radial-gradient(circle at 72% 78%, rgba(178, 241, 66, 0.16), transparent 24%),
    var(--ink-soft);
}

.club-front h3,
.club-back h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1;
}

.club-front h3 {
  max-width: 100%;
}

.club-front p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.club-logo {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: min(68%, 210px);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.16);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(178, 135, 253, 0.9), rgba(178, 241, 66, 0.18)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 10px rgba(15, 15, 16, 0.54),
    0 22px 70px rgba(0, 0, 0, 0.48);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  line-height: 1;
  text-transform: uppercase;
  transform: none;
}

.club-logo-image {
  padding: 18px;
  clip-path: none;
}

.club-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pulse {
  clip-path: polygon(10% 16%, 62% 8%, 91% 34%, 80% 85%, 21% 92%, 4% 54%);
}

.forge {
  clip-path: polygon(50% 2%, 92% 22%, 84% 84%, 50% 98%, 16% 84%, 8% 22%);
}

.vector {
  clip-path: polygon(8% 14%, 78% 10%, 96% 50%, 72% 90%, 6% 84%, 28% 50%);
}

.rift {
  clip-path: polygon(16% 4%, 88% 18%, 74% 48%, 96% 80%, 32% 96%, 4% 62%);
}

.halo {
  clip-path: polygon(50% 0, 88% 15%, 100% 50%, 82% 86%, 50% 100%, 18% 86%, 0 50%, 12% 15%);
}

.orbit {
  border-radius: 50%;
}

.club-logo.club-logo-image {
  border-radius: 0;
  clip-path: none;
}

.club-back {
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  background:
    linear-gradient(135deg, rgba(178, 241, 66, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(178, 135, 253, 0.28), transparent 42%),
    var(--ink-raised);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.club-back-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.club-back-head h3 {
  min-width: 0;
}

.team-socials {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.team-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.team-socials a:hover,
.team-socials a:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(178, 241, 66, 0.08);
}

.team-socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.roster-label {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.club-back ul {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.club-back li {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 900;
}

.club-back .player-row,
.podium-back .player-row {
  justify-content: flex-start;
}

.player-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(178, 135, 253, 0.62);
  border-radius: 6px;
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(178, 135, 253, 0.38), transparent 58%),
    rgba(255, 255, 255, 0.04);
}

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

.player-nick {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-band {
  border-top: 0;
}

.standings-band {
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
}

.standings-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.standings-tabs button {
  position: relative;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 900;
  cursor: pointer;
}

.standings-tabs [data-current-season="true"] {
  border-color: rgba(178, 241, 66, 0.72);
  color: var(--paper);
}

.standings-tabs [data-current-season="true"]::after {
  position: absolute;
  top: -18px;
  right: -1px;
  left: -1px;
  min-height: 18px;
  display: grid;
  place-items: center;
  padding: 2px 6px;
  background: var(--lime);
  color: var(--ink);
  content: "текущий";
  font-size: 0.64rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.standings-tabs button:hover,
.standings-tabs button:focus-visible,
.standings-tabs .is-active {
  border-color: var(--purple);
  background: rgba(178, 135, 253, 0.15);
  color: var(--paper);
}

.mvp-band {
  position: relative;
  min-height: 420px;
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
}

.mvp-copy {
  position: relative;
  z-index: 1;
}

.mvp-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
}

.mvp-copy > p:not(.section-label) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

.mvp-team {
  margin: 0 0 18px;
  color: var(--lime);
  font-weight: 900;
}

.mvp-stats {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mvp-stats div {
  min-height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.mvp-stats strong {
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.mvp-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mvp-media {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: grid;
  place-items: end center;
  border: 1px solid rgba(178, 135, 253, 0.44);
  background:
    radial-gradient(circle at 50% 24%, rgba(178, 135, 253, 0.35), transparent 36%),
    linear-gradient(135deg, rgba(178, 241, 66, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.025);
}

.mvp-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.gallery-band {
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
}

.gallery-frame {
  position: relative;
  margin-inline: calc(clamp(28px, 4vw, 54px) * -1);
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(15, 15, 16, 0.72);
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-control-prev {
  left: clamp(12px, 2vw, 26px);
}

.gallery-control-next {
  right: clamp(12px, 2vw, 26px);
}

.gallery-control::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  content: "";
}

.gallery-control-prev::before {
  transform: translate(-36%, -50%) rotate(-45deg);
}

.gallery-control-next::before {
  transform: translate(-64%, -50%) rotate(135deg);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  transform: translateY(-50%) translateY(-2px);
  border-color: var(--purple);
  background: rgba(178, 135, 253, 0.28);
  outline: none;
}

.gallery-grid {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  padding: 0 clamp(28px, 4vw, 54px);
  overflow-x: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: clamp(28px, 4vw, 54px);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  position: relative;
  flex: 0 0 min(74vw, 920px);
  height: clamp(320px, 34vw, 540px);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.gallery-item:nth-child(even) {
  flex-basis: min(62vw, 760px);
}

.gallery-item:only-child {
  flex-basis: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(15, 15, 16, 0.22));
  content: "";
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08) contrast(1.12);
  transform: scale(1.04);
}

.gallery-more {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.gallery-more > span {
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--purple);
  background: rgba(178, 135, 253, 0.12);
  color: var(--paper);
  font-family: var(--font-heading);
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-link:hover,
.gallery-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: rgba(178, 241, 66, 0.12);
  outline: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(100%, 1080px);
  margin: 0;
  border: 1px solid rgba(178, 135, 253, 0.5);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.gallery-lightbox-dialog img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #050506;
}

.gallery-lightbox-close {
  z-index: 1;
  background: rgba(15, 15, 16, 0.78);
}

.gallery-lightbox-control {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 54px;
  height: 72px;
  border: 1px solid var(--line);
  background: rgba(15, 15, 16, 0.58);
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease;
}

.gallery-lightbox-prev {
  left: 18px;
}

.gallery-lightbox-next {
  right: 18px;
}

.gallery-lightbox-control::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  content: "";
}

.gallery-lightbox-prev::before {
  transform: translate(-34%, -50%) rotate(-45deg);
}

.gallery-lightbox-next::before {
  transform: translate(-66%, -50%) rotate(135deg);
}

.gallery-lightbox-control:hover,
.gallery-lightbox-control:focus-visible {
  border-color: var(--purple);
  background: rgba(178, 135, 253, 0.26);
  outline: none;
}

.press-band {
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.press-card {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 0 0 clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(178, 135, 253, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.028);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.press-card > :not(.press-media) {
  margin-inline: clamp(22px, 3vw, 32px);
}

.press-media {
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.press-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 220ms ease, filter 220ms ease;
}

.press-card:hover,
.press-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--purple);
  background:
    linear-gradient(145deg, rgba(178, 135, 253, 0.18), transparent 50%),
    rgba(255, 255, 255, 0.04);
  outline: none;
}

.press-card:hover .press-media img,
.press-card:focus-visible .press-media img {
  filter: saturate(1.08) contrast(1.1);
  transform: scale(1.04);
}

.press-meta,
.press-card strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.press-meta {
  color: var(--lime);
}

.press-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

.press-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.press-card strong {
  align-self: end;
  color: var(--purple);
}

.schedule-column {
  padding: clamp(28px, 3vw, 48px);
}

.section-head {
  min-height: 72px;
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head h2 {
  margin-bottom: 0;
}

.schedule-note,
.stage-head span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-note {
  align-self: center;
}

.schedule-stage {
  display: grid;
  gap: 16px;
}

.schedule-stage + .schedule-stage {
  margin-top: clamp(26px, 3vw, 42px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.stage-head {
  display: flex;
  justify-content: flex-end;
}

.stage-head span {
  color: var(--lime);
}

.schedule-column-past {
  border-top: 1px solid var(--line);
}

.match-tabs {
  gap: 8px;
}

.match-tabs button,
.season-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.match-tabs .is-active,
.season-tabs .is-active {
  border-color: var(--purple);
  background: rgba(178, 135, 253, 0.14);
  color: var(--paper);
}

.match-list {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.match-day {
  display: grid;
  gap: 18px;
}

.match-list > .match-column {
  display: none;
}

.match-day {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.match-empty {
  grid-column: 1 / -1;
  min-height: 94px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.match-more {
  grid-column: 1 / -1;
  min-height: 48px;
  justify-self: center;
  padding: 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--purple);
  background: rgba(178, 135, 253, 0.14);
  color: var(--paper);
  cursor: pointer;
  font-weight: 950;
}

.match-more:hover,
.match-more:focus-visible {
  background: var(--purple);
  color: var(--ink);
}

.match-more-upcoming {
  margin: clamp(22px, 3vw, 34px) auto 0;
}

.match-row {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: 92px 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.match-row::before,
.match-row::after {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 3px;
  content: "";
}

.match-row::before {
  left: 0;
  background: var(--purple);
}

.match-row::after {
  right: 0;
  background: var(--lime);
}

.match-row time {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match-row time span {
  color: var(--paper);
}

.match-row strong:last-child {
  text-align: right;
}

.match-team {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.match-team-b {
  justify-content: flex-end;
}

.match-team-b .match-team-logo {
  order: 2;
}

.match-team-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.match-team-logo img {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}

.match-team-logo-fallback {
  border: 1px solid rgba(178, 241, 66, 0.55);
  background: rgba(178, 241, 66, 0.1);
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
}

.match-team > span:not(.match-team-logo) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-row em {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.match-row-finished em {
  min-width: 58px;
  height: 44px;
  padding-inline: 12px;
  border-color: rgba(178, 241, 66, 0.52);
  border-radius: 0;
  color: var(--lime);
  font-size: 0.95rem;
}

.standings-table {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.standings-more {
  margin: clamp(28px, 4vw, 54px) auto 0;
}

.standings-table table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
}

.standings-table-history th:first-child,
.standings-table-history td:first-child {
  width: 120px;
}

.standings-table-history th:nth-child(2),
.standings-table-history td:nth-child(2) {
  width: auto;
}

.standings-table-history th:nth-child(n + 3),
.standings-table-history td:nth-child(n + 3) {
  width: 100px;
}

.standings-table:not(.standings-table-history) th:first-child,
.standings-table:not(.standings-table-history) td:first-child {
  width: auto;
  text-align: left;
}

.standings-table:not(.standings-table-history) th:nth-child(n + 2),
.standings-table:not(.standings-table-history) td:nth-child(n + 2) {
  width: 100px;
  text-align: right;
}

.standings-table th,
.standings-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.standings-table th {
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.standings-table td {
  color: var(--purple);
}

.standings-table td.standings-wins {
  color: var(--lime);
}

.standings-table td.standings-losses {
  color: #ff5c68;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}

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

.standings-table-history tbody tr:nth-child(1) {
  background: linear-gradient(90deg, rgba(178, 241, 66, 0.08), transparent 48%);
}

.standings-place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.standings-trophy {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  object-fit: contain;
}

.standings-team {
  color: var(--paper);
  font-family: var(--font-heading);
}

.hall-band {
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 54px);
}

.hall-head {
  align-items: end;
}

.season-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.season-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(18px, 2vw, 28px);
}

.season-panel-wide {
  grid-template-columns: 1fr;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

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

.podium-grid-four .podium-card {
  min-height: 360px;
}

.podium-card,
.mvp-card {
  position: relative;
  min-height: 350px;
  display: grid;
  align-content: end;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(178, 135, 253, 0.12), transparent 44%),
    radial-gradient(circle at 72% 24%, rgba(178, 241, 66, 0.13), transparent 28%),
    rgba(255, 255, 255, 0.028);
  box-shadow: var(--shadow);
}

.podium-card {
  padding: clamp(24px, 3vw, 36px);
}

.podium-flip {
  display: block;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}

.podium-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.podium-flip:hover .podium-card-inner,
.podium-flip:focus .podium-card-inner,
.podium-flip:focus-visible .podium-card-inner {
  transform: rotateY(180deg);
}

.podium-flip:focus-visible .podium-face {
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 5px var(--lime),
    var(--shadow);
}

.podium-face {
  position: absolute;
  inset: 0;
  min-height: inherit;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  background:
    linear-gradient(150deg, rgba(178, 135, 253, 0.12), transparent 44%),
    radial-gradient(circle at 72% 24%, rgba(178, 241, 66, 0.13), transparent 28%),
    rgba(255, 255, 255, 0.028);
  box-shadow: var(--shadow);
}

.podium-face::before,
.podium-face::after {
  display: none;
}

.podium-face::before {
  inset: 16px;
  border-top: 2px solid rgba(178, 135, 253, 0.84);
  border-left: 2px solid rgba(178, 135, 253, 0.84);
  clip-path: polygon(0 0, 48px 0, 48px 2px, 2px 2px, 2px 48px, 0 48px);
}

.podium-face::after {
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
}

.podium-front {
  align-content: end;
}

.podium-back {
  align-content: start;
  background:
    linear-gradient(135deg, rgba(178, 241, 66, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(178, 135, 253, 0.28), transparent 42%),
    var(--ink-raised);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.podium-back-head {
  position: relative;
  z-index: 1;
  align-items: start;
}

@media (hover: none), (pointer: coarse) {
  .club-card .club-card-inner,
  .podium-flip .podium-card-inner,
  .club-card:hover .club-card-inner,
  .club-card:focus .club-card-inner,
  .club-card:focus-visible .club-card-inner,
  .podium-flip:focus .podium-card-inner,
  .podium-flip:focus-visible .podium-card-inner,
  .podium-flip:hover .podium-card-inner {
    transform: none;
  }

  .club-back,
  .podium-back {
    transform: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .club-card.is-flipped .club-front,
  .podium-flip.is-flipped .podium-front {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .club-card.is-flipped .club-back,
  .podium-flip.is-flipped .podium-back {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .club-card.is-flipped .club-card-inner,
  .club-card.is-flipped .club-back {
    position: relative;
    height: auto;
  }

  .club-card.is-flipped,
  .club-card.is-flipped .club-card-inner,
  .club-card.is-flipped .club-back {
    min-height: 0;
  }
}

.podium-first {
  background:
    linear-gradient(150deg, rgba(178, 241, 66, 0.16), transparent 42%),
    radial-gradient(circle at 66% 28%, rgba(178, 135, 253, 0.28), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.podium-first .podium-front {
  background:
    linear-gradient(150deg, rgba(178, 241, 66, 0.16), transparent 42%),
    radial-gradient(circle at 66% 28%, rgba(178, 135, 253, 0.28), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.podium-card .club-logo {
  position: relative;
  top: auto;
  left: auto;
  width: min(54%, 160px);
  transform: none;
}

.place-rank {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 0;
  color: rgba(178, 135, 253, 0.55);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(5rem, 8vw, 8.5rem);
  line-height: 0.8;
}

.podium-first .place-rank {
  color: rgba(178, 241, 66, 0.62);
}

.place-rank-trophy {
  width: clamp(4.8rem, 7vw, 7.5rem);
  height: auto;
  display: block;
  opacity: 0.72;
}

.podium-grid-four .place-rank {
  font-size: clamp(4.2rem, 6vw, 6.8rem);
}

.podium-grid-four .place-rank-trophy {
  width: clamp(4.2rem, 5.5vw, 6.4rem);
}

[data-season-panel="season-00"] .place-rank {
  font-size: clamp(3.6rem, 5vw, 5.5rem);
}

[data-season-panel="season-00"] .place-rank-trophy {
  width: clamp(3.6rem, 4.5vw, 4.8rem);
}

.podium-card h3,
.mvp-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.45rem, 2vw, 2.4rem);
  line-height: 1;
}

.podium-card p,
.mvp-card p:not(.section-label) {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 900;
}

.podium-card .podium-prize {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(178, 241, 66, 0.44);
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(178, 241, 66, 0.07);
}

.podium-back ul {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.podium-back li {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  font-weight: 900;
}

.podium-back .player-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 38px;
  align-items: center;
  column-gap: 10px;
  padding-block: 0;
}

.podium-back .player-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.podium-back .player-nick {
  line-height: 1.15;
}

.mvp-card {
  align-content: center;
  padding: clamp(24px, 3vw, 38px);
}

.mvp-card::before {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 230px;
  aspect-ratio: 1;
  border: 2px solid rgba(178, 241, 66, 0.42);
  border-radius: 50%;
  content: "";
}

.mvp-card h3 {
  color: var(--lime);
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.site-footer {
  padding: clamp(28px, 5vw, 64px) 0 28px;
}

.social-band {
  margin-bottom: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(178, 135, 253, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.018);
}

.social-band h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 2.2vw, 3rem);
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.social-row a {
  min-height: 104px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-heading);
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: rgba(178, 241, 66, 0.075);
}

.social-row svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.partners {
  padding: clamp(24px, 3vw, 38px);
  border-bottom: 0;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.partner-logo {
  min-height: 118px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime);
  box-shadow: 0 18px 46px rgba(178, 241, 66, 0.1);
}

.partner-logo img {
  width: min(78%, 440px);
  max-height: 68px;
  object-fit: contain;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(160px, 0.7fr) minmax(190px, 0.72fr);
  align-items: start;
  column-gap: clamp(48px, 8vw, 128px);
  row-gap: 34px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(178, 135, 253, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.02);
}

.footer-grid::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), rgba(178, 135, 253, 0.2), var(--lime));
  content: "";
}

.footer-logo {
  display: inline-block;
  width: min(100%, 390px);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.footer-grid h3 {
  margin: 0 0 18px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact span {
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 2px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--paper);
}

.footer-bottom {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-slogan,
.footer-email,
.powered-by {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-email {
  width: fit-content;
  display: inline-flex;
  color: var(--purple);
}

.powered-by {
  text-align: right;
}

.footer-email:hover,
.footer-email:focus-visible,
.powered-by a {
  color: var(--lime);
}

.footer-email:hover,
.footer-email:focus-visible,
.powered-by a:hover,
.powered-by a:focus-visible {
  color: var(--paper);
}

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
  }

  .header-actions .button {
    min-height: 48px;
    padding-inline: 16px;
  }

  .hero-media {
    left: 24%;
  }

  .stats-band,
  .league-grid,
  .club-grid,
  .broadcast-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .league-grid article:nth-child(2) {
    border-right: 0;
  }

  .league-grid article:last-child {
    grid-column: span 2;
  }

  .season-panel {
    grid-template-columns: 1fr;
  }

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

  .match-row {
    min-height: 104px;
  }
}

@media (max-width: 840px) {
  .site-header,
  .site-header.is-scrolled,
  main,
  .site-footer {
    width: calc(100% - 28px);
    padding-inline: 0;
  }

  .site-header {
    left: 14px;
    right: 14px;
    min-height: 74px;
    width: auto;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: normal;
    column-gap: 16px;
  }

  .brand {
    justify-self: start;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open {
    align-content: start;
    padding-top: 9px;
    padding-bottom: 18px;
    background: rgba(15, 15, 16, 0.96);
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    grid-column: 1 / -1;
  }

  .site-header.nav-open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
  }

  .site-header.nav-open .main-nav a {
    min-height: 52px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
  }

  .site-header.nav-open .main-nav a:hover,
  .site-header.nav-open .main-nav a:focus-visible {
    border-color: var(--purple);
  }

  .site-header.nav-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 92px;
  }

  .hero-copy {
    width: min(100%, 520px);
    padding-top: 0;
  }

  .hero-media {
    inset: 0 -14px 0;
    opacity: 0.52;
    clip-path: none;
    background-position: 60% center;
  }

  .hero::before {
    width: 100%;
    background:
      linear-gradient(90deg, rgba(15, 15, 16, 0.98), rgba(15, 15, 16, 0.54)),
      linear-gradient(0deg, var(--ink), transparent 50%);
  }

  .stats-band,
  .overview-band,
  .broadcast-band,
  .league-grid,
  .clubs-head,
  .club-grid,
  .social-row,
  .press-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    min-height: 0;
  }

  .clubs-band.has-team-limit:not(.is-expanded) .club-card:nth-child(n + 3) {
    display: none;
  }

  .club-more:not([hidden]) {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid rgba(178, 135, 253, 0.72);
    color: var(--paper);
    background: rgba(178, 135, 253, 0.14);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
  }

  .club-more:hover,
  .club-more:focus-visible {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(178, 241, 66, 0.08);
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child,
  .league-grid article:last-child {
    border-bottom: 0;
  }

  .overview-visual {
    min-height: 360px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  }

  .overview-visual img {
    min-height: 360px;
  }

  .value-row,
  .partner-row {
    grid-template-columns: 1fr;
  }

  .partner-row {
    gap: 22px;
    margin-bottom: 28px;
  }

  .social-row a {
    min-height: 82px;
  }

  .league-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .league-grid article:last-child {
    grid-column: auto;
  }

  .clubs-head {
    gap: 14px;
  }

  .club-card,
  .club-card-inner,
  .club-face {
    min-height: 360px;
  }

  .club-front {
    gap: 16px;
    padding: 24px;
  }

  .club-logo {
    width: min(64%, 190px);
  }

  .club-card.is-flipped,
  .club-card.is-flipped .club-card-inner,
  .club-card.is-flipped .club-face {
    min-height: 0;
  }

  .broadcast-screen {
    display: none;
  }

  .schedule-column {
    padding-inline: 20px;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .standings-tabs {
    justify-content: flex-start;
  }

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

  .powered-by {
    text-align: left;
  }

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

  .match-row time {
    grid-column: 1 / -1;
  }

  .match-day {
    grid-template-columns: 1fr;
  }

  .season-panel,
  .podium-grid {
    grid-template-columns: 1fr;
  }

  .mvp-band {
    grid-template-columns: 1fr;
  }

  .gallery-frame {
    margin-inline: 0;
    overflow: hidden;
  }

  .gallery-grid {
    gap: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .gallery-item,
  .gallery-item:nth-child(even) {
    flex-basis: 100%;
    height: 340px;
  }

  .gallery-control {
    width: 44px;
    height: 44px;
    background: rgba(15, 15, 16, 0.62);
  }

  .gallery-control-prev {
    left: 12px;
  }

  .gallery-control-next {
    right: 12px;
  }

  .mvp-copy {
    order: 2;
  }

  .mvp-media {
    order: 1;
    min-height: 320px;
  }

  .podium-card,
  .podium-first,
  .mvp-card {
    min-height: 260px;
  }

  .podium-flip {
    min-height: 360px;
  }

  .podium-face {
    gap: 12px;
    padding: 22px;
  }

  .podium-back li {
    min-height: 42px;
  }

  .partner-logo {
    min-height: 136px;
    border-bottom: 1px solid var(--line);
  }

  .partner-logo img {
    width: min(82%, 360px);
    max-height: 58px;
  }

  .partner-row > :last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .announcement-modal {
    align-items: center;
    padding: 18px;
  }

  .announcement-dialog {
    width: 100%;
    max-height: calc(100svh - 56px);
    overflow: auto;
    padding: 30px 22px 22px;
    border-color: rgba(178, 135, 253, 0.42);
  }

  .announcement-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .announcement-dialog .section-label {
    margin: 0 48px 14px 0;
    font-size: 0.82rem;
  }

  .announcement-dialog h2 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.02;
  }

  .announcement-dialog p:not(.section-label) {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .announcement-dialog .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-actions,
  .match-tabs,
  .season-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat {
    grid-template-columns: 58px auto;
    min-height: 132px;
  }

  .stat-icon {
    width: 54px;
  }

  .match-row {
    gap: 12px;
    padding-inline: 14px;
    font-size: 0.94rem;
  }

  .mvp-stats {
    grid-template-columns: 1fr;
  }

  .mvp-media {
    min-height: 280px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-control {
    width: 44px;
    height: 58px;
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .gallery-item,
  .gallery-item:nth-child(even) {
    height: 300px;
  }

  .gallery-lightbox-dialog img {
    max-height: 68vh;
  }

  .match-team {
    gap: 9px;
  }

  .match-team-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .match-team-logo img {
    padding: 2px;
  }

  .club-card,
  .club-card-inner,
  .club-face {
    min-height: 340px;
  }

  .club-front {
    gap: 14px;
    padding: 22px;
  }

  .club-logo {
    width: min(70%, 178px);
  }

  .club-card.is-flipped,
  .club-card.is-flipped .club-card-inner,
  .club-card.is-flipped .club-face {
    min-height: 0;
  }

  .club-back {
    gap: 10px;
    padding: 20px;
  }

  .club-back li {
    min-height: 42px;
  }

  .player-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .silhouettes span::before {
    width: calc(var(--head-size, 52px) * 0.78);
    top: calc(var(--head-top, -38px) * 0.78);
  }

  .silhouettes {
    min-height: 198px;
    padding-top: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
