.page-home {
  --ease-std: cubic-bezier(0.16, 1, 0.3, 1);
}
.page-home .hp-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 88px;
  background: linear-gradient(175deg, var(--primary-soft) 0%, var(--white) 68%);
}
.page-home .hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 107, 44, 0.16) 0%, transparent 26%),
    radial-gradient(circle at 92% 78%, rgba(14, 123, 159, 0.18) 0%, transparent 30%);
}
.page-home .hp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.page-home .hp-hero-rail {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.page-home .hp-hero-rail-line {
  flex: 1;
  height: 1px;
  background: var(--primary);
  opacity: 0.25;
  max-width: 120px;
}
.page-home .hp-hero-body {
  position: relative;
  z-index: 1;
}
.page-home .hp-hero-title {
  margin: 18px 0 20px;
  font-family: var(--font-title);
  font-size: clamp(44px, 13vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.page-home .hp-h1-dot {
  color: var(--accent);
}
.page-home .hp-h1-sub {
  color: var(--primary);
}
.page-home .hp-hero-lead {
  margin: 0 0 26px;
  max-width: 46em;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(26, 26, 26, 0.84);
}
.page-home .hp-kw {
  color: var(--primary);
  font-weight: 700;
}
.page-home .hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.page-home .hp-hero-btn {
  min-width: 152px;
  justify-content: space-between;
  gap: 14px;
}
.page-home .hp-hero-foot {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(26, 26, 26, 0.62);
  border-top: 1px solid var(--gray-soft);
  padding-top: 16px;
}
.page-home .hp-hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.page-home .hp-hero-meta li {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.72);
}
.page-home .hp-hero-meta strong {
  display: block;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.2;
  color: var(--primary);
}
.page-home .hp-hero-media {
  position: relative;
  margin: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .hp-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .hp-hero-mtn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  pointer-events: none;
  opacity: 0.9;
}
.page-home .hp-hero-mtn path:first-child {
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.45;
}
.page-home .hp-hero-mtn path:last-child {
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.75;
}

.page-home .hp-schedule {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 64px 0 76px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 123, 159, 0.5), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(255, 107, 44, 0.12), transparent 34%),
    linear-gradient(145deg, var(--primary-deep) 0%, var(--ink) 100%);
}
.page-home .hp-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0 33%, var(--green) 33% 66%, var(--lake) 66% 100%);
}
.page-home .hp-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.page-home .hp-sec-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.14;
  color: var(--ink);
}
.page-home .hp-schedule .hp-sec-head h2 {
  color: var(--white);
}
.page-home .hp-sec-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 2px solid rgba(255, 107, 44, 0.35);
  padding-bottom: 2px;
  text-decoration: none;
}
.page-home .hp-schedule-layout {
  display: grid;
  gap: 26px;
}
.page-home .hp-schedule-main {
  min-width: 0;
}
.page-home .hp-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.page-home .hp-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.page-home .hp-tab.is-active {
  color: var(--primary);
  background: var(--white);
  border-color: var(--white);
}
.page-home .hp-match-list {
  display: grid;
  gap: 14px;
}
.page-home .hp-match {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.page-home .hp-match-done {
  border-left: 4px solid var(--green);
}
.page-home .hp-match-next {
  border-left: 4px solid var(--accent);
}
.page-home .hp-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.page-home .hp-status {
  font-weight: 800;
}
.page-home .hp-status-done {
  color: var(--green);
}
.page-home .hp-status-next {
  color: var(--accent);
}
.page-home .hp-match-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
}
.page-home .hp-team-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.page-home .hp-team-away {
  text-align: left;
}
.page-home .hp-team-goals {
  font-family: var(--font-title);
  font-size: 32px;
  line-height: 1;
  color: var(--white);
  text-align: center;
}
.page-home .hp-score-sep {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--accent);
}
.page-home .hp-vs-text {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.52);
}
.page-home .hp-match-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
}
.page-home .hp-schedule-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.page-home .hp-score-flash {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a57 100%);
  box-shadow: 0 12px 32px rgba(255, 107, 44, 0.28);
}
.page-home .hp-score-flash-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.page-home .hp-score-flash-value {
  font-family: var(--font-title);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-home .hp-score-flash-meta {
  font-size: 12px;
  opacity: 0.84;
}
.page-home .hp-schedule-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-home .hp-schedule-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .hp-guide-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.page-home .hp-guide-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--white);
}
.page-home .hp-guide-card ol {
  margin: 0 0 14px;
  padding-left: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}
.page-home .hp-guide-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.page-home .hp-guide-card a {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.page-home .hp-video {
  padding: 64px 0 76px;
  background: var(--primary-soft);
}
.page-home .hp-video-head-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.66);
  max-width: 32em;
}
.page-home .hp-video-grid {
  display: grid;
  gap: 20px;
}
.page-home .hp-video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-std), box-shadow 0.35s var(--ease-std);
}
.page-home .hp-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
}
.page-home .hp-video-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.page-home .hp-video-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .hp-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 78, 162, 0.16);
  transition: background 0.3s var(--ease-std);
}
.page-home .hp-video-play > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  padding-left: 5px;
  box-shadow: 0 8px 24px rgba(58, 166, 85, 0.42);
  transition: transform 0.3s var(--ease-std);
}
.page-home .hp-video-card:hover .hp-video-play > span {
  transform: scale(1.14);
}
.page-home .hp-video-body {
  display: grid;
  gap: 8px;
  padding: 20px 22px 24px;
}
.page-home .hp-video-body h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}
.page-home .hp-video-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.7);
}
.page-home .hp-video-cat {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.page-home .hp-video-card--tone {
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: none;
}
.page-home .hp-video-card--tone.tone-lake {
  background: linear-gradient(145deg, var(--lake) 0%, var(--primary-deep) 100%);
}
.page-home .hp-video-card--tone:hover {
  box-shadow: var(--shadow-soft);
}
.page-home .hp-video-num {
  font-family: var(--font-title);
  font-size: 46px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
}
.page-home .hp-video-content h3 {
  margin: 10px 0 8px;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.3;
  color: var(--white);
}
.page-home .hp-video-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.page-home .hp-video-content .hp-video-cat {
  color: var(--accent);
}
.page-home .hp-video-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}
.page-home .hp-video-card--tone .hp-video-link {
  color: var(--accent);
}

.page-home .hp-index {
  padding: 64px 0 72px;
  background: var(--white);
}
.page-home .hp-index-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}
.page-home .hp-index-card {
  position: relative;
  display: block;
  padding: 22px 42px 24px 22px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std);
}
.page-home .hp-index-card:nth-child(even) {
  background: var(--cream);
}
.page-home .hp-index-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}
.page-home .hp-index-no {
  display: block;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.page-home .hp-index-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-title);
  font-size: 21px;
  color: var(--ink);
}
.page-home .hp-index-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.7);
}
.page-home .hp-index-arrow {
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 22px;
  color: var(--primary);
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s var(--ease-std);
}
.page-home .hp-index-card:hover .hp-index-arrow {
  opacity: 1;
  transform: translateX(4px);
}
.page-home .hp-stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}
.page-home .hp-stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  border-left: 6px solid var(--primary);
}
.page-home .hp-stat:nth-child(2) {
  border-left-color: var(--accent);
}
.page-home .hp-stat:nth-child(3) {
  border-left-color: var(--green);
}
.page-home .hp-stat:nth-child(4) {
  border-left-color: var(--lake);
}
.page-home .hp-stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  color: var(--primary);
}
.page-home .hp-stat:nth-child(2) .hp-stat-num {
  color: var(--accent);
}
.page-home .hp-stat:nth-child(3) .hp-stat-num {
  color: var(--green);
}
.page-home .hp-stat:nth-child(4) .hp-stat-num {
  color: var(--lake);
}
.page-home .hp-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.74);
}
.page-home .hp-roots {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.page-home .hp-roots img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .hp-roots figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  background: rgba(11, 78, 162, 0.42);
  backdrop-filter: blur(10px);
}

.page-home a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .page-home .hp-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .hp-stats-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .hp-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .hp-video-feature {
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .page-home .hp-hero-inner {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 420px);
    gap: 40px;
    align-items: start;
  }
  .page-home .hp-hero-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 28px;
  }
  .page-home .hp-hero-rail-line {
    width: 1px;
    height: 120px;
    flex: none;
    background: linear-gradient(to bottom, var(--primary), transparent);
  }
  .page-home .hp-schedule-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 30px;
  }
  .page-home .hp-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-video-card,
  .page-home .hp-index-card,
  .page-home .hp-video-play > span,
  .page-home .hp-index-arrow {
    transition: none;
    transform: none;
  }
}
