/* 51吃瓜 - 官方网站样式 */
:root {
  --bg-main: #0B0B1A;
  --bg-deep: #080812;
  --bg-content: #12121F;
  --bg-secondary: #1A1A2A;
  --bg-hover: #222233;
  --text-title: #FFFFFF;
  --text-body: #E8E8F0;
  --text-secondary: #A0A0B8;
  --text-aux: #6B6B80;
  --brand-pink: #FF2D6A;
  --bright-pink: #FF4D8A;
  --rose: #E6005C;
  --deep-purple: #7B2CBF;
  --bright-purple: #9B4DFF;
  --light-pink: #FFB3C9;
  --border-soft: rgba(255,45,106,0.18);
  --border-strong: rgba(255,77,138,0.45);
  --shadow-normal: 0 16px 48px rgba(0,0,0,0.55);
  --shadow-pink: 0 12px 36px rgba(255,45,106,0.22);
  --footer-bg: #05050A;
  --footer-text: #C8C8D8;
  --nav-height: 72px;
  --max-width: 1280px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bright-pink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--light-pink);
}

a:focus-visible {
  outline: 2px solid var(--bright-pink);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); margin-bottom: 0.7rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text-title);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  background: linear-gradient(135deg, var(--bright-pink), var(--bright-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.desktop-nav a:hover {
  color: var(--text-title);
  background: rgba(255, 45, 106, 0.12);
}

.desktop-nav a.active {
  color: var(--text-title);
  background: rgba(255, 77, 138, 0.18);
  box-shadow: inset 0 -2px 0 var(--brand-pink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  color: var(--text-title);
  background: transparent;
}

.nav-btn:hover {
  transform: translateY(-1px);
}

.nav-btn-search {
  border: 1px solid var(--border-strong);
  background: rgba(255, 77, 138, 0.08);
}

.nav-btn-list {
  border: 1px solid var(--border-soft);
  color: var(--text-body);
}

.nav-btn-app {
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-pink);
}

.nav-btn-app:hover {
  box-shadow: 0 14px 40px rgba(255, 45, 106, 0.35);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-title);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mobile-logo {
  display: none;
}

/* ========== 频道面板 ========== */
.channel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.channel-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 88vw);
  height: 100%;
  background: var(--bg-deep);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-soft);
  visibility: hidden;
  pointer-events: none;
}

.channel-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.channel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.channel-panel-header .logo-link {
  font-size: 1.2rem;
}

.channel-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-title);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 40px;
  -webkit-overflow-scrolling: touch;
}

.channel-group {
  margin-bottom: 28px;
}

.channel-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-aux);
  margin-bottom: 12px;
  font-weight: 600;
}

.channel-item {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: var(--bg-content);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.channel-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-soft);
}

.channel-item-name {
  display: block;
  color: var(--text-title);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.channel-item-desc {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ========== 搜索面板 ========== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1900;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}

.search-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-deep);
  z-index: 1901;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-bottom: 1px solid var(--border-soft);
  visibility: hidden;
  pointer-events: none;
  max-height: 90vh;
  overflow-y: auto;
}

.search-panel.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.search-panel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-content);
  color: var(--text-title);
  font-size: 1rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-aux);
}

.search-input:focus {
  border-color: var(--bright-pink);
  box-shadow: 0 0 0 3px rgba(255, 45, 106, 0.2);
}

.search-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-title);
  cursor: pointer;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  color: var(--text-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.search-tag:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--text-title);
}

.search-results {
  display: none;
  margin-top: 12px;
}

.search-results.show {
  display: block;
}

.search-result-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: var(--bg-content);
  color: var(--text-body);
}

.search-result-item:hover {
  background: var(--bg-hover);
  color: var(--text-title);
}

/* ========== 主内容区 ========== */
.site-main {
  min-height: 60vh;
  padding-bottom: 40px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(255, 45, 106, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(255, 77, 138, 0.12);
  color: #FFFFFF;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.25rem 0;
}

/* ========== 频道快捷条 ========== */
.channel-quick {
  background: var(--bg-content);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  margin-bottom: 32px;
}

.channel-quick-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.channel-quick-inner::-webkit-scrollbar {
  display: none;
}

.channel-quick a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px solid transparent;
  white-space: nowrap;
}

.channel-quick a:hover,
.channel-quick a.active {
  color: var(--text-title);
  background: rgba(255, 45, 106, 0.12);
  border-color: var(--border-soft);
}

/* ========== 首页首屏 ========== */
.hero {
  padding: 36px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 16 / 10;
  position: relative;
  box-shadow: var(--shadow-normal);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A1A2A 0%, #2A1A3A 40%, #3A1A4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.hero-visual-fallback span {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bright-pink), var(--bright-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.hero-brand {
  font-size: 0.9rem;
  color: var(--bright-pink);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 14px;
  line-height: 1.35;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.hero-rec-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.hero-rec-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-rec-list li:last-child {
  border-bottom: none;
}

.hero-rec-list a {
  color: var(--text-body);
  font-weight: 500;
}

.hero-rec-list a:hover {
  color: var(--bright-pink);
}

/* ========== 通用区块 ========== */
.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0;
}

.section-more {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.section-more:hover {
  color: var(--bright-pink);
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-normal);
  border-color: var(--border-strong);
}

.card-body {
  padding: 20px;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 45, 106, 0.15);
  color: var(--bright-pink);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-title);
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--bright-pink);
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1A1A2A, #2A1535);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-aux);
  font-size: 0.9rem;
}

/* 灵感胶囊 */
.inspire-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inspire-item {
  display: inline-flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  max-width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.inspire-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.inspire-name {
  font-weight: 600;
  color: var(--text-title);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.inspire-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 热点主推荐 */
.hot-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.hot-main-card {
  background: var(--bg-content);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 28px;
  box-shadow: var(--shadow-normal);
}

.hot-main-card .card-tag {
  margin-bottom: 12px;
}

.hot-main-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.hot-main-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.hot-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-side-item {
  background: var(--bg-content);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  padding: 16px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.hot-side-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.hot-side-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.hot-side-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 横向轨道 */
.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.track-item {
  flex: 0 0 260px;
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 20px;
  transition: border-color 0.2s;
}

.track-item:hover {
  border-color: var(--border-strong);
}

/* 编号列表 */
.numbered-list {
  display: grid;
  gap: 16px;
}

.numbered-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 18px 20px;
}

.numbered-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bright-pink), var(--bright-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* 杂志式不对称 */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.magazine-grid .card:nth-child(3),
.magazine-grid .card:nth-child(4) {
  grid-column: span 1;
}

/* 片单 */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.list-card {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.list-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.list-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.list-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 榜单 */
.rank-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 16px 20px;
}

.rank-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bright-pink);
  text-align: center;
}

/* 日历轨道 */
.calendar-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.calendar-item {
  flex: 0 0 220px;
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 18px;
}

.calendar-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  background: rgba(155, 77, 255, 0.2);
  color: var(--bright-purple);
}

.calendar-status.published {
  background: rgba(255, 45, 106, 0.15);
  color: var(--bright-pink);
}

/* 编辑观察 */
.review-list {
  display: grid;
  gap: 20px;
}

.review-item {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 24px;
}

.review-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(123, 44, 191, 0.25);
  color: var(--light-pink);
  margin-bottom: 10px;
}

/* 发现频道 */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* APP 区块 */
.app-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-content);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 36px;
  box-shadow: var(--shadow-normal);
}

.app-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-visual-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1A1A2A, #3A1A4A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-aux);
}

/* 版权与分级双栏 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-block {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 28px;
}

/* FAQ */
.faq-list details {
  background: var(--bg-content);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  margin-bottom: 12px;
  padding: 4px 0;
}

.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-title);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--bright-pink);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 品牌宣言 */
.brand-statement {
  background: linear-gradient(160deg, #12121F 0%, #1A1230 50%, #12121F 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-pink);
}

.brand-statement p {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ========== 内页通用 ========== */
.page-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 36px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.75;
}

.page-content {
  padding-bottom: 60px;
}

.content-block {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 28px;
  margin-bottom: 24px;
}

.content-block h2 {
  margin-bottom: 14px;
}

.content-block h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.related-links a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  color: var(--text-body);
  font-size: 0.88rem;
}

.related-links a:hover {
  border-color: var(--border-strong);
  color: var(--text-title);
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 100px;
  border-top: 1px solid rgba(255, 45, 106, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-brand .logo-link {
  font-size: 1.3rem;
}

.footer-brand-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 420px;
  line-height: 1.6;
}

.footer-en {
  color: var(--text-aux);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text-title);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--footer-text);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--bright-pink);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-aux);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-aux);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(8, 8, 18, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  color: var(--text-aux);
  font-size: 0.72rem;
  font-weight: 500;
  gap: 2px;
  padding: 4px 8px;
}

.mobile-bottom-nav a span.icon {
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-bottom-nav a.active {
  color: var(--brand-pink);
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
    aspect-ratio: 16 / 9;
  }
  .hero-content {
    order: 1;
  }
  .hot-main {
    grid-template-columns: 1fr;
  }
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .app-block {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .nav-btn-search,
  .nav-btn-list {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-logo {
    display: flex;
  }
  .nav-left .logo-link {
    display: none;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .nav-left {
    flex: 0;
  }
  .nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .mobile-bottom-nav {
    display: block;
  }
  .site-footer {
    padding-bottom: 90px;
  }
  .channel-quick {
    margin-bottom: 24px;
  }
  .section {
    padding: 36px 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
  }
  .numbered-item {
    grid-template-columns: 40px 1fr;
  }
  .rank-item {
    grid-template-columns: 40px 1fr;
  }
  .rank-item .rank-extra {
    display: none;
  }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* 工具类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
