.page-home {
  --home-grid-line: rgba(57, 255, 20, 0.12);
  --home-gold-soft: rgba(201, 168, 76, 0.16);
  background: var(--bg-primary);
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.page-home .home-context-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(86vh, 760px);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-home .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(10, 25, 49, 0.97) 8%, rgba(10, 25, 49, 0.86) 42%, rgba(10, 25, 49, 0.62) 74%, rgba(10, 25, 49, 0.85) 100%),
    linear-gradient(to right, rgba(10, 25, 49, 0.7), rgba(16, 34, 71, 0.2));
}

.page-home .home-hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 64px;
}

.page-home .home-hero-copy {
  max-width: 760px;
}

.page-home .home-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--text-primary);
  margin: 18px 0 22px;
}

.page-home .home-hero-lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 30px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-glass);
}

.page-home .home-hero-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-hero-index a:hover {
  color: var(--accent-primary);
  border-color: rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.08);
}

.page-home .home-hero-index .index-num {
  color: var(--accent-gold);
  font-size: 11px;
}

.page-home .home-hero-trust {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-glass);
}

.page-home .home-hero-trust > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.page-home .home-hero-trust dt {
  margin: 0;
}

.page-home .home-hero-trust-value {
  margin: 0;
  font-family: var(--font-numeric);
  font-size: 14px;
  color: var(--text-primary);
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-home .hero-stat-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hero-stat-num {
  font-family: var(--font-numeric);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--accent-gold);
}

.page-home .hero-stat-num span {
  font-size: 0.55em;
  color: var(--text-secondary);
  margin-left: 2px;
}

.page-home .home-scroll-hint {
  position: absolute;
  right: 28px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-primary);
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(10, 25, 49, 0.6);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-scroll-hint:hover {
  border-color: var(--accent-primary);
  transform: translateY(2px);
}

.page-home .home-download {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.04), transparent 30%),
    var(--bg-primary);
}

.page-home .home-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .home-download-main h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  margin: 14px 0 16px;
  color: var(--text-primary);
}

.page-home .home-download-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 26px;
}

.page-home .home-download-facts {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}

.page-home .home-download-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--home-grid-line);
}

.page-home .home-download-facts dt {
  margin: 0;
}

.page-home .home-download-facts dd {
  margin: 0;
  font-family: var(--font-numeric);
  font-size: 15px;
  color: var(--text-primary);
}

.page-home .home-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.page-home .step-card {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .step-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-primary);
}

.page-home .step-num {
  grid-row: span 2;
  font-family: var(--font-numeric);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.85;
  line-height: 1;
}

.page-home .step-card p {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  color: var(--text-primary);
}

.page-home .step-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: right;
  padding-right: 4px;
}

.page-home .home-matches {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(57, 255, 20, 0.06) 18%, transparent 42%),
    var(--bg-elevated);
}

.page-home .home-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 16px;
}

.page-home .home-section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 14px 0 0;
  color: var(--text-primary);
}

.page-home .home-section-intro {
  max-width: 640px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 32px;
}

.page-home .home-match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-match-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-match-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.page-home .match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .match-status {
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  text-transform: uppercase;
}

.page-home .match-card-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.page-home .match-team {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.page-home .match-team:last-of-type {
  text-align: right;
}

.page-home .match-score-num {
  font-family: var(--font-numeric);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.page-home .match-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
}

.page-home .match-injury-num,
.page-home .match-review {
  font-family: var(--font-numeric);
  font-size: 14px;
  color: var(--text-primary);
}

.page-home .match-card-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--accent-gold);
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.page-home .home-match-card:hover .match-card-detail,
.page-home .home-match-card:focus-within .match-card-detail {
  max-height: 60px;
  opacity: 1;
}

.page-home .home-possession {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(57, 255, 20, 0.08), transparent 45%),
    var(--bg-primary);
}

.page-home .home-possession-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .home-possession-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 14px 0 16px;
  color: var(--text-primary);
}

.page-home .home-possession-intro {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 24px;
}

.page-home .home-possession-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}

.page-home .home-possession-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--home-grid-line);
}

.page-home .home-possession-meta dt {
  margin: 0;
}

.page-home .home-possession-meta dd {
  margin: 0;
  font-family: var(--font-numeric);
  font-size: 14px;
  color: var(--text-primary);
}

.page-home .home-possession-chart {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.page-home .home-possession-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.16;
  border-radius: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .possession-chart-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .possession-live {
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
}

.page-home .possession-round {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.page-home .possession-round-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.page-home .possession-nums {
  font-family: var(--font-numeric);
  font-size: 14px;
  color: var(--accent-gold);
  font-weight: 600;
}

.page-home .possession-bar {
  display: flex;
  width: 100%;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .possession-home,
.page-home .possession-away {
  display: flex;
  align-items: center;
  font-family: var(--font-numeric);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .possession-home {
  justify-content: flex-start;
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.55), rgba(57, 255, 20, 0.85));
  color: #0A1931;
}

.page-home .possession-away {
  justify-content: flex-end;
  padding-right: 10px;
  background: linear-gradient(90deg, var(--bg-elevated), #16345E);
  color: var(--text-secondary);
}

.page-home .possession-note {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

.page-home .home-reports {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    linear-gradient(100deg, rgba(201, 168, 76, 0.07), transparent 40%),
    var(--bg-elevated);
}

.page-home .home-reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .home-reports-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 14px 0 16px;
  color: var(--text-primary);
}

.page-home .home-reports-intro {
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: 24px;
}

.page-home .home-reports-items {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .report-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--accent-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .report-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(3px);
}

.page-home .report-time {
  font-family: var(--font-numeric);
  font-size: 15px;
  color: var(--accent-gold);
}

.page-home .report-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

.page-home .report-status {
  font-family: var(--font-numeric);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

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

.page-home .home-reports-visual img {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.page-home .reports-refresh-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  max-width: 300px;
  margin-left: auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: baseline;
  background: rgba(10, 25, 49, 0.78);
  backdrop-filter: blur(10px);
}

.page-home .reports-refresh-note .data-value {
  text-align: right;
}

.page-home .home-news {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    linear-gradient(150deg, transparent 60%, rgba(16, 34, 71, 0.55)),
    var(--bg-primary);
}

.page-home .home-news-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.page-home .home-news-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 14px 0 14px;
  color: var(--text-primary);
}

.page-home .home-news-copy p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 22px;
}

.page-home .home-news-figure {
  margin: 0;
  position: relative;
}

.page-home .home-news-figure img {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.page-home .home-news-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-align: right;
}

.page-home .home-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-news-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 2px solid var(--accent-gold);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.page-home .home-news-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.page-home .home-news-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.page-home .home-news-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.page-home .news-tag {
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.page-home .home-help {
  padding-top: 60px;
  padding-bottom: 60px;
  background: linear-gradient(120deg, var(--bg-elevated), var(--bg-primary) 60%);
}

.page-home .home-help-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.page-home .home-help h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
  margin: 12px 0 10px;
  color: var(--text-primary);
}

.page-home .home-help p {
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: 0;
}

.page-home .btn:active {
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.35);
  transform: scale(0.98);
  transition-duration: 0.08s;
}

@media (min-width: 720px) {
  .page-home .home-match-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 900px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 40px;
  }

  .page-home .home-hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

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

@media (min-width: 1080px) {
  .page-home .home-match-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-match-card:nth-child(5) {
    grid-column: 2 / 4;
  }
}
