.page-home {
  --home-edger: rgba(138, 155, 168, 0.16);
  --home-glow: rgba(76, 217, 123, 0.12);
}

.page-home .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.page-home .breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.page-home .breadcrumbs a:hover {
  color: var(--color-live);
}

.page-home .breadcrumbs .separator {
  color: var(--color-muted);
  opacity: 0.6;
}

.page-home .breadcrumbs [aria-current="page"] {
  color: var(--color-text);
}

.page-home .hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 4rem;
  }
}

.page-home .hero-copy {
  padding: 0.5rem 0;
}

.page-home .hero-copy .eyebrow {
  margin-bottom: 1rem;
}

.page-home .hero-copy h1 {
  margin: 0 0 1.25rem;
  overflow-wrap: break-word;
}

.page-home .hero-brand {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.page-home .hero-title-accent {
  display: block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--color-accent);
  margin-top: 0.55rem;
}

.page-home .hero-copy .lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0;
  max-width: 30rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

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

@media (min-width: 720px) {
  .page-home .hero-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .tile-live {
    grid-column: 1 / -1;
  }
  .page-home .hero-figure {
    grid-column: 1 / 2;
  }
  .page-home .tile-mini {
    grid-column: 2 / 3;
  }
  .page-home .tile-stat {
    grid-column: 2 / 3;
  }
}

.page-home .hero-tile {
  min-width: 0;
}

.page-home .tile-live {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.35) 0%, transparent 60%), var(--color-card);
  border: 1px solid rgba(31, 122, 77, 0.45);
}

.page-home .tile-head,
.page-home .tile-mini-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .tile-live-text {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-live);
}

.page-home .tile-team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.2rem 0 0.5rem;
  font-weight: 500;
}

.page-home .tile-team .score {
  font-size: 2.2rem;
}

.page-home .tile-foot {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0;
}

.page-home .hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
  aspect-ratio: 3 / 2;
}

.page-home .tile-mini {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
}

.page-home .mini-score {
  margin: 0.2rem 0 0;
  font-size: 1.6rem;
  line-height: 1;
}

.page-home .mini-foot {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0;
}

.page-home .tile-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem;
}

.page-home .tile-stat-num {
  font-family: var(--font-data);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
}

.page-home .tile-stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
}

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

.page-home .section-lead {
  max-width: 720px;
  margin: 1rem 0 2.25rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.page-home .league-tagbar {
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) rgba(255, 255, 255, 0.06);
}

.page-home .league-tagbar::-webkit-scrollbar {
  height: 4px;
}

.page-home .league-tagbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.page-home .league-tagbar::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.page-home .league-tag {
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.page-home .league-tag:hover {
  transform: translateY(-2px);
  background: rgba(31, 122, 77, 0.28);
  border-color: var(--color-primary);
  color: var(--color-text);
}

.page-home .league-tag:focus-visible {
  outline: 2px solid var(--color-live);
  outline-offset: 2px;
}

.page-home .match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .page-home .match-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.page-home .match-card {
  padding: 1.2rem;
  background: var(--color-card);
  border: 1px solid rgba(138, 155, 168, 0.14);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .match-card:hover,
.page-home .match-card:focus-visible {
  border-color: rgba(76, 217, 123, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.page-home .match-card:focus-visible {
  outline: 2px solid var(--color-live);
  outline-offset: 2px;
}

.page-home .match-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-home .match-status {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.1rem 0 0.9rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.page-home .match-score {
  font-family: var(--font-data);
  font-size: 1.5rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.page-home .score-sep {
  font-family: var(--font-data);
  color: var(--color-muted);
  padding: 0 0.15rem;
}

.page-home .match-events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-home .match-event {
  font-family: var(--font-data);
  font-size: 0.74rem;
  color: var(--color-muted);
  border: 1px solid rgba(138, 155, 168, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
}

.page-home .match-event--goal {
  color: var(--color-live);
  border-color: rgba(76, 217, 123, 0.35);
}

.page-home .match-event--yellow {
  color: var(--color-accent);
  border-color: rgba(245, 166, 35, 0.35);
}

.page-home .match-event--red {
  color: var(--color-warning);
  border-color: rgba(229, 72, 77, 0.35);
}

.page-home .timeline-banner {
  aspect-ratio: 16 / 9;
  margin: 2rem 0 2.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}

@media (min-width: 768px) {
  .page-home .timeline-banner {
    aspect-ratio: 4 / 1;
  }
}

.page-home .timeline-scope {
  margin-top: 2.5rem;
  padding: 2rem 1.25rem;
  background: linear-gradient(160deg, rgba(31, 122, 77, 0.18), rgba(11, 27, 42, 0.6));
  border: 1px solid rgba(138, 155, 168, 0.14);
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .page-home .timeline-scope {
    padding: 2.5rem 3rem;
  }
}

.page-home .timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.page-home .timeline-score {
  font-family: var(--font-data);
  font-size: 1.8rem;
  color: var(--color-accent);
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0.25rem 0 2rem 4.2rem;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0.25rem;
}

.page-home .timeline-item + .timeline-item::before {
  content: "";
  position: absolute;
  left: 4.05rem;
  top: -1.8rem;
  bottom: 1.6rem;
  width: 2px;
  background: rgba(31, 122, 77, 0.35);
  z-index: 0;
}

.page-home .timeline-ts {
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 3rem;
  text-align: right;
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.page-home .timeline-node {
  position: absolute;
  left: 3.6rem;
  top: 0.32rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-card);
  border: 2px solid var(--color-primary);
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.page-home .timeline-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.page-home .timeline-desc {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
  line-height: 1.5;
  transition: color var(--transition);
}

.page-home .timeline-item:hover .timeline-node,
.page-home .timeline-item:focus-within .timeline-node {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.2);
}

.page-home .timeline-item:hover .timeline-desc,
.page-home .timeline-item:focus-within .timeline-desc {
  color: var(--color-text);
}

.page-home .timeline-item:focus-visible {
  outline: 2px solid var(--color-live);
  outline-offset: 2px;
}

.page-home .commute-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .page-home .commute-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.page-home .commute-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid rgba(138, 155, 168, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.page-home .commute-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.page-home .commute-frame {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.page-home .commute-card-body {
  padding: 1.5rem;
}

.page-home .commute-card-body h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.page-home .commute-card-body p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.92rem;
  margin: 0;
}

.page-home .text-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--color-live);
  text-decoration: none;
  border-bottom: 1px solid rgba(76, 217, 123, 0.35);
  transition: color var(--transition), border-color var(--transition);
}

.page-home .text-link:hover {
  color: var(--color-accent);
  border-color: rgba(245, 166, 35, 0.6);
}

.page-home .trust-stats {
  margin-bottom: 2rem;
}

.page-home .trust-grid {
  display: grid;
  gap: 1rem;
}

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

.page-home .trust-panel h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.page-home .trust-panel p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.92rem;
  margin: 0;
}

.page-home .trust-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(138, 155, 168, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-home .trust-contact p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.page-home .ticker {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  border-top: 1px solid rgba(138, 155, 168, 0.18);
  border-bottom: 1px solid rgba(138, 155, 168, 0.18);
  background: radial-gradient(circle at 12% 40%, rgba(31, 122, 77, 0.22), transparent 70%), var(--color-card);
  padding: 0.75rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.page-home .ticker::-webkit-scrollbar {
  height: 3px;
}

.page-home .ticker::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.page-home .ticker-head {
  flex: 0 0 auto;
  padding: 0.25rem 1rem 0.25rem 1.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
  border-right: 1px solid rgba(138, 155, 168, 0.16);
  align-self: center;
}

.page-home .ticker-track {
  flex: 1 1 auto;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 0.25rem 1rem;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.page-home .ticker-track::-webkit-scrollbar {
  height: 3px;
}

.page-home .ticker-track::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.page-home .ticker-item {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--color-text);
}

.page-home .ticker-item b {
  color: var(--color-accent);
  font-weight: 600;
  margin-right: 0.35rem;
}

.page-home .ticker-item i {
  color: var(--color-muted);
  font-style: normal;
  margin-left: 0.4rem;
}
