:root {
  --bg-main: #FFF5F8;
  --bg-card: #FFFFFF;
  --bg-card-trans: rgba(255, 255, 255, 0.85);
  --primary: #FFB6C1;
  --text-dark: #5C3A4F;
  --text-soft: #8E7583;
  --accent-blue: #B5D8F7;
  --accent-red: #FF6B81;
  --border-light: #FCE4EC;
  --shadow-soft: 0 12px 32px rgba(255, 182, 193, 0.2);
  --radius-lg: 32px;
  --radius-pill: 999px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 装饰元素 */
.deco-paw, .deco-star, .deco-bubble {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}
.deco-paw { width: 40px; height: 40px; fill: var(--primary); }
.deco-star { color: var(--accent-blue); font-size: 24px; }
.deco-bubble {
  width: 60px; height: 30px;
  border-radius: var(--radius-pill);
  background: var(--bg-card-trans);
  border: 2px solid var(--primary);
}

/* 导航栏 */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-card-trans);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(255,182,193,0.15);
  padding: 12px 24px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-area {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 900; color: var(--text-dark);
}
.logo-area img { height: 32px; width: auto; border-radius: 8px; }
.nav-links {
  display: flex; gap: 24px;
}
.nav-links a {
  color: var(--text-soft); font-weight: 600; transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-box {
  display: flex; align-items: center;
  background: var(--bg-main);
  border-radius: var(--radius-pill);
  padding: 6px 16px; border: 1px solid var(--border-light);
}
.search-box input {
  border: none; background: transparent; outline: none;
  font-size: 14px; color: var(--text-dark); width: 120px;
}
.search-box input::placeholder { color: var(--text-soft); }
.btn-download-small {
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  color: #fff; padding: 8px 20px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; transition: transform 0.2s;
}
.btn-download-small:hover { transform: scale(1.05); }

/* 主视觉 */
.hero {
  position: relative;
  max-width: 1200px; margin: 40px auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, #FFF5F8 0%, #FFE4EC 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: space-between;
  overflow: hidden;
}
.hero-content { flex: 1; max-width: 500px; position: relative; z-index: 2; }
.hero h1 {
  font-size: 3.5rem; font-weight: 900; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(255,182,193,0.3);
}
.hero-subtitle {
  font-size: 1.2rem; color: var(--text-soft); margin-bottom: 24px;
}
.hero-tags {
  display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap;
}
.hero-tag {
  background: var(--bg-card); padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 13px; color: var(--text-dark); font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,182,193,0.15);
}
.hero-buttons { display: flex; gap: 16px; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  color: #fff; padding: 14px 32px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 16px; transition: transform 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-secondary {
  background: var(--accent-blue); color: var(--text-dark);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 16px; transition: transform 0.2s;
}
.btn-hero-secondary:hover { transform: translateY(-2px); }
.hero-image {
  flex: 0 0 400px; position: relative; z-index: 2;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* 通用区块 */
.section {
  max-width: 1200px; margin: 80px auto; padding: 0 24px;
  position: relative;
}
.section-title {
  font-size: 2rem; font-weight: 900; color: var(--text-dark);
  margin-bottom: 40px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.section-title::before, .section-title::after {
  content: '✦'; color: var(--primary); font-size: 1.2rem;
}

/* 弹幕词云 */
.danmaku-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.danmaku-item {
  background: var(--bg-card); padding: 10px 24px; border-radius: var(--radius-pill);
  color: var(--text-dark); font-weight: 600; box-shadow: 0 4px 12px rgba(255,182,193,0.15);
  animation: float 3s ease-in-out infinite;
  transition: transform 0.2s;
}
.danmaku-item:hover { transform: scale(1.05); color: var(--accent-red); }
.danmaku-item:nth-child(2n) { animation-delay: 1s; }
.danmaku-item:nth-child(3n) { animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 数据卡片 */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: var(--bg-card); padding: 32px 24px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-soft);
}
.stat-value {
  font-size: 2rem; font-weight: 900; color: var(--primary);
  margin-bottom: 8px;
}
.stat-label { color: var(--text-dark); font-weight: 600; }

/* 追番小窝 */
.room-container {
  display: flex; gap: 32px; background: var(--bg-card-trans);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft);
}
.calendar-panel {
  flex: 0 0 240px; background: rgba(255, 182, 193, 0.1);
  border-radius: 24px; padding: 24px;
}
.calendar-title { text-align: center; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.calendar-days { display: flex; flex-direction: column; gap: 12px; }
.day-item {
  padding: 12px; border-radius: 16px; text-align: center; font-weight: 600;
  color: var(--text-soft); cursor: pointer; transition: all 0.3s;
}
.day-item:hover { background: var(--bg-card); color: var(--text-dark); }
.day-item.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(255,182,193,0.4); }
.room-content { flex: 1; }
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.anime-card {
  background: var(--bg-card); border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(255,182,193,0.15); position: relative;
}
.anime-card img { width: 100%; height: 280px; object-fit: cover; }
.anime-info { padding: 16px; }
.anime-title { font-weight: 800; color: var(--text-dark); font-size: 16px; margin-bottom: 4px; }
.anime-meta { font-size: 13px; color: var(--text-soft); }
.badge-hot {
  position: absolute; top: 12px; right: 12px; background: var(--accent-red);
  color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.countdown-tag {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9); color: var(--text-dark); font-size: 13px;
  font-weight: 800; padding: 6px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 网格展示区 */
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.poster-card {
  background: var(--bg-card); border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform 0.3s;
}
.poster-card:hover { transform: translateY(-8px); }
.poster-card img { width: 100%; height: 320px; object-fit: cover; }
.poster-info { padding: 16px; }
.poster-title { font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.poster-desc { font-size: 13px; color: var(--text-soft); }

/* 列表区 */
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.list-item {
  display: flex; gap: 16px; background: var(--bg-card); padding: 16px;
  border-radius: 24px; box-shadow: var(--shadow-soft);
}
.list-item img { width: 80px; height: 100px; object-fit: cover; border-radius: 12px; }
.list-text h3 { font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.list-text p { font-size: 13px; color: var(--text-soft); }

/* 常见问题 */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--bg-card); border-radius: 20px; padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}
.faq-q { font-weight: 800; color: var(--text-dark); margin-bottom: 8px; display: flex; justify-content: space-between; }
.faq-a { font-size: 14px; color: var(--text-soft); }

/* 底部下载区 */
.download-section {
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  border-radius: 40px; padding: 60px; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 60px; position: relative; overflow: hidden;
}
.download-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; }
.download-content p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.9; }
.btn-download-big {
  display: inline-block; background: #fff; color: var(--accent-red);
  padding: 16px 40px; border-radius: var(--radius-pill);
  font-weight: 900; font-size: 18px; transition: transform 0.2s;
}
.btn-download-big:hover { transform: scale(1.05); }
.download-image {
  flex: 0 0 300px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 页脚 */
.footer {
  background: var(--bg-main); padding: 40px 24px 60px;
  text-align: center; font-size: 13px; color: var(--text-soft);
  border-top: 1px solid var(--border-light);
  position: relative;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-weight: 800; color: var(--text-dark); }
.footer-logo img { height: 24px; }
.footer-links { margin-bottom: 16px; }
.footer-links a { margin: 0 12px; color: var(--text-soft); }
.footer-links a:hover { color: var(--text-dark); }
.copyright { margin-bottom: 8px; }
.beian a { color: var(--text-soft); }
.beian a:hover { color: var(--text-dark); }

/* 悬浮下载按钮 */
.float-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  background: linear-gradient(135deg, var(--primary), var(--accent-red));
  color: #fff; padding: 14px 24px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(255,107,129,0.4);
  animation: pulse 2s infinite; transition: transform 0.3s;
}
.float-btn:hover { transform: scale(1.05); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,129,0.4); }
  70% { box-shadow: 0 0 0 16px rgba(255,107,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,129,0); }
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .room-container { flex-direction: column; }
  .calendar-panel { flex: none; width: 100%; }
  .calendar-days { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .day-item { flex: 1 1 40px; }
  .download-section { flex-direction: column; text-align: center; gap: 40px; padding: 40px; }
  .download-image { flex: none; width: 100%; max-width: 300px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .search-box { display: none; }
  .hero { flex-direction: column; padding: 40px 24px; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-image { flex: none; width: 100%; margin-top: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .download-content h2 { font-size: 1.8rem; }
  .float-btn { padding: 12px 20px; font-size: 14px; }
}