.page-home {
  --home-line: rgba(0, 229, 255, 0.14);
  --home-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  position: relative;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.page-home .section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .section__index {
  font-family: var(--font-m);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.page-home .section__title {
  font-family: var(--font-t);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
}

.page-home .home-head {
  position: relative;
  padding: 28px 0 22px;
}

.page-home .home-head::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  transform: skewX(-14deg);
}

.page-home .home-head__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 18px;
}

.page-home .home-head__breadcrumb {
  margin: 0 0 0 auto;
  font-family: var(--font-m);
  font-size: 0.76rem;
  color: var(--text-2);
}

.page-home .home-head__title {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  padding-left: 18px;
  font-family: var(--font-t);
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.page-home .home-head__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  transform: skewX(-14deg);
}

.page-home .home-head__desc {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 720px;
}

.page-home .home-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-home .home-head__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-stat {
  position: relative;
  overflow: hidden;
  padding: 16px 14px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(8px);
}

.page-home .home-stat::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  opacity: 0.5;
}

.page-home .home-stat__num {
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}

.page-home .home-stat__num small {
  font-size: 0.55em;
  margin-left: 1px;
}

.page-home .home-stat__label {
  display: block;
  color: var(--text-2);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.page-home .home-directory::before,
.page-home .home-rules::before,
.page-home .home-reports::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--green) 60%, transparent 100%);
  margin-bottom: 40px;
  opacity: 0.6;
}

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

.page-home .home-directory__group {
  padding: 18px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.page-home .home-directory__group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-t);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--white);
}

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

.page-home .home-league-list__item {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-home .home-league-list__item:last-child {
  border-bottom: none;
}

.page-home .home-league-list__index {
  flex: 0 0 38px;
  font-family: var(--font-m);
  font-size: 0.72rem;
  color: var(--purple);
  letter-spacing: 0.05em;
}

.page-home .home-league-list__name {
  flex: 1;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .home-league-list__name:hover {
  color: var(--cyan);
}

.page-home .home-league-list__round {
  flex: 0 0 auto;
  color: var(--text-2);
  font-family: var(--font-m);
  font-size: 0.74rem;
  white-space: nowrap;
}

.page-home .home-directory__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(157, 78, 221, 0.08);
  border-left: 3px solid var(--purple);
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.55;
}

.page-home .home-live {
  overflow: hidden;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-live__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-live__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-home .home-live__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.88), rgba(10, 14, 23, 0.97));
}

.page-home .home-live .container {
  position: relative;
  z-index: 1;
}

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

.page-home .home-live__tabs {
  background: rgba(10, 14, 23, 0.76);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.page-home .tabs__list {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .tabs__btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-family: var(--font-b);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .tabs__btn[aria-selected="true"] {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.page-home .home-live__tab-panel {
  padding: 8px;
}

.page-home .home-live__match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-home .home-live__match:last-child {
  border-bottom: none;
}

.page-home .home-live__match-time {
  width: 70px;
  color: var(--text-2);
  font-family: var(--font-m);
  font-size: 0.78rem;
  white-space: nowrap;
}

.page-home .home-live__match-teams {
  flex: 1;
  min-width: 140px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.94rem;
}

.page-home .home-live__match-vs {
  margin: 0 6px;
  color: var(--text-2);
  font-weight: 400;
}

.page-home .home-live__match-score {
  margin: 0 6px;
  color: var(--green);
  font-family: var(--font-m);
  font-size: 1.2rem;
}

.page-home .home-live__match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .home-live__aside {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.page-home .home-live__aside::before {
  content: "INJURY";
  position: absolute;
  right: -8px;
  bottom: -14px;
  font-family: var(--font-m);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.page-home .home-live__aside-title {
  margin: 0 0 12px;
  font-family: var(--font-t);
  font-size: 1.5rem;
  color: var(--white);
}

.page-home .home-live__injury-num {
  display: block;
  line-height: 1;
  font-size: 2.8rem;
}

.page-home .home-live__injury-desc {
  margin: 10px 0 12px;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .home-live__injury-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .home-rules__layout {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .home-rules__title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  font-family: var(--font-t);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  color: var(--white);
}

.page-home .home-rules__desc {
  margin: 0 0 16px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.95rem;
}

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

.page-home .home-rules__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.93rem;
}

.page-home .home-rules__num {
  font-family: var(--font-m);
  font-size: 0.8rem;
  color: var(--purple);
}

.page-home .home-rules__aside {
  position: relative;
  padding: 10px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
}

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

.page-home .home-rules__caption {
  display: block;
  padding: 8px 2px 2px;
  font-family: var(--font-m);
  font-size: 0.74rem;
  color: var(--text-2);
}

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

.page-home .home-report-feature {
  display: grid;
  align-content: start;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
}

.page-home .home-report-feature__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

.page-home .home-report-feature__content {
  padding: 18px;
}

.page-home .home-report-feature__title {
  margin: 8px 0 10px;
  font-family: var(--font-t);
  font-size: 1.5rem;
  line-height: 1.28;
  color: var(--white);
}

.page-home .home-report-feature__content p {
  margin: 0 0 14px;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
}

.page-home .home-reports__side {
  display: grid;
  gap: 10px;
}

.page-home .home-report-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-report-row:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
}

.page-home .home-report-row__index {
  font-family: var(--font-m);
  font-size: 0.8rem;
  color: var(--cyan);
}

.page-home .home-report-row__body {
  flex: 1;
  min-width: 0;
}

.page-home .home-report-row__body h3 {
  margin: 0 0 3px;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--white);
}

.page-home .home-report-row__body p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.4;
}

.page-home .home-trust {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-trust__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.page-home .home-trust__inner {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 48px 0;
}

.page-home .home-trust__title {
  margin: 0 0 8px;
  font-family: var(--font-t);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
}

.page-home .home-trust__content p {
  margin: 0;
  max-width: 720px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.94rem;
}

.page-home .home-trust__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

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

  .page-home .home-head {
    padding: 40px 0 32px;
  }

  .page-home .home-head__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
  }

  .page-home .home-head__stats {
    margin-top: 0;
  }

  .page-home .home-head__actions {
    flex-wrap: nowrap;
  }

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

  .page-home .home-rules__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    gap: 40px;
  }

  .page-home .home-reports__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 56px 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-head {
    padding: 48px 0 40px;
  }

  .page-home .home-stat {
    padding: 20px 18px 18px;
  }

  .page-home .home-live__layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 300px);
    align-items: start;
  }

  .page-home .home-live__match {
    flex-wrap: nowrap;
  }

  .page-home .home-report-feature__content {
    padding: 22px;
  }

  .page-home .home-report-row {
    padding: 16px;
  }
}
