.page-home {
  --hero-muted: #C7D3E3;
  --panel-bg: rgba(5, 14, 29, 0.72);
  --line-soft: #1E3A5F;
  --text-soft: #4A5568;
  color: var(--color-text);
  background: var(--color-white);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
  background: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 14, 29, 0.82) 0%, rgba(10, 30, 61, 0.76) 45%, rgba(5, 14, 29, 0.92) 100%);
}

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

.page-home .home-hero__crumbs {
  margin-bottom: 24px;
}

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

.page-home .home-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .home-hero__kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--color-gold);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--color-white);
  text-wrap: balance;
}

.page-home .home-hero__lead {
  max-width: 56ch;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--hero-muted);
}

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

.page-home .home-hero .btn--ghost {
  border-color: var(--color-line);
  color: var(--color-white);
}

.page-home .home-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-gold);
  background: var(--panel-bg);
  backdrop-filter: blur(6px);
}

.page-home .home-hero__year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.page-home .home-hero__panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.875rem;
  color: var(--hero-muted);
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}

.page-home .home-hero__stats strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-white);
}

.page-home .home-hero__stats span {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.page-home .home-hero__index {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

.page-home .index-card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--color-gold);
  background: var(--panel-bg);
  color: var(--color-white);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .index-card:hover,
.page-home .index-card:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-gold-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  outline: none;
}

.page-home .index-card__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--color-gold);
}

.page-home .index-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .index-card__title {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
}

.page-home .index-card__desc {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hero-muted);
}

.page-home .index-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .home-archive,
.page-home .home-focus,
.page-home .home-rank,
.page-home .home-expert,
.page-home .home-news,
.page-home .home-finale {
  padding: 64px 0;
}

.page-home .home-archive,
.page-home .home-rank,
.page-home .home-finale {
  color: var(--color-white);
}

.page-home .home-archive {
  background: var(--color-primary);
  border-top: 1px solid var(--color-line);
}

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

.page-home .section-kicker {
  color: var(--color-gold-dark);
}

.page-home .home-archive .section-kicker,
.page-home .home-rank .section-kicker,
.page-home .home-finale .section-kicker {
  color: var(--color-gold);
}

.page-home .home-archive .section-title,
.page-home .home-rank .section-title,
.page-home .home-finale .section-title {
  color: var(--color-white);
}

.page-home .home-archive .section-desc,
.page-home .home-rank .section-desc,
.page-home .home-finale .section-desc {
  color: var(--hero-muted);
}

.page-home .home-archive__search {
  margin: 28px 0 20px;
}

.page-home .home-archive__search label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-archive__input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-gold);
  background: rgba(5, 14, 29, 0.6);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-archive__input::placeholder {
  color: var(--color-muted);
}

.page-home .home-archive__input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.page-home .home-archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-archive__empty {
  display: none;
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--color-gold-light);
}

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

.page-home .home-archive__figure {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--color-primary-dark);
}

.page-home .home-archive__figure img,
.page-home .home-expert__figure img,
.page-home .focus-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-focus {
  background: var(--color-white);
  border-top: 1px solid #E2E8F0;
}

.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.page-home .home-section-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-focus .btn--ghost,
.page-home .home-news .btn--ghost {
  border-color: var(--color-line);
  color: var(--color-primary);
}

.page-home .home-focus__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 0 16px 12px;
  scrollbar-width: none;
}

.page-home .home-focus__track::-webkit-scrollbar {
  display: none;
}

.page-home .focus-card {
  flex: 0 0 min(86vw, 420px);
  scroll-snap-align: start;
  border: 1px solid #E2E8F0;
  border-top: 3px solid var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(10, 30, 61, 0.06);
}

.page-home .focus-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid #E2E8F0;
  background: var(--color-gray);
}

.page-home .focus-card__body {
  padding: 20px;
}

.page-home .focus-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .focus-card__time {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.page-home .focus-card__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--color-primary);
}

.page-home .focus-card__desc {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .focus-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-home .home-rank {
  background: var(--color-primary);
  border-top: 1px solid var(--color-line);
}

.page-home .home-rank__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.page-home .home-rank__head .btn--gold {
  align-self: flex-start;
}

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

.page-home .rank-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .rank-tabs {
  display: flex;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-bottom: 0;
}

.page-home .rank-tab {
  flex: 1 0 auto;
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  background: rgba(5, 14, 29, 0.35);
  border-bottom: 2px solid transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-home .rank-tab:hover {
  color: var(--color-gold-light);
}

.page-home .rank-input--epl:checked ~ .rank-tabs .rank-tab[for="rank-epl"],
.page-home .rank-input--seriea:checked ~ .rank-tabs .rank-tab[for="rank-seriea"],
.page-home .rank-input--laliga:checked ~ .rank-tabs .rank-tab[for="rank-laliga"] {
  border-bottom-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold);
}

.page-home .rank-input--epl:focus-visible ~ .rank-tabs .rank-tab[for="rank-epl"],
.page-home .rank-input--seriea:focus-visible ~ .rank-tabs .rank-tab[for="rank-seriea"],
.page-home .rank-input--laliga:focus-visible ~ .rank-tabs .rank-tab[for="rank-laliga"] {
  outline: 2px solid var(--color-gold-light);
  outline-offset: -2px;
}

.page-home .rank-panels {
  border: 1px solid var(--color-line);
  background: rgba(5, 14, 29, 0.35);
}

.page-home .rank-panel {
  display: none;
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.page-home .rank-input--epl:checked ~ .rank-panels .rank-panel--epl,
.page-home .rank-input--seriea:checked ~ .rank-panels .rank-panel--seriea,
.page-home .rank-input--laliga:checked ~ .rank-panels .rank-panel--laliga {
  display: table;
}

.page-home .rank-panel__caption {
  caption-side: top;
  padding: 12px 16px 0;
  text-align: left;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .rank-panel th,
.page-home .rank-panel td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
}

.page-home .rank-panel th:first-child,
.page-home .rank-panel td:first-child,
.page-home .rank-panel th:nth-child(2),
.page-home .rank-panel td:nth-child(2) {
  text-align: left;
}

.page-home .rank-panel th {
  background: rgba(10, 30, 61, 0.6);
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .rank-panel td {
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
}

.page-home .rank-panel__top td:first-child {
  color: var(--color-gold);
  font-weight: 700;
}

.page-home .rank-panel__top td:last-child {
  color: var(--color-gold-light);
  font-weight: 700;
}

.page-home .rank-note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .home-expert {
  background: var(--color-gray);
  border-top: 1px solid #E2E8F0;
}

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

.page-home .home-expert__figure {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid #E2E8F0;
  background: var(--color-white);
  box-shadow: 12px 12px 0 rgba(10, 30, 61, 0.08);
}

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

.page-home .expert-item {
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--color-gold);
}

.page-home .expert-item__title {
  margin: 8px 0 6px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--color-primary);
}

.page-home .expert-item__summary {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .home-news {
  background: var(--color-white);
  border-top: 1px solid #E2E8F0;
}

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

.page-home .home-news__list {
  display: grid;
}

.page-home .news-item {
  border-bottom: 1px solid #E2E8F0;
}

.page-home .news-item:first-child {
  border-top: 1px solid #E2E8F0;
}

.page-home .news-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  cursor: pointer;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.4;
  list-style: none;
  transition: color 0.2s ease;
}

.page-home .news-item summary::-webkit-details-marker {
  display: none;
}

.page-home .news-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.page-home .news-item[open] summary::after {
  content: "–";
}

.page-home .news-item summary:hover {
  color: var(--color-gold-dark);
}

.page-home .news-item__tag {
  flex: 0 0 auto;
}

.page-home .news-item__label {
  font-weight: 500;
}

.page-home .news-item__body {
  max-width: 64ch;
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .home-finale {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 40%), var(--color-primary-dark);
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.page-home .home-finale__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.page-home .home-finale__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-home .home-finale__kicker::before,
.page-home .home-finale__kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

.page-home .home-finale__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.page-home .home-finale__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hero-muted);
}

.page-home .home-finale__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home .home-finale .btn--ghost {
  border-color: var(--color-line);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 120px 0 72px;
  }

  .page-home .home-archive,
  .page-home .home-focus,
  .page-home .home-rank,
  .page-home .home-expert,
  .page-home .home-news,
  .page-home .home-finale {
    padding: 88px 0;
  }

  .page-home .home-hero__top {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 48px;
  }

  .page-home .home-hero__index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
  }

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

  .page-home .home-focus__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .page-home .focus-card {
    flex: none;
    min-width: 0;
  }

  .page-home .home-rank__head,
  .page-home .home-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .page-home .home-rank__head {
    display: flex;
  }

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

  .page-home .home-news__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
  }
}
