.page-home {
  --home-gutter: 20px;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    var(--bg-deep);
  background-size: 44px 44px;
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  padding-top: 24px;
}

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

.page-home .section-head-light {
  display: block;
}

.page-home .section-kicker {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.01em;
}

.page-home .section-more {
  color: var(--neon);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--neon);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.page-home .section-more:hover {
  color: var(--white);
  border-color: var(--white);
}

.page-home .hero-strip {
  position: relative;
  overflow: hidden;
  padding: var(--home-gutter);
  display: grid;
  gap: 28px;
  align-items: center;
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.72) 0%, rgba(11, 15, 25, 0.94) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  transform: rotate(-0.8deg);
}

.page-home .hero-inner .breadcrumb {
  margin-bottom: 12px;
}

.page-home .hero-kicker {
  font-family: var(--font-display);
  color: var(--orange);
  letter-spacing: 0.22em;
  font-size: 14px;
  margin: 0 0 10px;
}

.page-home .hero-inner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--white);
  text-shadow: 0 0 28px rgba(0, 255, 136, 0.18);
  letter-spacing: 0.01em;
}

.page-home .hero-lead {
  color: var(--gray);
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 22px;
}

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

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--gray);
  font-size: 12px;
}

.page-home .hero-meta span {
  border-left: 2px solid var(--neon);
  padding-left: 8px;
}

.page-home .cal-panel {
  position: relative;
  z-index: 1;
  background: rgba(21, 26, 40, 0.93);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 18px;
  transform: rotate(1.2deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.page-home .cal-circle {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 240px;
  height: 240px;
  z-index: 0;
  opacity: 0.16;
  stroke: var(--neon);
  fill: none;
  stroke-width: 3;
}

.page-home .cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.page-home .cal-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
}

.page-home .cal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neon);
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 2px 10px;
  border-radius: 999px;
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  font-style: normal;
}

.page-home .cal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 74px);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-bright) transparent;
}

.page-home .cal-cell {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 4px;
  text-align: center;
}

.page-home .cal-cell-today {
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.28);
  background: rgba(0, 255, 136, 0.08);
}

.page-home .cal-dayname {
  display: block;
  font-size: 11px;
  color: var(--gray);
}

.page-home .cal-daynum {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  line-height: 1.2;
}

.page-home .cal-count {
  display: block;
  font-size: 11px;
  color: var(--neon);
  margin-top: 4px;
}

.page-home .cal-note {
  position: relative;
  z-index: 1;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 12px;
}

.page-home .cal-note > strong {
  font-size: 13px;
  color: var(--white);
}

.page-home .today-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.page-home .today-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray);
  background: rgba(26, 35, 50, 0.7);
  padding: 8px 10px;
  border-radius: var(--radius);
}

.page-home .today-time {
  color: var(--neon);
  font-weight: 700;
}

.page-home .today-league {
  color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  flex: none;
}

.page-home .today-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .match-focus {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-gutter);
}

.page-home .match-grid {
  display: grid;
  gap: 18px;
  padding: 8px 0 16px;
}

.page-home .match-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(2deg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .match-card:nth-child(2) {
  transform: rotate(-1deg);
}

.page-home .match-card:nth-child(3) {
  transform: rotate(1.5deg);
}

.page-home .match-card:hover {
  transform: rotate(0deg) translateY(-6px);
  border-color: var(--neon);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 255, 136, 0.18);
}

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

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

.page-home .match-live {
  color: var(--orange);
  font-size: 12px;
  border: 1px solid rgba(255, 107, 0, 0.5);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.page-home .match-body {
  padding: 4px 14px 14px;
}

.page-home .match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.page-home .match-team {
  text-align: left;
}

.page-home .match-team-away {
  text-align: right;
}

.page-home .match-team-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  line-height: 1.2;
}

.page-home .match-team-stat {
  display: block;
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px;
}

.page-home .match-score {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--neon);
  white-space: nowrap;
}

.page-home .match-data {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--gray);
}

.page-home .match-lineup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon);
  font-size: 11px;
}

.page-home .match-lineup::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
}

.page-home .league-entrance {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px var(--home-gutter) 48px;
}

.page-home .league-banner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 18px;
}

.page-home .league-banner img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .league-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .league-banner-text p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.page-home .league-banner-text .section-kicker {
  margin-bottom: 6px;
}

.page-home .league-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.page-home .league-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 14px;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .league-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.page-home .league-card::after {
  content: attr(data-num);
  position: absolute;
  right: 8px;
  bottom: -14px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.page-home .league-card-neon {
  border-top: 3px solid var(--neon);
}

.page-home .league-card-orange {
  border-top: 3px solid var(--orange);
}

.page-home .league-card-white {
  border-top: 3px solid var(--white);
}

.page-home .league-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  line-height: 1.2;
}

.page-home .league-card-count {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray);
}

.page-home .league-card-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.5);
  border-radius: 999px;
  padding: 1px 8px;
}

.page-home .v4-features {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-deep));
  padding: 48px var(--home-gutter);
}

.page-home .v4-features .section-head,
.page-home .v4-features .feature-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

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

.page-home .feature-card {
  padding: 20px;
  background: var(--bg-card);
  border-left: 4px solid var(--neon);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}

.page-home .feature-card:nth-child(even) {
  border-left-color: var(--orange);
}

.page-home .feature-card:hover {
  transform: translateX(6px);
  border-left-color: var(--white);
}

.page-home .feature-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gray-dim);
  line-height: 1;
}

.page-home .feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin: 8px 0;
  line-height: 1.2;
}

.page-home .feature-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.page-home .voices-wall {
  position: relative;
  overflow: hidden;
  padding: 48px var(--home-gutter);
}

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

.page-home .voices-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.86);
}

.page-home .voices-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.page-home .voice-card {
  margin: 0;
  background: rgba(21, 26, 40, 0.9);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.page-home .voice-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--white);
  margin: 0 0 10px;
}

.page-home .voice-meta {
  font-size: 12px;
  color: var(--gray);
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.page-home .stat-item {
  text-align: center;
  background: rgba(21, 26, 40, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 8px;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--neon);
  line-height: 1.1;
}

.page-home .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray);
}

.page-home .home-news {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--home-gutter);
  display: grid;
  gap: 24px;
}

.page-home .home-news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-home .home-news-card .section-kicker {
  margin-bottom: 6px;
}

.page-home .home-news-card .section-title {
  margin-bottom: 16px;
}

.page-home .news-mini-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.page-home .news-mini-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.page-home .news-mini-list li:last-child {
  border-bottom: 0;
}

.page-home .news-mini-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--neon);
  border: 1px solid rgba(0, 255, 136, 0.35);
  vertical-align: 1px;
}

.page-home .home-trust {
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-card));
  border: 1px solid var(--line-bright);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
}

.page-home .home-trust p {
  font-size: 15px;
  color: var(--white);
  margin: 0 0 14px;
  line-height: 1.8;
}

.page-home .home-trust a {
  color: var(--neon);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--neon);
  padding-bottom: 2px;
}

.page-home .home-connect {
  text-align: center;
  padding: 40px var(--home-gutter) 64px;
}

.page-home .home-connect p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 14px;
}

.page-home .home-connect .btn-primary {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-home .hero-strip {
    padding: 40px 32px;
  }

  .page-home .home-gutter {
    padding-left: 32px;
    padding-right: 32px;
  }

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

  .page-home .match-card-lead {
    grid-column: span 2;
  }

  .page-home .match-img {
    height: 180px;
  }

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

  .page-home .league-banner {
    flex-direction: row;
    align-items: center;
  }

  .page-home .league-banner img {
    width: 240px;
    height: 140px;
    flex: none;
  }

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

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

  .page-home .trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-news {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }

  .page-home .home-connect {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1100px) {
  .page-home {
    padding-top: 40px;
  }

  .page-home .hero-strip {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 48px;
    padding: 64px 48px;
    min-height: 640px;
  }

  .page-home .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0.72) 55%, rgba(11, 15, 25, 0.45) 100%);
  }

  .page-home .cal-grid {
    grid-template-columns: repeat(7, 1fr);
    overflow: visible;
  }

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

  .page-home .match-card-lead {
    grid-column: auto;
  }

  .page-home .match-img {
    height: 190px;
  }

  .page-home .league-strip {
    grid-template-columns: repeat(7, 1fr);
  }

  .page-home .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .match-focus,
  .page-home .league-entrance,
  .page-home .v4-features,
  .page-home .home-news {
    padding-left: 40px;
    padding-right: 40px;
  }

  .page-home .home-connect {
    padding-left: 40px;
    padding-right: 40px;
  }
}
