/* ================================================
   PAGE HOME — 首页专属样式
   作用域：.page-home | 移动端优先
   创意框架：深空蓝×暖纸拼色 + 斜切几何 + 等宽索引
   ================================================ */
.page-home {
  --home-accent: #FF6A00;
  --home-accent-dark: #D35400;
  --home-primary: #0B1D3A;
  --home-paper: #F7F3E8;
  --home-slate: #3A5A8C;
  --home-cyan: #00D4C8;
  background: var(--home-paper);
  overflow-x: hidden;
}

.page-home .container {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

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

/* ----------
   1. 沉浸式主视觉
   ---------- */
.page-home-hero {
  position: relative;
  background: var(--home-primary);
  color: #fff;
  overflow: hidden;
}

/* 细腻网格纹路 */
.page-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* 斜切纸色块 */
.page-home-hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 38%;
  background: var(--home-paper);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.page-home-hero-copy {
  padding: 52px 0 24px;
}

.page-home-hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--home-cyan);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-pill, 999px);
  text-transform: uppercase;
}

.page-home-hero-overline::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--home-accent);
  transform: rotate(-8deg);
}

.page-home-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 26px 0 16px;
  max-width: 640px;
}

.page-home-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0;
}

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

.page-home-hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.page-home-hero-actions .btn-outline:hover {
  border-color: var(--home-accent);
  color: var(--home-accent);
}

.page-home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home-hero-meta-item {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--home-cyan);
}

.page-home-hero-visual {
  position: relative;
  margin-top: 4px;
}

.page-home-hero-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-card, 4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.page-home-hero-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 84px;
  height: 84px;
  background: var(--home-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
  border-radius: var(--radius-card, 4px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.42);
}

.page-home-hero-badge-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.page-home-hero-badge strong {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
}

.page-home-hero-badge-sub {
  font-size: 10px;
  opacity: 0.85;
}

/* ----------
   2. 核心数据看板
   ---------- */
.page-home-stats {
  background: var(--home-paper);
  padding: 60px 0;
  position: relative;
}

.page-home-stats-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.page-home-stats .section-label,
.page-home-schedule .section-label,
.page-home-tools .section-label,
.page-home-notice .section-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--home-accent);
  margin-bottom: 10px;
}

.page-home-stats h2,
.page-home-schedule h2,
.page-home-tools h2,
.page-home-notice h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--home-primary);
  margin: 0 0 12px;
}

.page-home-stats .section-intro,
.page-home-schedule .section-intro,
.page-home-tools-desc,
.page-home-notice-body p {
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

.page-home-stats .section-intro {
  color: #555;
}

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

.page-home-stat-card {
  background: var(--home-primary);
  color: #fff;
  padding: 22px 18px;
  position: relative;
  border-radius: var(--radius-card, 4px);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 29, 58, 0.24);
}

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

.page-home-stat-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 52px;
  height: 52px;
  background: rgba(0, 212, 200, 0.3);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(16deg);
}

.page-home-stat-index {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--home-cyan);
}

.page-home-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.18;
  margin: 10px 0 4px;
}

.page-home-stat-value sup {
  font-size: 18px;
  color: var(--home-accent);
  margin-left: 2px;
}

.page-home-stat-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.page-home-stat-note {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
}

.page-home-stats-figure {
  margin: 36px 0 0;
}

.page-home-stats-figure img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-card, 4px);
}

.page-home-stats-figure figcaption {
  font-size: 12px;
  color: var(--home-slate);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

/* ----------
   3. 本周赛程速览
   ---------- */
.page-home-schedule {
  background: var(--home-primary);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-home-schedule::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 40px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.page-home-schedule-head {
  max-width: 720px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.page-home-schedule h2 {
  color: #fff;
}

.page-home-schedule .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.page-home-schedule-wrap {
  position: relative;
  z-index: 1;
}

.page-home-schedule-list {
  display: grid;
  gap: 12px;
}

.page-home-match {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--home-accent);
  padding: 16px 18px;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home-match:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.page-home-match-date {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.page-home-match-date strong {
  font-size: 15px;
  color: var(--home-cyan);
  font-weight: 700;
}

.page-home-match-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home-match-team {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.page-home-match-vs {
  font-size: 12px;
  color: var(--home-accent);
  letter-spacing: 0.12em;
}

.page-home-schedule-poster {
  margin: 28px 0 0;
}

.page-home-schedule-poster img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-card, 4px);
}

.page-home-schedule-poster figcaption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

.page-home-schedule-cta {
  margin-top: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-home-schedule-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.page-home-schedule-cta .btn-outline:hover {
  border-color: var(--home-accent);
  color: var(--home-accent);
}

/* ----------
   4. 移动端复盘工具
   ---------- */
.page-home-tools {
  background: var(--home-paper);
  padding: 60px 0;
}

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

.page-home-tools-media img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: var(--radius-card, 4px);
  box-shadow: 0 16px 40px rgba(11, 29, 58, 0.24);
}

.page-home-tools-desc {
  color: #555;
  margin-bottom: 18px;
}

.page-home-tools-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-home-tools-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #d8d2c4;
  font-size: 15px;
  color: #333;
}

.page-home-tools-list .mono {
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 600;
  min-width: 32px;
}

.page-home-tools-list li:last-child {
  border-bottom: 3px solid var(--home-primary);
}

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

/* ----------
   5. 国内版入口变更通知
   ---------- */
.page-home-notice {
  background: var(--home-paper);
  padding: 0 0 64px;
}

.page-home-notice-card {
  background: #fff;
  border-radius: var(--radius-card, 4px);
  box-shadow: 0 14px 40px rgba(11, 29, 58, 0.16);
  border-top: 4px solid var(--home-accent);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.page-home-notice-card::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  background: var(--home-paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
  opacity: 0.65;
  pointer-events: none;
}

.page-home-notice-symbol {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--home-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.page-home-notice-symbol .mono {
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.page-home-notice-body h2 {
  font-size: 24px;
}

.page-home-notice-body p {
  color: #555;
}

.page-home-notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ================================================
   平板端 ≥768px
   ================================================ */
@media (min-width: 768px) {
  .page-home-hero-grid {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
    min-height: 560px;
  }

  .page-home-hero-copy {
    padding: 80px 48px 56px 0;
  }

  .page-home-hero h1 {
    font-size: 44px;
  }

  .page-home-hero-visual {
    margin-top: 0;
    display: flex;
    align-items: stretch;
  }

  .page-home-hero-photo {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: 100%;
  }

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

  .page-home-schedule-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
  }

  .page-home-schedule-poster {
    margin-top: 0;
  }

  .page-home-tools-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .page-home-tools-media img {
    margin: 0;
  }

  .page-home-notice-card {
    flex-direction: row;
    align-items: center;
    padding: 36px 32px;
  }

  .page-home-notice-body {
    flex: 1;
  }
}

/* ================================================
   桌面端 ≥1024px
   ================================================ */
@media (min-width: 1024px) {
  .page-home-hero::before {
    height: 100%;
    width: 46%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home-hero-copy {
    padding: 96px 56px 72px 0;
  }

  .page-home-hero h1 {
    font-size: 52px;
    transform: rotate(-1.2deg);
    transform-origin: left bottom;
  }

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

  .page-home-hero-badge {
    width: 96px;
    height: 96px;
  }

  .page-home-hero-badge strong {
    font-size: 42px;
  }

  .page-home-stats {
    padding: 88px 0;
  }

  .page-home-stats-grid {
    gap: 18px;
  }

  .page-home-stat-card {
    padding: 28px 24px;
  }

  .page-home-stat-value {
    font-size: 46px;
  }

  .page-home-schedule {
    padding: 88px 0;
  }

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

  .page-home-tools {
    padding: 88px 0;
  }

  .page-home-tools-grid {
    gap: 72px;
  }

  .page-home-tools-media img {
    max-width: 480px;
  }

  .page-home-tools h2 {
    font-size: 32px;
  }

  .page-home-notice {
    padding-bottom: 88px;
  }

  .page-home-notice-card {
    padding: 44px 48px;
  }

  .page-home-notice-body h2 {
    font-size: 28px;
  }
}
