.page-home {
  --home-gold-rgb: 245, 184, 46;
  --home-green-rgb: 57, 255, 20;
}

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

.page-home [data-reveal] {
  transition: opacity .55s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.page-home [data-reveal].is-inview {
  transform: none;
  opacity: 1;
}

.page-home .panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(150deg, rgba(26, 42, 90, .38), rgba(10, 14, 39, .72)), var(--deep-blue);
  box-shadow: var(--shadow-soft);
}

.page-home .panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 184, 46, .6), transparent);
  pointer-events: none;
}

.page-home .section-head {
  position: relative;
  z-index: 1;
}

.page-home .section-sub {
  max-width: 640px;
  margin-left: 0;
}

.page-home .hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94vh;
  padding: 72px 0 64px;
  overflow: hidden;
  background: var(--space-black);
  border-radius: 0 0 36px 36px;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(245, 184, 46, .14), transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(57, 255, 20, .08), transparent 40%),
    linear-gradient(180deg, rgba(5, 8, 16, .72) 0%, rgba(5, 8, 16, .42) 40%, rgba(10, 14, 39, .88) 100%);
}

.page-home .hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 22% 18%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1px 1px at 68% 32%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(2px 2px at 82% 16%, rgba(245, 184, 46, .55), transparent),
    radial-gradient(1px 1px at 38% 64%, rgba(57, 255, 20, .35), transparent),
    radial-gradient(1.5px 1.5px at 90% 52%, rgba(255, 255, 255, .5), transparent);
  pointer-events: none;
}

.page-home .hero-orb {
  position: absolute;
  z-index: 1;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, .18), rgba(245, 184, 46, .04) 42%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.page-home .hero-orb::before {
  content: '';
  position: absolute;
  inset: 26%;
  border: 1px solid rgba(245, 184, 46, .18);
  border-radius: 50%;
  animation: homeOrbFloat 12s ease-in-out infinite;
}

.page-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  color: var(--galaxy-white);
}

.page-home .hero-breadcrumb {
  justify-content: center;
  margin-bottom: 20px;
}

.page-home .hero-breadcrumb .breadcrumb-item {
  color: var(--gray);
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 184, 46, .35);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(245, 184, 46, .08);
  margin-bottom: 22px;
}

.page-home .hero-content h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: .02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .45);
  margin-bottom: 24px;
}

.page-home .hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
  color: rgba(245, 247, 250, .86);
  max-width: 760px;
  margin: 0 auto 30px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-top: 36px;
}

.page-home .hero-index-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 247, 250, .78);
  background: rgba(10, 14, 39, .55);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, color .25s ease;
}

.page-home .hero-index-item span {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 12px;
}

.page-home .hero-index-item:hover,
.page-home .hero-index-item:focus {
  border-color: rgba(245, 184, 46, .4);
  color: var(--galaxy-white);
}

.page-home .home-trail {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -16px;
  opacity: .85;
}

.page-home .merge-panel,
.page-home .score-panel,
.page-home .data-panel,
.page-home .focus-panel,
.page-home .cta-panel {
  padding: 40px 0 24px;
}

.page-home .merge-layout {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.page-home .merge-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

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

.page-home .merge-detail {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px 0 0;
}

.page-home .feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(10, 14, 39, .5);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: border-color .25s ease, box-shadow .3s ease;
}

.page-home .feature-item:hover,
.page-home .feature-item:focus-within {
  border-color: rgba(245, 184, 46, .3);
  box-shadow: 0 0 0 1px rgba(245, 184, 46, .08), 0 8px 24px rgba(0, 0, 0, .22);
}

.page-home .feature-num {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--gold);
  opacity: .85;
  line-height: 1.6;
}

.page-home .feature-copy h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--galaxy-white);
}

.page-home .feature-copy p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.page-home .feature-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray);
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(57, 255, 20, .06);
  border: 1px dashed rgba(57, 255, 20, .25);
}

.page-home .feature-note .live-dot {
  margin-top: 7px;
}

.page-home .feature-note p {
  margin: 0;
}

.page-home .score-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.page-home .score-grid {
  display: grid;
  gap: 16px;
}

.page-home .score-card {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 42, 90, .5), rgba(10, 14, 39, .8));
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}

.page-home .score-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, rgba(245, 184, 46, .18), transparent 70%);
  pointer-events: none;
}

.page-home .score-card:hover,
.page-home .score-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(245, 184, 46, .35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.page-home .score-league {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gray);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-home .score-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .score-team {
  font-size: 14px;
  font-weight: 600;
  color: var(--galaxy-white);
  flex: 1;
  min-width: 0;
}

.page-home .score-team:last-child {
  text-align: right;
}

.page-home .score-number {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: .02em;
  animation: homeScorePulse 2.6s ease-in-out infinite;
}

.page-home .score-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--neon-green);
}

.page-home .score-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10, 14, 39, .45);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 14px;
}

.page-home .score-visual img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.page-home .table-note {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.page-home .data-layout {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.page-home .data-poster {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

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

.page-home .data-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .data-table-wrap h3 {
  font-size: 20px;
  color: var(--galaxy-white);
}

.page-home .data-table {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.page-home .data-row {
  display: grid;
  grid-template-columns: 70px 1fr 70px 70px;
  gap: 8px;
  padding: 12px 14px;
  align-items: center;
  font-size: 14px;
  color: var(--galaxy-white);
  border-bottom: 1px solid var(--border-soft);
}

.page-home .data-row:last-child {
  border-bottom: none;
}

.page-home .data-row-head {
  background: rgba(26, 42, 90, .45);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
  text-transform: uppercase;
}

.page-home .data-row:nth-child(even):not(.data-row-head) {
  background: rgba(10, 14, 39, .35);
}

.page-home .data-row span:first-child {
  color: var(--gold);
  font-family: var(--font-num);
}

.page-home .data-row span:last-child {
  font-family: var(--font-num);
  color: var(--gold);
}

.page-home .data-meta {
  margin-top: 8px;
}

.page-home .data-meta p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.page-home .focus-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.page-home .focus-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: linear-gradient(160deg, rgba(26, 42, 90, .5), rgba(10, 14, 39, .72));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.page-home .focus-item:hover,
.page-home .focus-item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.page-home .focus-num,
.page-home .focus-plus,
.page-home .focus-unit {
  font-family: var(--font-num);
  color: var(--gold);
  line-height: 1;
}

.page-home .focus-num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
}

.page-home .focus-plus {
  font-size: 28px;
  margin-left: 2px;
}

.page-home .focus-unit {
  font-size: 18px;
  margin-left: 2px;
}

.page-home .focus-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--galaxy-white);
  margin: 12px 0 6px;
}

.page-home .focus-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 180px;
}

.page-home .focus-trail {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 28px;
  opacity: .8;
}

.page-home .focus-entry {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.page-home .cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px clamp(20px, 4vw, 44px);
  text-align: center;
}

.page-home .cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin-bottom: 14px;
}

.page-home .cta-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
  color: var(--galaxy-white);
}

.page-home .cta-content p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.page-home .cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-home .cta-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}

.page-home .stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
  padding: 16px 20px;
  background: rgba(26, 42, 90, .3);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.page-home .stat-label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gray);
}

.page-home .stat-value {
  font-family: var(--font-num);
  font-size: 22px;
  color: var(--gold);
}

@keyframes homeScorePulse {
  0%, 100% {
    text-shadow: 0 0 0 rgba(57, 255, 20, 0);
  }
  50% {
    text-shadow: 0 0 16px rgba(57, 255, 20, .45);
  }
}

@keyframes homeOrbFloat {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}

@media (scripting: enabled) {
  .page-home [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
  }

  .page-home [data-reveal][data-reveal-delay="80"] {
    transition-delay: .08s;
  }

  .page-home [data-reveal][data-reveal-delay="160"] {
    transition-delay: .16s;
  }

  .page-home [data-reveal][data-reveal-delay="240"] {
    transition-delay: .24s;
  }
}

@media (min-width: 600px) {
  .page-home .score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hero-index {
    gap: 12px 16px;
  }

  .page-home .hero-index-item {
    font-size: 14px;
    padding: 10px 18px;
  }
}

@media (min-width: 860px) {
  .page-home .merge-panel,
  .page-home .score-panel,
  .page-home .data-panel,
  .page-home .focus-panel,
  .page-home .cta-panel {
    padding: 64px 0 28px;
  }

  .page-home .section + .section {
    margin-top: 8px;
  }

  .page-home .merge-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: center;
  }

  .page-home .merge-visual {
    border-radius: 24px;
    margin-right: 24px;
  }

  .page-home .data-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }

  .page-home .data-poster {
    border-radius: 22px;
    margin-right: 18px;
  }

  .page-home .score-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .score-visual {
    justify-content: center;
  }

  .page-home .focus-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .cta-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .page-home .cta-content {
    flex: 1;
  }

  .page-home .cta-actions {
    justify-content: flex-start;
  }

  .page-home .cta-stats {
    flex-direction: column;
    border-top: none;
    border-left: 1px solid var(--border-soft);
    padding-top: 0;
    padding-left: 32px;
    min-width: 260px;
  }

  .page-home .stat-item {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .page-home .score-number,
  .page-home .hero-orb::before {
    animation: none !important;
  }
}
