.page-home {
  --lime: #39FF88;
  --ember: #FF7A1A;
  --amber: #FFC24B;
  --datum: #FFD166;
  --moon: #E6EFF8;
  --fog: #A8B8D0;
  --void: #0A1428;
  --abyss: #101A30;
  --panel: #16233F;
  --teal: #2DE0C0;
  --mono: "DIN Alternate", "Roboto Mono", monospace;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 72px;
  background: linear-gradient(160deg, var(--void) 0%, var(--abyss) 60%, var(--panel) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
  color: var(--moon);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(94deg, rgba(10, 20, 40, 0.97) 0%, rgba(10, 20, 40, 0.82) 46%, rgba(16, 26, 48, 0.52) 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 10px);
  pointer-events: none;
}

.page-home .home-hero__wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 56px;
}

.page-home .home-hero__story {
  align-self: center;
}

.page-home .home-hero .breadcrumb {
  margin-bottom: 22px;
}

.page-home .home-hero__kicker {
  margin-bottom: 12px;
  color: var(--lime);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--title-font);
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--moon);
}

.page-home .home-hero__lead {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--fog);
}

.page-home .home-hero__lead strong {
  color: var(--lime);
  font-weight: 700;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.page-home .home-stat {
  min-width: 108px;
  padding: 14px 16px 12px;
  background: rgba(16, 26, 48, 0.72);
  border-left: 2px solid var(--teal);
}

.page-home .home-stat__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--datum);
}

.page-home .home-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.page-home .home-hero__radial-wrap {
  position: relative;
  width: min(420px, 92%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-radial {
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .home-radial__link {
  cursor: pointer;
  outline: none;
}

.page-home .home-radial__sector path {
  fill: rgba(22, 35, 63, 0.84);
  stroke: var(--lime);
  stroke-width: 1.5;
  transition: fill 0.22s ease, stroke-width 0.22s ease;
}

.page-home .home-radial__sector--replay path {
  stroke: var(--amber);
}

.page-home .home-radial__sector--data path {
  stroke: var(--datum);
}

.page-home .home-radial__sector--venue path {
  stroke: var(--ember);
}

.page-home .home-radial__sector:hover path,
.page-home .home-radial__sector:focus-within path {
  fill: rgba(57, 255, 136, 0.2);
  stroke: var(--lime);
  stroke-width: 2.4;
}

.page-home .home-radial__sector:hover .home-radial__label,
.page-home .home-radial__sector:focus-within .home-radial__label {
  fill: var(--lime);
}

.page-home .home-radial__label {
  fill: var(--moon);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
  transition: fill 0.2s ease;
}

.page-home .home-radial__hub {
  fill: var(--abyss);
  stroke: var(--lime);
  stroke-width: 1.5;
}

.page-home .home-radial__hub-text {
  fill: var(--lime);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  text-anchor: middle;
}

.page-home .home-radial__hub-sub {
  fill: var(--moon);
  font-family: var(--mono);
  font-size: 10px;
  text-anchor: middle;
  letter-spacing: 0.2em;
}

.page-home .home-hero__hint {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.page-home .home-hero__ticker {
  position: relative;
  z-index: 3;
  margin: 72px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 14px max(20px, calc((100vw - var(--container, 1240px)) / 2));
  border-top: 1px solid rgba(57, 255, 136, 0.35);
  border-bottom: 1px solid rgba(168, 184, 208, 0.16);
  background: rgba(10, 20, 40, 0.5);
}

.page-home .home-hero__ticker span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}

.page-home .home-hero__ticker span:first-child {
  color: var(--lime);
}

.page-home .home-v4 {
  padding: 88px 0 96px;
  background: var(--void);
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 42px;
}

.page-home .section-index {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
  padding: 6px 0;
  border-top: 2px solid var(--lime);
  border-bottom: 1px solid rgba(57, 255, 136, 0.4);
  white-space: nowrap;
}

.page-home .section-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--moon);
}

.page-home .section-sub {
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fog);
}

.page-home .home-v4__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .home-v4__phone {
  margin: 0;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}

.page-home .home-v4__phone img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-v4__phone figcaption,
.page-home .home-standings__chart figcaption {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
  background: rgba(16, 26, 48, 0.85);
  border-left: 2px solid var(--teal);
}

.page-home .home-v4__modules {
  display: grid;
  gap: 12px;
}

.page-home .home-v4__module {
  position: relative;
  padding: 24px 24px 24px 46px;
  background: linear-gradient(90deg, rgba(22, 35, 63, 0.78), rgba(22, 35, 63, 0.28));
  border-left: 3px solid var(--lime);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .home-v4__module--replay {
  border-left-color: var(--amber);
  margin-left: 14px;
}

.page-home .home-v4__module--data {
  border-left-color: var(--datum);
}

.page-home .home-v4__module--venue {
  border-left-color: var(--ember);
  margin-left: 28px;
}

.page-home .home-v4__module:hover {
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.14), rgba(16, 26, 48, 0.4));
  transform: translateX(6px);
}

.page-home .home-v4__tag {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fog);
}

.page-home .home-v4__module h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--moon);
}

.page-home .home-v4__module p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .home-replays {
  padding: 112px 0 96px;
  background: var(--abyss);
  clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 44px), 0 100%);
  margin: -22px 0 0;
}

.page-home .home-replays__head,
.page-home .home-standings__head {
  margin-bottom: 36px;
}

.page-home .home-replays__list {
  display: grid;
  gap: 14px;
}

.page-home .replay-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 18px;
  align-items: center;
  padding: 20px 18px;
  text-decoration: none;
  background: rgba(10, 20, 40, 0.55);
  border: 1px solid rgba(168, 184, 208, 0.12);
  border-left: 3px solid var(--lime);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .replay-row:hover {
  background: rgba(57, 255, 136, 0.08);
  border-left-color: var(--lime);
  transform: translateX(6px);
}

.page-home .replay-row__round {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--datum);
}

.page-home .replay-row__main {
  display: block;
  min-width: 0;
}

.page-home .replay-row__main strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  color: var(--moon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .replay-row__main em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.page-home .replay-row__time {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--teal);
}

.page-home .replay-row .chip {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 2px;
  white-space: nowrap;
}

.page-home .replay-row .chip--warn {
  color: var(--abyss);
  background: var(--amber);
  border-color: var(--amber);
}

.page-home .home-replays__foot {
  margin-top: 32px;
}

.page-home .home-standings {
  padding: 104px 0 88px;
  background: var(--void);
}

.page-home .home-standings__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .standings-chip {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--moon);
  background: var(--panel);
  border: 1px solid rgba(168, 184, 208, 0.22);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-home .standings-chip:hover,
.page-home .standings-chip:focus-visible {
  background: rgba(57, 255, 136, 0.18);
  border-color: var(--lime);
  color: var(--lime);
}

.page-home .home-standings__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-home .home-standings__tables {
  display: grid;
  gap: 20px;
}

.page-home .standings-view {
  padding: 20px 18px;
  background: rgba(16, 26, 48, 0.82);
  border: 1px solid rgba(168, 184, 208, 0.16);
  border-top: 2px solid var(--datum);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .standings-view:target {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.14);
}

.page-home .standings-view__label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-home .standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .standings-table th {
  padding: 8px 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog);
  text-align: left;
  border-bottom: 1px solid rgba(168, 184, 208, 0.24);
}

.page-home .standings-table td {
  padding: 10px 6px;
  color: var(--moon);
  border-bottom: 1px solid rgba(168, 184, 208, 0.1);
}

.page-home .standings-table td:first-child {
  font-family: var(--mono);
  color: var(--datum);
}

.page-home .standings-table td:last-child {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--lime);
}

.page-home .standings-table--team td:last-child {
  color: var(--teal);
}

.page-home .home-standings__chart {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}

.page-home .home-standings__chart img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-standings__tip {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--fog);
}

.page-home .home-venues {
  position: relative;
  overflow: hidden;
  padding: 220px 0 80px;
  color: var(--moon);
}

.page-home .home-venues__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-venues__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.3;
}

.page-home .home-venues::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.92) 0%, rgba(16, 26, 48, 0.8) 55%, rgba(10, 20, 40, 0.96) 100%);
}

.page-home .home-venues .container {
  position: relative;
  z-index: 2;
}

.page-home .home-venues__copy {
  max-width: 720px;
  padding: 34px 32px;
  background: rgba(16, 26, 48, 0.58);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--ember);
}

.page-home .home-venues__copy .section-index {
  margin-bottom: 12px;
  display: inline-block;
}

.page-home .home-venues__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--moon);
}

.page-home .home-venues__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fog);
}

.page-home .home-venues__features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .home-venues__features li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--moon);
}

.page-home .home-venues__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--ember);
  transform: skewX(-20deg);
}

.page-home .home-onboarding {
  padding: 96px 0 120px;
  background: var(--abyss);
}

.page-home .home-onboarding__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(120deg, var(--panel), var(--abyss));
  border-top: 4px solid var(--lime);
  clip-path: polygon(0 0, 100% 0, calc(100% - 42px) 100%, 0 100%);
}

.page-home .home-onboarding__panel h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: var(--moon);
}

.page-home .home-onboarding__panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fog);
}

.page-home .home-onboarding__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-onboarding .eyebrow {
  color: var(--lime);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .page-home .home-hero__stats .home-stat {
    min-width: 132px;
  }

  .page-home .replay-row {
    grid-template-columns: auto 1fr auto auto;
  }

  .page-home .home-standings__layout {
    grid-template-columns: 5fr 5fr;
  }

  .page-home .home-venues {
    padding: 280px 0 120px;
  }

  .page-home .home-venues__copy {
    padding: 44px 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 148px 0 88px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%);
  }

  .page-home .home-hero__wrap {
    grid-template-columns: 5fr 6fr;
    min-height: 640px;
    align-items: center;
  }

  .page-home .home-hero__visual {
    min-height: 520px;
    justify-content: flex-end;
  }

  .page-home .home-hero__radial-wrap {
    width: min(430px, 100%);
  }

  .page-home .home-hero__hint {
    margin-top: -8px;
  }

  .page-home .home-v4__layout {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .page-home .home-v4__phone {
    justify-self: end;
  }

  .page-home .home-v4__module--replay {
    margin-left: 24px;
  }

  .page-home .home-v4__module--venue {
    margin-left: 48px;
  }

  .page-home .home-standings__tables {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-replays__list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }

  .page-home .replay-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 22px;
  }

  .page-home .replay-row__time {
    grid-column: 2 / 3;
  }

  .page-home .replay-row .chip {
    align-self: end;
  }
}
