/* ===== 首页 page-home 专属样式 ===== */
.page-home {
  --hero-min-height: 600px;
  --data-number-size: 52px;
  --data-number-size-md: 64px;
  --card-radius: 12px;
  --transition-data: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  background-color: var(--color-black, #0B0B0C);
}

/* ---------- 首屏对角色块 ---------- */
.page-home .hero-section {
  display: flex;
  flex-direction: column;
  min-height: var(--hero-min-height);
  position: relative;
  overflow: hidden;
}

.page-home .hero__left {
  background-color: var(--color-deep-blue, #0A1A2F);
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.page-home .hero__context-tag {
  display: inline-block;
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-gray, #D0D0D0);
  border: 1px solid var(--color-gray, #D0D0D0);
  padding: 0.2rem 0.8rem;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.page-home .hero__left-title {
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-white, #F5F5F5);
  margin: 0 0 1.5rem;
  line-height: 1.1;
  position: relative;
  padding-bottom: 0.5rem;
}

.page-home .hero__left-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-fire, #FF6A00);
  border-radius: 2px;
}

/* 数据网格 */
.page-home .data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
}

.page-home .data-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: var(--card-radius, 12px);
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
  transition: border-color var(--transition-base, 0.25s ease),
              transform var(--transition-base, 0.25s ease),
              background-color var(--transition-base, 0.25s ease);
  position: relative;
}

.page-home .data-item:hover,
.page-home .data-item:focus-visible {
  border-color: var(--color-fire, #FF6A00);
  background-color: rgba(255, 106, 0, 0.12);
  transform: scale(1.06);
  z-index: 2;
}

.page-home .data-item__number {
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: var(--data-number-size);
  font-weight: 800;
  font-style: italic;
  color: var(--color-fire, #FF6A00);
  line-height: 1;
  transition: font-size var(--transition-data, 0.3s ease);
}

.page-home .data-item:hover .data-item__number,
.page-home .data-item:focus-visible .data-item__number {
  font-size: calc(var(--data-number-size) + 8px);
  color: var(--color-white, #F5F5F5);
}

.page-home .data-item__label {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gray, #D0D0D0);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.page-home .data-item__detail {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.65rem;
  color: var(--color-green, #00D68F);
  margin-top: 0.3rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.page-home .data-item:hover .data-item__detail,
.page-home .data-item:focus-visible .data-item__detail {
  opacity: 1;
  max-height: 40px;
}

/* 数据看板图表区 */
.page-home .data-grid__chart {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

.page-home .chart-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity var(--transition-base, 0.25s ease);
}

.page-home .chart-img:hover {
  opacity: 1;
}

/* 首屏右半：火焰橙 */
.page-home .hero__right {
  background-color: var(--color-fire, #FF6A00);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  min-height: 320px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}

.page-home .hero__right-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-home .hero__flame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  mix-blend-mode: screen;
}

.page-home .hero__right-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
}

.page-home .hero__main-title {
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: var(--color-white, #F5F5F5);
  margin: 0 0 0.5rem;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.page-home .hero__subtitle {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-home .hero__cta {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 3px solid var(--color-white, #F5F5F5);
  background-color: transparent;
  color: var(--color-white, #F5F5F5);
  border-radius: 60px;
  text-decoration: none;
  transition: background-color var(--transition-base, 0.25s ease),
              color var(--transition-base, 0.25s ease),
              transform var(--transition-base, 0.25s ease);
  cursor: pointer;
}

.page-home .hero__cta:hover,
.page-home .hero__cta:focus-visible {
  background-color: var(--color-white, #F5F5F5);
  color: var(--color-fire, #FF6A00);
  transform: scale(1.06);
}

/* ---------- 赛事快捷入口（联赛卡片区） ---------- */
.page-home .league-section {
  background-color: var(--color-dark-blue, #1C2A40);
  padding: 3rem 0;
}

.page-home .section__title {
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-white, #F5F5F5);
  margin: 0 0 0.5rem;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.page-home .section__title::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background-color: var(--color-fire, #FF6A00);
  border-radius: 2px;
  margin-top: 0.3rem;
}

.page-home .section__title--centered {
  text-align: center;
  display: block;
}

.page-home .section__title--centered::after {
  margin: 0.3rem auto 0;
}

.page-home .section__desc {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  color: var(--color-gray, #D0D0D0);
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* 卡片网格 */
.page-home .card-grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .card-grid--6 {
  grid-template-columns: 1fr;
}

.page-home .card-grid--3 {
  grid-template-columns: 1fr;
}

/* 卡片通用 */
.page-home .card {
  background-color: var(--color-deep-blue, #0A1A2F);
  border: 2px solid transparent;
  border-radius: var(--card-radius, 12px);
  overflow: hidden;
  transition: transform var(--transition-base, 0.25s ease),
              border-color var(--transition-base, 0.25s ease),
              box-shadow var(--transition-base, 0.25s ease);
  box-shadow: var(--shadow-card, 0 20px 40px rgba(0,0,0,0.6));
  display: flex;
  flex-direction: column;
}

.page-home .card:hover,
.page-home .card:focus-within {
  transform: translateY(-6px);
  border-color: var(--color-fire, #FF6A00);
  box-shadow: var(--shadow-card-hover, 0 28px 52px rgba(0,0,0,0.72));
}

.page-home .card__img-wrap {
  width: 100%;
  aspect-ratio: 400 / 250;
  overflow: hidden;
  background-color: var(--color-dark-blue, #1C2A40);
}

.page-home .card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.page-home .card:hover .card__img,
.page-home .card:focus-within .card__img {
  transform: scale(1.05);
}

.page-home .card__body {
  padding: 1.2rem 1.2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home .card__title {
  font-family: var(--font-heading, 'Inter Tight', system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white, #F5F5F5);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.page-home .card__text {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.85rem;
  color: var(--color-gray, #D0D0D0);
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}

.page-home .card__link {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-fire, #FF6A00);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color var(--transition-base, 0.25s ease),
              color var(--transition-base, 0.25s ease);
  align-self: flex-start;
}

.page-home .card__link:hover,
.page-home .card__link:focus-visible {
  border-bottom-color: var(--color-fire, #FF6A00);
  color: var(--color-white, #F5F5F5);
}

/* ---------- 本地化服务提示（窄文字） ---------- */
.page-home .update-section {
  background-color: var(--color-black, #0B0B0C);
  padding: 3.5rem 0;
  text-align: center;
}

.page-home .container--slim {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-home .update__icon-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.page-home .update__icon {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
}

.page-home .update__text {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  color: var(--color-gray, #D0D0D0);
  line-height: 1.7;
  margin: 1.2rem 0 1.8rem;
}

.page-home .update__text strong {
  color: var(--color-fire, #FF6A00);
  font-weight: 600;
}

.page-home .update__btn {
  display: inline-block;
  padding: 0.7rem 2.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--color-fire, #FF6A00);
  color: var(--color-fire, #FF6A00);
  background-color: transparent;
  border-radius: 60px;
  text-decoration: none;
  transition: background-color var(--transition-base, 0.25s ease),
              color var(--transition-base, 0.25s ease),
              transform var(--transition-base, 0.25s ease);
}

.page-home .update__btn:hover,
.page-home .update__btn:focus-visible {
  background-color: var(--color-fire, #FF6A00);
  color: var(--color-white, #F5F5F5);
  transform: scale(1.04);
}

/* ---------- 热门赛后复盘 ---------- */
.page-home .replay-section {
  background-color: var(--color-dark-blue, #1C2A40);
  padding: 3rem 0;
}

.page-home .replay-card .card__title {
  color: var(--color-fire, #FF6A00);
}

/* ---------- 信任声明 ---------- */
.page-home .trust-section {
  background-color: var(--color-black, #0B0B0C);
  padding: 2rem 0;
  border-top: 1px solid var(--color-dark-blue, #1C2A40);
}

.page-home .trust__text {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.8rem;
  color: var(--color-gray, #D0D0D0);
  text-align: center;
  margin: 0;
  letter-spacing: 0.03em;
  opacity: 0.7;
}

/* ========== 容器 ========== */
.page-home .container {
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ========== 桌面端适配 ========== */
@media (min-width: 768px) {
  .page-home .hero-section {
    flex-direction: row;
    min-height: 580px;
  }

  .page-home .hero__left {
    flex: 1 1 50%;
    padding: 3rem 2.5rem 3rem 3rem;
  }

  .page-home .hero__left-title {
    font-size: 2.2rem;
  }

  .page-home .data-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.2rem;
  }

  .page-home .data-item {
    padding: 1.4rem 0.8rem;
  }

  .page-home .data-item__number {
    font-size: var(--data-number-size-md, 64px);
  }

  .page-home .data-item:hover .data-item__number {
    font-size: calc(var(--data-number-size-md, 64px) + 12px);
  }

  .page-home .data-grid__chart {
    margin-top: 1.5rem;
    justify-content: flex-start;
  }

  .page-home .hero__right {
    flex: 1 1 50%;
    padding: 3rem 2.5rem;
    min-height: unset;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero__main-title {
    font-size: 4.5rem;
  }

  .page-home .hero__subtitle {
    font-size: 1.15rem;
  }

  .page-home .hero__cta {
    font-size: 1.2rem;
    padding: 1rem 3.2rem;
  }

  /* 卡片网格桌面 */
  .page-home .card-grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .page-home .section__title {
    font-size: 2.5rem;
  }

  .page-home .league-section,
  .page-home .replay-section {
    padding: 4rem 0;
  }

  .page-home .update-section {
    padding: 4.5rem 0;
  }

  .page-home .update__text {
    font-size: 1.1rem;
  }

  .page-home .update__icon {
    max-width: 160px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero__left {
    padding: 3.5rem 3rem 3.5rem 4rem;
  }

  .page-home .hero__right {
    padding: 3.5rem 3rem;
  }

  .page-home .hero__main-title {
    font-size: 5.5rem;
  }

  .page-home .card-grid--6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .page-home .card-grid--3 {
    gap: 2rem;
  }
}
