.page-home {
  --home-orange-glow: rgba(255, 122, 26, 0.45);
  --home-green-glow: rgba(46, 255, 176, 0.32);
  --home-card-glass: rgba(19, 28, 46, 0.78);
  --home-grid-line: rgba(232, 240, 255, 0.05);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(59, 110, 165, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 28%, rgba(255, 122, 26, 0.1), transparent 48%),
    var(--bg);
}

.page-home .home-track {
  display: none;
}

@media (min-width: 1280px) {
  .page-home .home-track {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .page-home .home-track__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid transparent;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.06em;
    backdrop-filter: blur(6px);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
  }
  .page-home .home-track__item span {
    color: var(--orange);
    font-weight: 700;
  }
  .page-home .home-track__item:hover {
    color: var(--near-white);
    border-color: var(--border);
    background: var(--card);
  }
}

.page-home .home-hero {
  position: relative;
  padding: 48px 0 60px;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}

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

.page-home .home-hero__tag {
  display: flex;
  align-items: center;
}

.page-home .home-hero__mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--home-orange-glow);
}

.page-home .home-hero__title {
  margin: 18px 0 18px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--near-white);
}

.page-home .home-hero__lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.page-home .btn {
  transition: transform 0.2s, box-shadow 0.3s;
}

.page-home .btn:active {
  transform: scale(0.98);
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 36px;
}

.page-home .home-hero__stat {
  background: var(--home-card-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}

.page-home .home-hero__stat dt {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-hero__stat .data-number {
  font-size: clamp(20px, 6vw, 28px);
  color: var(--near-white);
  line-height: 1;
}

.page-home .home-hero__visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0d2a44 0%, #0a0e1a 100%);
}

.page-home .home-hero__pitch {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(255, 122, 26, 0.16) 58%, transparent 61%),
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.page-home .home-hero__pitch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 68%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 50%;
}

.page-home .home-hero__pitch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--home-green-glow), 0 0 34px var(--home-green-glow);
}

.page-home .home-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-home .home-hero__legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 26, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-home .home-update {
  padding: 24px 0 48px;
}

.page-home .home-update__panel {
  position: relative;
  overflow: hidden;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0d2a44 0%, var(--card) 65%);
}

.page-home .home-update__panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--home-orange-glow), transparent 70%);
  opacity: 0.65;
  pointer-events: none;
}

.page-home .home-update__status {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-update__title {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 12px 0 14px;
  line-height: 1.3;
}

.page-home .home-update__text {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .home-update__text a {
  color: var(--link);
  text-decoration: none;
}

.page-home .home-update__text a:hover {
  color: var(--near-white);
}

.page-home .home-update__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-home .home-search {
  padding: 40px 0 56px;
}

.page-home .home-search__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-home .home-search__desc {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .home-search__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .home-search__input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--near-white);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.page-home .home-search__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.page-home .home-search__input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--home-orange-glow);
}

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

.page-home .home-search__filter {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.page-home .home-search__filter:hover,
.page-home .home-search__filter.is-active {
  border-color: var(--orange);
  background: rgba(255, 122, 26, 0.16);
  color: var(--near-white);
}

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

.page-home .home-team {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--home-card-glass);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s;
}

.page-home .home-team:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.55);
}

.page-home .home-team__media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2a44, #131c2e);
}

.page-home .home-team__media--gradient {
  background: radial-gradient(circle at 70% 30%, rgba(255, 122, 26, 0.22), transparent 55%),
    linear-gradient(135deg, #0d2a44, #131c2e);
}

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

.page-home .home-team__badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.page-home .home-team__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.page-home .home-team__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--near-white);
}

.page-home .home-team__league {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
}

.page-home .home-team__meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-team__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--near-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.page-home .home-team__link:hover {
  color: var(--orange);
}

.page-home .home-search__note {
  margin-top: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-lineup {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, transparent, rgba(13, 42, 68, 0.28), transparent);
}

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

.page-home .home-lineup__desc {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .home-lineup__layout {
  display: grid;
  gap: 28px;
}

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

.page-home .home-lineup__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-home .home-lineup__hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-lineup__hint a {
  color: var(--link);
  text-decoration: none;
}

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

.page-home .home-match {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.3s, transform 0.3s;
}

.page-home .home-match:first-child {
  border-left-color: var(--orange);
}

.page-home .home-match:hover {
  border-top-color: var(--border);
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  border-left-color: var(--orange);
  transform: translateX(4px);
}

.page-home .home-match__round {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .home-match__title {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--near-white);
}

.page-home .home-match__meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-home .home-compare {
  margin-top: 32px;
  padding: 28px 24px;
  scroll-margin-top: 90px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0d2a44, var(--card));
}

.page-home .home-compare__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.page-home .home-compare__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--near-white);
}

.page-home .home-compare__table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-home .home-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 14px;
}

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

.page-home .home-compare__row--head {
  background: rgba(10, 14, 26, 0.5);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .home-compare__row span:first-child {
  color: var(--muted);
}

.page-home .home-compare__row span:last-child {
  color: var(--near-white);
}

.page-home .home-compare__row span.home-compare__hot {
  color: var(--orange);
  font-weight: 700;
}

.page-home .home-weekend {
  padding: 56px 0 64px;
}

.page-home .home-weekend__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-weekend__desc {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .home-weekend__steps {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.page-home .home-weekend__step {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.page-home .home-weekend__step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--home-orange-glow);
}

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

.page-home .home-weekend__visual {
  display: grid;
  gap: 16px;
}

.page-home .home-weekend__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

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

.page-home .home-matchday {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.page-home .home-matchday__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.page-home .home-matchday__time {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  color: var(--near-white);
}

.page-home .home-matchday .data-number {
  margin-left: auto;
  color: var(--orange);
  font-size: 20px;
}

.page-home .home-matchday__action {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .page-home .home-search__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-matchday__action {
    width: auto;
  }

  .page-home .home-compare {
    padding: 32px;
  }
}

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

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    min-height: 640px;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-update__panel {
    padding: 40px 44px;
  }

  .page-home .home-lineup__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-home .home-weekend__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero__inner {
    padding-left: 44px;
  }
}
