/* ============================================
   吃瓜网 - 全局样式表
   娱乐八卦杂志与明星动态社区
   ============================================ */

/* CSS变量定义 - 粉紫渐变主基调 */
:root {
  /* 主色调：充满激情与活力的玫红色 */
  --primary: #E91E63;
  /* 辅色调：神秘且富有层次感的紫色 */
  --secondary: #9C27B0;
  /* 背景色：纯净的白色 */
  --bg: #FFFFFF;
  /* 卡片背景色：极浅的粉色 */
  --card-bg: #FCE4EC;
  /* 强调色：深邃的紫红色 */
  --accent: #AD1457;
  /* 正文文字色：深灰色 */
  --text: #1A1A1A;
  /* 辅助文字色：中灰色 */
  --text-muted: #757575;
  /* 边框与分割线颜色 */
  --border-color: #EEEEEE;
  /* 渐变色预设 */
  --gradient-primary: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* ============ 头部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span {
  font-size: 0.7em;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 200px;
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-box .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.btn-login {
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* 热搜跑马灯 */
.trending-ticker {
  background: var(--gradient-primary);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-content span {
  display: inline-block;
  margin-right: 40px;
  font-size: 0.85rem;
}

.ticker-content span::before {
  content: '🔥';
  margin-right: 4px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ Hero轮播 ============ */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 40px 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.hero-overlay .tag {
  display: inline-block;
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-overlay h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 700px;
}

.hero-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 20px;
}

.btn-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
  color: #fff;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ============ 通用容器 ============ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* ============ 瀑布流卡片 ============ */
.masonry-grid {
  columns: 3;
  column-gap: 24px;
  padding: 40px 0;
}

.gossip-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.gossip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gossip-card:hover .card-img img {
  transform: scale(1.05);
}

.card-img {
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.card-img .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.card-body {
  padding: 16px 20px 20px;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-meta .views::before {
  content: '👁 ';
}

.card-meta .comments::before {
  content: '💬 ';
}

/* ============ 侧边栏 ============ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

.sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.hot-list {
  list-style: none;
}

.hot-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.hot-list .rank {
  width: 22px;
  height: 22px;
  background: var(--text-muted);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hot-list li:nth-child(1) .rank { background: #E91E63; }
.hot-list li:nth-child(2) .rank { background: #9C27B0; }
.hot-list li:nth-child(3) .rank { background: #AD1457; }

.hot-list .title {
  font-size: 0.85rem;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ 明星推荐 ============ */
.star-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.star-card {
  text-align: center;
  transition: var(--transition);
}

.star-card:hover {
  transform: translateY(-6px);
}

.star-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid transparent;
  background-image: var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-md);
}

.star-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.star-card .name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.star-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ 投票器 ============ */
.vote-widget {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.vote-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.vote-options {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.vote-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.vote-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.vote-btn.selected {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

.vote-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.vote-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* ============ 时间轴 ============ */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-content {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content .date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

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

/* ============ 排行榜 ============ */
.leaderboard {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.leaderboard-header {
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leaderboard-header h3 {
  font-size: 1.1rem;
}

.leaderboard-tabs {
  display: flex;
  gap: 8px;
}

.leaderboard-tabs button {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.leaderboard-tabs button.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.leaderboard-list {
  list-style: none;
  padding: 12px 24px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 14px;
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.leaderboard-item .position {
  font-size: 1.2rem;
  font-weight: 800;
  width: 30px;
  text-align: center;
  color: var(--text-muted);
}

.leaderboard-item:nth-child(1) .position { color: #FFD700; }
.leaderboard-item:nth-child(2) .position { color: #C0C0C0; }
.leaderboard-item:nth-child(3) .position { color: #CD7F32; }

.leaderboard-item .fan-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.leaderboard-item .fan-info {
  flex: 1;
}

.leaderboard-item .fan-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.leaderboard-item .fan-score {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.leaderboard-item .support-btn {
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

/* ============ 爆料提交框 ============ */
.tipoff-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  text-align: center;
}

.tipoff-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.tipoff-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.tipoff-form {
  max-width: 500px;
  margin: 0 auto;
}

.tipoff-form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 120px;
  margin-bottom: 16px;
}

.tipoff-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.btn-explode {
  padding: 14px 36px;
  background: linear-gradient(135deg, #ff6b6b, #E91E63);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}

.btn-explode:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(233, 30, 99, 0.6);
}

/* ============ 页脚 ============ */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-links h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
}

/* ============ 面包屑 ============ */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ============ 关系图谱 ============ */
.relationship-graph {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.graph-canvas {
  width: 100%;
  height: 400px;
  position: relative;
}

.graph-node {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.graph-node:hover {
  transform: scale(1.2);
  z-index: 10;
}

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

/* ============ APP下载页 ============ */
.app-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: #fff;
}

.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.app-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 40px;
}

.app-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.app-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.download-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.download-btn.ios {
  background: #000;
  color: #fff;
}

.download-btn.android {
  background: #fff;
  color: #1a1a1a;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============ 404页面 ============ */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.page-404 img {
  max-width: 300px;
  margin-bottom: 30px;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

/* ============ 搜索页 ============ */
.search-page-header {
  background: var(--card-bg);
  padding: 40px 0;
  text-align: center;
}

.search-page-input {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-page-input input {
  width: 100%;
  padding: 16px 50px 16px 24px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  font-size: 1rem;
  outline: none;
}

.search-highlight {
  background: rgba(233, 30, 99, 0.15);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* ============ 杂志排版 ============ */
.magazine-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.magazine-article h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.magazine-article .lead {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 500;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 24px;
}

.magazine-article p {
  margin-bottom: 1.2em;
  line-height: 1.8;
}

.magazine-article blockquote {
  background: var(--card-bg);
  border-left: 4px solid var(--secondary);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* ============ 响应式设计 ============ */
@media (max-width: 1024px) {
  .masonry-grid {
    columns: 2;
  }
  .star-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .header-inner {
    height: 60px;
  }
  .main-nav {
    display: none;
  }
  .hero-section {
    height: 50vh;
    min-height: 350px;
  }
  .hero-overlay h2 {
    font-size: 1.6rem;
  }
  .masonry-grid {
    columns: 1;
  }
  .star-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .star-card .avatar {
    width: 80px;
    height: 80px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
  .timeline-item:nth-child(even) {
    margin-left: 0;
  }
  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }
  .download-btns {
    flex-direction: column;
    align-items: center;
  }
  .app-content h1 {
    font-size: 2rem;
  }
}

/* ============ 骨架屏 ============ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ 动画 ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 点赞动画 */
.like-animation {
  animation: like-pop 0.4s ease;
}

@keyframes like-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* 汉堡菜单 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}
