.page-home {
  --home-section-space: clamp(56px, 8vw, 104px);
  --home-radius: 28px;
  background: var(--color-surface);
  color: var(--color-primary-deep);
  overflow-x: hidden;
}

.page-home section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-home .hero-statement {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 24px 64px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

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

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

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 27, 50, 0.66) 0%, rgba(10, 27, 50, 0.32) 55%, rgba(30, 79, 138, 0.36) 100%),
    linear-gradient(0deg, rgba(10, 27, 50, 0.5) 0%, transparent 45%);
}

.page-home .hero-bunting {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  z-index: 0;
  opacity: 0.72;
  background: repeating-linear-gradient(
    90deg,
    #ff6b35 0 24px,
    #e85d46 24px 48px,
    #17a36f 48px 72px,
    #b8c6d9 72px 96px
  );
  border-radius: 0;
}

.page-home .hero-content {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  color: #f5f8fc;
  background: rgba(255, 255, 255, 0.12);
  padding: 9px 18px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.page-home .kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(23, 163, 111, 0.28);
}

.page-home .hero-statement h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  max-width: 12em;
  text-wrap: balance;
}

.page-home .hero-desc {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.8;
  color: rgba(245, 248, 252, 0.92);
  max-width: 42em;
  margin: 0 0 36px;
}

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

.page-home .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.page-home .btn-light:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.page-home .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.page-home .hero-metric {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  min-width: 110px;
}

.page-home .hm-num {
  display: block;
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.page-home .hm-label {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245, 248, 252, 0.68);
}

.page-home .hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 248, 252, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.page-home .hero-scroll:hover {
  color: #fff;
}

.page-home .hero-scroll-line {
  width: 52px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.page-home .hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.page-home .hero-scroll:hover .hero-scroll-line::after {
  transform: translateX(0);
}

.page-home .index-section,
.page-home .records-section,
.page-home .video-section,
.page-home .live-section,
.page-home .version-section {
  padding: var(--home-section-space) 0;
}

.page-home .section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .section-num {
  display: block;
  font-family: var(--font-data);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-home .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--color-primary-deep);
  margin: 0 0 12px;
}

.page-home .section-sub {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.page-home .bento-board {
  display: grid;
  gap: 18px;
}

.page-home .bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 26px;
  border-radius: var(--home-radius);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .bento-card:hover,
.page-home .bento-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(143, 168, 200, 0.5);
  outline: none;
}

.page-home .bento-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-home .bento-label {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary);
}

.page-home .bento-arrow {
  font-size: 1.375rem;
  line-height: 1;
  transition: transform var(--transition);
}

.page-home .bento-card:hover .bento-arrow {
  transform: translate(4px, -4px);
}

.page-home .bento-body {
  margin: 20px 0 12px;
}

.page-home .bento-big {
  font-family: var(--font-data);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-home .bento-suffix {
  font-size: 0.6em;
  margin-left: 2px;
  font-family: var(--font-body);
  font-weight: 600;
}

.page-home .bento-caption {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

.page-home .bento-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 14px;
  opacity: 0.88;
}

.page-home .bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: auto;
}

.page-home .bento-live {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 107, 53, 0.24) 0%, transparent 42%),
    linear-gradient(140deg, var(--color-primary) 0%, #144b84 55%, var(--color-primary-deep) 100%);
  color: #fff;
}

.page-home .bento-live .bento-label {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.page-home .bento-live .bento-caption,
.page-home .bento-live .bento-desc {
  opacity: 0.78;
  color: #fff;
}

.page-home .bento-records {
  background: linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
  color: var(--color-primary-deep);
  border: 1px solid rgba(30, 79, 138, 0.08);
}

.page-home .bento-records::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 79, 138, 0.08) 0%, transparent 70%);
}

.page-home .bento-video {
  background:
    radial-gradient(circle at 80% 85%, rgba(255, 107, 53, 0.18) 0%, transparent 46%),
    linear-gradient(135deg, var(--color-primary-deep) 0%, #0e2a4d 100%);
  color: #fff;
}

.page-home .bento-video .bento-label {
  background: rgba(255, 107, 53, 0.22);
  color: #fff;
}

.page-home .bento-video .bento-caption,
.page-home .bento-video .bento-desc {
  opacity: 0.72;
}

.page-home .bento-download {
  background: linear-gradient(90deg, #ffffff 0%, #f1f7fd 100%);
  color: var(--color-primary-deep);
  border: 1px solid rgba(30, 79, 138, 0.06);
}

.page-home .bento-download .bento-label {
  background: rgba(255, 107, 53, 0.12);
  color: var(--color-accent);
}

.page-home .records-section {
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(143, 168, 200, 0.14);
}

.page-home .records-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .records-image {
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-home .records-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.page-home .records-image-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(245, 248, 252, 0.94);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .records-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-primary-deep);
  margin: 0 0 26px;
}

.page-home .records-feature {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .records-feature li {
  position: relative;
  padding-left: 28px;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.page-home .records-feature li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: var(--color-success);
}

.page-home .records-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.page-home .stat-entry {
  background: var(--color-surface);
  border: 1px solid rgba(143, 168, 200, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .stat-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(143, 168, 200, 0.28);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 7px;
}

.page-home .stat-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.page-home .video-section {
  background: var(--color-primary-deep);
  color: #fff;
}

.page-home .video-section .section-head h2 {
  color: #fff;
}

.page-home .video-section .section-sub {
  color: rgba(245, 248, 252, 0.7);
}

.page-home .video-layout {
  display: grid;
  gap: 30px;
  align-items: start;
}

.page-home .video-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.page-home .video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.page-home .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform var(--transition), background var(--transition);
}

.page-home .video-thumb:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent);
}

.page-home .video-feature-meta {
  padding: 20px 4px 0;
}

.page-home .video-feature-meta h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 12px 0 12px;
  color: #fff;
  line-height: 1.4;
}

.page-home .video-feature-meta p {
  color: rgba(245, 248, 252, 0.72);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.page-home .video-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  white-space: nowrap;
}

.page-home .video-cat-hot {
  background: var(--color-accent);
}

.page-home .video-playlist {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.page-home .playlist-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  color: rgba(245, 248, 252, 0.9);
}

.page-home .video-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.page-home .video-item:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
  border-color: rgba(255, 107, 53, 0.5);
}

.page-home .video-name {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.page-home .video-duration {
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: rgba(245, 248, 252, 0.58);
}

.page-home .live-section {
  background: linear-gradient(180deg, var(--color-surface) 0%, #e8f0fa 100%);
}

.page-home .live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.page-home .live-dashboard {
  background: #ffffff;
  padding: 26px;
}

.page-home .dashboard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(23, 163, 111, 0.16);
}

.page-home .live-title {
  font-weight: 700;
  font-size: 0.9375rem;
}

.page-home .live-updated {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.page-home .scoreboard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 12px 0 20px;
}

.page-home .score-team {
  text-align: center;
  flex: 1;
}

.page-home .score-name {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-home .score-num {
  font-family: var(--font-data);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary-deep);
}

.page-home .score-vs {
  text-align: center;
  min-width: 62px;
}

.page-home .score-status {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .score-round {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.page-home .match-chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .download-panel {
  background: #ffffff;
  border-radius: var(--home-radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.page-home .download-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .download-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--color-primary-deep);
}

.page-home .download-tag {
  font-size: 0.75rem;
  color: var(--color-success);
  background: rgba(23, 163, 111, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.page-home .download-text {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.page-home .download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid #e2e9f3;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--color-primary-deep);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.page-home .download-item:hover {
  border-color: var(--color-primary);
  background: rgba(30, 79, 138, 0.04);
  transform: translateX(3px);
}

.page-home .download-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.page-home .download-file svg {
  color: var(--color-primary);
}

.page-home .download-format {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--color-accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.page-home .download-panel .btn {
  margin-top: 12px;
}

.page-home .version-section {
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(143, 168, 200, 0.14);
}

.page-home .version-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .version-img {
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-home .version-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.page-home .version-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-primary-deep);
  margin: 0 0 28px;
}

.page-home .version-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
}

.page-home .version-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .version-list-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(30, 79, 138, 0.08);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.page-home .version-list-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-primary-deep);
}

.page-home .version-list-text strong {
  color: var(--color-primary);
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 720px) {
  .page-home .hero-metrics {
    gap: 16px;
  }

  .page-home .bento-board {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .bento-live {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 380px;
  }

  .page-home .bento-download {
    grid-column: 1 / -1;
  }

  .page-home .records-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .video-playlist {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-statement {
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 80px);
  }

  .page-home .hero-content {
    padding-bottom: 20px;
  }

  .page-home .bento-board {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: minmax(185px, auto) minmax(185px, auto) minmax(165px, auto);
  }

  .page-home .bento-live {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
  }

  .page-home .bento-records {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
    min-height: 0;
  }

  .page-home .bento-video {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
    min-height: 0;
  }

  .page-home .bento-download {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
    min-height: 0;
  }

  .page-home .bento-card {
    padding: 30px;
  }

  .page-home .records-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .page-home .video-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .page-home .video-playlist {
    padding: 28px;
  }

  .page-home .live-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
  }

  .page-home .version-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}
