:root {
  --bg: #06060a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-sub: #9AA0B2;
  --brand-yellow: #FFD54A;
  --brand-orange: #FFA000;
  --brand-cyan: #00E6A8;
  --brand-purple: #7C5CFF;
  --brand-pink: #FF5C8A;
  --radius-card: 20px;
  --radius-btn: 999px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  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-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 15% 30%, rgba(255, 213, 74, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 85% 60%, rgba(124, 92, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 50% 100%, rgba(0, 230, 168, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: rgba(6, 6, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: height 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  height: 60px;
  background: rgba(6, 6, 10, 0.85);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left img {
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--brand-yellow);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 6px 16px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  width: 120px;
}

.search-box input::placeholder {
  color: var(--text-sub);
}

.btn-download {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 213, 74, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 120px 4% 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--brand-yellow);
  border: 1px solid rgba(255, 213, 74, 0.3);
  background: rgba(255, 213, 74, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  transition: transform 0.2s;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--surface-hover);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #111;
  border-radius: 40px;
  border: 8px solid #222;
  box-shadow: 0 0 40px rgba(255, 213, 74, 0.1), inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.4s ease;
  overflow: hidden;
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.phone-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.phone-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.phone-desc {
  font-size: 12px;
  color: var(--text-sub);
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}

.float-card-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 20%;
  right: -10%;
  animation-delay: 2s;
}

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

/* Marquee */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 60px;
  font-size: 15px;
  color: var(--text-sub);
}

.marquee-item strong {
  color: var(--brand-yellow);
  font-size: 18px;
}

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

/* Sections General */
.section {
  padding: 80px 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
}

.section-desc {
  font-size: 15px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* Emotion Tabs */
.emotion-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.emotion-pill {
  padding: 8px 24px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.2s;
}

.emotion-pill:hover, .emotion-pill.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.emotion-pill[data-color="yellow"] { color: var(--brand-yellow); border-color: rgba(255, 213, 74, 0.3); }
.emotion-pill[data-color="pink"] { color: var(--brand-pink); border-color: rgba(255, 92, 138, 0.3); }
.emotion-pill[data-color="cyan"] { color: var(--brand-cyan); border-color: rgba(0, 230, 168, 0.3); }
.emotion-pill[data-color="purple"] { color: var(--brand-purple); border-color: rgba(124, 92, 255, 0.3); }

/* Drama Grid */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.drama-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.drama-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.drama-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(255, 213, 74, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
  color: #000;
}

.drama-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.drama-info {
  padding: 16px;
}

.drama-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drama-meta {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
}

/* Ranking Section */
.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}

.ranking-item:hover {
  background: var(--surface-hover);
  transform: translateX(8px);
}

.rank-num {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  width: 30px;
  text-align: center;
}

.rank-num.gold { color: #FFD700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.rank-num.silver { color: #C0C0C0; text-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
.rank-num.bronze { color: #CD7F32; text-shadow: 0 0 10px rgba(205, 127, 50, 0.3); }
.rank-num.normal { color: var(--text-sub); }

.rank-info {
  flex: 1;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.rank-tag {
  font-size: 12px;
  color: var(--text-sub);
}

.rank-heat {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.rank-heat-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  border-radius: 3px;
}

/* Tech Cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 74, 0.3);
}

.tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 213, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-yellow);
}

.tech-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tech-desc {
  font-size: 14px;
  color: var(--text-sub);
}

/* VIP Section */
.vip-section {
  padding: 80px 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.vip-card {
  background: linear-gradient(135deg, rgba(255, 213, 74, 0.15), rgba(255, 160, 0, 0.05));
  border: 1px solid rgba(255, 213, 74, 0.3);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.vip-content {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.vip-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--brand-yellow);
}

.vip-desc {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 32px;
}

.vip-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.vip-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.vip-feature::before {
  content: "✦";
  color: var(--brand-yellow);
}

.vip-btn {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  display: inline-block;
}

.vip-bg-icon {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  opacity: 0.05;
  pointer-events: none;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
}

.platform-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.platform-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 13px;
  color: var(--text-sub);
}

/* Download Section */
.download-section {
  padding: 100px 4%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 213, 74, 0.05) 0%, transparent 70%);
}

.download-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 20px;
}

.download-subtitle {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 32px;
  border-radius: 12px;
  transition: all 0.2s;
}

.store-btn:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.store-btn-text {
  text-align: left;
}

.store-btn-small {
  font-size: 11px;
  color: var(--text-sub);
}

.store-btn-large {
  font-size: 16px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 4% 20px;
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-sub);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-bottom a {
  color: var(--text-sub);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .hero-stats { gap: 24px; }
  .drama-grid, .tech-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: 1fr; gap: 40px; }
  .header-nav { display: none; }
  .vip-card { flex-direction: column; text-align: center; gap: 40px; }
  .vip-features { justify-content: center; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding-top: 100px; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-tag { margin: 0 auto 24px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .phone-mockup { width: 240px; height: 500px; transform: none; }
  .phone-mockup:hover { transform: translateY(-10px); }
  .float-card { display: none; }
  .drama-grid, .tech-grid, .platform-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .search-box { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: 0 auto; }
  .footer-logo { justify-content: center; }
  .store-buttons { flex-direction: column; align-items: center; }
  .vip-card { padding: 40px 20px; }
  .vip-features { grid-template-columns: 1fr; }
}