.page-home {
  --ph-orange: #FF6A00;
  --ph-soft-orange: #FF9A3D;
  --ph-neon: #39FF14;
  --ph-deep: #0B1426;
  --ph-mid: #142E54;
  --ph-light: #1E4E79;
  --ph-galaxy: #E0E0E0;
  --ph-white: #FFFFFF;
  --reveal-delay: 0s;
  background-color: var(--ph-deep);
  color: var(--ph-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home__progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-orange), var(--ph-neon));
  z-index: 999;
  transition: width 0.2s ease;
}

.page-home .section__header {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.page-home .section__kicker {
  color: var(--ph-soft-orange);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-home .section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-home .section__desc {
  color: var(--ph-galaxy);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0;
}

.page-home .btn--primary {
  background: var(--ph-orange);
  color: var(--ph-deep);
  font-weight: 700;
  border: 2px solid var(--ph-orange);
}

.page-home .btn--ghost {
  background: transparent;
  color: var(--ph-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

/* ===== HERO ===== */
.ph-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 5rem 1.25rem 3.5rem;
  isolation: isolate;
  background: var(--ph-deep);
}

.ph-hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ph-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ph-hero__bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 38, 0.35) 0%, rgba(11, 20, 38, 0.72) 45%, #0B1426 90%);
}

.ph-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.ph-hero__kicker {
  display: inline-block;
  color: var(--ph-soft-orange);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-left: 4px solid var(--ph-orange);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.ph-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.ph-hero__title-accent {
  display: block;
  background: linear-gradient(90deg, #FF6A00, #FF9A3D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ph-hero__lead {
  max-width: 640px;
  color: var(--ph-galaxy);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ph-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  border-top: 1px solid rgba(224, 224, 224, 0.2);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.ph-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ph-hero__stat-num {
  color: var(--ph-orange);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
}

.ph-hero__stat-label {
  color: var(--ph-galaxy);
  font-size: 0.875rem;
}

.ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ph-hero__meta {
  color: rgba(224, 224, 224, 0.75);
  font-size: 0.875rem;
}

.ph-hero__shape--1 {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: 12%;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.35), transparent 70%);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  z-index: -1;
}

.ph-hero__shape--2 {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 5%;
  bottom: 10%;
  border: 2px solid rgba(57, 255, 20, 0.35);
  transform: rotate(45deg);
  z-index: -1;
}

@media (min-width: 720px) {
  .ph-hero {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
  }

  .ph-hero__stats {
    gap: 2rem 3.5rem;
  }

  .ph-hero__shape--1 {
    width: 360px;
    height: 360px;
  }

  .ph-hero__shape--2 {
    width: 130px;
    height: 130px;
  }
}

/* ===== SECTION BASE ===== */
.ph-timeline,
.ph-live,
.ph-price,
.ph-plan,
.ph-trust {
  position: relative;
  padding: 4.5rem 1.25rem;
}

@media (min-width: 720px) {

  .ph-timeline,
  .ph-live,
  .ph-price,
  .ph-plan,
  .ph-trust {
    padding: 6.5rem 2rem;
  }
}

/* ===== TIMELINE ===== */
.ph-timeline {
  background: linear-gradient(180deg, #0B1426 0%, #142E54 100%);
}

.ph-timeline__wrap {
  margin-top: 0.5rem;
}

.ph-timeline__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.ph-timeline__filter-btn {
  appearance: none;
  background: rgba(20, 46, 84, 0.7);
  color: var(--ph-galaxy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ph-timeline__filter-btn:hover,
.ph-timeline__filter-btn.is-active {
  border-color: var(--ph-orange);
  color: var(--ph-orange);
  background: rgba(255, 106, 0, 0.08);
}

.ph-timeline__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.ph-timeline__rail {
  position: relative;
  padding: 0.25rem 0;
}

.ph-timeline__item {
  position: relative;
  padding: 1rem 0 1.4rem 3rem;
}

.ph-timeline__item:last-child {
  padding-bottom: 0.4rem;
}

.ph-timeline__item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 42px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.55), rgba(30, 78, 121, 0.3));
}

.ph-timeline__item:last-child::before {
  display: none;
}

.ph-timeline__dot {
  position: absolute;
  left: 0;
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ph-deep);
}

.ph-timeline__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ph-timeline__time {
  color: var(--ph-soft-orange);
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 700;
}

.ph-timeline__league {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.ph-timeline__teams {
  color: var(--ph-galaxy);
  font-size: 0.9rem;
  margin: 0;
}

.ph-timeline__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ph-timeline__note {
  color: var(--ph-galaxy);
  font-size: 0.9rem;
  line-height: 1.7;
  border-left: 3px solid var(--ph-orange);
  padding-left: 1rem;
  margin: 0;
}

@media (min-width: 900px) {
  .ph-timeline__layout {
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
  }

  .ph-timeline__aside {
    position: sticky;
    top: 2rem;
  }
}

/* ===== LIVE ===== */
.ph-live {
  background: #0B1426;
}

.ph-live::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ph-live .site-container {
  position: relative;
  z-index: 1;
}

.ph-live__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.ph-live__board {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ph-live__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.5rem 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(20, 46, 84, 0.6);
  border-left: 3px solid rgba(224, 224, 224, 0.2);
}

.ph-live__row.is-live {
  border-left-color: var(--ph-neon);
}

.ph-live__status {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ph-galaxy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ph-live__row.is-live .ph-live__status {
  color: var(--ph-neon);
}

.ph-live__match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.ph-live__team {
  font-weight: 500;
  color: var(--ph-white);
}

.ph-live__score {
  font-family: var(--font-data);
  font-size: 1.2rem;
  color: var(--ph-soft-orange);
  letter-spacing: 0.03em;
}

.ph-live__league {
  grid-column: 1 / -1;
  color: rgba(224, 224, 224, 0.6);
  font-size: 0.8rem;
}

.ph-live__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ph-live__caption {
  color: var(--ph-galaxy);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 720px) {
  .ph-live__row {
    grid-template-columns: 90px 1fr auto;
    gap: 0 1.25rem;
    align-items: center;
  }

  .ph-live__status {
    grid-column: auto;
  }

  .ph-live__league {
    grid-column: auto;
    text-align: right;
  }
}

@media (min-width: 960px) {
  .ph-live__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

/* ===== PRICE ===== */
.ph-price {
  background: linear-gradient(115deg, #142E54 0%, #0B1426 58%, #1E4E79 100%);
}

.ph-price__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 20, 38, 0.55);
}

.ph-price__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: transparent;
}

.ph-price__table th,
.ph-price__table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  color: var(--ph-galaxy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ph-price__table th {
  color: var(--ph-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  background: rgba(20, 46, 84, 0.6);
  white-space: nowrap;
}

.ph-price__table th[data-sort] {
  cursor: pointer;
}

.ph-price__table th[data-sort]:hover {
  color: var(--ph-orange);
}

.ph-price__table tr:last-child td {
  border-bottom: 0;
}

.ph-price__table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.ph-price__table tbody tr:hover {
  background: rgba(255, 106, 0, 0.06);
}

.ph-price__value {
  color: var(--ph-orange);
  font-family: var(--font-data);
  font-weight: 700;
  white-space: nowrap;
}

.ph-price__note {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.ph-price__note p {
  color: var(--ph-galaxy);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .ph-price__note {
    flex-direction: row;
    align-items: center;
  }
}

/* ===== PLAN ===== */
.ph-plan {
  background: #0B1426;
}

.ph-plan__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ph-plan__card {
  position: relative;
  background: rgba(20, 46, 84, 0.55);
  padding: 1.6rem 1.5rem;
  border-top: 3px solid transparent;
}

.ph-plan__card--hot {
  border-top-color: var(--ph-orange);
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.16), rgba(20, 46, 84, 0.55) 70%);
}

.ph-plan__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--ph-white);
}

.ph-plan__card--hot .ph-plan__name {
  color: var(--ph-soft-orange);
}

.ph-plan__price {
  color: var(--ph-galaxy);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

.ph-plan__price strong {
  color: var(--ph-orange);
  font-family: var(--font-data);
  font-size: 2.5rem;
  line-height: 1;
}

.ph-plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ph-plan__features li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ph-galaxy);
  font-size: 0.9rem;
}

.ph-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--ph-orange);
  transform: rotate(45deg);
}

.ph-plan__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.ph-plan__media {
  max-width: 220px;
  margin: 0 auto;
}

.ph-plan__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.ph-plan__note {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.ph-plan__note p {
  color: var(--ph-galaxy);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 720px) {
  .ph-plan__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .ph-plan__bottom {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }

  .ph-plan__media {
    max-width: 260px;
  }
}

/* ===== TRUST ===== */
.ph-trust {
  background: linear-gradient(150deg, #142E54 0%, #0B1426 100%);
}

.ph-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ph-trust__item {
  background: rgba(11, 20, 38, 0.5);
  padding: 1.6rem 1.5rem;
  border-left: 3px solid var(--ph-orange);
}

.ph-trust__index {
  display: block;
  color: var(--ph-soft-orange);
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.ph-trust__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.ph-trust__text {
  color: var(--ph-galaxy);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.ph-trust__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  border-top: 1px solid rgba(224, 224, 224, 0.15);
  padding-top: 2rem;
}

.ph-trust__cta p {
  color: var(--ph-galaxy);
  margin: 0;
  font-size: 0.95rem;
}

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

  .ph-trust__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1080px) {
  .ph-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== IMAGE FRAME ADAPTATION ===== */
.page-home .image-frame {
  overflow: hidden;
  position: relative;
  background: var(--ph-mid);
}

.page-home .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .image-frame--landscape {
  aspect-ratio: 4 / 3;
}

.page-home .image-frame--portrait {
  aspect-ratio: 3 / 4;
}

.page-home .tag--live {
  color: var(--ph-neon);
  border-color: rgba(57, 255, 20, 0.5);
  background: rgba(57, 255, 20, 0.08);
}

.page-home .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ph-neon);
  margin-right: 0.3rem;
  animation: ph-live-pulse 1.6s ease-in-out infinite;
}

@keyframes ph-live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(57, 255, 20, 0);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-dot {
    animation: none;
  }
}
