/* 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-assist: #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-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;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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.6rem;
}

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

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

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

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

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

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

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

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

.brand-logo .logo-text {
  background: linear-gradient(135deg, #FF4D8A 0%, #9B4DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-channels a {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  position: relative;
}

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

.nav-channels a.active {
  color: var(--text-title);
  background: rgba(255, 45, 106, 0.15);
}

.nav-channels a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--bright-pink), var(--bright-purple));
  border-radius: 2px;
}

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

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-btn-search,
.nav-btn-list {
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.nav-btn-search:hover,
.nav-btn-list:hover {
  color: var(--text-title);
  background: var(--bg-hover);
}

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

.nav-btn-app:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-btn-menu {
  display: none;
  color: var(--text-title);
  font-size: 1.4rem;
  min-width: 44px;
  min-height: 44px;
}

/* 手机端导航 */
@media (max-width: 960px) {
  .nav-channels {
    display: none;
  }
  .nav-btn-list {
    display: none;
  }
  .nav-btn-menu {
    display: inline-flex;
  }
  .nav-left {
    gap: 12px;
  }
  .nav-inner {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .brand-logo .logo-text {
    font-size: 1.15rem;
  }
  .nav-btn-app {
    padding: 0 12px;
    font-size: 0.85rem;
  }
}

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

.panel-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: 1200;
  transform: translateX(100%);
  transition: transform 0.28s 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;
}

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

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

.panel-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.5rem;
}

.panel-close:hover {
  background: var(--bg-hover);
  color: var(--text-title);
}

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

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

.panel-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-assist);
  margin-bottom: 12px;
  padding-left: 4px;
}

.panel-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.2s ease;
}

.panel-link:hover {
  background: var(--bg-secondary);
}

.panel-link-name {
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 2px;
}

.panel-link-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-content);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1050;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

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

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

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

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

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

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

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

.search-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

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

.search-section {
  margin-bottom: 24px;
}

.search-section-title {
  font-size: 0.85rem;
  color: var(--text-assist);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-body);
}

.search-tag:hover {
  border-color: var(--border-strong);
  color: var(--bright-pink);
  background: rgba(255, 45, 106, 0.08);
}

.search-results {
  display: none;
}

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

.search-result-item {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.search-result-item:hover {
  background: var(--bg-secondary);
}

@media (max-width: 768px) {
  .search-panel {
    top: 0;
    height: 100%;
    max-height: 100%;
  }
  .search-inner {
    padding-top: 16px;
  }
}

/* ========== 手机底部导航 ========== */
.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-bottom: env(safe-area-inset-bottom, 0);
  height: calc(56px + env(safe-area-inset-bottom, 0));
}

.mobile-bottom-nav ul {
  display: flex;
  height: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mobile-bottom-nav li {
  flex: 1;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.7rem;
  color: var(--text-assist);
  gap: 2px;
  min-height: 48px;
}

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

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

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }
}

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
  padding-top: 8px;
}

.page-hero {
  padding: 32px 0 24px;
}

.section {
  padding: 40px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title h2 {
  margin-bottom: 0;
}

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

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

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: rgba(255, 45, 106, 0.12);
}

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

/* 卡片 */
.card {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

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

.tag-purple {
  background: rgba(155, 77, 255, 0.15);
  color: var(--bright-purple);
}

/* ========== 首页首屏 ========== */
.hero-grid {
  display: grid;
  grid-template-columns: 68% 32%;
  gap: 24px;
  align-items: stretch;
}

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, #1A1A2A 0%, #2A1A2F 40%, #1A1230 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.hero-fallback .fallback-brand {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.hero-fallback .fallback-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.hero-side .brand-name {
  font-size: 0.9rem;
  color: var(--bright-pink);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-side h1 {
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  margin-bottom: 0;
}

.hero-side .hero-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-recs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.hero-rec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-content);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.hero-rec-item span {
  color: var(--bright-pink);
  font-weight: 700;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
    min-height: 240px;
  }
  .hero-side {
    order: 1;
  }
}

/* 频道快捷条 */
.channel-quick {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 8px;
}

.quick-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quick-track::-webkit-scrollbar {
  display: none;
}

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

.quick-item:hover,
.quick-item.active {
  color: var(--text-title);
  border-color: var(--border-strong);
  background: rgba(255, 45, 106, 0.1);
}

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

.inspire-item {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 220px;
}

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

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

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

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

.hot-main {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hot-main::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 45, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hot-list-item {
  display: block;
  padding: 14px 16px;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

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

.hot-list-item .type {
  font-size: 0.75rem;
  color: var(--bright-pink);
  font-weight: 600;
  margin-bottom: 4px;
}

@media (max-width: 800px) {
  .hot-feature {
    grid-template-columns: 1fr;
  }
}

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

.track-card {
  flex: 0 0 260px;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}

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

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

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

.num-item .num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

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

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

.mag-item.tall {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .mag-grid {
    grid-template-columns: 1fr;
  }
  .mag-item.tall {
    grid-row: auto;
  }
}

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

/* 榜单 */
.rank-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.rank-num {
  font-size: 2rem;
  font-weight: 800;
  min-width: 48px;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 时间轨道 */
.timeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}

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

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

/* 编辑观察 */
.review-card {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.review-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 45, 106, 0.15);
  color: var(--bright-pink);
  margin-bottom: 10px;
  font-weight: 600;
}

/* APP 区块 */
.app-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
}

.app-visual {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-visual img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
}

.app-fallback {
  text-align: center;
  padding: 40px;
}

.app-fallback .icon {
  font-size: 4rem;
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .app-block {
    grid-template-columns: 1fr;
  }
}

/* 双栏信息 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
details.faq-item {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

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

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

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

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

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

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

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

.footer-brand img {
  height: 32px;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.footer-en {
  font-size: 0.85rem;
  color: var(--bright-pink);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--footer-text);
  padding: 5px 0;
}

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

.footer-note {
  font-size: 0.85rem;
  color: var(--text-assist);
  line-height: 1.6;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-assist);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 内容页通用 */
.page-header {
  padding: 36px 0 20px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 32px;
}

.page-header h1 {
  margin-bottom: 10px;
}

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

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  margin-top: 8px;
}

.prose {
  max-width: 780px;
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.highlight-box {
  background: var(--bg-content);
  border-left: 3px solid var(--brand-pink);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  color: var(--text-secondary);
}

/* 海报墙 */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.poster-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  aspect-ratio: 2/3;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.poster-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  pointer-events: none;
}

.poster-item span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

/* 竖版目录 */
.vertical-catalog {
  display: grid;
  gap: 14px;
}

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

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

/* 品牌宣言 */
.brand-manifesto {
  background: linear-gradient(135deg, rgba(255, 45, 106, 0.08) 0%, rgba(155, 77, 255, 0.08) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0 24px;
}

.brand-manifesto h2 {
  margin-bottom: 16px;
}

.brand-manifesto p {
  max-width: 680px;
  margin: 0 auto 12px;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* 工具类 */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

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

/* 防止横向滚动 */
body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid var(--bright-pink);
  outline-offset: 3px;
}

/* 装饰光晕不阻挡点击 */
.glow,
.hero-main::before {
  pointer-events: none;
}
