:root {
  --bg-mist: #f4f7f9;
  --bg-ice: #e6f0f5;
  --mint: #6ee7b7;
  --coral: #fb923c;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.9);
  --prism-shadow: 0 8px 32px rgba(110, 231, 183, 0.15), 0 4px 16px rgba(251, 146, 60, 0.08);
  --radius-card: 24px;
  --radius-btn: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-mist) 0%, var(--bg-ice) 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(110,231,183,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(251,146,60,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* 通用磨砂玻璃 */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--prism-shadow);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 16px 5%;
}
.site-header.scrolled {
  padding: 8px 5%;
  background: rgba(244, 247, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s;
}
.main-nav a:hover {
  color: var(--coral);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-box {
  position: relative;
}
.search-box input {
  padding: 10px 16px 10px 36px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.6);
  font-size: 14px;
  outline: none;
  width: 200px;
  transition: all 0.3s;
}
.search-box input:focus {
  width: 240px;
  background: #fff;
  border-color: var(--mint);
}
.search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.6;
}
.download-dropdown-wrap {
  position: relative;
}
.btn-download-primary {
  background: linear-gradient(135deg, var(--mint), var(--coral));
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
  transition: transform 0.2s;
}
.btn-download-primary:hover {
  transform: translateY(-2px);
}
.download-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  transform-origin: top right;
  z-index: 101;
}
.download-panel.active {
  display: flex;
  animation: scaleIn 0.3s ease forwards;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.download-panel h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.download-link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.8);
  font-weight: 500;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: #fff;
  border-color: var(--mint);
  color: var(--coral);
}
.panel-info {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(110, 231, 183, 0.1);
  padding: 12px;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 60px;
  position: relative;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-content {
  max-width: 540px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(110, 231, 183, 0.2);
  color: #059669;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
}
.hero h1 .brand-highlight {
  background: linear-gradient(135deg, #059669, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 核心装置：棱镜切片光盒 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  perspective: 1000px;
}
.light-box {
  position: relative;
  width: 320px;
  height: 640px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 80px rgba(110, 231, 183, 0.2), inset 0 0 40px rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.phone-mockup {
  width: 280px;
  height: 580px;
  background: #1e293b;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prism-slice {
  position: absolute;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(110, 231, 183, 0.15);
}
.slice-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  right: -10%;
  transform: rotate(15deg);
  background: linear-gradient(135deg, rgba(110,231,183,0.3), rgba(255,255,255,0.1));
}
.slice-2 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: -15%;
  transform: rotate(-20deg);
  background: linear-gradient(135deg, rgba(251,146,60,0.3), rgba(255,255,255,0.1));
}
.slice-3 {
  width: 150px;
  height: 60px;
  top: 30%;
  left: -20%;
  transform: rotate(45deg);
}
.data-chip {
  position: absolute;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  animation: float 4s ease-in-out infinite;
  z-index: 3;
}
.chip-1 { top: 15%; left: -5%; animation-delay: 0s; }
.chip-2 { bottom: 20%; right: -5%; animation-delay: 1s; }
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border: 1px dashed rgba(110, 231, 183, 0.5);
  border-radius: 50%;
  z-index: 1;
}
.orbit-ring::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 12px; height: 12px;
  background: var(--coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--coral);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* General Section Styles */
.section {
  padding: 100px 5%;
  position: relative;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 瀑布流频道区 */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.masonry-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.filter-slice {
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.filter-slice:hover, .filter-slice.active {
  background: #fff;
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.2);
  color: var(--coral);
}
.drama-card {
  background: var(--glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: transform 0.3s;
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--prism-shadow);
}
.card-cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  position: relative;
}
.card-info {
  padding: 16px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.heat-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.heat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--coral));
  border-radius: 2px;
}

/* 蜂巢榜单区 */
.honeycomb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}
.honeycomb-item {
  width: 200px;
  height: 230px;
  background: var(--glass);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s;
  position: relative;
}
.honeycomb-item:hover {
  transform: translateY(-10px);
  filter: drop-shadow(0 10px 20px rgba(110, 231, 183, 0.3));
}
.honeycomb-item .rank {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.honeycomb-item:nth-child(1) .rank { color: #fbbf24; } /* 金 */
.honeycomb-item:nth-child(2) .rank { color: #94a3b8; } /* 银 */
.honeycomb-item:nth-child(3) .rank { color: #d97706; } /* 铜 */
.honeycomb-cover {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
}
.honeycomb-title {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* 错层悬浮窗 */
.staggered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
.staggered-grid > div:nth-child(even) {
  margin-top: 40px;
}
.float-card {
  background: var(--glass);
  border-radius: var(--radius-card);
  padding: 12px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.float-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--prism-shadow);
}
.float-cover {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* 特色区 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--glass);
  padding: 32px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.3s;
  transform: rotate(-2deg);
}
.feature-card:nth-child(even) {
  transform: rotate(2deg);
}
.feature-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: var(--prism-shadow);
  border-color: var(--mint);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* 下载区 */
.download-section {
  padding: 80px 5%;
}
.download-box {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--glass);
  border-radius: 32px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  box-shadow: var(--prism-shadow);
}
.download-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.download-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.download-buttons {
  display: flex;
  gap: 16px;
}
.qr-box {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

/* Footer */
.site-footer {
  background: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.8);
  padding: 60px 5% 30px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}
.footer-links h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-main);
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--coral);
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { transform: scale(0.9); }
  .main-nav { display: none; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .staggered-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download-box { flex-direction: column; text-align: center; gap: 40px; padding: 40px; }
  .download-buttons { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero-visual { transform: scale(0.7); height: 400px; }
  .masonry-grid { grid-template-columns: 1fr; }
  .staggered-grid { grid-template-columns: 1fr; }
  .staggered-grid > div:nth-child(even) { margin-top: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .honeycomb-grid { gap: 8px; }
  .honeycomb-item { width: 140px; height: 160px; }
  .search-box { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}