/* ==========================================================
   C7娱乐 / 首页专属样式 · 作用域 .page-home
   移动端优先，桌面端增强
   ========================================================== */

.page-home {
  --ph-gold-line: rgba(201, 169, 110, 0.28);
  --ph-gold-line-strong: rgba(201, 169, 110, 0.58);
  --ph-neon-soft: rgba(0, 212, 255, 0.12);
  --ph-purple-soft: rgba(107, 91, 149, 0.20);
  --ph-bg-deep: #0B0715;
  --ph-hero-rail-card: 250px;

  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 130% 70% at 100% 0%, rgba(42, 26, 74, 0.5), transparent 62%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-3) 40%, var(--c-bg) 100%);
  color: var(--c-cream);
}

.page-home img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 首屏：背景光效与装饰 ---------- */

.page-home .home-hero {
  position: relative;
  padding: 24px var(--content-pad) 40px;
  overflow: hidden;
}

.page-home .hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: -1;
}

.page-home .hero-glow--gold {
  width: 380px;
  height: 380px;
  top: -10%;
  right: -18%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.20), transparent 66%);
  animation: ph-glow-gold 19s ease-in-out infinite alternate;
}

.page-home .hero-glow--purple {
  width: 460px;
  height: 460px;
  bottom: -16%;
  left: -24%;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.32), transparent 68%);
  animation: ph-glow-purple 26s ease-in-out infinite alternate-reverse;
}

.page-home .hero-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background: repeating-linear-gradient(
    118deg,
    transparent 0px,
    transparent 26px,
    rgba(201, 169, 110, 0.10) 27px,
    transparent 28px
  );
  pointer-events: none;
}

@keyframes ph-glow-gold {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-46px, 34px, 0) scale(1.12); }
}

@keyframes ph-glow-purple {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(42px, -30px, 0) scale(1.06); }
}

/* ---------- 首屏：布局骨骼 ---------- */

.page-home .hero-layout {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .hero-brand-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ph-gold-line);
}

.page-home .track-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--c-gold);
  text-decoration: none;
  font-family: var(--font-head);
}

.page-home .track-diamond {
  font-size: 22px;
  color: var(--c-gold);
  text-shadow: 0 0 16px rgba(201, 169, 110, 0.45);
}

.page-home .track-text {
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.page-home .track-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ph-gold-line), transparent);
}

.page-home .track-year {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-purple-gray);
  white-space: nowrap;
}

.page-home .hero-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- 首屏：标题区 ---------- */

.page-home .hero-head {
  max-width: 780px;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-left: 3px solid var(--c-neon);
  background: var(--c-gold-soft);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  margin: 0 0 14px;
}

.page-home .hero-head h1 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(34px, 6.4vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--c-cream);
}

.page-home .hero-head h1 em {
  display: block;
  font-style: normal;
  font-family: var(--font-data);
  font-size: 0.42em;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--c-gold);
  margin-top: 10px;
  text-transform: uppercase;
}

.page-home .hero-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-purple-gray);
  max-width: 60ch;
}

.page-home .hero-lede b {
  color: var(--c-cream);
  font-weight: 600;
}

/* ---------- 首屏：主视觉 ---------- */

.page-home .hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.page-home .visual-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  background: rgba(11, 7, 21, 0.72);
  border: 1px solid var(--ph-gold-line);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(15, 10, 31, 0.55));
  pointer-events: none;
}

/* ---------- 首屏：横向滚动栏目卡片 ---------- */

.page-home .hero-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-purple) transparent;
}

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

.page-home .hero-rail::-webkit-scrollbar-thumb {
  background: var(--c-purple);
  border-radius: 8px;
}

.page-home .rail-card {
  flex: 0 0 var(--ph-hero-rail-card);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 20px;
  background:
    linear-gradient(160deg, rgba(42, 26, 74, 0.82), rgba(15, 10, 31, 0.92));
  border: 1px solid var(--ph-gold-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-home .rail-card:hover,
.page-home .rail-card.is-active {
  border-color: var(--c-neon);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.page-home .rail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .rail-num {
  font-family: var(--font-data);
  font-size: 20px;
  color: var(--c-gold);
}

.page-home .rail-tag {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-purple-gray);
  border: 1px solid var(--c-purple);
  padding: 2px 6px;
  border-radius: 2px;
}

.page-home .rail-card strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-cream);
}

.page-home .rail-meta {
  margin-top: auto;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

/* ---------- 首屏：斜切双入口 ---------- */

.page-home .hero-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 4px;
}

.page-home .hero-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px 24px 30px;
  color: var(--c-cream);
  text-decoration: none;
  background:
    linear-gradient(150deg,
      rgba(42, 26, 74, 0.95),
      rgba(15, 10, 31, 0.98));
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.page-home .hero-entry--record {
  border-left: 3px solid var(--c-gold);
}

.page-home .hero-entry--record::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(0, 212, 255, 0.14) 48%, transparent 62%);
  background-size: 220% 100%;
  animation: ph-scan 4.2s ease-in-out infinite;
  pointer-events: none;
}

.page-home .hero-entry--guide {
  border-left: 3px solid var(--c-neon);
}

.page-home .hero-entry:hover {
  box-shadow:
    0 0 24px rgba(0, 212, 255, 0.14),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.page-home .entry-label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-purple-gray);
  text-transform: uppercase;
}

.page-home .entry-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-cream);
}

.page-home .hero-entry--record .entry-title {
  color: var(--c-gold);
}

.page-home .entry-action {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-neon);
  letter-spacing: 0.06em;
}

@keyframes ph-scan {
  0%, 46% { background-position: 120% 0; }
  58%, 100% { background-position: -120% 0; }
}

/* ---------- 章节通用 ---------- */

.page-home .section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px var(--content-pad) 12px;
}

.page-home .section-head {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--ph-gold-line);
  padding-bottom: 18px;
}

.page-home .section-index {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-neon);
}

.page-home .section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-cream);
}

.page-home .section-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-purple-gray);
}

/* ---------- 01 全站栏目索引：拼贴 ---------- */

.page-home .index-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 22px;
  text-decoration: none;
  color: var(--c-cream);
  background: linear-gradient(155deg, rgba(42, 26, 74, 0.92), rgba(15, 10, 31, 0.96));
  border: 1px solid var(--ph-gold-line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .index-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--c-gold);
}

.page-home .index-card:hover {
  border-color: var(--c-neon);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.12), 0 16px 36px rgba(0, 0, 0, 0.35);
}

.page-home .index-card-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-data);
  font-size: 32px;
  line-height: 1;
  color: rgba(201, 169, 110, 0.28);
}

.page-home .index-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 600;
  color: var(--c-cream);
}

.page-home .index-card .tag-pill {
  align-self: flex-start;
}

.page-home .index-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-purple-gray);
}

.page-home .index-card-data {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-gold);
  border-top: 1px dashed var(--ph-gold-line);
}

.page-home .index-card-data span {
  font-size: 13px;
  font-weight: 400;
  color: var(--c-purple-gray);
  letter-spacing: 0.05em;
}

.page-home .index-more {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-neon);
}

.page-home .index-card--large {
  background:
    radial-gradient(circle at 88% 16%, rgba(201, 169, 110, 0.18), transparent 42%),
    linear-gradient(155deg, rgba(42, 26, 74, 0.95), rgba(15, 10, 31, 0.98));
}

/* ---------- 02 最新版本动态 ---------- */

.page-home .version-layout {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-home .version-visual {
  position: relative;
  overflow: hidden;
}

.page-home .version-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .deco-dice {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 78px;
  height: 78px;
  opacity: 0.5;
  transform: rotate(12deg);
}

.page-home .version-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .version-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  background: var(--c-gold-soft);
  border: 1px solid var(--ph-gold-line);
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--c-purple-gray);
}

.page-home .version-tag b {
  color: var(--c-gold);
  font-size: 17px;
  letter-spacing: 0.06em;
}

.page-home .version-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .version-features li {
  position: relative;
  padding: 12px 14px 12px 20px;
  background: rgba(42, 26, 74, 0.45);
  border-left: 2px solid var(--c-purple);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-cream);
}

.page-home .version-features li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  width: 4px;
  height: 4px;
  background: var(--c-gold);
  border-radius: 50%;
}

.page-home .version-features li span {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 8px;
  background: rgba(201, 169, 110, 0.14);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-gold);
}

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

.page-home .version-stat {
  padding: 18px 14px;
  background: rgba(15, 10, 31, 0.75);
  border: 1px solid var(--ph-gold-line);
  text-align: center;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-gold);
}

.page-home .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-purple-gray);
  letter-spacing: 0.06em;
}

/* ---------- 03 老用户记录查询 ---------- */

.page-home .record-layout {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-home .record-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .record-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .record-content h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-cream);
}

.page-home .record-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-purple-gray);
}

.page-home .record-content p b {
  color: var(--c-cream);
  font-weight: 600;
}

.page-home .record-content .data-list {
  background: rgba(42, 26, 74, 0.42);
  border: 1px solid var(--ph-gold-line);
  padding: 4px 0;
}

.page-home .record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 04 中国区资料库 ---------- */

.page-home .library-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .library-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(15, 10, 31, 0.8);
  border: 1px solid var(--ph-gold-line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.28);
}

.page-home .search-icon {
  font-size: 22px;
  color: var(--c-neon);
  line-height: 1;
}

.page-home .search-placeholder {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-purple-gray);
}

.page-home .search-count {
  font-family: var(--font-data);
  font-size: 13px;
  white-space: nowrap;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

.page-home .library-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .library-tags .tag-pill {
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .library-tags .tag-pill:hover {
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.page-home .library-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .library-topics {
  padding: 20px 18px;
  background: linear-gradient(160deg, rgba(42, 26, 74, 0.72), rgba(15, 10, 31, 0.9));
  border: 1px solid var(--ph-gold-line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .library-topics h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--c-gold);
}

.page-home .library-topics ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-home .library-topics li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ph-gold-line);
}

.page-home .library-topics li:last-child {
  border-bottom: none;
}

.page-home .library-topics a {
  color: var(--c-cream);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.page-home .library-topics a:hover {
  color: var(--c-neon);
}

.page-home .topic-tag {
  flex-shrink: 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-purple-gray);
  background: rgba(107, 91, 149, 0.18);
  border: 1px solid rgba(107, 91, 149, 0.35);
  padding: 2px 8px;
  border-radius: 2px;
}

.page-home .library-spec {
  padding: 18px 16px;
  background: rgba(42, 26, 74, 0.34);
  border: 1px solid var(--ph-gold-line);
}

.page-home .library-spec .data-label {
  color: var(--c-purple-gray);
}

.page-home .library-spec .data-value {
  color: var(--c-gold);
}

.page-home .library-topics a[href="/reach-us/"] + .topic-tag {
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--c-neon);
}

/* ---------- 05 热门活动速览 ---------- */

.page-home .events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .event-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(42, 26, 74, 0.88), rgba(15, 10, 31, 0.96));
  border: 1px solid var(--ph-gold-line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .event-card:hover {
  border-color: var(--c-neon);
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.4);
}

.page-home .event-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 169, 110, 0.16), transparent 46%),
    linear-gradient(160deg, var(--c-bg-2), var(--c-bg));
}

.page-home .event-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .event-visual--card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .deco-card {
  width: 88px;
  height: 118px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

.page-home .event-visual--mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .event-date-mark {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-gold);
  text-shadow: 0 0 28px rgba(201, 169, 110, 0.3);
}

.page-home .event-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
}

.page-home .event-body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-cream);
}

.page-home .event-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-purple-gray);
}

.page-home .event-body .tag-pill {
  align-self: flex-start;
}

.page-home .event-detail {
  margin-top: 4px;
  border-top: 1px dashed var(--ph-gold-line);
  padding-top: 10px;
}

.page-home .event-detail summary {
  cursor: pointer;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-neon);
  list-style: none;
}

.page-home .event-detail summary::-webkit-details-marker {
  display: none;
}

.page-home .event-detail summary::before {
  content: "▸  ";
  color: var(--c-gold);
}

.page-home .event-detail[open] summary::before {
  content: "▾  ";
}

.page-home .event-detail p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-purple-gray);
}

.page-home .events-footnote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 30px;
  padding: 20px var(--content-pad);
  background: var(--c-gold-soft);
  border: 1px solid var(--ph-gold-line);
  border-left: 4px solid var(--c-gold);
}

.page-home .events-footnote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-purple-gray);
}

.page-home .highlight-num {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--c-gold);
  font-size: 17px;
}

/* ---------- 共享组件微调 ---------- */

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-cream);
  background: transparent;
  border: 1px solid var(--ph-gold-line);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .btn-gold {
  background: linear-gradient(135deg, #A9874A, #C9A96E);
  border: none;
  color: #20142D;
}

.page-home .btn-gold:hover {
  box-shadow: 0 0 22px rgba(201, 169, 110, 0.4);
}

.page-home .btn-outline {
  color: var(--c-gold);
}

.page-home .btn-outline:hover {
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.page-home .tag-pill {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid var(--ph-gold-line);
  border-radius: 2px;
  text-decoration: none;
}

.page-home .data-list {
  display: grid;
}

.page-home .data-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px dashed rgba(201, 169, 110, 0.16);
}

.page-home .data-row:last-child {
  border-bottom: none;
}

.page-home .data-label {
  font-size: 13px;
  color: var(--c-purple-gray);
  letter-spacing: 0.04em;
}

.page-home .data-value {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-cream);
  text-align: right;
}

.page-home .visual-frame {
  position: relative;
  border: 1px solid var(--ph-gold-line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.page-home .visual-frame::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), transparent 70%);
  pointer-events: none;
}

/* ---------- 平板增强 640px ---------- */

@media (min-width: 640px) {
  .page-home .hero-entries {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .index-collage {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .index-card--large {
    grid-row: span 2;
  }

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

  .page-home .version-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .library-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

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

/* ---------- 桌面增强 1024px ---------- */

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 10px;
  }

  .page-home .hero-layout {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .page-home .hero-brand-track {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    border-bottom: none;
    border-right: 1px solid var(--ph-gold-line);
    padding-right: 22px;
    padding-bottom: 20px;
  }

  .page-home .track-rule {
    flex: none;
    width: 1px;
    height: 160px;
    background: linear-gradient(180deg, var(--ph-gold-line), transparent);
  }

  .page-home .track-year {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.3em;
    font-size: 11px;
    transform: rotate(180deg);
  }

  .page-home .hero-main {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-areas:
      "head  rail"
      "visual rail"
      "entries entries";
    gap: 26px 40px;
    align-items: start;
  }

  .page-home .hero-head {
    grid-area: head;
    padding-top: 12px;
  }

  .page-home .hero-visual {
    grid-area: visual;
  }

  .page-home .hero-rail {
    grid-area: rail;
    flex-direction: column;
    overflow: visible;
    gap: 14px;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .page-home .rail-card {
    flex: none;
    width: 100%;
  }

  .page-home .hero-entries {
    grid-area: entries;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-home .hero-entry {
    padding: 30px 34px 30px 38px;
  }

  .page-home .entry-title {
    font-size: 29px;
  }

  .page-home .section {
    padding-top: 76px;
  }

  .page-home .index-collage {
    grid-template-columns: 1.12fr 0.94fr 0.94fr;
    gap: 18px;
  }

  .page-home .index-card--large {
    grid-row: span 2;
  }

  .page-home .index-card--wide {
    grid-column: span 2;
  }

  .page-home .version-layout {
    gap: 44px;
  }

  .page-home .version-visual img {
    aspect-ratio: 4 / 3;
  }

  .page-home .record-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .record-visual img {
    aspect-ratio: 4 / 3;
  }

  .page-home .library-detail {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-home .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .events-footnote {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
