.page-home {
  --hero-overlay: rgba(10, 20, 40, 0.72);
  --tilt-angle: -2deg;
  color: var(--text-bright);
  background: var(--space-blue);
  overflow-x: hidden;
}

.page-home .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-home .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .tag--green {
  color: var(--electric-green);
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.page-home .tag--cyan {
  color: var(--data-cyan);
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.28);
}

.page-home .tag--red {
  color: var(--orange-red);
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.3);
}

.page-home .tag--yellow {
  color: var(--warning-yellow);
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 200ms, box-shadow 200ms, background 200ms, border-color 200ms;
}

.page-home .btn-primary {
  background: var(--electric-green);
  color: var(--space-blue);
  box-shadow: 0 8px 24px rgba(57, 255, 20, 0.24);
}

.page-home .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(57, 255, 20, 0.34);
}

.page-home .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text-bright);
}

.page-home .btn-ghost:hover {
  border-color: var(--electric-green);
  color: var(--electric-green);
  transform: translateY(-2px);
}

.page-home .section {
  position: relative;
  padding: 72px 0;
}

.page-home .section--alt {
  background: var(--soft-blue-tint);
}

.page-home .section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  margin: 14px 0 12px;
}

.page-home .section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.page-home [data-reveal].is-visible {
  animation: home-reveal 600ms var(--ease-out) both;
}

@keyframes home-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  isolation: isolate;
  background: var(--space-blue);
}

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

.page-home .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, var(--space-blue) 0%, rgba(10, 20, 40, 0.68) 40%, rgba(10, 20, 40, 0.22) 64%),
    linear-gradient(0deg, var(--space-blue) 0%, transparent 24%);
}

.page-home .hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.02);
}

.page-home .hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.page-home .hero-masthead {
  position: relative;
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 20px 0;
  max-width: 560px;
}

.page-home .hero-lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0;
}

.page-home .hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .quick-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-white);
  background: var(--glass-white);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 200ms, background 200ms, color 200ms;
}

.page-home .quick-index::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-green);
  flex: 0 0 auto;
}

.page-home .quick-index:hover {
  border-color: var(--electric-green);
  background: rgba(57, 255, 20, 0.1);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-home .hero-visual {
  position: relative;
  transform: rotate(1.2deg);
}

.page-home .hero-visual-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  display: block;
  max-width: 100%;
}

.page-home .possession-panel {
  position: relative;
  margin-top: -48px;
  margin-left: 16px;
  margin-right: 16px;
  padding: 20px;
  background: rgba(10, 20, 40, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-white);
  border-radius: 16px;
  transform: rotate(var(--tilt-angle)) translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
}

.page-home .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-home .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-green);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18);
  flex: 0 0 auto;
}

.page-home .panel-live {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .possession-team + .possession-team {
  margin-top: 14px;
}

.page-home .team-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.page-home .team-name {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-bright);
}

.page-home .team-ratio {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 600;
  color: var(--electric-green);
  transition: text-shadow 200ms;
}

.page-home .possession-team:hover .team-ratio {
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.6);
}

.page-home .track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-home .fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: filter 200ms;
}

.page-home .fill-home {
  background: linear-gradient(90deg, var(--electric-green), var(--data-cyan));
}

.page-home .fill-away {
  background: linear-gradient(90deg, var(--orange-red), var(--warning-yellow));
}

.page-home .possession-team:hover .fill {
  filter: brightness(1.25);
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.page-home .stat-cell {
  background: var(--deep-slate);
  border-radius: 12px;
  border: 1px solid var(--glass-white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
}

.page-home .stat-cell:hover {
  border-color: rgba(57, 255, 20, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(57, 255, 20, 0.08);
}

.page-home .stat-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .stat-num {
  font-family: var(--font-data);
  font-size: 40px;
  font-weight: 700;
  color: var(--electric-green);
  line-height: 1;
}

.page-home .stat-unit {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .timeline {
  position: relative;
  padding-left: 24px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--electric-green), var(--data-cyan) 50%, var(--orange-red));
  opacity: 0.5;
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 28px 16px;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--space-blue);
  border: 2px solid var(--electric-green);
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-year {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--data-cyan);
  display: block;
  margin-bottom: 4px;
}

.page-home .timeline-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-bright);
  line-height: 1.6;
}

.page-home .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.12;
}

.page-home .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: home-drift 18s ease-in-out infinite alternate;
}

@keyframes home-drift {
  from {
    transform: translate3d(-2%, -2%, 0) scale(1.05);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.08);
  }
}

.page-home .accordion {
  border: 1px solid var(--glass-white);
  border-radius: 12px;
  background: var(--glass-white);
  margin-bottom: 28px;
  max-width: 480px;
}

.page-home .accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
}

.page-home .accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--electric-green);
  font-family: var(--font-data);
  font-size: 18px;
  transition: transform 200ms;
}

.page-home .accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.page-home .accordion-content {
  display: none;
}

.page-home .accordion-trigger[aria-expanded="true"] + .accordion-content {
  display: block;
}

.page-home .accordion-content-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.page-home .cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .card-cell {
  position: relative;
  flex: 0 0 100%;
  background: var(--deep-slate);
  border-radius: 14px;
  border: 1px solid var(--glass-white);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
  overflow: hidden;
}

.page-home .card-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-red), transparent);
  opacity: 0.6;
}

.page-home .card-cell:nth-child(even) {
  transform: translateY(8px) rotate(1deg);
}

.page-home .card-cell:hover {
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 12px 32px rgba(255, 77, 0, 0.12);
  transform: rotate(0deg) translateY(0) scale(1.02);
}

.page-home .card-league {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.page-home .card-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .card-number {
  font-family: var(--font-data);
  font-size: 36px;
  font-weight: 700;
  color: var(--warning-yellow);
  line-height: 1;
}

.page-home .card-unit {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .card-red {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-bright);
  margin-top: auto;
}

.page-home .red-square {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--orange-red);
  box-shadow: 0 0 8px rgba(255, 77, 0, 0.6);
  flex: 0 0 auto;
}

.page-home .why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 24px,
    rgba(255, 255, 255, 0.03) 24px,
    rgba(255, 255, 255, 0.03) 25px
  );
  pointer-events: none;
}

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

.page-home .why-cell {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid var(--glass-white);
  transition: border-color 200ms, background 200ms;
}

.page-home .why-cell:hover {
  border-color: rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.04);
}

.page-home .why-num {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--warning-yellow);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.page-home .why-cell-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.page-home .why-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.page-home .why-note {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--electric-green);
  background: var(--glass-white);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-bright);
  max-width: 760px;
}

.page-home .news-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .news-list {
  display: flex;
  flex-direction: column;
}

.page-home .news-item {
  position: relative;
  padding: 24px 0 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--data-cyan);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
}

.page-home .news-cat {
  margin-bottom: 8px;
}

.page-home .news-title {
  margin: 0 0 8px;
}

.page-home .news-title a {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
  transition: color 200ms;
}

.page-home .news-title a:hover {
  color: var(--data-cyan);
}

.page-home .news-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.page-home .news-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  display: block;
  max-width: 100%;
}

.page-home .cta-section {
  position: relative;
  padding: 80px 0;
  background: var(--space-blue);
  text-align: center;
}

.page-home .cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-home .cta-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 16px;
}

.page-home .cta-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

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

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

  .page-home .card-cell {
    flex-basis: calc((100% - 16px) / 2);
  }
}

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

  .page-home .hero-grid {
    gap: 64px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .hero-title {
    font-size: 64px;
  }

  .page-home .hero-lead {
    font-size: 17px;
  }

  .page-home .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-left: 0;
  }

  .page-home .timeline::before {
    content: none;
  }

  .page-home .timeline-item {
    padding: 20px 0 0;
    border-top: 2px solid rgba(0, 217, 255, 0.3);
  }

  .page-home .timeline-item::before {
    content: none;
  }

  .page-home .card-cell {
    flex-basis: calc((100% - 32px) / 3);
  }

  .page-home .card-cell:nth-child(4),
  .page-home .card-cell:nth-child(5) {
    flex-basis: calc((100% - 16px) / 2);
  }

  .page-home .news-grid {
    grid-template-columns: 7fr 5fr;
  }
}

@media (min-width: 1280px) {
  .page-home .section {
    padding: 96px 0;
  }
}
