.page-home {
  --ph-gap: 20px;
  --ph-pad-y: 88px;
  background: var(--c-bg);
  color: var(--c-white);
  position: relative;
  overflow-x: hidden;
}

.page-home .ph-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.page-home .ph-section-head .eyebrow {
  margin: 0;
  color: var(--c-yellow);
  letter-spacing: 0.08em;
}
.page-home .ph-section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.page-home .ph-section-head .tag {
  align-self: center;
}

.page-home .breadcrumb a {
  color: var(--c-yellow);
  text-decoration: none;
}
.page-home .breadcrumb span {
  color: var(--c-gray);
}

.page-home .ph-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.page-home .ph-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.9) contrast(1.15);
}
.page-home .ph-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(78deg, rgba(6, 17, 36, 0.96) 0%, rgba(10, 26, 47, 0.78) 46%, rgba(10, 26, 47, 0.22) 100%);
}
.page-home .ph-hero__band {
  position: absolute;
  z-index: -1;
  transform: skewX(-14deg);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.3));
}
.page-home .ph-hero__band--yellow {
  width: 44%;
  max-width: 620px;
  height: 360px;
  top: 6%;
  right: 2%;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.95) 0%, rgba(245, 197, 24, 0.5) 100%);
}
.page-home .ph-hero__band--orange {
  width: 18%;
  height: 220px;
  right: 26%;
  bottom: 10%;
  background: linear-gradient(135deg, rgba(255, 127, 0, 0.9) 0%, rgba(255, 127, 0, 0.2) 100%);
}
.page-home .ph-hero__corner {
  position: absolute;
  right: 24px;
  top: 24px;
  font-family: var(--font-number);
  font-size: 34px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.16);
  writing-mode: vertical-rl;
  z-index: 0;
}
.page-home .ph-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-home .ph-hero__inner {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-top: 26px;
}
.page-home .ph-hero__headline h1 {
  margin: 10px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(56px, 11vw, 126px);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 8px 48px rgba(0, 0, 0, 0.35);
}
.page-home .ph-hero__highlight {
  color: var(--c-yellow);
}
.page-home .ph-hero__lead {
  max-width: 64ch;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-gray);
}
.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .ph-hero__panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(6, 17, 36, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.page-home .ph-hero__panel-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 14px;
  border-left: 4px solid var(--c-yellow);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}
.page-home .ph-hero__panel-item .data-number {
  font-size: 30px;
  line-height: 1;
}
.page-home .ph-hero__time {
  font-size: 20px;
}
.page-home .ph-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.page-home .ph-quick a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--c-gray);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-home .ph-quick a:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}

.page-home .ph-focus {
  padding: var(--ph-pad-y) 0;
  background: radial-gradient(circle at 85% 10%, rgba(245, 197, 24, 0.07), transparent 32%), var(--c-bg);
}
.page-home .ph-focus__grid {
  display: grid;
  gap: var(--ph-gap);
}
.page-home .ph-match-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(145deg, rgba(16, 35, 60, 0.95), rgba(6, 17, 36, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-home .ph-match-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: var(--shadow-md);
}
.page-home .ph-match-card__head {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-home .ph-match-card__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 26px 2px 18px;
}
.page-home .ph-match-card__side {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-home .ph-match-card__side:first-child {
  justify-content: flex-end;
}
.page-home .ph-match-card__side:last-child {
  justify-content: flex-start;
}
.page-home .ph-match-card__club {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .ph-match-card__goals {
  font-family: var(--font-number);
  font-size: 44px;
  line-height: 1;
  color: var(--c-yellow);
}
.page-home .ph-match-card__divider {
  font-family: var(--font-number);
  font-size: 26px;
  color: var(--c-gray);
  opacity: 0.65;
}
.page-home .ph-match-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.page-home .ph-match-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .ph-match-card__stats dt {
  color: var(--c-gray);
  font-size: 12px;
}
.page-home .ph-match-card__stats dd {
  margin: 0;
  color: var(--c-white);
}

.page-home .ph-schedule {
  position: relative;
  padding: var(--ph-pad-y) 0;
  background: linear-gradient(180deg, rgba(6, 17, 36, 0.75), rgba(16, 35, 60, 0.4));
  isolation: isolate;
}
.page-home .ph-schedule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-orange), transparent);
}
.page-home .ph-schedule__layout {
  display: grid;
  gap: 28px;
}
.page-home .ph-schedule__main {
  min-width: 0;
}
.page-home .ph-schedule__intro {
  margin: 0 0 18px;
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.7;
}
.page-home .ph-tab-switch {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .ph-tab-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.page-home .ph-tab-switch label {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-gray);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}
.page-home .ph-tab-switch input:checked + label {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-black);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.22);
}
.page-home .ph-tab-switch input:focus-visible + label {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}
.page-home .ph-tab-panels {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(6, 17, 36, 0.6);
}
.page-home .ph-tab-panel {
  display: none;
}
.page-home .ph-tab-switch input#ph-day-sat:checked ~ .ph-tab-panels .ph-tab-panel--sat {
  display: block;
}
.page-home .ph-tab-switch input#ph-day-sun:checked ~ .ph-tab-panels .ph-tab-panel--sun {
  display: block;
}
.page-home .ph-tab-switch input#ph-day-mon:checked ~ .ph-tab-panels .ph-tab-panel--mon {
  display: block;
}
.page-home .ph-tab-panel h3 {
  margin: 0 0 16px;
  color: var(--c-yellow);
  font-family: var(--font-number);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.page-home .ph-fixture-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .ph-fixture-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.page-home .ph-fixture-list li:last-child {
  border-bottom: 0;
}
.page-home .ph-fixture-list__time {
  min-width: 58px;
  color: var(--c-yellow);
  font-family: var(--font-number);
  font-size: 18px;
}
.page-home .ph-fixture-list__teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  font-size: 15px;
}
.page-home .ph-fixture-list__teams b {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .ph-fixture-list__teams i {
  font-style: normal;
  color: var(--c-gray);
  font-size: 12px;
}
.page-home .ph-schedule__side {
  margin: 0;
}
.page-home .ph-schedule__side img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.page-home .ph-schedule__side figcaption {
  margin-top: 8px;
  color: var(--c-gray);
  font-size: 13px;
}

.page-home .ph-upgrade {
  padding: var(--ph-pad-y) 0;
  background: radial-gradient(circle at 15% 25%, rgba(42, 59, 110, 0.5), transparent 36%), var(--c-bg);
}
.page-home .ph-upgrade__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-home .ph-upgrade__copy p {
  margin: 0;
  color: var(--c-gray);
  line-height: 1.8;
  font-size: 15px;
}
.page-home .ph-upgrade__copy h3 {
  margin: 14px 0 18px;
  color: var(--c-yellow);
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}
.page-home .ph-upgrade__points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .ph-upgrade__points li {
  position: relative;
  padding-left: 26px;
  color: var(--c-gray);
  line-height: 1.6;
  font-size: 15px;
}
.page-home .ph-upgrade__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: var(--c-orange);
  transform: rotate(45deg);
}
.page-home .ph-upgrade__visual {
  position: relative;
  display: grid;
  justify-items: center;
}
.page-home .ph-upgrade__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.page-home .ph-upgrade__ring {
  position: relative;
  width: 210px;
  height: 210px;
  margin-top: -64px;
  padding: 12px;
  background: var(--c-bg-deep);
  border: 1px solid rgba(245, 197, 24, 0.24);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.page-home .ph-upgrade__ring svg {
  display: block;
  width: 100%;
  height: 100%;
}
.page-home .ph-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 12;
}
.page-home .ph-ring-bar {
  fill: none;
  stroke: var(--c-yellow);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 402;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: pagehome-ring-fill 1.2s cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s forwards;
}
@keyframes pagehome-ring-fill {
  to {
    stroke-dashoffset: 177;
  }
}
.page-home .ph-upgrade__ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.page-home .ph-upgrade__ring-text .data-number {
  font-size: 38px;
  color: var(--c-yellow);
  line-height: 1;
}

.page-home .ph-venues {
  padding: var(--ph-pad-y) 0;
  background: linear-gradient(160deg, var(--c-bg-deep) 0%, var(--c-bg) 60%);
}
.page-home .ph-venues__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .ph-venues__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.page-home .ph-venues__stats div {
  padding: 14px 8px;
  text-align: center;
  background: rgba(16, 35, 60, 0.75);
  border-radius: var(--radius-md);
}
.page-home .ph-venues__stats .data-number {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  color: var(--c-yellow);
}
.page-home .ph-venues__stats .data-label {
  font-size: 12px;
  color: var(--c-gray);
}
.page-home .ph-venues__cards {
  display: grid;
  gap: 14px;
}
.page-home .ph-venue-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-home .ph-venue-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 127, 0, 0.5);
}
.page-home .ph-venue-card__rank {
  font-family: var(--font-number);
  font-size: 36px;
  line-height: 1;
  color: var(--c-orange);
}
.page-home .ph-venue-card__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.page-home .ph-venue-card__body p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--c-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.page-home .ph-venues__tip {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--c-orange);
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.7;
}
.page-home .ph-venues__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-home .ph-videos {
  padding: var(--ph-pad-y) 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(14, 77, 92, 0.35), transparent 38%), var(--c-bg);
}
.page-home .ph-videos__rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}
.page-home .ph-video-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(16, 35, 60, 0.85), rgba(6, 17, 36, 0.9));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-home .ph-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 24, 0.4);
}
.page-home .ph-video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 18% 22%, rgba(245, 197, 24, 0.32), transparent 38%), linear-gradient(135deg, var(--c-indigo), var(--c-bg-deep));
}
.page-home .ph-video-card__top {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 17, 36, 0.7);
  color: var(--c-yellow);
  font-family: var(--font-number);
  font-size: 12px;
}
.page-home .ph-video-card__time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(6, 17, 36, 0.75);
  font-family: var(--font-number);
  font-size: 13px;
}
.page-home .ph-video-card__play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .ph-video-card__play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--c-black);
}
.page-home .ph-video-card h3 {
  margin: 0;
  padding: 14px 14px 0;
  font-size: 15px;
  line-height: 1.4;
}
.page-home .ph-video-card__meta {
  margin: 0;
  padding: 6px 14px 16px;
  color: var(--c-gray);
  font-size: 13px;
}

@media (min-width: 640px) {
  .page-home {
    --ph-gap: 24px;
  }
  .page-home .ph-schedule__layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    align-items: start;
  }
}

@media (min-width: 860px) {
  .page-home .ph-hero__inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
    align-items: end;
  }
  .page-home .ph-focus__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .ph-upgrade__grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .ph-venues__layout {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .ph-section-head h2 {
    font-size: 46px;
  }
}

@media (max-width: 767px) {
  .page-home .ph-hero {
    min-height: 0;
    padding-top: 52px;
  }
  .page-home .ph-hero__headline h1 {
    font-size: clamp(52px, 15vw, 84px);
  }
  .page-home .ph-venues__stats {
    grid-template-columns: 1fr;
  }
}
