:root {
  --bg-space: #05060A;
  --jelly-yellow: #FFD84D;
  --warm-orange: #FFA51F;
  --neon-cyan: #00F0C8;
  --holo-purple: #8A6CFF;
  --text-main: #FFFFFF;
  --text-muted: #A7ACBB;
  --pod-bg: rgba(255, 255, 255, 0.03);
  --pod-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-space);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(0, 240, 200, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 216, 77, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 20px 0;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(5, 6, 10, 0.75);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--pod-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}
.logo-area img { height: 32px; width: auto; }
.main-nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--text-muted);
}
.main-nav a { transition: var(--transition); }
.main-nav a:hover { color: var(--jelly-yellow); text-shadow: 0 0 10px rgba(255,216,77,0.5); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.search-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pod-border);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}
.download-btn {
  background: linear-gradient(135deg, var(--jelly-yellow), var(--warm-orange));
  color: #000;
  font-weight: bold;
  padding: 8px 24px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.download-btn:hover {
  box-shadow: 0 4px 15px rgba(255, 216, 77, 0.4);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 240, 200, 0.1);
  color: var(--neon-cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 240, 200, 0.3);
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.brand-highlight {
  background: linear-gradient(90deg, var(--jelly-yellow), var(--warm-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; }
.btn-primary, .btn-secondary {
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--jelly-yellow), var(--warm-orange));
  color: #000;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--pod-border);
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(255, 216, 77, 0.3); transform: translateY(-2px); }
.btn-secondary:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 240, 200, 0.05); }
.hero-stats { display: flex; gap: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-val { font-size: 28px; font-weight: 800; color: var(--text-main); font-family: monospace; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* Hero Right: Shell Pod */
.hero-device {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.shell-pod {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,108,255,0.1) 0%, transparent 70%);
  border: 1px solid rgba(0, 240, 200, 0.2);
  box-shadow: 0 0 60px rgba(0, 240, 200, 0.1), inset 0 0 40px rgba(0, 240, 200, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}
.energy-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 216, 77, 0.3);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
.phone-mockup {
  width: 200px;
  height: 420px;
  background: #111;
  border-radius: 32px;
  border: 4px solid #333;
  overflow: hidden;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: var(--transition);
}
.phone-mockup:hover { transform: translateY(-10px) scale(1.02); }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 200, 0.3);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--neon-cyan);
  animation: float 4s ease-in-out infinite;
  z-index: 20;
}
.fc-1 { top: 10%; right: 0; animation-delay: 0s; }
.fc-2 { bottom: 15%; left: 0; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Marathon Track */
.marquee-track {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--pod-border);
  border-bottom: 1px solid var(--pod-border);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-content {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.track-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.track-val { color: var(--jelly-yellow); font-weight: bold; font-size: 16px; }

/* Shared Sections */
section { padding: 80px 0; position: relative; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--text-muted); font-size: 16px; margin-bottom: 40px; }

/* Emotion Categories */
.emotion-channels { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.channel-pill {
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pod-border);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.channel-pill:hover, .channel-pill.active {
  background: linear-gradient(135deg, var(--jelly-yellow), var(--warm-orange));
  color: #000;
  border-color: transparent;
}

/* Grid Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.drama-card {
  background: var(--pod-bg);
  border: 1px solid var(--pod-border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.drama-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 200, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.drama-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--jelly-yellow);
  padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: bold;
}
.card-info { padding: 16px; }
.card-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* Ranking Track */
.ranking-list { display: flex; flex-direction: column; gap: 16px; }
.rank-item {
  display: flex; align-items: center; gap: 24px;
  background: var(--pod-bg); border: 1px solid var(--pod-border); border-radius: 20px; padding: 16px;
  transition: var(--transition);
}
.rank-item:hover {
  transform: translateX(10px);
  border-left: 4px solid var(--jelly-yellow);
  background: rgba(255, 255, 255, 0.06);
}
.rank-num { font-size: 24px; font-weight: 900; width: 40px; text-align: center; color: var(--text-muted); }
.rank-1 .rank-num { color: var(--jelly-yellow); text-shadow: 0 0 10px rgba(255,216,77,0.4); }
.rank-2 .rank-num { color: #ccc; }
.rank-3 .rank-num { color: #cd7f32; }
.rank-info { flex: 1; }
.rank-title { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
.rank-tags { font-size: 13px; color: var(--text-muted); }
.rank-heat { width: 200px; display: flex; align-items: center; gap: 12px; }
.heat-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--neon-cyan), var(--jelly-yellow)); border-radius: 3px; }
.heat-val { font-size: 12px; color: var(--jelly-yellow); font-weight: bold; width: 40px; text-align: right; }

/* Horizontal Scroll */
.scroll-row {
  display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px;
  scrollbar-width: thin; scrollbar-color: var(--pod-border) transparent;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--pod-border); border-radius: 3px; }
.scroll-row .drama-card { min-width: 220px; }

/* VIP Section */
.vip-section {
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.15), rgba(255, 165, 31, 0.05));
  border: 1px solid rgba(255, 216, 77, 0.3);
  border-radius: 32px; padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.vip-title { font-size: 36px; font-weight: 900; color: var(--jelly-yellow); margin-bottom: 16px; }
.vip-desc { font-size: 16px; color: var(--text-main); margin-bottom: 32px; opacity: 0.9; }

/* Platform Grid */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.platform-card {
  background: var(--pod-bg); border: 1px solid var(--pod-border); border-radius: 24px; padding: 32px 24px; transition: var(--transition);
}
.platform-card:hover { border-color: var(--neon-cyan); background: rgba(0, 240, 200, 0.05); }

/* Download Section */
.download-section {
  text-align: center; padding: 100px 0; background: radial-gradient(circle at center, rgba(255, 216, 77, 0.05) 0%, transparent 60%);
}
.download-title { font-size: 48px; font-weight: 900; margin-bottom: 24px; }
.download-btns { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--pod-border); background: #020306; padding: 60px 0 24px;
}
.footer-grid { 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-col h4 { font-size: 16px; font-weight: bold; margin-bottom: 20px; color: var(--text-main); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--jelly-yellow); }
.footer-bottom {
  border-top: 1px solid var(--pod-border); padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted);
}
.update-time { font-size: 12px; color: rgba(167, 172, 187, 0.6); margin-top: 8px; display: block; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .hero-device { transform: scale(0.85); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; flex-direction: column; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-device { height: 400px; transform: scale(0.7); margin-top: -40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .download-title { font-size: 32px; }
  .download-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; }
  .rank-heat { display: none; }
  .vip-section { padding: 40px 20px; }
  .search-box { display: none; }
  .header-actions { gap: 8px; }
  .download-btn { padding: 6px 16px; font-size: 14px; }
}