.page-home {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: clip;
}

.page-home .hero-section {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-height) + 2.5rem) 1.25rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 18%, rgba(245, 197, 24, 0.12), transparent 55%),
    radial-gradient(ellipse at 12% 82%, rgba(57, 255, 20, 0.06), transparent 45%),
    linear-gradient(120deg, rgba(26, 35, 126, 0.22), transparent 40%);
}

.page-home .hero-arena-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.72) brightness(0.42);
  pointer-events: none;
}

.page-home .hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(10, 14, 39, 0.96) 12%, rgba(10, 14, 39, 0.78) 50%, rgba(10, 14, 39, 0.58) 100%);
  pointer-events: none;
}

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

.page-home .hero-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .hero-card,
.page-home .hero-main {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-main);
  background: linear-gradient(135deg, rgba(21, 27, 58, 0.94), rgba(16, 21, 52, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-home .hero-card::before,
.page-home .hero-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(245, 197, 24, 0.14) 60%, transparent 100%);
}

.page-home .hero-main {
  background:
    radial-gradient(circle at 80% 16%, rgba(245, 197, 24, 0.13), transparent 46%),
    linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(21, 27, 58, 0.88));
  border-color: var(--border-gold);
}

.page-home .hero-main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), var(--gold), transparent);
  opacity: 0.55;
}

.page-home .home-crumb {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.page-home .crumb-current {
  color: var(--text-secondary);
}

.page-home .crumb-sep {
  margin: 0 0.4rem;
  color: var(--gray);
}

.page-home .crumb-here {
  color: var(--gold);
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .hero-title {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f2f4fa;
  max-width: 11em;
}

.page-home .hero-lead {
  max-width: 46ch;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.page-home .hero-actions,
.page-home .app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-card h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.page-home .hero-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 197, 24, 0.4);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-home .hero-card-link:hover {
  color: var(--neon);
  border-color: rgba(57, 255, 20, 0.6);
}

.page-home .hero-version {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 238px;
  background:
    radial-gradient(circle at 85% 14%, rgba(245, 197, 24, 0.2), transparent 42%),
    linear-gradient(150deg, rgba(21, 27, 58, 0.96), rgba(16, 21, 52, 0.9));
}

.page-home .version-code {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  line-height: 0.92;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
}

.page-home .hero-meteor {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 128px;
  height: auto;
  opacity: 0.82;
  pointer-events: none;
}

.page-home .hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.75rem;
  margin-top: 1rem;
}

.page-home .stat-cell {
  display: flex;
  flex-direction: column;
}

.page-home .stat-num {
  font-family: var(--font-data);
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--gold);
}

.page-home .stat-label,
.page-home .stat-title {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .hero-main {
  animation: heroRise 0.7s ease-out both;
}

.page-home .hero-card {
  animation: heroRise 0.8s ease-out both;
}

.page-home .hero-card:nth-child(2) {
  animation-delay: 0.08s;
}

.page-home .hero-card:nth-child(3) {
  animation-delay: 0.15s;
}

.page-home .hero-card:nth-child(4) {
  animation-delay: 0.22s;
}

.page-home .hero-card:nth-child(5) {
  animation-delay: 0.29s;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-main,
  .page-home .hero-card {
    animation: none !important;
    opacity: 1 !important;
  }
}

.page-home .version-section {
  padding: 4rem 1.25rem;
  background: linear-gradient(180deg, var(--bg-deep), rgba(21, 27, 58, 0.42), var(--bg-deep));
}

.page-home .version-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .version-copy {
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid rgba(245, 197, 24, 0.6);
}

.page-home .version-copy h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  color: var(--text-primary);
}

.page-home .version-copy .lead-text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.page-home .version-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.page-home .version-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-primary);
}

.page-home .version-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.6em;
  height: 0.6em;
  background: var(--gold);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
}

.page-home .version-visual {
  position: relative;
}

.page-home .version-visual::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: var(--radius);
  z-index: -1;
}

.page-home .version-visual .img-frame {
  aspect-ratio: 3 / 2;
}

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

.page-home .updates-section {
  position: relative;
  padding: 4rem 1.25rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(245, 197, 24, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(21, 27, 58, 0.5), rgba(10, 14, 39, 0) 32%),
    var(--bg-deep);
}

.page-home .updates-head,
.page-home .track-head,
.page-home .explore-head {
  max-width: 820px;
}

.page-home .updates-head h2,
.page-home .track-head h2,
.page-home .explore-head h2,
.page-home .app-copy h2 {
  margin: 0.6rem 0 0.85rem;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  color: var(--text-primary);
}

.page-home .updates-head p,
.page-home .track-head p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-home .updates-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.page-home .update-table {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(21, 27, 58, 0.9), rgba(16, 21, 52, 0.78));
  border-color: var(--border-main);
}

.page-home .update-table-head,
.page-home .update-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 0.7fr;
  gap: 0.5rem;
  align-items: center;
}

.page-home .update-table-head {
  padding: 0.75rem 1rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--border-main);
  background: rgba(245, 197, 24, 0.05);
}

.page-home .update-row {
  padding: 0.82rem 1rem;
  border-bottom: 1px solid rgba(232, 233, 240, 0.06);
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.page-home .update-row:last-child {
  border-bottom: 0;
}

.page-home .update-row:hover {
  background: rgba(245, 197, 24, 0.05);
}

.page-home .update-league {
  color: var(--gold);
  font-weight: 600;
}

.page-home .update-event {
  color: var(--text-primary);
}

.page-home .update-state {
  text-align: right;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--neon);
  white-space: nowrap;
}

.page-home .updates-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .data-panel {
  position: relative;
  padding: 1.4rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(26, 35, 126, 0.18), transparent),
    var(--bg-card);
  border-color: var(--border-main);
}

.page-home .data-panel-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.9rem 0 0.4rem;
}

.page-home .data-panel .stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .data-panel .stat-unit {
  font-size: 1.2rem;
}

.page-home .data-panel .stat-title {
  font-size: 0.95rem;
}

.page-home .data-points {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--border-main);
  display: grid;
  gap: 0.5rem;
}

.page-home .data-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.page-home .data-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45em;
  height: 0.45em;
  background: var(--moss);
  border-radius: 50%;
}

.page-home .chart-frame {
  aspect-ratio: 2 / 1;
}

.page-home .chart-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .track-section {
  padding: 4rem 1.25rem;
  background: linear-gradient(180deg, var(--bg-deep), rgba(18, 23, 53, 0.65) 45%, var(--bg-deep));
}

.page-home .track-steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .track-step {
  position: relative;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-main);
  background: linear-gradient(150deg, rgba(21, 27, 58, 0.92), rgba(16, 21, 52, 0.8));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .track-step:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.page-home .step-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-data);
  font-size: 2.2rem;
  color: rgba(245, 197, 24, 0.22);
  font-weight: 700;
  line-height: 1;
}

.page-home .track-step h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.18rem;
  color: var(--text-primary);
  padding-right: 3.4rem;
}

.page-home .track-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .track-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-main);
}

.page-home .track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.page-home .app-section {
  padding: 4rem 1.25rem;
  background:
    radial-gradient(ellipse at 10% 70%, rgba(57, 255, 20, 0.06), transparent 45%),
    linear-gradient(120deg, rgba(21, 27, 58, 0.85), rgba(10, 14, 39, 0.95));
}

.page-home .app-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .app-copy p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.page-home .app-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  display: grid;
  gap: 0.8rem;
}

.page-home .app-points li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-primary);
}

.page-home .app-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 0.8em;
  height: 0.8em;
  border-radius: 3px;
  background: rgba(57, 255, 20, 0.16);
  border: 1px solid rgba(57, 255, 20, 0.6);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.page-home .app-visual {
  display: flex;
  justify-content: center;
}

.page-home .phone-frame {
  width: min(280px, 100%);
  aspect-ratio: 1 / 2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.page-home .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .explore-section {
  padding: 4rem 1.25rem 5rem;
}

.page-home .explore-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .explore-card {
  display: block;
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-main);
  background: linear-gradient(145deg, rgba(16, 21, 52, 0.92), rgba(10, 14, 39, 0.86));
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .explore-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.page-home .explore-card h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.page-home .explore-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .page-home .hero-collage {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .hero-main {
    grid-column: 1 / -1;
  }

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

  .page-home .track-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

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

  .page-home .explore-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-home .hero-collage {
    grid-template-columns: 1.1fr 0.9fr 1fr 1fr;
    grid-template-areas:
      "hero-main hero-main hero-version hero-version"
      "hero-stats hero-updates hero-track hero-ios";
    gap: 1.25rem;
  }

  .page-home .hero-main {
    grid-area: hero-main;
  }

  .page-home .hero-version {
    grid-area: hero-version;
  }

  .page-home .hero-stats {
    grid-area: hero-stats;
  }

  .page-home .hero-updates {
    grid-area: hero-updates;
  }

  .page-home .hero-track {
    grid-area: hero-track;
  }

  .page-home .hero-ios {
    grid-area: hero-ios;
  }

  .page-home .version-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .page-home .updates-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .page-home .app-layout {
    grid-template-columns: 0.95fr 0.55fr;
    gap: 4rem;
  }

  .page-home .explore-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .explore-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .page-home .update-table-head {
    display: none;
  }

  .page-home .update-row {
    grid-template-columns: 1fr;
    row-gap: 0.2rem;
    padding: 0.85rem 1rem;
  }

  .page-home .update-state {
    text-align: left;
  }
}
