.page-home {
  background: var(--c-bg);
  color: var(--c-text);
}

.page-home .ph-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  display: flex;
  align-items: flex-start;
}

.page-home .ph-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c-bg);
}

.page-home .ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.42) saturate(1.3) contrast(1.15);
}

.page-home .ph-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15, 17, 21, 0.92) 0%, rgba(15, 17, 21, 0.76) 42%, rgba(15, 17, 21, 0.3) 100%);
  pointer-events: none;
}

.page-home .ph-hero-slash {
  display: none;
}

.page-home .ph-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  width: 100%;
}

.page-home .ph-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-secondary);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: 28px;
  background: rgba(0, 194, 255, 0.06);
}

.page-home .ph-hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-secondary);
  display: inline-block;
}

.page-home .ph-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 720px;
}

.page-home .ph-hero-title-em {
  color: var(--c-primary);
  font-style: italic;
  white-space: nowrap;
}

.page-home .ph-hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.page-home .ph-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-text-secondary);
}

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

.page-home .ph-score-panel {
  position: relative;
  background: rgba(26, 29, 35, 0.92);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.page-home .ph-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .ph-score-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.page-home .ph-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-secondary);
}

.page-home .ph-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-secondary);
}

.page-home .ph-score-list {
  display: grid;
  gap: 0;
}

.page-home .ph-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  transition: background-color 0.2s ease;
}

.page-home .ph-match-row:hover {
  background: rgba(200, 255, 0, 0.04);
}

.page-home .ph-match-row .ph-match-team:first-child {
  font-weight: 700;
}

.page-home .ph-match-team {
  font-size: 15px;
  line-height: 1.3;
}

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

.page-home .ph-match-score {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-primary);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
}

.page-home .ph-match-minute {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-secondary);
  background: rgba(0, 194, 255, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .ph-score-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-secondary);
  text-decoration: none;
}

.page-home .ph-score-more:hover {
  text-decoration: underline;
}

.page-home .ph-league-entry {
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.page-home .ph-league-entry-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-secondary);
  margin-bottom: 12px;
}

.page-home .ph-league-entry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .ph-league-entry-list a {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-home .ph-league-entry-list a:hover,
.page-home .ph-league-entry-list a:focus-visible {
  background: var(--c-primary);
  color: var(--c-bg);
  border-color: var(--c-primary);
}

.page-home .ph-league-section,
.page-home .ph-datapanel,
.page-home .ph-features,
.page-home .ph-news,
.page-home .ph-trust {
  padding: 64px 0;
}

.page-home .ph-league-section {
  position: relative;
  background: var(--c-bg-alt);
}

.page-home .ph-league-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
}

.page-home .ph-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .ph-section-label {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  font-weight: 500;
  display: block;
}

.page-home .ph-section-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  margin: 8px 0 0;
}

.page-home .ph-section-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-secondary);
  border-left: 2px solid var(--c-secondary);
  padding-left: 12px;
  margin: 0;
  max-width: 280px;
}

.page-home .ph-league-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .ph-league-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--c-elevated);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.page-home .ph-league-tag:hover,
.page-home .ph-league-tag:focus-visible {
  border-color: var(--c-secondary);
  background: rgba(0, 194, 255, 0.08);
  transform: translateY(-2px);
}

.page-home .ph-league-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
  flex: 0 0 auto;
}

.page-home .ph-league-tag:nth-child(3n+2) .ph-league-dot {
  background: var(--c-secondary);
}

.page-home .ph-league-tag:nth-child(3n) .ph-league-dot {
  background: var(--c-gold);
}

.page-home .ph-datapanel {
  background: var(--c-bg);
}

.page-home .ph-datapanel-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .ph-datapanel-copy {
  max-width: 640px;
}

.page-home .ph-datapanel-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text-secondary);
  margin: 12px 0 0;
  max-width: 580px;
}

.page-home .ph-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.page-home .ph-stat-item {
  background: var(--c-elevated);
  border-left: 4px solid var(--c-primary);
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.page-home .ph-stat-item:nth-child(even) {
  border-left-color: var(--c-secondary);
}

.page-home .ph-stat-num {
  font-family: var(--font-data);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  color: var(--c-primary);
  display: block;
  line-height: 1.1;
}

.page-home .ph-stat-label {
  font-size: 14px;
  color: var(--c-text-secondary);
  display: block;
  margin-top: 6px;
}

.page-home .ph-fav-box {
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--c-bg-alt);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-md);
}

.page-home .ph-fav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.page-home .ph-fav-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 18px;
}

.page-home .ph-fav-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-secondary);
  margin-bottom: 16px;
}

.page-home .ph-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.page-home .ph-fav-btn:hover,
.page-home .ph-fav-btn:focus-visible {
  background: var(--c-primary);
  color: var(--c-bg);
}

.page-home .ph-fav-btn:active {
  transform: scale(0.97);
}

.page-home .ph-datapanel-chart {
  margin: 0;
  padding: 16px;
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.page-home .ph-datapanel-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.page-home .ph-datapanel-chart figcaption {
  padding-top: 12px;
  font-size: 13px;
  color: var(--c-text-secondary);
  text-align: center;
  font-family: var(--font-data);
}

.page-home .ph-features {
  background: var(--c-bg-alt);
}

.page-home .ph-feature-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-home .ph-feature-item {
  position: relative;
  overflow: hidden;
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease;
}

.page-home .ph-feature-item:hover {
  border-color: var(--c-secondary);
}

.page-home .ph-feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: var(--c-secondary);
  opacity: 0.06;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.page-home .ph-feature-num {
  font-family: var(--font-data);
  font-size: 56px;
  font-weight: 500;
  color: var(--c-secondary);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.page-home .ph-feature-item h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.3;
}

.page-home .ph-feature-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-secondary);
  margin: 0;
}

.page-home .ph-news {
  background: var(--c-bg);
}

.page-home .ph-news-more {
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .ph-news-more:hover {
  text-decoration: underline;
}

.page-home .ph-news-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.page-home .ph-news-card {
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .ph-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.page-home .ph-news-img {
  height: 200px;
  overflow: hidden;
}

.page-home .ph-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.page-home .ph-news-card:hover .ph-news-img img {
  transform: scale(1.03);
}

.page-home .ph-news-body {
  padding: 24px;
}

.page-home .ph-news-body h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin: 12px 0 8px;
}

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

.page-home .ph-trust {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
  padding-bottom: 220px;
}

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

.page-home .ph-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
}

.page-home .ph-trust-head {
  max-width: 720px;
  text-align: center;
  margin: 0 auto 40px;
}

.page-home .ph-trust-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text-secondary);
  margin: 16px 0 0;
}

.page-home .ph-trust-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-home .ph-trust-item {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-elevated);
}

.page-home .ph-trust-item h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 8px;
}

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

.page-home .ph-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--c-gold);
  background: rgba(255, 199, 0, 0.08);
  color: var(--c-gold);
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-home .ph-trust-note {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-secondary);
  text-align: center;
}

@media (min-width: 768px) {
  .page-home .ph-league-section,
  .page-home .ph-datapanel,
  .page-home .ph-features,
  .page-home .ph-news,
  .page-home .ph-trust {
    padding: 96px 0;
  }

  .page-home .ph-trust {
    padding-bottom: 260px;
  }

  .page-home .ph-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

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

  .page-home .ph-news-img {
    height: 240px;
  }

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

@media (min-width: 900px) {
  .page-home .ph-hero {
    min-height: 720px;
    align-items: center;
    padding: 96px 0 120px;
  }

  .page-home .ph-hero-slash {
    display: block;
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    background: var(--c-primary);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 1;
  }

  .page-home .ph-hero-bg img {
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  }

  .page-home .ph-hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 64px;
  }

  .page-home .ph-datapanel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}
