.page-home {
  --p-strip-gap: 14px;
  --p-card-pad: 18px;
  --p-radius: var(--radius-lg);
  background-color: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow: hidden;
}

.page-home .container {
  padding-inline: 20px;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-home h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
}

.page-home h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 10px 0 4px;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home .p-hero {
  position: relative;
  padding: 60px 0 36px;
  isolation: isolate;
}

.page-home .p-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 70%, rgba(255, 61, 0, 0.1), transparent 28%);
}

.page-home .p-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 0 78%);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04), transparent 60%);
}

.page-home .p-hero__inner {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-home .p-hero__title {
  margin: 12px 0 16px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.page-home .p-hero__lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
}

.page-home .p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.page-home .p-hero__entry,
.page-home .p-sync__cta {
  padding: 13px 24px;
  font-weight: 600;
}

.page-home .p-hero__entry {
  background: var(--grad-red);
  border-radius: var(--radius-pill);
  color: var(--text-light);
}

.page-home .p-hero__guide {
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

.page-home .p-hero__meta {
  font-size: 13px;
  color: var(--text-mid);
}

.page-home .p-hero__visual {
  position: relative;
  align-self: center;
}

.page-home .p-hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-cyan);
}

.page-home .p-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 61, 0, 0.22), rgba(0, 229, 255, 0.18));
  mix-blend-mode: screen;
}

.page-home .p-hero__img {
  width: 100%;
  height: auto;
}

.page-home .p-hero__status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(20, 26, 36, 0.7);
  border: 1px solid var(--silver);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.page-home .p-hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: p-pulse 1.8s infinite ease-in-out;
}

@keyframes p-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.page-home .p-hero__status-text {
  font-size: 13px;
  color: var(--text-light);
}

.page-home .p-hero__line {
  position: absolute;
  top: -16px;
  right: -10px;
  width: 180px;
  height: auto;
  color: var(--cyan);
  opacity: 0.6;
}

.page-home .p-stats {
  padding: 8px 0 20px;
  position: relative;
}

.page-home .p-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .p-stats__item {
  padding: 18px 16px;
  border: 1px solid rgba(192, 192, 192, 0.18);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .p-stats__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--cyan);
}

.page-home .p-stats__num sup {
  font-size: 0.5em;
  margin-left: 2px;
}

.page-home .p-stats__item:nth-child(2) .p-stats__num {
  color: var(--red);
}

.page-home .p-stats__item:nth-child(4) .p-stats__num {
  color: var(--red);
}

.page-home .p-stats__label {
  font-size: 13px;
  color: var(--text-mid);
}

.page-home .p-league {
  padding: 28px 0 40px;
}

.page-home .p-section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.page-home .p-section-top__link {
  color: var(--cyan);
}

.page-home .p-league__slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-inline: -20px;
  padding-inline: 20px;
}

.page-home .p-match-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: var(--p-card-pad);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 192, 192, 0.14);
  position: relative;
  overflow: hidden;
}

.page-home .p-match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-blue);
}

.page-home .p-match-card:nth-child(even)::before {
  background: var(--grad-red);
}

.page-home .p-match-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-home .p-match-card__league {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.page-home .p-match-card__status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--trans-blue);
  color: var(--cyan);
}

.page-home .p-match-card__score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .p-match-card__team {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.page-home .p-match-card__team--away {
  text-align: right;
}

.page-home .p-match-card__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .p-match-card__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mid);
}

.page-home .p-match-card__bar {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 61, 0, 0.18);
  overflow: hidden;
}

.page-home .p-match-card__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-blue);
}

.page-home .p-league__chart {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(192, 192, 192, 0.14);
}

.page-home .p-league__chart img {
  width: 100%;
  height: auto;
}

.page-home .p-lineup {
  padding: 48px 0;
  position: relative;
}

.page-home .p-lineup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(0, 229, 255, 0.06), transparent 30%);
}

.page-home .p-lineup__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .p-lineup__lead {
  color: var(--text-mid);
  line-height: 1.75;
  margin: 12px 0 20px;
}

.page-home .p-lineup__points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .p-lineup__points li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--text-light);
}

.page-home .p-lineup__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 61, 0, 0.6);
}

.page-home .p-lineup__board {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-cyan);
}

.page-home .p-lineup__board-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 4px 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .p-lineup__board-head span {
  color: var(--text-mid);
}

.page-home .p-lineup__board-head strong {
  font-size: 20px;
  color: var(--cyan);
  font-family: var(--font-display);
}

.page-home .p-lineup__pitch {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-md) - 4px);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(255, 61, 0, 0.05)),
    var(--bg-elevated);
  border: 1px solid rgba(192, 192, 192, 0.2);
  overflow: hidden;
}

.page-home .p-lineup__pitch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: 50%;
}

.page-home .p-lineup__pitch::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(192, 192, 192, 0.22);
}

.page-home .p-lineup__dot {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.7);
  transform: translate(-50%, -50%);
}

.page-home .p-lineup__dot--fw {
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 61, 0, 0.7);
}

.page-home .p-lineup__dot--df {
  background: var(--silver);
  box-shadow: none;
}

.page-home .p-lineup__dot--mf {
  background: var(--cyan);
}

.page-home .p-sync {
  padding: 40px 0 56px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .p-sync__grid {
  display: grid;
  gap: 26px;
}

.page-home .p-sync__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: var(--bg-card);
}

.page-home .p-sync__media img {
  width: 100%;
  height: auto;
}

.page-home .p-sync__lead {
  color: var(--text-mid);
  line-height: 1.7;
  margin: 12px 0 20px;
}

.page-home .p-sync__steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .p-sync__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(192, 192, 192, 0.12);
}

.page-home .p-sync__step-num {
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-blue);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
}

.page-home .p-sync__step:nth-child(2) .p-sync__step-num {
  background: var(--grad-red);
}

.page-home .p-sync__step strong {
  display: block;
  font-size: 15px;
}

.page-home .p-sync__step p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

.page-home .p-updates {
  padding: 24px 0 56px;
}

.page-home .p-updates__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .p-updates__grid {
  display: grid;
  gap: 20px;
}

.page-home .p-updates__feature {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 61, 0, 0.2);
}

.page-home .p-updates__feature img {
  width: 100%;
  height: auto;
  background: var(--bg-elevated);
}

.page-home .p-updates__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  background: var(--grad-red);
  color: var(--text-light);
}

.page-home .p-updates__feature h3 {
  padding: 14px 16px 4px;
}

.page-home .p-updates__feature p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .p-updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 192, 192, 0.12);
  overflow: hidden;
}

.page-home .p-updates__item {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.page-home .p-updates__item:last-child {
  border-bottom: 0;
}

.page-home .p-updates__item:hover {
  background: rgba(0, 229, 255, 0.05);
}

.page-home .p-updates__time {
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .p-updates__item a {
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.5;
}

.page-home .p-updates__item a:hover {
  color: var(--cyan);
}

.page-home .p-updates__cat {
  font-size: 12px;
  color: var(--text-mid);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(192, 192, 192, 0.12);
  justify-self: start;
}

@media (min-width: 768px) {
  .page-home .p-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .p-stats__num {
    font-size: 36px;
  }
}

@media (min-width: 900px) {
  .page-home .p-lineup__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .p-lineup {
    padding: 72px 0;
  }

  .page-home .p-sync__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .p-sync {
    padding: 64px 0 72px;
  }

  .page-home .p-updates__grid {
    grid-template-columns: minmax(0, 1fr) 1.4fr;
    column-gap: 26px;
    row-gap: 20px;
  }

  .page-home .p-updates__header {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .page-home .p-hero {
    padding: 88px 0 64px;
  }

  .page-home .p-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .p-hero__lead {
    font-size: 17px;
  }
}

.page-home {
  --x: inherit;
  --y: inherit;
}
