.page-home {
  background: var(--color-deep);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-deep);
  padding: 120px 0 64px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  right: 0;
  background: linear-gradient(135deg, rgba(18, 28, 61, 0.92) 0%, rgba(10, 15, 36, 0.45) 55%, rgba(57, 255, 136, 0.04) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(57, 255, 136, 0.05) 0%, transparent 32%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.page-home .home-hero__copy {
  max-width: 720px;
}

.page-home .home-hero__badge {
  display: inline-flex;
  margin-bottom: 18px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0 0 18px;
}

.page-home .home-hero__lead {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-fog);
  max-width: 34em;
  margin: 0;
}

.page-home .home-hero__visual {
  position: relative;
  padding-left: 2rem;
}

.page-home .home-hero__img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 136, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  background: var(--color-night);
}

.page-home .home-hero__img-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 45%;
  height: 130%;
  background: linear-gradient(100deg, transparent 0%, rgba(57, 255, 136, 0.14) 48%, transparent 100%);
  transform: skewX(-12deg);
  pointer-events: none;
}

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

.page-home .home-hero__card {
  position: absolute;
  left: 0;
  bottom: -26px;
  background: var(--color-night);
  border: 1px solid rgba(57, 255, 136, 0.35);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-hero__card-label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--color-fog);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-hero__card-value {
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.1;
}

.page-home .home-hero__card-meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-cyan);
}

.page-home .home-coordinate-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 52px auto 24px;
  padding-bottom: 18px;
}

.page-home .coordinate-index__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 208, 228, 0.16);
  background: rgba(18, 28, 61, 0.7);
  color: var(--color-fog);
  font-family: var(--font-body);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-home .coordinate-index__link:hover {
  border-color: rgba(57, 255, 136, 0.5);
  color: var(--color-green);
  background: rgba(57, 255, 136, 0.06);
}

.page-home .home-round {
  padding-bottom: 4rem;
}

.page-home .home-round__content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}

.page-home .home-round__copy {
  max-width: 720px;
}

.page-home .home-round .section-title {
  margin-top: 8px;
  margin-bottom: 14px;
}

.page-home .home-round__desc {
  font-family: var(--font-body);
  color: var(--color-fog);
  line-height: 1.75;
  font-size: 1rem;
  margin: 0 0 18px;
}

.page-home .home-round__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-green);
  font-family: var(--font-body);
  font-size: 0.94rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(57, 255, 136, 0.32);
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}

.page-home .home-round__link:hover {
  border-bottom-color: var(--color-green);
}

.page-home .home-round__digit {
  font-family: var(--font-data);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-green);
  text-shadow: 0 0 60px rgba(57, 255, 136, 0.24);
  letter-spacing: -0.06em;
  margin: 0;
  user-select: none;
  position: relative;
}

.page-home .home-round__digit::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-orange);
  transform: translateY(280%);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.8);
}

.page-home .home-round__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.page-home .home-round__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-round__stat-value {
  font-size: 2rem;
  line-height: 1.2;
}

.page-home .home-table-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 28, 61, 0.5) 18%, rgba(18, 28, 61, 0.5) 82%, transparent 100%);
}

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

.page-home .home-table-section .section-title {
  margin-top: 8px;
  margin-bottom: 10px;
}

.page-home .home-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.page-home .home-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 208, 228, 0.18);
  background: rgba(10, 15, 36, 0.6);
  color: var(--color-fog);
  font-family: var(--font-body);
  font-size: 0.85rem;
  white-space: nowrap;
}

.page-home .home-filter-chip--active {
  border-color: rgba(255, 107, 53, 0.45);
  color: var(--color-white);
  background: rgba(255, 107, 53, 0.08);
}

.page-home .home-table-scroll {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(199, 208, 228, 0.1);
  background: rgba(10, 15, 36, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  -webkit-overflow-scrolling: touch;
}

.page-home .home-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home .home-fixture-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
}

.page-home .home-fixture-table th {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fog);
  opacity: 0.74;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(57, 255, 136, 0.2);
  white-space: nowrap;
  background: rgba(18, 28, 61, 0.72);
}

.page-home .home-fixture-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(199, 208, 228, 0.08);
  white-space: normal;
  vertical-align: middle;
  color: var(--color-fog);
  font-size: 0.92rem;
}

.page-home .home-fixture-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .home-fixture-table tbody tr {
  transition: background 0.18s ease;
}

.page-home .home-fixture-table tbody tr:hover {
  background: rgba(57, 255, 136, 0.04);
}

.page-home .home-team-name {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.page-home .home-team-match {
  display: block;
  color: var(--color-fog);
  opacity: 0.68;
  font-size: 0.76rem;
  margin-top: 3px;
  white-space: nowrap;
}

.page-home .home-data-num {
  font-family: var(--font-data);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--color-white);
  white-space: nowrap;
}

.page-home .home-data-num--hot {
  color: var(--color-green);
}

.page-home .home-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--color-night);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-family: var(--font-data);
  font-size: 0.9rem;
  color: var(--color-cyan);
  white-space: nowrap;
}

.page-home .home-fav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-fav-label {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--color-fog);
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(199, 208, 228, 0.14);
  background: rgba(18, 28, 61, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-fav-icon {
  width: 16px;
  height: 16px;
}

.page-home .home-fav-label:hover {
  border-color: rgba(255, 107, 53, 0.45);
  color: var(--color-orange);
}

.page-home .home-fav-toggle:checked + .home-fav-label {
  color: var(--color-orange);
  border-color: rgba(255, 107, 53, 0.55);
  background: rgba(255, 107, 53, 0.12);
}

.page-home .home-fav-toggle:checked + .home-fav-label .home-fav-icon {
  fill: currentColor;
}

.page-home .home-table-note {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--color-fog);
  opacity: 0.7;
}

.page-home .home-why {
  padding-top: 2rem;
}

.page-home .home-why__head {
  max-width: 720px;
}

.page-home .home-why .section-title {
  margin-top: 8px;
  margin-bottom: 10px;
}

.page-home .home-why__visual {
  margin: 28px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 136, 0.16);
  background: var(--color-night);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

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

.page-home .home-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 28px;
}

.page-home .home-why__card {
  padding: 22px 20px;
  border: 1px solid rgba(199, 208, 228, 0.1);
  border-radius: 14px;
  background: rgba(18, 28, 61, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .home-why__card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 136, 0.4);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.page-home .home-why__index {
  display: block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-green);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(57, 255, 136, 0.18);
}

.page-home .home-why__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page-home .home-why__desc {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--color-fog);
  margin: 0;
}

.page-home .home-commute {
  padding-top: 1rem;
}

.page-home .home-commute__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.page-home .home-commute .section-title {
  margin-top: 8px;
  margin-bottom: 18px;
}

.page-home .home-commute__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-fog);
  margin: 0 0 18px;
}

.page-home .home-commute__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 12px;
}

.page-home .home-commute__media {
  position: relative;
}

.page-home .home-commute__chart {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(57, 255, 136, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.page-home .home-commute__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(18, 28, 61, 0.72);
  border: 1px solid rgba(199, 208, 228, 0.1);
}

.page-home .home-commute__legend .route-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--color-fog);
}

.page-home .home-commute__bg-wrap {
  margin-top: 3rem;
  margin-bottom: 0;
}

.page-home .home-commute__bg {
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 70px rgba(0, 229, 255, 0.06);
  background: var(--color-night);
}

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

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .btn-primary {
  background: var(--color-green);
  color: var(--color-deep);
  box-shadow: 0 6px 24px rgba(57, 255, 136, 0.22);
}

.page-home .btn-primary:hover {
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(57, 255, 136, 0.28);
}

.page-home .btn-outline {
  background: transparent;
  border-color: rgba(57, 255, 136, 0.4);
  color: var(--color-green);
}

.page-home .btn-outline:hover {
  border-color: var(--color-green);
  background: rgba(57, 255, 136, 0.06);
}

@media (min-width: 640px) {
  .page-home .home-round__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .home-round__digit {
    margin-right: 2rem;
  }

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

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 176px 0 96px;
  }

  .page-home .home-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
  }

  .page-home .home-hero__copy {
    flex: 1 1 46%;
  }

  .page-home .home-hero__visual {
    flex: 1 1 46%;
    padding-left: 0;
  }

  .page-home .home-round__stats {
    gap: 1.4rem;
  }

  .page-home .home-commute__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.4rem;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__inner {
    gap: 5rem;
  }

  .page-home .home-why__grid {
    gap: 1.4rem;
  }
}
