.page-home {
  background: var(--color-deep-blue);
  color: var(--color-white);
  overflow-x: hidden;
  width: 100%;
}

.page-home .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page-home .section {
  position: relative;
  padding: 72px 0;
}

.page-home .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-light-steel);
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.page-home .eyebrow {
  font-family: var(--font-editorial);
  color: var(--color-neon-green);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--color-gold);
}

.page-home .display-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--color-white);
  text-wrap: balance;
}

.page-home .lead {
  font-family: var(--font-body);
  color: var(--color-light-steel);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  max-width: 58ch;
  margin: 0 0 32px;
}

.page-home .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.page-home .button--primary {
  background: var(--color-neon-green);
  color: var(--color-dark-blue);
  box-shadow: 0 8px 32px rgba(0, 255, 156, 0.22);
}

.page-home .button--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.page-home .button:hover {
  transform: translateY(-3px);
}

.page-home .button--primary:hover {
  box-shadow: 0 14px 40px rgba(0, 255, 156, 0.35);
}

.page-home .button--outline:hover {
  border-color: var(--color-neon-green);
  color: var(--color-neon-green);
}

.page-home .text-link {
  color: var(--color-neon-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 156, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .text-link:hover {
  border-color: var(--color-neon-green);
  color: var(--color-white);
}

/* Hero */
.page-home .hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(0, 255, 156, 0.12), transparent 52%),
    radial-gradient(ellipse at 12% 88%, rgba(255, 215, 0, 0.06), transparent 40%),
    var(--color-deep-blue);
  overflow: hidden;
}

.page-home .hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

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

.page-home .hero__title {
  max-width: 14ch;
}

.page-home .hero__lead {
  margin-bottom: 36px;
}

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

.page-home .hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 520px;
}

.page-home .hero__stat {
  padding: 16px;
  background: rgba(28, 43, 89, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
}

.page-home .hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-neon-green);
  letter-spacing: 0.02em;
}

.page-home .hero__stat-label {
  font-size: 0.83rem;
  color: var(--color-light-steel);
  letter-spacing: 0.04em;
}

.page-home .hero__visual {
  position: relative;
  min-height: 0;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-home .hero__gauge {
  position: absolute;
  inset: 10% 8% 0;
  width: 84%;
  height: 84%;
  overflow: visible;
}

.page-home .hero__radar {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 72% 26%, rgba(0, 255, 156, 0.2), transparent 58%);
  pointer-events: none;
}

.page-home .gauge-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.page-home .gauge-arc {
  stroke: var(--color-neon-green);
  animation: gauge-dash 4s linear infinite;
}

.page-home .gauge-arc--gold {
  stroke: var(--color-gold);
  animation-duration: 6s;
  animation-direction: reverse;
}

.page-home .gauge-axis line,
.page-home .gauge-ticks line {
  stroke: var(--color-neon-green);
}

.page-home .gauge-text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  fill: var(--color-white);
}

.page-home .gauge-text--small {
  font-size: 12px;
  fill: var(--color-neon-green);
  letter-spacing: 0.06em;
}

.page-home .gauge-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  fill: var(--color-neon-green);
  letter-spacing: 0.12em;
}

.page-home .gauge-label--dim {
  fill: rgba(255, 255, 255, 0.4);
}

.page-home .gauge-label--gold {
  fill: var(--color-gold);
}

.page-home .hero__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
  overflow: hidden;
}

.page-home .hero__edge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: translateX(-100%);
  animation: edge-flow 3s linear infinite;
}

/* Compare */
.page-home .compare {
  z-index: 0;
  background: var(--color-deep-blue);
}

.page-home .compare::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-dark-blue);
  clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%);
}

.page-home .section__head {
  max-width: 720px;
  margin-bottom: 44px;
}

.page-home .section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--color-white);
}

.page-home .filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-home .filter-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-light-steel);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.page-home .filter-btn.is-active {
  background: var(--color-neon-green);
  border-color: var(--color-neon-green);
  color: var(--color-dark-blue);
}

.page-home .compare__panels {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.page-home .data-pane {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: rgba(10, 17, 40, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.page-home .data-pane:hover {
  transform: translateY(-4px);
}

.page-home .data-pane--v3 {
  border-top: 4px solid var(--color-neon-green);
}

.page-home .data-pane--legacy {
  border-top: 4px solid var(--color-gold);
}

.page-home .compare__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.page-home .compare__tag--new {
  background: rgba(0, 255, 156, 0.16);
  color: var(--color-neon-green);
  border: 1px solid rgba(0, 255, 156, 0.3);
}

.page-home .compare__tag--legacy {
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(255, 215, 0, 0.28);
}

.page-home .data-pane h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: var(--color-white);
}

.page-home .compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .compare__list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-light-steel);
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-home .compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 156, 0.6);
}

.page-home .data-pane--legacy .compare__list li::before {
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.page-home .compare__shot {
  margin: 40px 0 32px;
  position: relative;
}

.page-home .compare__shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-home .compare__shot figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-light-steel);
  text-align: center;
}

.page-home .compare__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.page-home .button--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.page-home .perks {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .perks__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  margin: 0 0 28px;
}

.page-home .perks__grid {
  display: grid;
  gap: 18px;
}

.page-home .perk {
  position: relative;
  padding: 24px 22px 22px 26px;
  border-radius: 14px;
  background: rgba(28, 43, 89, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.page-home .perk::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.08);
}

.page-home .perk__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-gold);
  opacity: 0.8;
}

.page-home .perk h4 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  margin: 10px 0 8px;
  color: var(--color-white);
}

.page-home .perk p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-light-steel);
}

/* Leagues */
.page-home .leagues {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--color-deep-blue);
  background-size: 44px 44px;
}

.page-home .section__head--split {
  max-width: none;
  display: grid;
  gap: 20px;
  align-items: end;
}

.page-home .section__aside {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-light-steel);
  max-width: 42ch;
}

.page-home .leagues__layout {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.page-home .league-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .league-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(28, 43, 89, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .league-item:hover {
  transform: translateX(6px);
  border-color: rgba(0, 255, 156, 0.4);
}

.page-home .league-item--hot {
  border-left: 4px solid var(--color-neon-green);
}

.page-home .league-item__name {
  font-weight: 700;
  color: var(--color-white);
}

.page-home .league-item__tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-neon-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .league-item--hot .league-item__tag {
  color: var(--color-gold);
}

.page-home .leagues__matrix {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.page-home .leagues__matrix rect {
  stroke: rgba(255, 255, 255, 0.08);
}

.page-home .matrix-hot {
  fill: var(--color-neon-green);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

.page-home .matrix-gold {
  fill: var(--color-gold);
  animation: pulse-dot 3.6s ease-in-out infinite;
}

.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .match-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.page-home .match-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 156, 0.7);
  flex-shrink: 0;
}

.page-home .match-item__league {
  font-weight: 800;
  color: var(--color-white);
  min-width: 4.5em;
}

.page-home .match-item__title {
  color: var(--color-light-steel);
  flex: 1;
}

.page-home .match-item__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(0, 255, 156, 0.14);
  color: var(--color-neon-green);
  border: 1px solid rgba(0, 255, 156, 0.2);
}

/* Speed */
.page-home .speed {
  position: relative;
  background: var(--color-dark-blue);
  overflow: hidden;
}

.page-home .speed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 255, 156, 0.055) 58%, rgba(0, 255, 156, 0.055) 62%, transparent 62%);
  background-size: 100% 96px;
  animation: stream-move 3.2s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.page-home .speed .container {
  position: relative;
  z-index: 1;
}

.page-home .speed__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .speed__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .speed__list li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid var(--color-neon-green);
}

.page-home .speed__list strong {
  font-size: 1.05rem;
  color: var(--color-white);
}

.page-home .speed__list span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-light-steel);
}

.page-home .speed__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.page-home .speed__visual {
  position: relative;
  max-width: 480px;
}

.page-home .speed__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-home .speed__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(10, 17, 40, 0.88);
  border: 2px solid var(--color-neon-green);
  box-shadow: 0 0 0 0 rgba(0, 255, 156, 0.4);
  animation: badge-pulse 2s linear infinite;
}

.page-home .speed__badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-neon-green);
  line-height: 1;
}

.page-home .speed__badge span {
  font-size: 0.7rem;
  color: var(--color-light-steel);
  margin-top: 4px;
}

/* Chinese */
.page-home .chinese {
  background:
    radial-gradient(ellipse at 88% 70%, rgba(255, 215, 0, 0.06), transparent 45%),
    var(--color-deep-blue);
}

.page-home .chinese__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .chinese__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-home .chinese__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .chinese__list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border-radius: 12px;
  background: rgba(28, 43, 89, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-light-steel);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .chinese__list li::before {
  content: "中";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--color-gold);
  color: var(--color-dark-blue);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .chinese__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* Trust */
.page-home .trust {
  background: var(--color-dark-blue);
  padding: 32px 0 48px;
}

.page-home .trust__inner {
  text-align: center;
}

.page-home .trust p {
  margin: 0 0 8px;
  color: var(--color-light-steel);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .trust__note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

/* Keyframes */
@keyframes edge-flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes gauge-dash {
  to {
    stroke-dashoffset: 120;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 156, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 255, 156, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 156, 0);
  }
}

@keyframes stream-move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 200px;
  }
}

/* Tablet */
@media (min-width: 660px) {
  .page-home .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .hero__stat {
    padding: 18px;
  }

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

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

/* Desktop */
@media (min-width: 960px) {
  .page-home .section {
    padding: 106px 0;
  }

  .page-home .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 160px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }

  .page-home .hero__copy {
    padding-left: 24px;
  }

  .page-home .hero__visual {
    margin-right: 24px;
  }

  .page-home .compare__panels {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-home .perks__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .section__head--split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    margin-bottom: 52px;
  }

  .page-home .leagues__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }

  .page-home .speed__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 72px;
  }

  .page-home .chinese__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
  }

  .page-home .chinese__copy {
    padding-right: 24px;
  }
}
