:root {
    --pink: #FF5C8A;
    --light-pink: #FFD6E7;
    --dark: #1A1A2E;
    --purple: #7B5CFF;
    --bg: #0D0D17;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #F4F4F9;
    --text-sub: #A0A0B8;
  }
  * { 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);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* Nav */
  .site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(13, 13, 23, 0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 92, 138, 0.2);
  }
  .nav-container {
    max-width: 1200px; margin: 0 auto; padding: 16px 24px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--light-pink); }
  .nav-logo img { height: 32px; border-radius: 8px; }
  .nav-menu { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
  .nav-menu a:hover { color: var(--pink); }
  .nav-actions { display: flex; gap: 16px; align-items: center; }
  .btn-login { padding: 8px 20px; border-radius: 20px; border: 1px solid var(--pink); color: var(--pink); font-size: 14px; box-shadow: 0 0 10px rgba(255,92,138,0.3); transition: 0.3s; }
  .btn-login:hover { background: var(--pink); color: #fff; box-shadow: 0 0 20px rgba(255,92,138,0.6); }

  /* Hero */
  .hero-section { padding: 140px 24px 60px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px; position: relative; }
  .hero-content { flex: 1; }
  .hero-title { font-size: 48px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; background: linear-gradient(90deg, #FFF, var(--light-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-subtitle { font-size: 18px; color: var(--text-sub); margin-bottom: 32px; }
  .hero-cta { display: flex; gap: 16px; }
  .btn-primary { padding: 14px 36px; border-radius: 30px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-size: 16px; font-weight: bold; box-shadow: 0 0 20px rgba(255,92,138,0.4); transition: 0.3s; animation: pulse 2s infinite; }
  .btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,92,138,0.8); }
  .hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
  .phone-mockup { width: 280px; height: 560px; border-radius: 40px; border: 8px solid #333; background: #000; overflow: hidden; box-shadow: 0 20px 50px rgba(255,92,138,0.2); position: relative; }
  .phone-mockup img { width: 100%; height: 100%; object-fit: cover; }

  /* Section Common */
  section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
  .section-title { font-size: 32px; text-align: center; margin-bottom: 12px; color: var(--light-pink); }
  .section-subtitle { text-align: center; color: var(--text-sub); margin-bottom: 48px; }

  /* Theater */
  .theater-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
  .drama-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; position: relative; }
  .drama-card:hover { transform: translateY(-8px); border-color: var(--pink); box-shadow: 0 10px 30px rgba(255,92,138,0.2); }
  .drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .drama-info { padding: 16px; }
  .drama-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drama-tag { font-size: 12px; color: var(--text-sub); display: flex; gap: 8px; }

  /* Rank List */
  .rank-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
  .rank-item { display: flex; align-items: center; gap: 20px; background: var(--card-bg); padding: 16px 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
  .rank-item:hover { background: rgba(255,255,255,0.08); }
  .rank-num { font-size: 24px; font-weight: 900; width: 40px; text-align: center; color: var(--text-sub); }
  .rank-item:nth-child(1) .rank-num { color: #FFD700; }
  .rank-item:nth-child(2) .rank-num { color: #C0C0C0; }
  .rank-item:nth-child(3) .rank-num { color: #CD7F32; }
  .rank-cover { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
  .rank-info { flex: 1; }
  .rank-name { font-size: 18px; font-weight: bold; }
  .rank-desc { font-size: 14px; color: var(--text-sub); }

  /* Features */
  .features-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature-card { background: linear-gradient(180deg, rgba(255,92,138,0.1), transparent); padding: 32px; border-radius: 20px; border: 1px solid rgba(255,92,138,0.2); text-align: center; }
  .feature-card h3 { font-size: 20px; color: var(--pink); margin-bottom: 12px; }
  .feature-card p { color: var(--text-sub); font-size: 15px; }

  /* Download */
  .download-section { text-align: center; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><circle cx="10%" cy="10%" r="20%" fill="%23FF5C8A" opacity="0.1"/><circle cx="90%" cy="90%" r="30%" fill="%237B5CFF" opacity="0.1"/></svg>') no-repeat center center; background-size: cover; border-radius: 32px; padding: 80px 24px; border: 1px solid rgba(255,92,138,0.3); }
  .btn-download { display: inline-block; padding: 18px 48px; border-radius: 40px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-size: 20px; font-weight: bold; box-shadow: 0 0 30px rgba(255,92,138,0.5); transition: 0.3s; }
  .btn-download:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(255,92,138,0.7); }

  /* Footer */
  .site-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 40px 24px; text-align: center; color: var(--text-sub); font-size: 14px; }
  .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
  .footer-links a:hover { color: var(--pink); }
  .update-time { font-size: 12px; color: #666; margin-top: 12px; }

  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,92,138,0.7); } 70% { box-shadow: 0 0 0 15px rgba(255,92,138,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,138,0); } }

  @media (max-width: 992px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-cta { justify-content: center; }
    .features-wrap { grid-template-columns: repeat(2, 1fr); }
    .nav-menu { display: none; }
  }
  @media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .features-wrap { grid-template-columns: 1fr; }
    .phone-mockup { width: 240px; height: 480px; }
    .theater-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-item { padding: 12px; gap: 12px; }
    .rank-cover { width: 48px; height: 64px; }
    .rank-name { font-size: 16px; }
    .footer-links { flex-wrap: wrap; }
  }