.page-home {
  --h-card: #12295C;
  --h-card-dim: #0C2350;
  --h-line: rgba(255, 255, 255, 0.12);
  --h-muted: rgba(245, 243, 239, 0.78);
  --h-panel: linear-gradient(150deg, #132A5E 0%, #0C2350 100%);
  background-color: var(--c-deep);
  color: var(--c-paper);
  overflow-x: hidden;
}

.page-home .home-breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

/* ===== 首屏分屏 ===== */
.page-home .home-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  gap: 2.5rem;
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 1rem 0 1.25rem;
  color: var(--c-paper);
}

.page-home .home-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--h-muted);
  max-width: 34rem;
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--h-line);
  max-width: 34rem;
}

.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-home .home-hero__stat dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h-muted);
}

.page-home .home-hero__stat dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--c-orange);
}

.page-home .home-hero__visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 320px;
  background: var(--h-card-dim);
}

.page-home .home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}

.page-home .home-hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero__speed {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255, 107, 0, 0.08) 40%, rgba(255, 107, 0, 0.08) 43%, transparent 43%, transparent 100%),
    linear-gradient(115deg, transparent 0%, transparent 68%, rgba(0, 212, 170, 0.1) 68%, rgba(0, 212, 170, 0.1) 72%, transparent 72%, transparent 100%);
}

/* ===== 四个核心入口 ===== */
.page-home .home-entries {
  background: linear-gradient(170deg, var(--c-deep) 0%, var(--c-purple) 140%);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.page-home .home-entries__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .home-entries__note {
  color: var(--h-muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.page-home .home-entries__layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2rem;
}

.page-home .home-entries__panel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--h-card-dim);
  min-height: 240px;
}

.page-home .home-entries__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  display: block;
}

.page-home .home-entries__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 31, 68, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

.page-home .home-entries__caption .dian {
  color: var(--c-orange);
  font-size: 0.7rem;
}

.page-home .home-entries__caption strong {
  color: var(--c-teal);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-home .home-entries__caption span:last-child {
  color: var(--c-paper);
}

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

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: var(--c-paper);
  min-height: 210px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}

.page-home .entry-card::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  opacity: 0.35;
  transition: opacity 0.25s var(--ease), right 0.25s var(--ease), bottom 0.25s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  outline: none;
}

.page-home .entry-card:hover::after,
.page-home .entry-card:focus-visible::after {
  opacity: 1;
  right: -10px;
  bottom: -10px;
}

.page-home .entry-card__num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--c-teal);
  letter-spacing: 0.08em;
}

.page-home .entry-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  color: var(--c-paper);
  text-transform: uppercase;
}

.page-home .entry-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--h-muted);
  margin: 0;
  flex: 1;
}

.page-home .entry-card__link {
  font-size: 0.85rem;
  color: var(--c-orange);
  font-weight: 700;
  margin-top: auto;
}

/* ===== 多端同步带 ===== */
.page-home .home-sync {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 3.5rem 1.25rem;
}

.page-home .home-sync__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-sky);
  margin-bottom: 1.75rem;
}

.page-home .home-sync__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .home-sync__content {
  max-width: 34rem;
}

.page-home .home-sync__lead {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
}

.page-home .home-sync__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .home-sync__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.page-home .home-sync__points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--c-ink);
}

.page-home .home-sync__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* ===== 今日赛事热点 ===== */
.page-home .home-match {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, var(--c-deep) 0%, #0A1838 100%);
}

.page-home .home-match__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .home-match__more {
  color: var(--c-teal);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.page-home .home-match__more:hover,
.page-home .home-match__more:focus-visible {
  border-bottom-color: var(--c-teal);
  outline: none;
}

.page-home .home-match__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 1.25rem 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-orange) rgba(255, 255, 255, 0.08);
}

.page-home .home-match__scroll::-webkit-scrollbar {
  height: 5px;
}

.page-home .home-match__scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.page-home .home-match__scroll::-webkit-scrollbar-thumb {
  background: var(--c-orange);
  border-radius: 999px;
}

.page-home .match-card {
  min-width: 245px;
  flex: 0 0 245px;
  scroll-snap-align: start;
  background: linear-gradient(155deg, #142C60 0%, #0B2149 100%);
  border: 1px solid var(--h-line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .match-card:nth-child(even) {
  transform: translateY(10px);
}

.page-home .match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.45);
}

.page-home .match-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.page-home .match-card__state {
  font-size: 0.78rem;
  color: var(--h-muted);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.page-home .match-card h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  margin: 0;
  color: var(--c-paper);
  text-transform: uppercase;
}

.page-home .match-card p {
  font-size: 0.85rem;
  color: var(--h-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== 最新功能更新 ===== */
.page-home .home-update {
  position: relative;
  background: linear-gradient(160deg, #0B2149 0%, #151A3B 100%);
  padding: 3.5rem 1.25rem;
  overflow: hidden;
}

.page-home .home-update__texture {
  position: absolute;
  right: -6%;
  top: 10%;
  width: min(280px, 40vw);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(4deg);
}

.page-home .home-update__content {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-home .home-update__intro {
  color: var(--h-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 2rem;
  max-width: 30rem;
}

.page-home .update-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 42rem;
}

.page-home .update-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-orange) 0%, var(--c-teal) 100%);
  opacity: 0.6;
}

.page-home .update-timeline__item {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.25rem;
}

.page-home .update-timeline__item:last-child {
  margin-bottom: 0;
}

.page-home .update-timeline__details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--h-line);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.25rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .update-timeline__details[open] {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.page-home .update-timeline__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}

.page-home .update-timeline__summary::-webkit-details-marker {
  display: none;
}

.page-home .update-timeline__summary:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.page-home .update-timeline__marker {
  position: absolute;
  left: 4px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.18);
  flex-shrink: 0;
}

.page-home .update-timeline__body {
  display: block;
  width: 100%;
}

.page-home .update-timeline__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.4rem;
}

.page-home .update-timeline h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  color: var(--c-paper);
  text-transform: uppercase;
}

.page-home .update-timeline p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--h-muted);
  margin: 0;
}

.page-home .update-timeline__more {
  margin: 0.85rem 0 0.75rem;
  padding: 0.8rem 0.9rem;
  background: rgba(10, 31, 68, 0.6);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--c-orange);
}

.page-home .update-timeline__more p {
  color: var(--c-paper);
  font-size: 0.85rem;
}

/* ===== 常见说明与更新节奏 ===== */
.page-home .home-faq {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 3.5rem 1.25rem;
}

.page-home .home-faq__head {
  max-width: var(--container);
  margin: 0 auto 2rem;
}

.page-home .home-faq__intro {
  font-size: 0.95rem;
  color: rgba(17, 24, 39, 0.75);
  margin: 0.5rem 0 0;
}

.page-home .home-faq__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .faq-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 4px 18px rgba(10, 31, 68, 0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.09);
}

.page-home .faq-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0;
  color: var(--c-ink);
}

.page-home .faq-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.75);
  margin: 0;
  flex: 1;
}

.page-home .faq-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  align-self: flex-start;
}

.page-home .faq-card__link:hover,
.page-home .faq-card__link:focus-visible {
  border-bottom-color: var(--c-orange);
  outline: none;
}

/* ===== 速度线装饰 ===== */
.page-home .speed-line {
  height: 6px;
  margin: 3rem 1.25rem 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 14px,
    var(--c-orange) 14px,
    var(--c-orange) 18px,
    transparent 18px,
    transparent 34px,
    var(--c-teal) 34px,
    var(--c-teal) 37px,
    transparent 37px
  );
  opacity: 0.35;
  border-radius: 999px;
}

/* ===== 桌面端 ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
    padding: 4rem 2rem 5rem;
  }

  .page-home .home-hero__lead {
    font-size: 1.05rem;
  }

  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2.5rem;
  }

  .page-home .home-hero__visual {
    min-height: 420px;
  }

  .page-home .home-entries {
    padding: 4.5rem 0 4rem;
  }

  .page-home .home-entries__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 2.5rem;
  }

  .page-home .home-entries__note {
    text-align: right;
  }

  .page-home .home-entries__layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 2.5rem;
  }

  .page-home .home-entries__panel {
    min-height: 320px;
  }

  .page-home .entry-card {
    padding: 1.5rem 1.25rem;
    min-height: 230px;
  }

  .page-home .entry-card h3 {
    font-size: 1.15rem;
  }

  .page-home .home-sync {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 4.5rem 2rem;
  }

  .page-home .home-sync__visual {
    margin-bottom: 0;
    order: 1;
  }

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

  .page-home .home-match {
    padding: 4.5rem 0 4rem;
  }

  .page-home .home-match__scroll {
    padding: 0.75rem 2rem 2.5rem;
  }

  .page-home .match-card {
    min-width: 260px;
    flex-basis: 260px;
  }

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

  .page-home .home-update__texture {
    width: min(360px, 28vw);
  }

  .page-home .update-timeline__item {
    padding-left: 3rem;
  }

  .page-home .home-faq {
    padding: 4.5rem 2rem;
  }

  .page-home .home-faq__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .speed-line {
    margin-top: 4rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero {
    padding: 5rem 2rem 6rem;
  }

  .page-home .home-hero__title {
    font-size: 3.8rem;
  }

  .page-home .home-hero__lead {
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .page-home .home-entries__layout {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .page-home .entry-card p {
    font-size: 0.88rem;
  }
}
