.page-home {
  position: relative;
  background: var(--sy-bg-deep);
  color: var(--sy-text);
  overflow-x: hidden;
}

.page-home .sy-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-home .sy-breadcrumb {
  margin-bottom: 2rem;
}

.page-home .sy-breadcrumb__link {
  color: var(--sy-cyan);
  text-decoration: none;
}

.page-home .sy-breadcrumb__current {
  color: var(--sy-text);
}

.page-home .ph-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 2.5rem 0 4.5rem;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), 0 100%);
  background:
    radial-gradient(circle at 78% 18%, rgba(78, 94, 252, 0.45), transparent 38%),
    linear-gradient(145deg, var(--sy-bg-deep) 0%, #121843 70%, var(--sy-bg-electric) 135%);
}

.page-home .ph-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .ph-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}

.page-home .ph-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 42, 0.78), rgba(11, 15, 42, 0.3) 48%, var(--sy-bg-deep) 96%);
}

.page-home .ph-hero__scanline {
  position: absolute;
  top: -5%;
  bottom: -5%;
  width: 150px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.12), transparent);
  transform: skewX(-14deg);
  animation: ph-scan 7s ease-in-out infinite alternate;
  z-index: 1;
}

.page-home .ph-hero__flakes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.page-home .ph-hero__flakes span {
  position: absolute;
  top: -8%;
  left: 10%;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--sy-accent-orange);
  opacity: 0.65;
  animation: ph-fall 9s linear infinite;
}

.page-home .ph-hero__flakes span:nth-child(2) {
  left: 38%;
  width: 5px;
  height: 5px;
  animation-duration: 11s;
  animation-delay: 1.5s;
  background: var(--sy-cyan);
}

.page-home .ph-hero__flakes span:nth-child(3) {
  left: 62%;
  width: 8px;
  height: 8px;
  animation-duration: 13s;
  animation-delay: 0.8s;
  background: var(--sy-accent-warm);
}

.page-home .ph-hero__flakes span:nth-child(4) {
  left: 84%;
  width: 4px;
  height: 4px;
  animation-duration: 10s;
  animation-delay: 3s;
  background: var(--sy-bg-bright);
}

.page-home .ph-hero__inner {
  width: 100%;
}

.page-home .ph-hero__content {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-home .ph-hero__copy {
  max-width: 760px;
}

.page-home .ph-hero__badge {
  display: inline-flex;
  background: var(--sy-accent-orange);
  color: var(--sy-bg-deep);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 26px rgba(255, 106, 61, 0.45);
}

.page-home .ph-hero__title {
  font-family: var(--sy-font-display);
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 1.2rem 0;
}

.page-home .ph-hero__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--sy-muted);
  max-width: 660px;
  margin-bottom: 1.8rem;
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-home .ph-btn-primary {
  background: var(--sy-accent-orange);
  color: var(--sy-bg-deep);
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(255, 106, 61, 0.3);
}

.page-home .ph-btn-primary:hover,
.page-home .ph-btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 106, 61, 0.4);
}

.page-home .ph-btn-ghost {
  border: 1px solid rgba(0, 229, 255, 0.55);
  color: var(--sy-text);
  background: rgba(11, 15, 42, 0.4);
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .ph-btn-ghost:hover,
.page-home .ph-btn-ghost:focus {
  border-color: var(--sy-cyan);
  background: rgba(0, 229, 255, 0.1);
}

.page-home .ph-hero__panel {
  position: relative;
  background: rgba(11, 15, 42, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 14px;
  padding: 1.3rem;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  box-shadow: var(--sy-shadow);
}

.page-home .ph-hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--sy-font-display);
  font-size: 0.9rem;
  color: var(--sy-text);
  margin-bottom: 1rem;
}

.page-home .ph-hero__panel-status {
  color: var(--sy-success);
  font-weight: 700;
}

.page-home .ph-hero__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .ph-hero__panel-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sy-muted);
  font-size: 0.95rem;
}

.page-home .ph-hero__panel-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--sy-cyan);
  transform: rotate(45deg);
  flex: none;
}

.page-home .ph-hero__panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--sy-muted);
  font-size: 0.9rem;
}

.page-home .ph-hero__panel-meta strong {
  font-family: var(--sy-font-display);
  font-size: 1.6rem;
  color: var(--sy-text);
  margin-left: 0.5rem;
}

@keyframes ph-scan {
  from {
    left: -20%;
  }
  to {
    left: 110%;
  }
}

@keyframes ph-fall {
  0% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.6;
  }
  100% {
    transform: rotate(45deg) translateY(720px);
    opacity: 0;
  }
}

.page-home .ph-score {
  padding: 0 0 4.5rem;
}

.page-home .ph-score__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem 0 1.5rem;
}

.page-home .ph-score__head h2,
.page-home .ph-tablet__copy h2,
.page-home .ph-replay__head h2 {
  font-family: var(--sy-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0.4rem 0 0;
}

.page-home .ph-score__head p {
  color: var(--sy-muted);
  line-height: 1.75;
  max-width: 720px;
  margin: 0.4rem 0 0;
}

.page-home .ph-score__kicker {
  background: var(--sy-cyan);
  color: var(--sy-bg-deep);
  font-weight: 800;
}

.page-home .ph-score__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sy-bg-bright) transparent;
}

.page-home .ph-score-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: linear-gradient(150deg, rgba(46, 55, 164, 0.55), rgba(11, 15, 42, 0.95) 82%);
  border: 1px solid rgba(78, 94, 252, 0.35);
  border-radius: var(--sy-radius);
  overflow: hidden;
  box-shadow: var(--sy-shadow);
}

.page-home .ph-score-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

.page-home .ph-score-card__body {
  padding: 1rem;
}

.page-home .ph-score-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.page-home .ph-live-badge {
  background: var(--sy-success);
  color: var(--sy-bg-deep);
  font-weight: 800;
}

.page-home .ph-score-card__league {
  color: var(--sy-muted);
  font-size: 0.85rem;
}

.page-home .ph-score-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--sy-font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.page-home .ph-score-card__score {
  font-size: 2.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--sy-accent-warm);
  text-shadow: 0 0 18px rgba(255, 106, 61, 0.45);
  animation: ph-score-pulse 2.4s ease-in-out infinite;
}

.page-home .ph-score-card__meta {
  color: var(--sy-muted);
  font-size: 0.9rem;
}

@keyframes ph-score-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.page-home .ph-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--sy-accent-warm);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .ph-text-link:hover,
.page-home .ph-text-link:focus {
  border-bottom-color: currentColor;
}

.page-home .ph-tablet {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(120deg, rgba(94, 104, 255, 0.12), transparent 42%), var(--sy-light);
  color: var(--sy-bg-deep);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.page-home .ph-tablet__grid {
  display: grid;
  gap: 2.25rem;
  padding-top: 1.5rem;
}

.page-home .ph-tablet__copy {
  position: relative;
}

.page-home .ph-tablet__kicker {
  background: var(--sy-bg-bright);
  color: var(--sy-text);
  font-weight: 800;
}

.page-home .ph-tablet__copy h2 {
  color: var(--sy-bg-deep);
}

.page-home .ph-tablet__copy p {
  color: var(--sy-bg-electric);
  line-height: 1.8;
  margin: 0.6rem 0 0;
  max-width: 680px;
}

.page-home .ph-tablet .ph-text-link {
  color: var(--sy-bg-bright);
}

.page-home .ph-tags {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 1.2rem;
}

.page-home .ph-tags__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.page-home .ph-tags__label {
  font-family: var(--sy-font-display);
  font-weight: 700;
  color: var(--sy-bg-electric);
  margin-right: 0.35rem;
}

.page-home .ph-tags__tag {
  background: var(--sy-bg-electric);
  color: var(--sy-text);
  padding: 0.42rem 1rem;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.page-home .ph-tags__tag:hover,
.page-home .ph-tags__tag:focus {
  filter: brightness(1.18);
  transform: translateY(-1px);
}

.page-home .ph-tags__tag:nth-child(3) {
  background: var(--sy-accent-orange);
  color: var(--sy-bg-deep);
}

.page-home .ph-tags__tag:nth-child(4) {
  background: var(--sy-bg-bright);
}

.page-home .ph-tags__tag:nth-child(5) {
  background: var(--sy-bg-electric);
  color: var(--sy-text);
}

.page-home .ph-tablet__preview {
  position: relative;
  padding: 0.5rem;
}

.page-home .ph-tablet__preview::before,
.page-home .ph-tablet__preview::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-style: solid;
  border-color: var(--sy-accent-orange);
  z-index: 2;
}

.page-home .ph-tablet__preview::before {
  top: 0;
  left: 0;
  border-width: 3px 0 0 3px;
}

.page-home .ph-tablet__preview::after {
  bottom: 0;
  right: 0;
  border-width: 0 3px 3px 0;
}

.page-home .ph-tablet__frame {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0.65rem;
  background: linear-gradient(145deg, #101742, #2e37a4);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(13, 18, 63, 0.25);
  transform: rotate(-1.2deg);
}

.page-home .ph-tablet__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-home .ph-replay {
  position: relative;
  padding: 4rem 0;
  background: radial-gradient(circle at 82% 22%, rgba(0, 229, 255, 0.12), transparent 32%), var(--sy-bg-deep);
}

.page-home .ph-replay__head {
  max-width: 780px;
}

.page-home .ph-replay__head p {
  color: var(--sy-muted);
  line-height: 1.8;
  margin: 0.55rem 0 0;
}

.page-home .ph-replay__kicker {
  background: var(--sy-bg-bright);
  color: var(--sy-text);
  font-weight: 800;
}

.page-home .ph-replay__timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 2.2rem 0 3rem;
  padding: 0.5rem;
}

.page-home .ph-replay__track {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--sy-cyan), var(--sy-bg-electric) 78%);
}

.page-home .ph-replay__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.page-home .ph-replay__node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sy-bg-deep);
  border: 2px solid var(--sy-bg-electric);
  box-shadow: 0 0 0 4px rgba(11, 15, 42, 0.6);
}

.page-home .ph-replay__node--active .ph-replay__node-dot {
  background: var(--sy-cyan);
  border-color: var(--sy-cyan);
  box-shadow: 0 0 16px var(--sy-cyan);
}

.page-home .ph-replay__node-range {
  font-size: 0.85rem;
  color: var(--sy-muted);
  white-space: nowrap;
}

.page-home .ph-replay__node--active .ph-replay__node-range {
  color: var(--sy-text);
  font-weight: 700;
}

.page-home .ph-replay__grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .ph-replay__feature {
  background: linear-gradient(150deg, rgba(46, 55, 164, 0.42), rgba(11, 15, 42, 0.92));
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: var(--sy-radius);
  overflow: hidden;
  box-shadow: var(--sy-shadow);
}

.page-home .ph-replay__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-home .ph-replay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .ph-replay__feature-body {
  padding: 1.2rem;
}

.page-home .ph-replay__badge {
  background: var(--sy-accent-orange);
  color: var(--sy-bg-deep);
  font-weight: 800;
}

.page-home .ph-replay__feature-body h3 {
  font-family: var(--sy-font-display);
  font-size: 1.4rem;
  margin: 0.7rem 0 0.35rem;
}

.page-home .ph-replay__feature-body p {
  color: var(--sy-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.page-home .ph-replay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.page-home .ph-replay__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(46, 55, 164, 0.18);
  border: 1px solid rgba(78, 94, 252, 0.32);
  border-radius: 12px;
  text-decoration: none;
  color: var(--sy-text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .ph-replay__item:hover,
.page-home .ph-replay__item:focus {
  transform: translateY(-2px);
  border-color: var(--sy-cyan);
  background: rgba(46, 55, 164, 0.35);
}

.page-home .ph-replay__item-tag {
  flex: none;
  background: var(--sy-bg-electric);
  color: var(--sy-text);
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.page-home .ph-replay__item strong {
  flex: 1;
  font-size: 0.98rem;
}

.page-home .ph-replay__item-date {
  flex: none;
  color: var(--sy-cyan);
  font-size: 0.85rem;
}

.page-home .ph-feedback-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sy-accent-orange);
  color: var(--sy-bg-deep);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .ph-feedback-float:hover,
.page-home .ph-feedback-float:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 106, 61, 0.45);
}

@media (min-width: 680px) {
  .page-home .ph-score__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .ph-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  }
}

@media (min-width: 960px) {
  .page-home .ph-score__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0.5rem;
  }

  .page-home .ph-score-card {
    flex: none;
  }

  .page-home .ph-tablet__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    padding-top: 0;
  }

  .page-home .ph-replay__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-hero__scanline,
  .page-home .ph-hero__flakes span,
  .page-home .ph-score-card__score {
    animation: none;
  }
}
