:root {
  --bg: #06060a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --yellow: #FFD54A;
  --orange: #FFA000;
  --cyan: #00E6A8;
  --purple: #7C5CFF;
  --pink: #FF5C8A;
  --text: #FFFFFF;
  --muted: #9AA0B2;
  --gradient-brand: linear-gradient(135deg, #FFD54A 0%, #FFA000 100%);
  --gradient-text: linear-gradient(135deg, #FFD54A 0%, #FFA000 100%);
  --radius-card: 20px;
  --radius-pill: 999px;
  --transition: 0.3s ease;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 背景与装饰 */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}
.bg-glows {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.glow-1, .glow-2, .glow-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.glow-1 { width: 600px; height: 600px; background: var(--yellow); top: -200px; left: -100px; }
.glow-2 { width: 500px; height: 500px; background: var(--purple); top: 30%; right: -200px; }
.glow-3 { width: 400px; height: 400px; background: var(--cyan); bottom: 10%; left: 20%; }

/* 通用容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 12px 28px;
  font-size: 15px;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 213, 74, 0.3);
}
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.2);
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  background: transparent;
  padding: 20px 0;
}
.header.scrolled {
  background: rgba(6,6,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}
.logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--yellow); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-box {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1024px) {
  .search-box { display: flex; }
}
.search-box input {
  background: none;
  border: none;
  color: var(--text);
  outline: none;
  font-size: 14px;
  width: 120px;
}
.search-box input::placeholder { color: var(--muted); }

/* 下拉菜单 */
.dropdown-wrap {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transform-origin: top right;
  transition: var(--transition);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dropdown-item {
  display: block;
  padding: 12px;
  border-radius: 10px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--surface-hover); }
.dropdown-item strong { display: block; font-size: 15px; color: var(--text); }
.dropdown-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.dropdown-item .tag { font-size: 11px; background: rgba(255,213,74,0.2); color: var(--yellow); padding: 2px 6px; border-radius: 4px; display: inline-block; margin-top: 6px; }

/* 首屏 Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.hero-content {
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,213,74,0.1);
  border: 1px solid rgba(255,213,74,0.3);
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .hero-title { font-size: 64px; }
}
.hero-title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.stat-num span { color: var(--yellow); font-size: 20px; }
.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* 手机样机 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #111;
  border-radius: 40px;
  border: 8px solid #222;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.8);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
  overflow: hidden;
  z-index: 2;
}
.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-screen .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-brand);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.phone-danmaku {
  position: absolute;
  top: 40%;
  left: 10%;
  background: rgba(0,0,0,0.6);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(4px);
  animation: float 4s ease-in-out infinite;
}

/* 悬浮卡片 */
.float-card {
  position: absolute;
  background: rgba(20,20,25,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.float-card.heat {
  top: 10%;
  right: 0%;
  animation-delay: 0s;
}
.float-card.ai {
  bottom: 20%;
  left: -5%;
  animation-delay: 1.5s;
}
.float-card-title {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.float-card-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 6px;
}
.float-card-val.cyan { color: var(--cyan); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 跑马灯 */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  margin: 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.marquee-item strong { color: var(--text); margin-left: 8px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 通用区块 */
.section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 48px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
}

/* 情绪胶囊 */
.mood-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.mood-pill {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
}
.mood-pill.active, .mood-pill:hover {
  background: var(--surface-hover);
  border-color: var(--yellow);
  color: var(--yellow);
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .mood-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 剧集卡片 */
.drama-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.drama-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,213,74,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.drama-poster {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.drama-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.drama-card:hover .drama-poster img {
  transform: scale(1.05);
}
.drama-info {
  padding: 16px;
}
.drama-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.drama-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-brand);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}
.drama-hot {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 榜单 */
.rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .rank-grid { grid-template-columns: 1fr 1fr; }
}
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.rank-item:hover {
  background: var(--surface-hover);
  transform: translateX(8px);
  border-left: 4px solid var(--yellow);
}
.rank-num {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  width: 40px;
  text-align: center;
  margin-right: 16px;
}
.rank-num.gold { color: #FFD700; text-shadow: 0 0 10px rgba(255,215,0,0.4); }
.rank-num.silver { color: #C0C0C0; text-shadow: 0 0 10px rgba(192,192,192,0.4); }
.rank-num.bronze { color: #CD7F32; text-shadow: 0 0 10px rgba(205,127,50,0.4); }
.rank-num.normal { color: var(--muted); }
.rank-info {
  flex: 1;
}
.rank-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.rank-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}
.rank-heat-bar {
  width: 80px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.rank-heat-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
}

/* 科技特色 */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.tech-card:hover {
  border-color: rgba(255,213,74,0.3);
  background: var(--surface-hover);
}
.tech-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--yellow);
  filter: blur(60px);
  opacity: 0.1;
  border-radius: 50%;
}
.tech-card.cyan::before { background: var(--cyan); }
.tech-card.purple::before { background: var(--purple); }
.tech-card.pink::before { background: var(--pink); }
.tech-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
  background: var(--surface);
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.tech-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.tech-desc {
  font-size: 14px;
  color: var(--muted);
}

/* 独家自制横向滚动 */
.scroll-x {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--surface-hover); border-radius: 3px; }
.scroll-x .drama-card {
  min-width: 200px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .scroll-x .drama-card { min-width: 240px; }
}

/* VIP 专区 */
.vip-card {
  background: linear-gradient(135deg, rgba(255,213,74,0.1) 0%, rgba(255,160,0,0.05) 100%);
  border: 1px solid rgba(255,213,74,0.2);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .vip-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 60px; }
}
.vip-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--yellow);
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 50%;
}
.vip-content h3 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
}
.vip-content h3 span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vip-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.vip-list li {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vip-list li::before {
  content: '✓';
  color: var(--yellow);
  font-weight: bold;
}

/* 全端同步 */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
}
.platform-card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
  border-color: rgba(255,213,74,0.3);
}
.platform-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.platform-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.platform-card p {
  font-size: 13px;
  color: var(--muted);
}

/* 下载 CTA */
.download-section {
  padding: 80px 0;
  text-align: center;
}
.download-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.download-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}
.download-title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.download-desc {
  color: var(--muted);
  margin-bottom: 40px;
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition);
}
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}
.download-btn.dark {
  background: #222;
  color: #fff;
  border: 1px solid #444;
}
.download-btn svg {
  width: 24px;
  height: 24px;
}
.qr-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(0,0,0,0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: rgba(0,0,0,0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--muted);
  font-size: 14px;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--yellow);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom a {
  color: var(--muted);
  transition: var(--transition);
}
.footer-bottom a:hover {
  color: var(--text);
}
.time-info {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* 动画类 */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }