/* ========== 博澳体育APP 首页专属样式 ========== */
.page-home {
  --home-soft-green: rgba(57, 255, 20, 0.08);
  --home-soft-orange: rgba(255, 107, 53, 0.12);
  --home-console-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ---------- 首屏：拼贴控制台 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 2.4rem 0 3.2rem;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 84% 18%, var(--home-soft-orange), transparent 32%),
    radial-gradient(circle at 8% 72%, var(--home-soft-green), transparent 28%),
    var(--color-bg);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 2rem;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--color-accent-green);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-hero h1 {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.page-home .home-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-green));
}

.page-home .home-hero__lead {
  margin: 1.1rem 0 0;
  max-width: 46em;
  color: var(--color-text-dim);
  font-size: 1rem;
  line-height: 1.75;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 1.2rem;
  background: rgba(13, 30, 54, 0.72);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent-green);
}

.page-home .home-stats__item {
  min-width: 0;
}

.page-home .home-stats__item dt {
  margin: 0;
  color: var(--color-text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-stats__item dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-number);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-strong);
  white-space: nowrap;
}

/* ---------- 首屏右侧：版本状态面板 ---------- */
.page-home .home-hero__side {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.page-home .home-console {
  position: relative;
  z-index: 2;
  max-width: 520px;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-line);
  box-shadow: var(--home-console-shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .home-console__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-console__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-green);
  box-shadow: 0 0 12px var(--color-accent-green);
}

.page-home .home-console__live {
  margin-left: auto;
  color: var(--color-accent-orange);
  font-weight: 700;
}

.page-home .home-console__body {
  padding: 1.5rem 1.2rem 1.2rem;
}

.page-home .home-console__label {
  display: block;
  color: var(--color-text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-console__version {
  display: block;
  margin: 0.45rem 0 0.6rem;
  font-family: var(--font-number);
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-orange);
}

.page-home .home-console__status {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--color-green-soft);
  border: 1px solid var(--color-line);
  color: var(--color-accent-green);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.page-home .home-console__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.1rem;
  color: var(--color-text-dim);
  font-size: 0.82rem;
}

.page-home .home-console__foot {
  padding: 0.9rem 1.2rem;
  background: var(--color-orange-soft);
  border-top: 1px solid var(--color-line-orange);
}

.page-home .home-console__foot a {
  color: var(--color-accent-orange);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-console__foot a:hover {
  color: var(--color-text-strong);
}

.page-home .home-hero__img {
  margin-top: -1.5rem;
  min-height: 180px;
}

/* ---------- 通用图片框增强 ---------- */
.page-home .img-frame {
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-bg-panel);
}

.page-home .img-frame img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.page-home .home-review__img {
  min-height: 220px;
}

.page-home .home-injury__img {
  min-height: 220px;
}

.page-home .home-bookmark__img {
  min-height: 240px;
}

/* ---------- 01 版本存档区 ---------- */
.page-home .home-archive {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-line);
  background:
    linear-gradient(135deg, var(--home-soft-orange), transparent 55%),
    var(--color-bg-panel);
}

.page-home .home-archive .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.page-home .home-archive .filter-btn {
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text-dim);
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-home .home-archive .filter-btn:hover {
  border-color: var(--color-accent-green);
  color: var(--color-accent-green);
}

.page-home .home-archive .filter-btn.is-active {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: var(--color-bg);
  font-weight: 700;
}

.page-home .home-archive__list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.page-home .home-archive__item {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.6rem;
  background: var(--color-bg-panel-2);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent-orange);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-archive__item:hover {
  border-left-color: var(--color-accent-green);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(57, 255, 20, 0.05);
}

.page-home .home-archive__year {
  font-family: var(--font-number);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-orange);
}

.page-home .home-archive__item h3 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.page-home .home-archive__item p {
  margin: 0 0 0.8rem;
  color: var(--color-text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .home-archive__item a {
  color: var(--color-accent-green);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-archive__item a:hover {
  color: var(--color-accent-orange);
}

/* ---------- 02 赛后复盘 ---------- */
.page-home .home-review {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-line);
  background:
    linear-gradient(100deg, var(--home-soft-green), transparent 42%),
    var(--color-bg);
}

.page-home .home-review__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.page-home .home-review__list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.page-home .home-review__list li {
  padding-left: 0.85rem;
  border-left: 2px solid var(--color-accent-green);
  color: var(--color-text-dim);
  line-height: 1.55;
}

.page-home .home-review__list strong {
  color: var(--color-text-strong);
}

/* ---------- 03 伤停信息表 ---------- */
.page-home .home-injury {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-line-orange);
  background:
    radial-gradient(circle at 18% 20%, var(--home-soft-orange), transparent 36%),
    var(--color-bg-panel-2);
}

.page-home .home-injury__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-injury__schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.6rem 0;
}

.page-home .home-injury__day {
  padding: 1rem 0.5rem;
  text-align: center;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-line);
}

.page-home .home-injury__day span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent-orange);
}

.page-home .home-injury__day span:last-child {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-text-dim);
  font-size: 0.82rem;
}

.page-home .home-injury__note {
  margin: 0 0 1.4rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

/* ---------- 04 反馈中心 ---------- */
.page-home .home-faqhub {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 90% 12%, var(--home-soft-green), transparent 38%),
    var(--color-bg-panel);
}

.page-home .home-faqhub__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-faqhub__item {
  display: block;
  position: relative;
  padding: 1.3rem;
  background: var(--color-bg-panel-2);
  border: 1px solid var(--color-line);
  border-top: 3px solid transparent;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .home-faqhub__item:hover {
  border-top-color: var(--color-accent-green);
  border-color: var(--color-line);
  transform: translateY(-4px);
}

.page-home .home-faqhub__count {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.7rem;
  background: var(--color-orange-soft);
  color: var(--color-accent-orange);
  font-family: var(--font-number);
  font-size: 0.85rem;
  font-weight: 700;
}

.page-home .home-faqhub__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.page-home .home-faqhub__item p {
  margin: 0;
  color: var(--color-text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.page-home .home-faqhub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ---------- 05 收藏重点场次 ---------- */
.page-home .home-bookmark {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-line-orange);
  background:
    linear-gradient(-45deg, var(--home-soft-orange), transparent 50%),
    var(--color-bg);
}

.page-home .home-bookmark__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-bookmark__features {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.page-home .home-bookmark__features li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.page-home .home-bookmark__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6em;
  height: 0.6em;
  background: var(--color-accent-green);
  transform: rotate(45deg);
}

.page-home .home-bookmark__features strong {
  color: var(--color-text-strong);
}

/* ---------- 底部 CTA ---------- */
.page-home .home-cta {
  padding: var(--space-section) 0;
}

.page-home .home-cta__inner {
  display: grid;
  gap: 1.4rem;
  padding: 2.2rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, #B25A36 60%, #8F3E2B 100%);
  clip-path: polygon(0 1rem, 100% 0, 100% calc(100% - 1.2rem), calc(100% - 1.2rem) 100%, 0 100%);
}

.page-home .home-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-bg);
}

.page-home .home-cta p {
  margin: 0.8rem 0 0;
  color: rgba(10, 25, 47, 0.88);
  font-weight: 500;
  line-height: 1.6;
}

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-self: center;
}

.page-home .home-cta .btn--primary {
  background: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-text-strong);
}

.page-home .home-cta .btn--ghost {
  border-color: rgba(10, 25, 47, 0.55);
  color: var(--color-bg);
}

.page-home .home-cta .btn--ghost:hover {
  border-color: var(--color-bg);
}

/* ---------- 响应式：平板与桌面 ---------- */
@media (min-width: 640px) {
  .page-home .home-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .page-home .home-faqhub__item:nth-child(4),
  .page-home .home-faqhub__item:nth-child(5) {
    grid-column: span 1;
  }

  .page-home .home-cta__inner {
    padding: 2.6rem 2rem;
  }
}

@media (min-width: 860px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.4rem;
    align-items: start;
  }

  .page-home .home-hero__side {
    margin-top: 0;
  }

  .page-home .home-review__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.6rem;
  }

  .page-home .home-injury__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
  }

  .page-home .home-injury__content {
    order: 1;
  }

  .page-home .home-injury__img {
    order: 2;
  }

  .page-home .home-bookmark__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem;
  }

  .page-home .home-bookmark__img {
    order: 1;
  }

  .page-home .home-bookmark__content {
    order: 2;
  }

  .page-home .home-cta__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2.6rem;
  }
}

@media (min-width: 1024px) {
  .page-home .home-archive__list {
    grid-template-columns: repeat(3, 1fr);
  }

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