/* ===== 页面专属样式：夜场入口 / ===== */
.page-home {
  --home-gap: clamp(1.25rem, 4vw, 2.75rem);
  --home-pad: clamp(2rem, 6vw, 5rem);
  --home-title: clamp(2.2rem, 5.5vw, 4.5rem);
  --home-head: clamp(2rem, 4vw, 3.2rem);
  --home-card-bg: rgba(31,27,36,0.72);
  --home-line: rgba(181,55,242,0.22);
  overflow: hidden;
}

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

.page-home [id] {
  scroll-margin-top: 86px;
}

.page-home .breadcrumb {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.page-home .breadcrumb a {
  color: var(--electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.page-home .breadcrumb a:hover,
.page-home .breadcrumb a:focus-visible {
  color: var(--text-main);
}

.page-home .breadcrumb-sep {
  color: var(--text-faint);
}

/* ===== 首屏分屏 ===== */
.hero-zone {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4.5rem) 4rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(11,10,15,0.98), rgba(11,10,15,0.72) 45%, rgba(11,10,15,0.94)),
    var(--bg-deep);
  color: var(--text-main);
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,9,0.82) 0%, rgba(6,5,9,0.2) 42%, rgba(11,10,15,0.94) 100%),
    radial-gradient(circle at 78% 18%, rgba(181,55,242,0.32) 0%, transparent 55%),
    radial-gradient(circle at 10% 88%, rgba(0,229,255,0.16) 0%, transparent 48%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 1rem;
}

.hero-crumb {
  margin-bottom: 1.2rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--laser-green);
  text-shadow: 0 0 12px rgba(204,255,0,0.4);
}

.hero-title {
  margin: 0 0 1.5rem;
  max-width: 13em;
  font-family: var(--font-head);
  font-size: var(--home-title);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--text-main);
  text-shadow: 0 0 26px rgba(181,55,242,0.45), 4px 4px 0 rgba(161,20,36,0.55);
  transform: rotate(-1deg);
}

.hero-title-accent {
  color: var(--neon-purple);
  text-shadow: 0 0 18px rgba(181,55,242,0.6);
}

.hero-desc {
  margin: 0 0 1.75rem;
  padding-left: 0.9rem;
  max-width: 36em;
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  line-height: 1.75;
  color: var(--text-dim);
  border-left: 3px solid var(--neon-purple);
}

.hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  margin: 0 0 1.75rem;
}

.kpi-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--laser-green);
  text-shadow: 0 0 12px rgba(204,255,0,0.45);
}

.kpi-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.page-home .btn {
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.page-home .btn-primary {
  background: linear-gradient(120deg, var(--neon-purple), #7a2ab3);
  border: 1px solid var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(181,55,242,0.45);
}

.page-home .btn-primary:hover,
.page-home .btn-primary:focus-visible {
  box-shadow: 0 0 36px rgba(181,55,242,0.75);
  transform: translateY(-2px);
}

.page-home .btn-outline {
  border: 1px solid var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(0,229,255,0.06);
  box-shadow: 0 0 14px rgba(0,229,255,0.15);
}

.page-home .btn-outline:hover,
.page-home .btn-outline:focus-visible {
  box-shadow: 0 0 28px rgba(0,229,255,0.45);
  background: rgba(0,229,255,0.16);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-home .hero-marquee {
  position: relative;
  max-width: 36em;
  padding: 0.9rem 0.9rem 0.5rem;
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--laser-green);
  background: rgba(11,10,15,0.78);
  box-shadow: 0 0 28px rgba(204,255,0,0.08);
}

.hero-marquee-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--text-main);
}

.hero-marquee-head .data-text {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--electric-blue);
}

.hero-marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--laser-green);
  box-shadow: 0 0 12px var(--laser-green);
  animation: dot-blink 1.8s infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-mini-wrap {
  overflow: hidden;
  max-height: 13.6rem;
}

.hero-mini-track {
  display: flex;
  flex-direction: column;
  animation: hero-marquee 16s linear infinite;
}

.hero-mini-wrap:hover .hero-mini-track,
.hero-mini-wrap:focus-within .hero-mini-track {
  animation-play-state: paused;
}

@keyframes hero-marquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.hero-mini-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-mini-group li {
  list-style: none;
}

.hero-mini-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0.2rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-base), background var(--transition-base);
}

.hero-mini-link:hover,
.hero-mini-link:focus-visible {
  color: var(--text-main);
  background: rgba(181,55,242,0.1);
}

.hero-mini-num {
  min-width: 4.4em;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--laser-green);
  text-shadow: 0 0 8px rgba(204,255,0,0.4);
}

.hero-visual-col {
  position: relative;
}

.hero-visual-panel {
  position: relative;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--home-line);
  background: rgba(31,27,36,0.48);
  backdrop-filter: blur(10px);
  transform: rotate(0.9deg);
}

.hero-visual-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(181,55,242,0.5), transparent 30%, transparent 70%, rgba(0,229,255,0.5));
  opacity: 0.28;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: -12px;
  right: 6px;
  padding: 0.45rem 0.7rem;
  background: var(--bg-deeper);
  border: 1px solid var(--laser-green);
  color: var(--laser-green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  box-shadow: 0 0 14px rgba(204,255,0,0.3);
  transform: rotate(4deg);
}

.visual-panel-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.cloud-tag:hover,
.cloud-tag:focus-visible {
  transform: translateY(-2px);
}

.cloud-tag-purple {
  border-color: var(--neon-purple);
  color: #fff;
  background: rgba(181,55,242,0.16);
  box-shadow: 0 0 16px rgba(181,55,242,0.28);
}

.cloud-tag-purple:hover,
.cloud-tag-purple:focus-visible {
  background: var(--neon-purple);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(181,55,242,0.7);
}

.cloud-tag-blue {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(0,229,255,0.12);
  box-shadow: 0 0 16px rgba(0,229,255,0.2);
}

.cloud-tag-blue:hover,
.cloud-tag-blue:focus-visible {
  background: var(--electric-blue);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(0,229,255,0.6);
}

.cloud-tag-green {
  border-color: var(--laser-green);
  color: var(--laser-green);
  background: rgba(204,255,0,0.1);
  box-shadow: 0 0 16px rgba(204,255,0,0.2);
}

.cloud-tag-green:hover,
.cloud-tag-green:focus-visible {
  background: var(--laser-green);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(204,255,0,0.6);
}

.cloud-tag-red {
  border-color: var(--blood-red);
  color: var(--text-main);
  background: rgba(161,20,36,0.18);
  box-shadow: 0 0 16px rgba(161,20,36,0.24);
}

.cloud-tag-red:hover,
.cloud-tag-red:focus-visible {
  background: var(--blood-red);
  color: var(--text-main);
  box-shadow: 0 0 28px rgba(161,20,36,0.65);
}

.visual-panel-divider {
  height: 1px;
  margin: 1.4rem 0;
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue), transparent);
}

.entry-pills {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.entry-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.entry-pill-purple {
  border-color: var(--neon-purple);
  background: linear-gradient(120deg, rgba(181,55,242,0.22), rgba(11,10,15,0.6));
}

.entry-pill-blue {
  border-color: var(--electric-blue);
  background: linear-gradient(120deg, rgba(0,229,255,0.14), rgba(11,10,15,0.6));
}

.entry-pill:hover,
.entry-pill:focus-visible {
  transform: translateX(4px);
}

.entry-pill-purple:hover,
.entry-pill-purple:focus-visible {
  border-color: var(--neon-purple);
  box-shadow: 0 0 30px rgba(181,55,242,0.55);
}

.entry-pill-blue:hover,
.entry-pill-blue:focus-visible {
  border-color: var(--electric-blue);
  box-shadow: 0 0 30px rgba(0,229,255,0.45);
}

.pill-index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.entry-pill-purple .pill-index { color: var(--neon-purple); }
.entry-pill-blue .pill-index { color: var(--electric-blue); }

.pill-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.pill-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
}

.pill-meta {
  display: block;
  font-size: 0.76rem;
  color: var(--text-faint);
}

.pill-arrow {
  color: var(--text-faint);
  font-size: 1.1rem;
  transition: color var(--transition-base), transform var(--transition-base);
}

.entry-pill:hover .pill-arrow,
.entry-pill:focus-visible .pill-arrow {
  color: var(--electric-blue);
  transform: translateX(3px);
}

.hero-scroll-hint {
  display: none;
  position: absolute;
  left: clamp(1rem, 5vw, 3rem);
  bottom: 1.5rem;
  z-index: 2;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-purple), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.9); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ===== 全页面章节节奏 ===== */
.page-section {
  position: relative;
  padding: var(--home-pad) clamp(1.25rem, 5vw, 3rem);
}

.section-heading-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--neon-purple);
}

.section-mark {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--laser-green);
}

.section-heading {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--home-head);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-main);
}

.section-intro {
  margin: 0;
  max-width: 42em;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ===== 实时热榜 ===== */
.hotlist-section {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, var(--bg-deep), var(--bg-deeper));
}

.hotlist-layout {
  width: min(var(--container-width), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.hotlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hot-item {
  position: relative;
  border-bottom: 1px solid rgba(181,55,242,0.16);
}

.hot-item:last-child {
  border-bottom: 0;
}

.hot-link {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.4rem 0.7rem;
  align-items: center;
  padding: 1rem 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  transition: background var(--transition-base), padding-left var(--transition-base);
}

.hot-link:hover,
.hot-link:focus-visible {
  background: rgba(181,55,242,0.12);
  padding-left: 1rem;
}

.hot-rank {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-faint);
  min-width: 1.8em;
}

.hot-tag {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hot-title {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}

.hot-trend {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  white-space: nowrap;
}

.trend-up {
  color: var(--laser-green);
  text-shadow: 0 0 8px rgba(204,255,0,0.45);
}

.trend-down {
  color: var(--blood-red);
  text-shadow: 0 0 8px rgba(161,20,36,0.55);
}

.hot-heat {
  grid-column: 3;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--laser-green);
  text-shadow: 0 0 8px rgba(204,255,0,0.4);
  white-space: nowrap;
}

.hot-item:nth-child(even) .hot-heat {
  color: var(--electric-blue);
  text-shadow: 0 0 8px rgba(0,229,255,0.4);
}

.hot-bubble {
  position: absolute;
  z-index: 10;
  top: calc(100% - 0.2rem);
  left: 44px;
  max-width: min(340px, 92%);
  padding: 0.7rem 0.9rem;
  background: rgba(6,5,9,0.96);
  border: 1px solid var(--electric-blue);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,255,0.25);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  pointer-events: none;
}

.hot-item:hover .hot-bubble,
.hot-item:focus-within .hot-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hotlist-rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rail-visual {
  position: relative;
  overflow: hidden;
  padding: 0.8rem;
  border: 1px solid var(--home-line);
  background: rgba(31,27,36,0.6);
}

.rail-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.rail-note {
  padding: 1.1rem;
  border: 1px solid rgba(204,255,0,0.3);
  background: rgba(204,255,0,0.06);
}

.rail-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--laser-green);
}

.rail-note p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.rail-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  color: var(--electric-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(0,229,255,0.4);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.rail-refresh:hover,
.rail-refresh:focus-visible {
  color: var(--text-main);
  border-bottom-color: var(--electric-blue);
}

/* ===== 分类标签墙 ===== */
.tags-section {
  background:
    linear-gradient(180deg, var(--bg-deeper), rgba(11,10,15,0.92)),
    var(--bg-deep);
}

.tags-inner,
.dualentry-inner,
.latest-inner,
.help-inner {
  width: min(var(--container-width), 100%);
  margin-inline: auto;
}

.tag-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tag-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem;
  background: rgba(31,27,36,0.65);
  border: 1px solid var(--home-line);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.tag-card:nth-child(odd) {
  transform: rotate(-1.2deg);
}

.tag-card:nth-child(even) {
  transform: rotate(0.8deg) translateY(8px);
}

.tag-card:hover,
.tag-card:focus-within {
  transform: rotate(0deg) translateY(-3px);
  border-color: var(--neon-purple);
  box-shadow: 0 0 30px rgba(181,55,242,0.2);
}

.tag-card-politics { border-top: 3px solid var(--neon-purple); }
.tag-card-media { border-top: 3px solid var(--electric-blue); }
.tag-card-tech { border-top: 3px solid var(--laser-green); }
.tag-card-social { border-top: 3px solid var(--blood-red); }

.tag-card-index {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-faint);
  border: 1px solid var(--home-line);
}

.tag-card-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text-main);
}

.tag-card-desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.tag-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 1.2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.tag-card .btn {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* ===== 双入口导航 ===== */
.dualentry-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(181,55,242,0.14), transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(0,229,255,0.12), transparent 45%),
    var(--bg-deep);
}

.dual-entry-wrap {
  position: relative;
}

.dual-entry-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.entry-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--home-line);
  background: rgba(31,27,36,0.78);
}

.entry-panel::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 15%;
  height: 15%;
  border-top: 2px solid;
  border-right: 2px solid;
}

.entry-panel-deep::after { border-color: var(--neon-purple); }
.entry-panel-hot::after { border-color: var(--electric-blue); }

.entry-panel-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
}

.entry-panel h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--text-main);
}

.entry-points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.entry-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.entry-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--laser-green);
}

.entry-panel-hot .entry-points li::before {
  color: var(--electric-blue);
}

.entry-panel .btn {
  display: inline-block;
}

.dual-entry-visual {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--bg-deeper);
}

.dual-entry-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.dual-entry-visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(6,5,9,0.82);
  color: var(--text-dim);
  font-size: 0.78rem;
  backdrop-filter: blur(6px);
}

.dual-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(181,55,242,0.3);
  border-left: 3px solid var(--neon-purple);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.dual-note-line {
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue));
}

/* ===== 最新更新与下载 ===== */
.latest-section {
  background:
    linear-gradient(180deg, var(--bg-deep), rgba(31,27,36,0.25) 40%, rgba(11,10,15,0.7)),
    var(--bg-deep);
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.latest-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--home-line);
  background: rgba(31,27,36,0.66);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.latest-card:nth-child(2) {
  transform: translateY(10px);
}

.latest-card:nth-child(3) {
  transform: rotate(0.6deg);
}

.latest-card:hover,
.latest-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--electric-blue);
  box-shadow: 0 0 24px rgba(0,229,255,0.16);
}

.latest-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.latest-batch {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-purple);
  text-shadow: 0 0 14px rgba(181,55,242,0.45);
}

.latest-card .card-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
}

.latest-card .card-desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.latest-card-meta {
  display: flex;
  gap: 0.5rem;
  margin: auto 0 1rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.latest-card .btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.download-cta {
  position: relative;
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px dashed var(--line-strong);
  background: rgba(31,27,36,0.72);
}

.download-icon-wrap {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: var(--bg-deeper);
}

.download-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.download-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.download-cta .btn {
  justify-self: start;
  grid-column: 2;
}

/* ===== 站点路径 ===== */
.help-section {
  background: var(--bg-deeper);
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.help-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--home-line);
  background: rgba(31,27,36,0.85);
  text-decoration: none;
  color: var(--text-main);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.help-card:hover,
.help-card:focus-visible {
  border-color: var(--electric-blue);
  box-shadow: 0 0 24px rgba(0,229,255,0.18);
  transform: translateY(-3px);
}

.help-card:nth-child(1) { --help-color: var(--neon-purple); }
.help-card:nth-child(2) { --help-color: var(--electric-blue); }
.help-card:nth-child(3) { --help-color: var(--laser-green); }
.help-card:nth-child(4) { --help-color: var(--blood-red); }

.help-card-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--help-color, var(--neon-purple));
}

.help-card-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
}

.help-card-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ===== 桌面端断点 ===== */
@media (min-width: 640px) {
  .hotlist-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .hot-link {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .hot-trend {
    display: inline;
  }

  .hot-heat {
    grid-column: auto;
  }

  .tag-wall {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 760px) {
  .download-cta {
    grid-template-columns: auto 1fr auto;
    padding: 1.6rem 2rem;
  }

  .download-cta .btn {
    justify-self: end;
    grid-column: auto;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .hero-scroll-hint {
    display: flex;
  }

  .hero-visual-panel::after {
    content: "";
    position: absolute;
    left: -14%;
    right: -14%;
    top: 56%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--electric-blue), transparent);
    transform: rotate(-7deg);
    opacity: 0.55;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .hotlist-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 3rem;
  }

  .tag-wall {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .dual-entry-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr) minmax(0, 0.92fr);
    gap: 1.6rem;
  }

  .latest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .help-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== 减少动态效果 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-mini-track,
  .hero-marquee-dot,
  .hero-scroll-line {
    animation: none !important;
  }
}
