/* 51吃瓜 - 全站样式 */
*,
*::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: #0B0B1A;
  color: #E8E8F0;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: #FF4D8A;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #FFB3C9;
}

a:focus-visible {
  outline: 2px solid #FF4D8A;
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  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(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  height: 72px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.desktop-nav a {
  color: #E8E8F0;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

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

.desktop-nav a.active {
  color: #FFFFFF;
  background: rgba(255, 77, 138, 0.22);
  box-shadow: inset 0 -2px 0 #FF2D6A;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.nav-btn-search,
.nav-btn-list {
  background: transparent;
  border: 1px solid rgba(255, 77, 138, 0.45);
}

.nav-btn-search:hover,
.nav-btn-list:hover {
  background: rgba(255, 45, 106, 0.15);
  border-color: #FF4D8A;
}

.nav-btn-app {
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  box-shadow: 0 4px 16px rgba(255, 45, 106, 0.35);
}

.nav-btn-app:hover {
  box-shadow: 0 6px 20px rgba(255, 45, 106, 0.5);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 22px;
}

.mobile-logo {
  display: none;
}

.mobile-app-btn {
  display: none;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .nav-btn-search,
  .nav-btn-list {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-logo {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-left .logo-link {
    display: none;
  }
  .mobile-app-btn {
    display: inline-flex;
  }
  .header-right .nav-btn-app {
    display: none;
  }
}

/* ========== 频道面板 ========== */
.channel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  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: 460px;
  max-width: 88%;
  height: 100%;
  background: #12121F;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  border-left: 1px solid rgba(255, 45, 106, 0.25);
}

.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 22px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  position: sticky;
  top: 0;
  background: #12121F;
  z-index: 2;
}

.channel-panel-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-panel-logo img {
  height: 32px;
}

.channel-panel-logo span {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.channel-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #E8E8F0;
  font-size: 22px;
  transition: background 0.2s;
}

.channel-close:hover {
  background: rgba(255, 45, 106, 0.2);
}

.channel-group {
  padding: 20px 22px 8px;
}

.channel-group-title {
  font-size: 13px;
  color: #6B6B80;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 600;
}

.channel-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.channel-item:hover {
  background: #1A1A2A;
}

.channel-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.channel-item-desc {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.5;
}

/* ========== 搜索面板 ========== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  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: 72px;
  left: 0;
  right: 0;
  background: #12121F;
  z-index: 1901;
  padding: 28px 20px 36px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.2);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
}

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

.search-panel-inner {
  max-width: 720px;
  margin: 0 auto;
}

.search-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0A0B8;
  font-size: 20px;
  border-radius: 50%;
}

.search-close:hover {
  background: rgba(255, 45, 106, 0.15);
  color: #FFFFFF;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #1A1A2A;
  border: 1px solid rgba(255, 77, 138, 0.35);
  border-radius: 28px;
  padding: 4px 6px 4px 20px;
  margin-bottom: 24px;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  padding: 12px 0;
  outline: none;
}

.search-input-wrap input::placeholder {
  color: #6B6B80;
}

.search-submit-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF4D8A, #E6005C);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

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

.search-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.2);
  border-radius: 20px;
  font-size: 14px;
  color: #E8E8F0;
  transition: background 0.2s, border-color 0.2s;
}

.search-tag:hover {
  background: rgba(255, 45, 106, 0.15);
  border-color: #FF4D8A;
  color: #FFFFFF;
}

.search-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.search-links a {
  padding: 10px 14px;
  background: #1A1A2A;
  border-radius: 10px;
  font-size: 14px;
  color: #C8C8D8;
  text-align: center;
}

.search-links a:hover {
  background: #222233;
  color: #FFFFFF;
}

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

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(8, 8, 18, 0.96);
  border-top: 1px solid rgba(255, 45, 106, 0.2);
  z-index: 900;
  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: #A0A0B8;
  font-size: 11px;
  gap: 2px;
  padding: 4px 0;
}

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

.mobile-bottom-nav a.active {
  color: #FF2D6A;
}

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

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: #A0A0B8;
  margin-bottom: 28px;
}

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

.section-more {
  font-size: 14px;
  color: #FF4D8A;
  font-weight: 500;
}

.section-more:hover {
  color: #FFB3C9;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 45, 106, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 45, 106, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 77, 138, 0.45);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(255, 45, 106, 0.12);
  border-color: #FF4D8A;
  color: #FFFFFF;
}

/* 卡片 */
.card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(255, 77, 138, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.65;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 45, 106, 0.15);
  color: #FF4D8A;
}

.tag-purple {
  background: rgba(123, 44, 191, 0.2);
  color: #9B4DFF;
}

/* 频道快捷条 */
.channel-quick {
  background: #080812;
  border-bottom: 1px solid rgba(255, 45, 106, 0.12);
  padding: 14px 0;
  overflow: hidden;
}

.channel-quick-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 4px;
}

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

.channel-quick a {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: #C8C8D8;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.12);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.channel-quick a:hover,
.channel-quick a.active {
  color: #FFFFFF;
  background: rgba(255, 45, 106, 0.18);
  border-color: rgba(255, 77, 138, 0.4);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 68% 32%;
  gap: 28px;
  align-items: stretch;
}

.hero-banner {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #1A1A2A 0%, #12121F 50%, #0B0B1A 100%);
  border: 1px solid rgba(255, 45, 106, 0.18);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-banner-fallback {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7B2CBF 0%, #E6005C 50%, #FF2D6A 100%);
  padding: 40px;
  text-align: center;
}

.hero-banner-fallback h2 {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-banner-fallback p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 360px;
}

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

.hero-brand {
  font-size: 14px;
  color: #FF4D8A;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.hero-desc {
  font-size: 15px;
  color: #A0A0B8;
  line-height: 1.7;
}

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

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

.hero-rec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #12121F;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 106, 0.1);
  transition: border-color 0.2s, background 0.2s;
}

.hero-rec-item:hover {
  border-color: rgba(255, 77, 138, 0.35);
  background: #1A1A2A;
}

.hero-rec-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 45, 106, 0.2);
  color: #FF4D8A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-rec-text {
  font-size: 14px;
  color: #E8E8F0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    order: -1;
  }
  .hero-banner {
    min-height: 240px;
  }
  .hero-banner-fallback {
    min-height: 240px;
  }
  .hero-banner-fallback h2 {
    font-size: 28px;
  }
  .hero-title {
    font-size: 24px;
  }
}

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

.inspire-item {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 220px;
  transition: border-color 0.2s, transform 0.15s;
}

.inspire-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
  transform: translateY(-2px);
}

.inspire-name {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.inspire-desc {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.5;
}

/* 今日热点结构 */
.hot-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.hot-featured {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 18px;
  overflow: hidden;
  padding: 28px;
}

.hot-featured-type {
  display: inline-block;
  margin-bottom: 12px;
}

.hot-featured h3 {
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.4;
}

.hot-featured p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.75;
  margin-bottom: 16px;
}

.hot-featured-meta {
  font-size: 13px;
  color: #6B6B80;
  margin-bottom: 18px;
}

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

.hot-side-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #12121F;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 106, 0.1);
  transition: border-color 0.2s;
}

.hot-side-item:hover {
  border-color: rgba(255, 77, 138, 0.35);
}

.hot-side-item .num {
  font-size: 20px;
  font-weight: 700;
  color: #FF2D6A;
  min-width: 28px;
}

.hot-side-item h4 {
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hot-side-item p {
  font-size: 13px;
  color: #A0A0B8;
}

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

/* 横向轨道 */
.track-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #FF2D6A #1A1A2A;
}

.track-scroll::-webkit-scrollbar {
  height: 6px;
}

.track-scroll::-webkit-scrollbar-track {
  background: #1A1A2A;
  border-radius: 3px;
}

.track-scroll::-webkit-scrollbar-thumb {
  background: #FF2D6A;
  border-radius: 3px;
}

.track-card {
  flex: 0 0 260px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.15s;
}

.track-card:hover {
  border-color: rgba(255, 77, 138, 0.4);
  transform: translateY(-3px);
}

.track-card h4 {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.track-card p {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.6;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

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

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #12121F;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 106, 0.1);
  transition: border-color 0.2s;
}

.rank-item:hover {
  border-color: rgba(255, 77, 138, 0.35);
}

.rank-num {
  font-size: 28px;
  font-weight: 800;
  color: #FF2D6A;
  line-height: 1;
  min-width: 40px;
  background: linear-gradient(180deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rank-content h4 {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.rank-content p {
  font-size: 13px;
  color: #A0A0B8;
}

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

.calendar-item {
  flex: 0 0 200px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.calendar-status {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: rgba(123, 44, 191, 0.25);
  color: #9B4DFF;
}

.calendar-item h4 {
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.calendar-item p {
  font-size: 13px;
  color: #A0A0B8;
}

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

.magazine-grid .card:nth-child(odd) {
  transform: translateY(0);
}

.magazine-grid .card:nth-child(even) {
  margin-top: 32px;
}

@media (max-width: 800px) {
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .magazine-grid .card:nth-child(even) {
    margin-top: 0;
  }
}

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

.short-item {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.2s;
}

.short-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
}

.short-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 45, 106, 0.35);
  margin-bottom: 8px;
  line-height: 1;
}

.short-item h4 {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.short-item p {
  font-size: 13px;
  color: #A0A0B8;
}

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

/* 页内内容区 */
.page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.12);
  margin-bottom: 36px;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-hero .lead {
  font-size: 16px;
  color: #A0A0B8;
  max-width: 720px;
  line-height: 1.7;
}

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

.content-block h2 {
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.15);
}

.content-block h3 {
  font-size: 18px;
  color: #FFFFFF;
  margin: 20px 0 10px;
}

.content-block p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.8;
  margin-bottom: 14px;
}

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

.content-block ul li {
  list-style: disc;
  color: #C8C8D8;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ */
.faq-list details {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-list summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  color: #FF4D8A;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.75;
}

/* 图片占位 */
.img-placeholder {
  background: linear-gradient(145deg, #1A1A2A, #12121F);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B6B80;
  font-size: 14px;
  min-height: 180px;
  border: 1px solid rgba(255, 45, 106, 0.1);
}

.img-placeholder.wide {
  min-height: 280px;
}

.img-placeholder.tall {
  min-height: 320px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #05050A;
  color: #C8C8D8;
  padding: 56px 0 32px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 45, 106, 0.15);
}

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

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

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand-en {
  font-size: 13px;
  color: #6B6B80;
  margin-left: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #A0A0B8;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.footer-col h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #A0A0B8;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FF4D8A;
}

.footer-note {
  font-size: 13px;
  color: #6B6B80;
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 13px;
  color: #6B6B80;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* body scroll lock */
body.menu-open {
  overflow: hidden;
}

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

/* 工具类 */
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted { color: #A0A0B8; }
.text-light { color: #C8C8D8; }

/* 页面主体预留导航高度 */
main {
  min-height: 60vh;
}

/* 内页特殊布局辅助 */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.poster-item {
  background: #12121F;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 106, 0.1);
  transition: border-color 0.2s, transform 0.15s;
}

.poster-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
  transform: translateY(-3px);
}

.poster-item .poster-visual {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1A1A2A, #0B0B1A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B6B80;
  font-size: 13px;
}

.poster-item .poster-info {
  padding: 14px;
}

.poster-item h4 {
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.poster-item p {
  font-size: 12px;
  color: #A0A0B8;
}

/* 产品介绍式 APP 页 */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.app-hero-text h1 {
  font-size: 32px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.app-hero-text p {
  font-size: 15px;
  color: #A0A0B8;
  line-height: 1.8;
  margin-bottom: 24px;
}

.app-visual {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #1A1A2A, #12121F);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 45, 106, 0.15);
}

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

/* 品牌宣言 */
.brand-manifesto {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.15), rgba(230, 0, 92, 0.12));
  border: 1px solid rgba(255, 45, 106, 0.2);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
}

.brand-manifesto h2 {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.brand-manifesto p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
}

/* 联系卡片 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  padding: 24px;
}

.contact-card h3 {
  font-size: 17px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.7;
}

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