.page-home {
  --home-line: rgba(46, 75, 158, 0.35);
  --home-radius: 14px;
  position: relative;
  background-color: var(--c-base);
  background-image:
    linear-gradient(rgba(46, 75, 158, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 75, 158, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  color: var(--c-cloud);
}

.page-home .home-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 300;
  background: var(--c-purple);
  transform-origin: 0 50%;
}

.page-home .home-section {
  position: relative;
  padding: 52px 0;
}

.page-home .home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .home-section-head .section-index {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-green);
  border: 1px solid rgba(0, 240, 168, 0.45);
  border-radius: 8px;
  padding: 5px 8px;
  margin-top: 3px;
}

.page-home .home-section-title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.4vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--c-cloud);
}

.page-home .home-section-sub {
  margin: 0;
  color: var(--c-slate);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-home .breadcrumb {
  margin-bottom: 6px;
}

.page-home .breadcrumb a,
.page-home .breadcrumb-current {
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.78rem;
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--c-green);
}

.page-home .breadcrumb-sep {
  color: var(--c-slate);
  margin: 0 4px;
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(155, 92, 255, 0.22) 0%, transparent 56%),
    radial-gradient(ellipse at 12% 96%, rgba(0, 240, 168, 0.10) 0%, transparent 46%),
    linear-gradient(135deg, var(--c-nebula) 0%, var(--c-base) 74%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    118deg,
    transparent 0 46px,
    rgba(155, 92, 255, 0.12) 46px 48px,
    transparent 48px 104px
  );
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: 58%;
  height: 150%;
  pointer-events: none;
  background: var(--grad-fresh);
  clip-path: polygon(20% 0, 100% 0, 74% 100%, 0 100%);
  transform: skewX(-8deg);
}

.page-home .home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-home .home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--c-green);
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 12px rgba(0, 240, 168, 0.6);
}

.page-home .home-hero-title {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--c-cloud);
}

.page-home .home-hero-title .home-hero-line {
  display: block;
  margin-top: 4px;
  color: var(--c-green);
}

.page-home .home-hero-desc {
  margin: 0;
  max-width: 58ch;
  color: var(--c-slate);
  font-size: 1rem;
  line-height: 1.8;
}

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

.page-home .home-hero-actions .btn {
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .home-hero-actions .btn:hover {
  transform: translateY(-2px);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin-top: 4px;
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px 12px;
  background: rgba(14, 23, 53, 0.72);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.page-home .hero-stat-num {
  font-family: var(--font-data);
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-green);
}

.page-home .hero-stat-label {
  color: var(--c-slate);
  font-size: 0.82rem;
  line-height: 1.3;
}

.page-home .home-hero-media {
  position: relative;
}

.page-home .home-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(155, 92, 255, 0.35);
  border-radius: var(--home-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-home .hero-media-index {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-green), #00cf97);
  color: #04101f;
  box-shadow: 0 14px 34px rgba(0, 240, 168, 0.25);
}

.page-home .hero-media-index-num {
  font-family: var(--font-data);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.page-home .hero-media-index-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .home-live {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-base) 100%);
  border-top: 1px solid rgba(46, 75, 158, 0.5);
  border-bottom: 1px solid rgba(46, 75, 158, 0.5);
}

.page-home .live-board {
  overflow: hidden;
  border: 1px solid rgba(46, 75, 158, 0.5);
  border-radius: var(--home-radius);
  background: rgba(6, 11, 24, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.page-home .live-board-head,
.page-home .live-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.page-home .live-board-head {
  border-bottom: 1px solid rgba(46, 75, 158, 0.55);
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.page-home .live-row + .live-row {
  border-top: 1px solid rgba(46, 75, 158, 0.22);
}

.page-home .live-row.is-live {
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.07), transparent 62%);
}

.page-home .live-clock {
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.8rem;
}

.page-home .live-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.page-home .team-name {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-cloud);
  font-size: 0.9rem;
  line-height: 1.4;
}

.page-home .team-name:first-child {
  text-align: right;
}

.page-home .team-score,
.page-home .match-score {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(46, 75, 158, 0.4);
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-cloud);
  text-align: center;
  letter-spacing: 0.02em;
}

.page-home .live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-slate);
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 0 rgba(0, 240, 168, 0.5);
  animation: homeLivePulseSig 1.6s ease-in-out infinite;
}

.page-home .live-row.is-done .live-dot,
.page-home .live-row.is-upcoming .live-dot {
  display: none;
}

.page-home .live-row.is-upcoming .live-status {
  opacity: 0.65;
}

.page-home .live-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--c-slate);
  font-size: 0.82rem;
}

.page-home .live-footer-note {
  flex: 1 1 auto;
  min-width: 200px;
}

.page-home .live-footer-link {
  margin-left: auto;
  color: var(--c-purple);
  font-family: var(--font-data);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-home .live-footer-link:hover {
  color: var(--c-green);
}

.page-home .home-schedule {
  background: transparent;
}

.page-home .schedule-day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .schedule-day-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(46, 75, 158, 0.5);
  border-radius: 999px;
  background: rgba(14, 23, 53, 0.65);
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.84rem;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .schedule-day-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-data);
}

.page-home .schedule-day-link:hover {
  border-color: var(--c-green);
  color: var(--c-cloud);
}

.page-home .schedule-day-link:hover::before {
  background: var(--c-green);
}

.page-home .match-day {
  margin-bottom: 28px;
}

.page-home .match-day-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--c-cloud);
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1.3;
}

.page-home .match-day-index {
  color: var(--c-green);
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.page-home .match-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(14, 23, 53, 0.62);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .match-card:hover {
  border-color: var(--c-green);
  background: rgba(27, 43, 94, 0.62);
}

.page-home .match-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

.page-home .match-top .match-time {
  margin-left: auto;
  color: var(--c-green);
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .match-teams .team-name {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-cloud);
  font-size: 0.9rem;
}

.page-home .match-teams .team-name:first-child {
  text-align: right;
}

.page-home .match-score {
  font-size: 0.92rem;
}

.page-home .match-dist {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--c-slate);
  font-size: 0.72rem;
}

.page-home .match-dist-data {
  font-family: var(--font-data);
  color: var(--c-cloud);
}

.page-home .goal-dist {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(46, 75, 158, 0.3);
}

.page-home .goal-gf {
  display: block;
  background: var(--c-green);
}

.page-home .goal-ga {
  display: block;
  background: var(--c-purple);
}

.page-home .schedule-visual {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid rgba(46, 75, 158, 0.5);
  border-radius: var(--home-radius);
}

.page-home .schedule-img,
.page-home .records-img,
.page-home .guide-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .schedule-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 240, 168, 0.25);
  border-radius: 10px;
  background: rgba(8, 13, 31, 0.82);
}

.page-home .schedule-caption .caption-label {
  color: var(--c-slate);
  font-size: 0.72rem;
}

.page-home .schedule-caption .caption-value {
  color: var(--c-green);
  font-family: var(--font-data);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-home .home-records {
  background: linear-gradient(180deg, var(--c-base) 0%, var(--c-primary) 100%);
  border-top: 1px solid rgba(46, 75, 158, 0.5);
}

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

.page-home .records-summary {
  padding: 18px;
  background: rgba(6, 11, 24, 0.75);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
}

.page-home .records-summary-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.page-home .records-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(46, 75, 158, 0.18);
  text-align: center;
}

.page-home .records-stat-val {
  font-family: var(--font-data);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-cloud);
}

.page-home .records-stat-val.records-wins {
  color: var(--c-green);
}

.page-home .records-stat-val.records-draws {
  color: var(--c-slate);
}

.page-home .records-stat-val.records-losses {
  color: var(--c-red);
}

.page-home .records-stat-label {
  color: var(--c-slate);
  font-size: 0.78rem;
}

.page-home .records-summary-text {
  margin: 16px 0 0;
  color: var(--c-slate);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .recent-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(46, 75, 158, 0.3);
}

.page-home .form-label {
  margin-right: 2px;
  color: var(--c-slate);
  font-size: 0.82rem;
}

.page-home .form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-cloud);
}

.page-home .form-win {
  background: var(--c-green);
  color: #04101f;
}

.page-home .form-draw {
  background: rgba(167, 180, 224, 0.25);
  color: var(--c-slate);
}

.page-home .form-loss {
  background: var(--c-red);
  color: var(--c-cloud);
}

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

.page-home .records-table-head {
  padding: 12px 14px;
  background: rgba(46, 75, 158, 0.18);
  color: var(--c-cloud);
  font-family: var(--font-data);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-home .record-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(46, 75, 158, 0.22);
  font-size: 0.84rem;
}

.page-home .record-date {
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

.page-home .record-teams {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-cloud);
}

.page-home .record-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  font-family: var(--font-data);
  font-size: 0.76rem;
  font-weight: 700;
}

.page-home .result-win .record-result {
  background: var(--c-green);
  color: #04101f;
}

.page-home .result-draw .record-result {
  background: rgba(167, 180, 224, 0.22);
  color: var(--c-slate);
}

.page-home .result-loss .record-result {
  background: var(--c-red);
  color: var(--c-cloud);
}

.page-home .records-visual {
  overflow: hidden;
  border: 1px solid rgba(46, 75, 158, 0.45);
  border-radius: var(--home-radius);
}

.page-home .home-guide {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(155, 92, 255, 0.12) 0%, transparent 45%),
    var(--c-base);
  border-top: 1px solid rgba(46, 75, 158, 0.5);
}

.page-home .guide-grid {
  display: grid;
  gap: 24px;
}

.page-home .guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .guide-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(14, 23, 53, 0.55);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
}

.page-home .guide-step-num {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-green);
}

.page-home .guide-step-title {
  margin: 0 0 6px;
  color: var(--c-cloud);
  font-size: 1rem;
}

.page-home .guide-step-text {
  margin: 0;
  color: var(--c-slate);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .guide-note,
.page-home .guide-context {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--c-purple);
  border-radius: 0 10px 10px 0;
  background: rgba(155, 92, 255, 0.10);
  color: var(--c-slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-home .guide-note a,
.page-home .guide-context a {
  color: var(--c-purple);
  font-weight: 600;
  text-decoration: none;
}

.page-home .guide-note a:hover,
.page-home .guide-context a:hover {
  color: var(--c-green);
}

.page-home .guide-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(155, 92, 255, 0.35);
  border-radius: var(--home-radius);
}

.page-home .guide-route {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 13, 31, 0.85);
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.page-home .route-start {
  color: var(--c-green);
}

.page-home .route-mid {
  color: var(--c-cloud);
}

.page-home .route-end {
  color: var(--c-purple);
  font-weight: 700;
}

.page-home .route-line {
  color: var(--c-slate);
}

.page-home .home-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 36px;
}

.page-home .home-trust .trust-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(167, 180, 224, 0.45);
  border-radius: 50%;
  color: var(--c-slate);
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.page-home .home-trust .trust-text {
  margin: 0;
  max-width: 80ch;
  color: var(--c-slate);
  font-size: 0.84rem;
  line-height: 1.7;
}

@keyframes homeLivePulseSig {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 168, 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 240, 168, 0);
  }
}

@media (min-width: 900px) {
  .page-home .home-section {
    padding: 72px 0;
  }

  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 48px;
    min-height: min(720px, calc(100vh - 80px));
  }

  .page-home .home-hero-copy {
    gap: 20px;
  }

  .page-home .home-hero-img {
    max-height: 520px;
  }

  .page-home .live-board-head,
  .page-home .live-row {
    grid-template-columns: 72px minmax(0, 1fr) 92px;
    padding: 12px 18px;
  }

  .page-home .team-score,
  .page-home .match-score {
    min-width: 60px;
  }

  .page-home .matches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .match-day {
    margin-bottom: 36px;
  }

  .page-home .records-wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "summary visual"
      "table visual";
    align-items: start;
  }

  .page-home .records-summary {
    grid-area: summary;
  }

  .page-home .records-table {
    grid-area: table;
  }

  .page-home .records-visual {
    grid-area: visual;
    position: sticky;
    top: 24px;
  }

  .page-home .guide-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 44px;
  }
}
