.page-home {
  --ph-hero-min-h: 640px;
  --ph-card-pad: 24px;
  background: var(--c-bg);
}

.page-home .ph-hero {
  position: relative;
  min-height: var(--ph-hero-min-h);
  display: flex;
  align-items: center;
  padding: 140px 0 64px;
  overflow: hidden;
  background: var(--c-bg);
}

.page-home .ph-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-home .ph-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18,18,18,0.94) 0%, rgba(18,18,18,0.76) 42%, rgba(26,26,26,0.35) 100%),
    linear-gradient(0deg, rgba(26,26,26,0.92) 0%, transparent 30%);
}

.page-home .ph-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .ph-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .ph-breadcrumb a {
  color: var(--c-orange);
  text-decoration: none;
}

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

.page-home .ph-hero-grid {
  display: grid;
  gap: 40px;
}

.page-home .ph-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-cyan-data);
}

.page-home .ph-hero-tagline::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-orange);
}

.page-home .ph-hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

.page-home .ph-hero-title .hl {
  color: var(--c-orange);
}

.page-home .ph-hero-lead {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-muted);
}

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

.page-home .ph-status-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  overflow: hidden;
}

.page-home .ph-status-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.2), transparent 70%);
}

.page-home .ph-status-card > * {
  position: relative;
  z-index: 1;
}

.page-home .ph-status-card .stat-label {
  color: var(--c-cyan-data);
}

.page-home .ph-status-num {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--font-mono);
  font-size: clamp(60px, 8vw, 88px);
  font-weight: 800;
  line-height: 1;
  color: var(--c-orange);
}

.page-home .ph-status-meta {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
}

.page-home .ph-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .ph-section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.page-home .ph-section-head .section-index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-orange);
}

.page-home .ph-section-head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  color: var(--c-white);
}

.page-home .ph-section-sub {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--c-cyan-data);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-home .ph-board {
  padding: 72px 0 48px;
}

.page-home .ph-league-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .ph-league-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.page-home .ph-league-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.03);
  color: var(--c-gray);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--t-fast);
}

.page-home .ph-league-tab:hover {
  border-color: var(--c-cyan-data);
  color: var(--c-white);
}

.page-home .ph-league-tab.is-active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-bg-deep);
  font-weight: 800;
}

.page-home .ph-league-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-cyan-data);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .ph-league-more:hover {
  color: var(--c-white);
}

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

.page-home .ph-board-card {
  position: relative;
  overflow: hidden;
  padding: var(--ph-card-pad);
  border: 1px solid var(--c-line);
  background: linear-gradient(165deg, #2E2E2E, #242424);
}

.page-home .ph-board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.38);
}

.page-home .ph-board-card .card-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .ph-board-card .card-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-white);
}

.page-home .ph-chart-img,
.page-home .ph-scorer-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  max-width: 180px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.page-home .ph-chart-img img,
.page-home .ph-scorer-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .ph-table {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .ph-table-row {
  display: grid;
  grid-template-columns: 24px 1fr 30px 30px 30px 30px 38px;
  gap: 6px;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
  color: var(--c-gray);
}

.page-home .ph-table-head {
  background: transparent;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home .ph-table-row span {
  text-align: center;
}

.page-home .ph-table-row .team {
  text-align: left;
  color: var(--c-white);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .ph-table-row .rank {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--c-white);
}

.page-home .ph-table-row .pts {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--c-orange);
  text-align: right;
}

.page-home .ph-table-head span {
  text-align: center;
}

.page-home .ph-table-head span:nth-child(2) {
  text-align: left;
}

.page-home .ph-chart {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.page-home .ph-chart svg,
.page-home .ph-scorer-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .ph-card-link {
  position: relative;
  z-index: 2;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.page-home .ph-scorers {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .ph-scorer-item {
  display: grid;
  grid-template-columns: 26px 1fr 52px;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  font-size: 14px;
  color: var(--c-gray);
  transition: var(--t-fast);
}

.page-home .ph-scorer-item:hover {
  background: rgba(245,166,35,0.06);
}

.page-home .ph-scorer-item .rank {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--c-orange);
}

.page-home .ph-scorer-item .player {
  color: var(--c-white);
  font-weight: 600;
}

.page-home .ph-scorer-goals {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-cyan-data);
  text-align: right;
}

.page-home .ph-scorer-chart {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.page-home .ph-tools {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(245,166,35,0.04), transparent 160px);
}

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

.page-home .ph-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2A2A2A, #202020);
  text-decoration: none;
  transition: var(--t);
  overflow: hidden;
}

.page-home .ph-tool-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12), transparent 70%);
  pointer-events: none;
}

.page-home .ph-tool-card > * {
  position: relative;
  z-index: 1;
}

.page-home .ph-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.45);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}

.page-home .ph-tool-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-card);
  overflow: hidden;
}

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

.page-home .ph-tool-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: radial-gradient(circle at 30% 20%, rgba(0,180,216,0.22), rgba(15,76,92,0.3));
}

.page-home .ph-tool-badge.is-slim {
  flex-direction: row;
  gap: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(245,166,35,0.18), rgba(15,76,92,0.22));
}

.page-home .ph-tool-badge-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-cyan-data);
}

.page-home .ph-tool-badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.page-home .ph-tool-badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-orange);
}

.page-home .ph-tool-badge-dot:nth-child(2) {
  width: 18px;
  height: 18px;
  background: var(--c-cyan-data);
}

.page-home .ph-tool-badge-dot:nth-child(3) {
  width: 14px;
  height: 14px;
  background: var(--c-white);
}

.page-home .ph-tool-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
  color: var(--c-white);
}

.page-home .ph-tool-desc {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-home .ph-tool-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-orange);
}

.page-home .ph-coverage {
  padding: 72px 0;
}

.page-home .ph-coverage-card {
  position: relative;
  padding: 40px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c-bg-deep), #1C1C1C);
  overflow: hidden;
}

.page-home .ph-coverage-grid {
  display: grid;
  gap: 28px;
}

.page-home .ph-metric {
  padding: 8px 4px;
  text-align: center;
}

.page-home .ph-metric-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
}

.page-home .ph-metric:nth-child(1) .ph-metric-num,
.page-home .ph-metric:nth-child(3) .ph-metric-num {
  color: var(--c-orange);
}

.page-home .ph-metric:nth-child(2) .ph-metric-num,
.page-home .ph-metric:nth-child(4) .ph-metric-num {
  color: var(--c-cyan-data);
}

.page-home .ph-metric-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.page-home .ph-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--c-cyan-data);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(0,180,216,0.06);
}

.page-home .ph-trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-cyan-data);
}

.page-home .ph-trust p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-gray);
}

.page-home .ph-news {
  padding: 72px 0;
  background: linear-gradient(0deg, rgba(245,166,35,0.03), transparent 160px);
}

.page-home .ph-news-list {
  display: grid;
  border-top: 1px solid var(--c-line);
}

.page-home .ph-news-item {
  display: grid;
  gap: 8px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
  transition: var(--t-fast);
}

.page-home .ph-news-item:hover {
  border-radius: var(--radius-sm);
  background: rgba(245,166,35,0.05);
}

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

.page-home .ph-news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
}

.page-home .ph-news-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  color: var(--c-white);
}

.page-home .ph-news-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .ph-more {
  padding: 0 0 96px;
}

.page-home .ph-more-cta {
  display: grid;
  gap: 16px;
}

.page-home .ph-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-card);
  text-decoration: none;
  transition: var(--t);
}

.page-home .ph-cta-card:hover {
  border-color: var(--c-orange);
  transform: translateY(-2px);
}

.page-home .ph-cta-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--c-white);
}

.page-home .ph-cta-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.page-home .ph-cta-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-orange);
}

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

  .page-home .ph-coverage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .page-home .ph-more-cta {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .ph-table-row {
    grid-template-columns: 30px 1fr 34px 34px 34px 34px 44px;
  }
}

@media (min-width: 961px) {
  .page-home .ph-hero {
    min-height: 100vh;
    padding: 160px 0 80px;
  }

  .page-home .ph-hero-grid {
    grid-template-columns: 8fr 4fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .ph-hero-lead {
    font-size: 17px;
  }

  .page-home .ph-status-card {
    padding: 36px 32px;
  }

  .page-home .ph-section-head {
    grid-template-columns: 3fr 9fr;
    align-items: end;
    margin-bottom: 44px;
  }

  .page-home .ph-board {
    padding: 96px 0 64px;
  }

  .page-home .ph-board-grid {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }

  .page-home .ph-tools {
    padding: 96px 0;
  }

  .page-home .ph-coverage {
    padding: 96px 0;
  }

  .page-home .ph-coverage-card {
    padding: 56px 48px;
  }

  .page-home .ph-coverage-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-home .ph-metric-num {
    font-size: 44px;
  }

  .page-home .ph-news {
    padding: 96px 0;
  }

  .page-home .ph-news-item {
    padding: 26px 10px;
  }

  .page-home .ph-news-title {
    font-size: 18px;
  }

  .page-home .ph-more {
    padding: 0 0 120px;
  }
}
