/* 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;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  color: #E8E8F0;
}

.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(16px);
  -webkit-backdrop-filter: blur(16px);
  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;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

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

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-start;
  margin-left: 20px;
}

.desktop-nav a {
  color: #A0A0B8;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.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.2);
  box-shadow: inset 0 -2px 0 #FF2D6A;
}

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

.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #E8E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 45, 106, 0.18);
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 45, 106, 0.15);
  color: #FF4D8A;
  border-color: rgba(255, 77, 138, 0.45);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 45, 106, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 45, 106, 0.35);
  color: #FFFFFF !important;
}

.btn-list {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 77, 138, 0.45);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-list:hover {
  background: rgba(255, 77, 138, 0.15);
  border-color: #FF4D8A;
}

.mobile-menu-btn,
.mobile-app-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #E8E8F0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 45, 106, 0.2);
}

.mobile-menu-btn svg,
.mobile-app-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mobile-logo {
  display: none;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .btn-list {
    display: none;
  }
  .mobile-menu-btn,
  .mobile-app-btn {
    display: flex;
  }
  .mobile-logo {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-inner {
    position: relative;
    justify-content: space-between;
  }
  .logo-link.desktop-logo {
    display: none;
  }
  .header-actions .icon-btn.search-trigger {
    display: none;
  }
}

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

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

.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 88vw;
  height: 100%;
  background: #12121F;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 45, 106, 0.18);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
}

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

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.15);
  flex-shrink: 0;
}

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

.panel-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #E8E8F0;
}

.panel-close:hover {
  background: rgba(255, 45, 106, 0.2);
  color: #FF4D8A;
}

.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: #6B6B80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.panel-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 0.2s ease;
  border: 1px solid transparent;
}

.panel-item:hover {
  background: rgba(255, 45, 106, 0.1);
  border-color: rgba(255, 45, 106, 0.2);
}

.panel-item-name {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.panel-item-desc {
  display: block;
  color: #A0A0B8;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #12121F;
  z-index: 1050;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255, 45, 106, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

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

.search-inner {
  max-width: 900px;
  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%;
  height: 48px;
  padding: 0 48px 0 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 77, 138, 0.35);
  background: #1A1A2A;
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #FF4D8A;
}

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

.search-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #E8E8F0;
  flex-shrink: 0;
}

.search-section-title {
  font-size: 0.85rem;
  color: #6B6B80;
  margin-bottom: 12px;
  font-weight: 600;
}

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

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

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

.search-results {
  display: none;
}

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

.search-result-item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #E8E8F0;
  margin-bottom: 4px;
}

.search-result-item:hover {
  background: rgba(255, 45, 106, 0.1);
}

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

/* ========== 手机底部导航 ========== */
.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);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 45, 106, 0.18);
  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;
  flex: 1;
  height: 48px;
  color: #A0A0B8;
  font-size: 0.7rem;
  gap: 2px;
  min-width: 0;
}

.mobile-bottom-nav a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

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

/* ========== 通用按钮 ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(255, 45, 106, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 44px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 45, 106, 0.32);
  color: #FFFFFF !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 77, 138, 0.45);
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  transition: all 0.2s;
  min-width: 44px;
}

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

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

.channel-bar-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
}

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

.channel-bar a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 18px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.15);
  color: #A0A0B8;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all 0.2s;
}

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

/* ========== 首页首屏 ========== */
.hero {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #0B0B1A 0%, #12121F 100%);
}

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

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  background: #1A1A2A;
  aspect-ratio: 16 / 10;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

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

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

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

.hero-fallback-sub {
  color: #A0A0B8;
  font-size: 1rem;
}

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

.hero-brand {
  font-size: 0.95rem;
  color: #FF4D8A;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  line-height: 1.3;
}

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

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

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

.hero-rec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.12);
  color: #E8E8F0;
  font-size: 0.92rem;
  transition: all 0.2s;
}

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

.hero-rec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF4D8A, #7B2CBF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFF;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
    aspect-ratio: 16 / 9;
  }
  .hero-content {
    order: 1;
  }
}

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

.section-alt {
  background: #080812;
}

.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, 2.8vw, 1.7rem);
}

.section-more {
  color: #FF4D8A;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

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

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

.card:hover {
  border-color: rgba(255, 77, 138, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.card-body {
  padding: 20px;
}

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

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

.card-text {
  color: #A0A0B8;
  font-size: 0.92rem;
  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: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

.inspire-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
  background: #222233;
}

.inspire-name {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
}

.inspire-desc {
  color: #A0A0B8;
  font-size: 0.82rem;
  line-height: 1.45;
}

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

.hot-main-card {
  background: #12121F;
  border-radius: 18px;
  border: 1px solid rgba(255, 45, 106, 0.15);
  padding: 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

.hot-side-item {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.1);
  transition: all 0.2s;
}

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

.hot-side-type {
  font-size: 0.78rem;
  color: #FF4D8A;
  font-weight: 600;
  margin-bottom: 4px;
}

.hot-side-title {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.98rem;
}

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

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

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

.track::-webkit-scrollbar-thumb {
  background: rgba(255, 45, 106, 0.3);
  border-radius: 3px;
}

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

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

/* 编号列表 */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.num-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF4D8A, #7B2CBF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFF;
  flex-shrink: 0;
}

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

.rank-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.1);
}

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

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

.calendar-card {
  flex: 0 0 200px;
  background: #1A1A2A;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 106, 0.15);
  padding: 18px;
}

.calendar-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-published {
  background: rgba(155, 77, 255, 0.2);
  color: #9B4DFF;
}

.status-progress {
  background: rgba(255, 77, 138, 0.2);
  color: #FF4D8A;
}

.status-pending {
  background: rgba(160, 160, 184, 0.2);
  color: #A0A0B8;
}

/* 页脚 */
.site-footer {
  background: #05050A;
  color: #C8C8D8;
  padding: 50px 0 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 45, 106, 0.12);
}

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

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

.footer-brand-en {
  font-size: 0.85rem;
  color: #6B6B80;
  letter-spacing: 0.1em;
}

.footer-desc {
  color: #A0A0B8;
  font-size: 0.9rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

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

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

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

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

.footer-notice {
  font-size: 0.85rem;
  color: #6B6B80;
  line-height: 1.65;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #6B6B80;
  text-align: center;
}

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

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

/* 内页通用 */
.page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #12121F 0%, #0B0B1A 100%);
  border-bottom: 1px solid rgba(255, 45, 106, 0.1);
}

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

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

.page-content {
  padding: 40px 0 60px;
}

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

.content-block h2 {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.15);
}

.content-block p {
  margin-bottom: 1rem;
}

.prose {
  max-width: 820px;
}

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

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

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #FFFFFF;
  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: 1.3rem;
  color: #FF4D8A;
  font-weight: 400;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  color: #A0A0B8;
  margin: 0;
  line-height: 1.7;
}

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

.magazine-grid .wide {
  grid-column: 1 / -1;
}

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

/* 片单收藏册 */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

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

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

/* APP 页 */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-visual {
  border-radius: 24px;
  overflow: hidden;
  background: #1A1A2A;
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(255, 45, 106, 0.2);
}

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

.app-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1A1A2A, #2A1535, #FF2D6A);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

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

/* 工具类 */
.text-muted {
  color: #A0A0B8;
}

.text-dim {
  color: #6B6B80;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.tag-pink {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255, 45, 106, 0.15);
  color: #FF4D8A;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-purple {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(123, 44, 191, 0.2);
  color: #9B4DFF;
  font-size: 0.78rem;
  font-weight: 600;
}

/* 减少动画 */
@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;
  }
}

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

/* 主内容区顶部留白，避免被导航遮挡 */
main {
  min-height: 60vh;
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid #FF4D8A;
  outline-offset: 3px;
}

/* 装饰光晕（不挡文字） */
.glow-pink {
  position: relative;
}

.glow-pink::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 45, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  top: -40px;
  right: -40px;
}
