/* 首页专属样式 — 不影响其他页面 */
.hp-hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}

.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 184, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(214, 0, 141, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 59, 48, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary-start);
  margin-bottom: 18px;
}

.hp-hero-tag img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.hp-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hp-hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 480px;
}

.hp-stat {
  padding: 14px 16px;
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  text-align: center;
}

.hp-stat strong {
  display: block;
  font-size: 1.35rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hp-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hp-hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
}

.hp-phone-main {
  width: 58%;
  max-width: 260px;
  border-radius: 20px;
  border: 2px solid rgba(255, 184, 0, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 2;
  transform: translateY(8px);
}

.hp-phone-side {
  position: absolute;
  width: 42%;
  max-width: 180px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0.85;
}

.hp-phone-side--left {
  left: 0;
  bottom: 24px;
  transform: rotate(-8deg) translateX(-8%);
  z-index: 1;
}

.hp-phone-side--right {
  right: 0;
  bottom: 40px;
  transform: rotate(6deg) translateX(8%);
  z-index: 1;
}

/* 频道快捷条 */
.hp-chips-wrap {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 6, 6, 0.6);
}

.hp-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-chips::-webkit-scrollbar { display: none; }

.hp-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hp-chip:hover,
.hp-chip.is-hot {
  border-color: rgba(255, 184, 0, 0.45);
  color: var(--primary-start);
  background: rgba(255, 184, 0, 0.06);
}

/* 区块标题 */
.hp-block {
  padding: 56px 0;
}

.hp-block--dim {
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.4) 0%, transparent 100%);
}

.hp-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hp-block-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.3;
}

.hp-block-head h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-block-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 420px;
  text-align: right;
}

.hp-link-more {
  font-size: 0.88rem;
  color: var(--primary-start);
  white-space: nowrap;
}

/* 今日推荐 Bento */
.hp-bento-picks {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.hp-pick-featured {
  grid-row: span 2;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 380px;
}

.hp-pick-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  transition: transform 0.4s;
}

.hp-pick-featured:hover img { transform: scale(1.03); }

.hp-pick-featured .hp-pick-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.hp-pick-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gradient);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hp-pick-featured h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.hp-pick-featured p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hp-pick-sm {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.hp-pick-sm:hover {
  border-color: rgba(214, 0, 141, 0.35);
  transform: translateY(-2px);
}

.hp-pick-sm img {
  width: 88px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.hp-pick-sm h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hp-pick-sm p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 频道 Bento 网格 */
.hp-bento-channels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
}

.hp-channel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  grid-column: span 2;
}

.hp-channel--wide { grid-column: span 3; }
.hp-channel--tall { grid-row: span 2; }

.hp-channel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.hp-channel:hover img { transform: scale(1.06); }

.hp-channel-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.hp-channel-info h3 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.hp-channel-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 优势卡片 */
.hp-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hp-perk {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.hp-perk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.2s;
}

.hp-perk:hover::before { opacity: 1; }

.hp-perk-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.15;
  color: var(--primary-start);
}

.hp-perk h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.hp-perk p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 功能 Zigzag */
.hp-zigzag {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hp-zig-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
}

.hp-zig-item:nth-child(even) .hp-zig-img { order: 2; }
.hp-zig-item:nth-child(even) .hp-zig-text { order: 1; }

.hp-zig-img img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.hp-zig-text {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-zig-text h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-start);
}

.hp-zig-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* VLOG 横向胶片 */
.hp-filmstrip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.hp-film-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s;
}

.hp-film-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 0, 0.35);
}

.hp-film-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.hp-film-card figcaption {
  padding: 10px 12px;
}

.hp-film-card figcaption strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.hp-film-card figcaption span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 社区卡片 */
.hp-community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hp-community-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.hp-community-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hp-community-card div {
  padding: 18px 20px;
}

.hp-community-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.hp-community-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 指南 + 长文双栏 */
.hp-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.hp-toc {
  position: sticky;
  top: calc(var(--header-h) + 80px);
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.hp-toc h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hp-toc ul {
  list-style: none;
}

.hp-toc li { margin-bottom: 8px; }

.hp-toc a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 0.2s, border-color 0.2s;
}

.hp-toc a:hover {
  color: var(--primary-start);
  border-left-color: var(--primary-start);
}

.hp-guide-box {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08), rgba(214, 0, 141, 0.06));
  border: 1px solid rgba(255, 184, 0, 0.15);
  border-radius: 16px;
  margin-bottom: 24px;
}

.hp-guide-box h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  border: none;
  padding: 0;
}

.hp-guide-box ol {
  margin: 0 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hp-guide-box li { margin-bottom: 8px; }

.hp-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 40px;
}

.hp-article h2 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
  color: var(--primary-start);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.hp-article h2:first-child { margin-top: 0; }

.hp-article p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-align: justify;
  font-size: 0.94rem;
  line-height: 1.75;
}

/* FAQ 双列 */
.hp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 100%;
}

.hp-faq-grid .faq-item { margin-bottom: 0; }

/* 内链条 */
.hp-internal {
  padding: 32px 0 8px;
  border-top: 1px solid var(--border-color);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hp-hero-phones { min-height: 340px; }
  .hp-bento-picks { grid-template-columns: 1fr; }
  .hp-pick-featured { grid-row: auto; min-height: 300px; }
  .hp-pick-featured img { min-height: 300px; }
  .hp-bento-channels { grid-template-columns: repeat(4, 1fr); }
  .hp-channel--wide { grid-column: span 2; }
  .hp-perks { grid-template-columns: repeat(2, 1fr); }
  .hp-community-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-split { grid-template-columns: 1fr; }
  .hp-toc { position: static; }
  .hp-faq-grid { grid-template-columns: 1fr; }
  .hp-block-head p { text-align: left; }
}

@media (max-width: 768px) {
  .hp-hero { padding: 32px 0 40px; }
  .hp-stats { grid-template-columns: 1fr; max-width: none; }
  .hp-phone-side { display: none; }
  .hp-phone-main { width: 72%; }
  .hp-bento-channels {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
  .hp-channel,
  .hp-channel--wide,
  .hp-channel--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hp-perks { grid-template-columns: 1fr; }
  .hp-zig-item { grid-template-columns: 1fr; }
  .hp-zig-item:nth-child(even) .hp-zig-img { order: 0; }
  .hp-zig-item:nth-child(even) .hp-zig-text { order: 0; }
  .hp-community-grid { grid-template-columns: 1fr; }
  .hp-article { padding: 24px 18px; }
  .hp-block { padding: 40px 0; }
}
