.page-home {
  --ph-cyan: var(--accent-cyan);
  --ph-green: var(--accent-green);
  --ph-orange: var(--accent-orange);
  --ph-card: var(--bg-card);
  --ph-elev: var(--bg-elev);
  --ph-border: var(--border-color);
  --ph-text: var(--text-primary);
  --ph-muted: var(--text-secondary);
  background: var(--bg-deep);
  color: var(--ph-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.ph-container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 20px;
}

.ph-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 108px;
  overflow: hidden;
  background: var(--bg-deep);
}

.ph-hero__media,
.ph-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ph-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.ph-hero__veil {
  background:
    linear-gradient(90deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.68) 45%, rgba(10, 14, 23, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 14, 23, 0.95) 0%, transparent 40%);
}

.ph-hero__inner {
  position: relative;
  z-index: 2;
}

.ph-hero .breadcrumb {
  margin-bottom: 28px;
}

.ph-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-left: 3px solid var(--ph-cyan);
  color: var(--ph-cyan);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.06);
  transform: skew(-6deg);
}

.ph-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -0.02em;
  transform: skew(-5deg);
  transform-origin: left center;
  color: var(--ph-text);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.ph-hero__lead {
  max-width: 640px;
  margin: 0 0 26px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.86);
}

.ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ph-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  height: 44px;
  display: flex;
  align-items: center;
}

.ph-ticker:hover .ph-ticker__track {
  animation-play-state: paused;
}

.ph-ticker__track {
  display: flex;
  width: max-content;
  animation: ph-ticker-move 28s linear infinite;
}

.ph-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ph-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ph-cyan);
  letter-spacing: 0.04em;
}

.ph-ticker__item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ph-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
  flex-shrink: 0;
}

@keyframes ph-ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ph-section {
  padding: 56px 0;
  position: relative;
}

.ph-section + .ph-section {
  border-top: 1px solid rgba(42, 58, 92, 0.55);
}

.ph-section__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ph-section__head .section-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ph-orange);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.08);
  transform: skew(-6deg);
}

.ph-section__head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  transform: skew(-3deg);
  color: var(--ph-text);
}

.ph-analytics-tag {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--ph-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--ph-border);
  border-radius: 999px;
  background: rgba(17, 23, 38, 0.72);
}

.ph-section__desc {
  max-width: 720px;
  margin: -8px 0 26px;
  color: var(--ph-muted);
  line-height: 1.75;
}

.ph-live__grid {
  display: grid;
  gap: 16px;
}

.ph-live__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--ph-card);
  border-color: rgba(0, 229, 255, 0.28);
}

.ph-live__media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}

.ph-live__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 23, 0.88) 100%);
}

.ph-live__media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
}

.ph-live__body {
  padding: 20px;
}

.ph-live__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-live__body p {
  margin: 0 0 18px;
  color: var(--ph-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.ph-live__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ph-live__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--ph-border);
  border-radius: var(--radius);
  background: rgba(10, 14, 23, 0.5);
}

.ph-live__num {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ph-cyan);
  line-height: 1.1;
}

.ph-live__label {
  font-size: 0.74rem;
  color: var(--ph-muted);
}

.ph-live__side,
.ph-live__note {
  background: var(--ph-card);
}

.ph-live__side h3,
.ph-live__note h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-live__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ph-live__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ph-text);
}

.ph-live__list li em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ph-green);
}

.ph-live__note p {
  margin: 0 0 18px;
  color: var(--ph-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ph-leagues__layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.ph-leagues__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ph-leagues__intro > p {
  margin: 0;
  color: var(--ph-muted);
  line-height: 1.8;
  font-size: 0.94rem;
}

.ph-leagues__intro .tabs-list {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ph-border);
}

.ph-leagues__intro .tabs-trigger {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ph-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}

.ph-leagues__intro .tabs-trigger[aria-selected="true"] {
  color: var(--ph-cyan);
  border-bottom-color: var(--ph-cyan);
}

.ph-league-list {
  display: grid;
  gap: 8px;
}

.ph-league-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(17, 23, 38, 0.72);
  border: 1px solid var(--ph-border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ph-text);
  transition: border-color var(--transition), background var(--transition);
}

.ph-league-item:hover {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(17, 23, 38, 1);
}

.ph-league-rank {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ph-orange);
  letter-spacing: 0.06em;
}

.ph-league-item i {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ph-muted);
  white-space: nowrap;
}

.ph-league-feat {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.07) 0%, rgba(17, 23, 38, 1) 45%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ph-league-feat h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-league-feat p {
  margin: 0 0 20px;
  color: var(--ph-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.ph-league-feat__row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.ph-home-rate {
  flex: 1;
  padding: 14px 12px;
  border: 1px solid var(--ph-border);
  border-radius: var(--radius);
  background: rgba(10, 14, 23, 0.5);
  font-size: 0.82rem;
  color: var(--ph-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ph-home-rate strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ph-text);
}

.ph-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--ph-cyan);
}

.ph-compare__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.ph-compare__card {
  background: var(--ph-card);
}

.ph-compare__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-compare__card p {
  margin: 0 0 18px;
  color: var(--ph-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ph-compare__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ph-compare__visual {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ph-border);
}

.ph-compare__visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.ph-advantage__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.ph-adv-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 138px;
  background: var(--ph-card);
  text-align: left;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.ph-adv-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--ph-cyan), transparent 80%);
}

.ph-adv-item em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ph-cyan);
  line-height: 1.1;
}

.ph-adv-item span {
  font-size: 0.86rem;
  color: var(--ph-muted);
}

.ph-advantage__foot {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--ph-border);
  border-radius: var(--radius);
}

.ph-insights__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.ph-insight-chart,
.ph-insight-text {
  background: var(--ph-card);
}

.ph-insight-chart h3,
.ph-insight-text h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-insight-chart__desc {
  margin: 0 0 20px;
  color: var(--ph-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.ph-bar-chart {
  display: grid;
  gap: 16px;
}

.ph-bar {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
}

.ph-bar__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ph-text);
}

.ph-bar__track {
  display: block;
  height: 26px;
  border-radius: 4px;
  background: rgba(10, 14, 23, 0.72);
  overflow: hidden;
}

.ph-bar__fill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.65), rgba(0, 229, 255, 0.2));
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ph-text);
  border-radius: 4px;
}

.ph-bar:first-child .ph-bar__fill {
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.7), rgba(0, 229, 255, 0.55));
}

.ph-insight-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 0;
}

.ph-insight-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.ph-insight-text p {
  margin: 0 0 18px;
  color: var(--ph-muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.ph-cta {
  padding: 64px 0;
  background:
    linear-gradient(120deg, rgba(0, 229, 255, 0.06) 0%, transparent 30%),
    var(--bg-deep);
  border-top: 1px solid var(--ph-border);
  position: relative;
  overflow: hidden;
}

.ph-cta::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 40px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ph-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-cta__inner h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  transform: skew(-4deg);
  color: var(--ph-text);
}

.ph-cta__inner p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ph-muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.ph-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--ph-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .ph-live__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ph-live__main {
    grid-column: 1 / -1;
  }

  .ph-compare__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ph-compare__visual {
    grid-column: 1 / -1;
  }

  .ph-insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ph-insight-chart {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .ph-section {
    padding: 76px 0;
  }

  .ph-live__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .ph-live__main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .ph-live__side {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .ph-live__note {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .ph-live__main {
    grid-template-columns: 1fr;
  }

  .ph-leagues__layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: stretch;
  }

  .ph-compare__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ph-compare__visual {
    grid-column: auto;
    grid-row: span 2;
  }

  .ph-advantage__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ph-insights__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto;
  }

  .ph-insight-chart {
    grid-column: 1 / 2;
  }

  .ph-insight-media {
    grid-column: 2 / 3;
  }

  .ph-insight-text {
    grid-column: 3 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-ticker__track {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
