/* 51吃瓜 品牌视觉系统 - 深色粉紫娱乐资讯 */
:root {
  --bg-main: #0B0B1A;
  --bg-deep: #080812;
  --bg-content: #12121F;
  --bg-secondary: #1A1A2A;
  --bg-hover: #222233;
  --bg-footer: #05050A;
  --text-primary: #FFFFFF;
  --text-body: #E8E8F0;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --text-footer: #C8C8D8;
  --brand-pink: #FF2D6A;
  --brand-light-pink: #FF4D8A;
  --brand-rose: #E6005C;
  --brand-purple: #7B2CBF;
  --brand-light-purple: #9B4DFF;
  --brand-pale: #FFB3C9;
  --border-soft: rgba(255, 45, 106, 0.18);
  --border-focus: rgba(255, 77, 138, 0.45);
  --shadow-main: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-pink: 0 12px 36px rgba(255, 45, 106, 0.22);
  --radius-card: 16px;
  --radius-btn: 999px;
  --nav-height: 72px;
  --max-width: 1280px;
  --transition: 0.25s ease;
}

*,
*::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", sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

a {
  color: var(--brand-light-pink);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-pale);
}

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

ul, ol {
  list-style: none;
}

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

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 26, 0.92);
  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;
}

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

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

.brand-logo:hover {
  color: var(--brand-light-pink);
}

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

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all var(--transition);
}

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

.desktop-nav a.active {
  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 14px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-btn-search {
  background: var(--bg-secondary);
  border-color: var(--border-soft);
}

.nav-btn-search:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

.nav-btn-list {
  background: transparent;
  border-color: var(--border-focus);
}

.nav-btn-list:hover {
  background: rgba(255, 77, 138, 0.15);
}

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

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

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.4rem;
}

/* 手机顶部 */
.mobile-brand {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ========== 频道面板 ========== */
.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 88vw;
  height: 100%;
  background: var(--bg-deep);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-soft);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
}

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

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

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

.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;
  color: var(--brand-light-pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.panel-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background var(--transition);
}

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

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

.panel-link-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* 遮罩 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

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

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-deep);
  z-index: 1800;
  border-bottom: 1px solid var(--border-soft);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.25s 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: 24px;
}

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

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

.search-input:focus {
  border-color: var(--border-focus);
}

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

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

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

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

.search-section h3 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}

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

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

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

.search-results {
  margin-top: 16px;
}

.search-result-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-body);
}

.search-result-item:hover {
  color: var(--brand-light-pink);
}

.search-result-item.hidden {
  display: none;
}

/* ========== 主内容区 ========== */
.main-content {
  min-height: calc(100vh - var(--nav-height) - 200px);
  padding-bottom: 40px;
}

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

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

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

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

.section-more:hover {
  color: var(--brand-pale);
}

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

.card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-main);
}

.card-body {
  padding: 20px;
}

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

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

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

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-focus);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 77, 138, 0.12);
  color: var(--text-primary);
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 45, 106, 0.15);
  color: var(--brand-light-pink);
  font-size: 0.78rem;
  border-radius: var(--radius-btn);
  font-weight: 500;
}

.tag-purple {
  background: rgba(123, 44, 191, 0.2);
  color: var(--brand-light-purple);
}

/* ========== 频道快捷条 ========== */
.channel-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
  overflow: hidden;
}

.channel-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

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

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

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

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

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2A 0%, #12121F 50%, #0B0B1A 100%);
  border: 1px solid var(--border-soft);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1A1028 0%, #0B0B1A 60%, #120818 100%);
  text-align: center;
  padding: 40px;
}

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

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

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

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

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-rec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.hero-rec-item:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
}

.hero-rec-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 45, 106, 0.2);
  color: var(--brand-light-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 今日灵感 */
.inspire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.inspire-item {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 16px;
  transition: all var(--transition);
}

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

.inspire-name {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.inspire-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

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

.hot-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-light-pink), var(--brand-purple));
}

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

.hot-feature h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

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

.hot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.hot-side-item {
  display: block;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color var(--transition);
}

.hot-side-item:hover {
  border-color: var(--border-focus);
}

.hot-side-item .tag {
  margin-bottom: 8px;
}

.hot-side-item h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.hot-side-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 明星横向轨道 */
.star-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-pink) var(--bg-secondary);
}

.star-card {
  flex: 0 0 220px;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  transition: border-color var(--transition);
}

.star-card:hover {
  border-color: var(--border-focus);
}

.star-card h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.star-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* 影视看点 */
.movie-hero {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 20px;
}

.movie-hero h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.movie-hero p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.movie-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.movie-type-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: all var(--transition);
}

.movie-type-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.movie-type-card h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.movie-type-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* 短视频编号 */
.short-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.short-item {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}

.short-item:hover {
  border-color: var(--border-focus);
}

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

.short-item h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.short-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 剧集 */
.tv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tv-card {
  background: var(--bg-content);
  border: 1px solid var(--border-focus);
  border-radius: 14px;
  padding: 22px;
  transition: all var(--transition);
}

.tv-card:hover {
  background: var(--bg-secondary);
  box-shadow: var(--shadow-pink);
}

.tv-card h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tv-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* 幕后杂志式 */
.behind-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.behind-asymmetric .behind-item:nth-child(1),
.behind-asymmetric .behind-item:nth-child(4) {
  grid-column: span 1;
}

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

.behind-item h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.behind-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* 片单 */
.list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.list-card {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  transition: all var(--transition);
}

.list-card:hover {
  border-color: var(--border-focus);
}

.list-card h4 {
  color: var(--text-primary);
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.list-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 榜单 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color var(--transition);
}

.rank-item:hover {
  border-color: var(--border-focus);
}

.rank-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-light-pink);
  line-height: 1;
  min-width: 40px;
}

.rank-item h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.rank-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

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

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

.calendar-card h4 {
  color: var(--text-primary);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.calendar-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* 编辑观察 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.review-card .tag {
  margin-bottom: 10px;
}

.review-card h4 {
  color: var(--text-primary);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* 发现 */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.discover-card {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  transition: border-color var(--transition);
}

.discover-card:hover {
  border-color: var(--border-focus);
}

.discover-card h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.discover-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* 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: 36px;
}

.app-visual {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1A1028, #0B0B1A);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.app-info h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.app-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

.dual-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.dual-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* FAQ 首页 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-content);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

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

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

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-light-pink);
}

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

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

/* 品牌宣言 */
.brand-manifesto {
  background: linear-gradient(145deg, #12121F 0%, #1A1028 50%, #0B0B1A 100%);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
}

.brand-manifesto h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.brand-manifesto p {
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1rem;
}

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

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

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

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

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

.content-block h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.content-block h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.content-block p {
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.85;
}

.content-block ul {
  margin: 12px 0 16px 20px;
}

.content-block li {
  color: var(--text-body);
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.7;
}

/* 内页卡片网格 */
.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.page-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

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

.page-card h3 {
  color: var(--text-primary);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

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

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

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

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

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand-en {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

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

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

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

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

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

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

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

/* ========== 手机底部导航 ========== */
.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(10px);
  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;
  max-width: 480px;
  margin: 0 auto;
}

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

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

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

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 280px;
  }
  .hot-main {
    grid-template-columns: 1fr;
  }
  .inspire-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .movie-types {
    grid-template-columns: repeat(2, 1fr);
  }
  .short-list {
    grid-template-columns: 1fr 1fr;
  }
  .tv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discover-grid {
    grid-template-columns: 1fr 1fr;
  }
  .app-block {
    grid-template-columns: 1fr;
  }
  .dual-block {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-btn-list,
  .nav-btn-search {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-brand {
    display: flex;
  }

  .nav-left .brand-logo {
    display: none;
  }

  .nav-right .nav-btn-app {
    padding: 0 16px;
    font-size: 0.85rem;
  }

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

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-side {
    order: -1;
  }

  .section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .inspire-grid {
    grid-template-columns: 1fr 1fr;
  }

  .short-list {
    grid-template-columns: 1fr;
  }

  .tv-grid {
    grid-template-columns: 1fr;
  }

  .behind-asymmetric {
    grid-template-columns: 1fr;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

  .discover-grid {
    grid-template-columns: 1fr;
  }

  .page-grid-2,
  .page-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-bottom-nav {
    display: block;
  }

  .site-footer {
    padding-bottom: 90px;
  }

  .page-hero h1 {
    font-size: 1.55rem;
  }

  .search-panel {
    top: 0;
    height: 100%;
    max-height: 100%;
  }

  .container {
    padding: 0 15px;
  }
}

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

/* 工具类 */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
