:root {
    --bg-gradient: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #f8fbff 100%);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --text-main: #1f2937;
    --text-light: #4b5563;
    --mint: #34d399;
    --coral: #fb7185;
    --blue: #60a5fa;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.05);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Header */
  .main-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.5);
  }
  .main-header.scrolled {
    height: 60px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: #111; }
  .brand img { height: 32px; border-radius: 8px; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 15px; transition: color 0.2s; }
  .nav-links a:hover { color: var(--blue); }
  .header-right { display: flex; align-items: center; gap: 16px; }
  .search-box {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
  }
  .search-box input { border: none; background: transparent; outline: none; font-size: 14px; width: 120px; color: var(--text-main); }
  .btn-download {
    background: linear-gradient(135deg, var(--mint), #10b981);
    color: #fff; border: none; border-radius: var(--radius-pill);
    padding: 10px 24px; font-weight: 600; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-download:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
  
  /* Hero */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 5% 60px;
    position: relative;
    overflow: hidden;
  }
  .hero-content { flex: 1; max-width: 560px; z-index: 2; }
  .hero h1 { font-size: 52px; line-height: 1.2; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; }
  .hero h1 span { background: linear-gradient(135deg, var(--blue), var(--mint)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hero p { font-size: 18px; color: var(--text-light); margin-bottom: 32px; }
  .hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }
  .btn-primary {
    background: linear-gradient(135deg, #fb7185, #f43f5e);
    color: #fff; text-decoration: none; border-radius: var(--radius-pill);
    padding: 16px 36px; font-size: 18px; font-weight: 600;
    transition: all 0.3s; box-shadow: 0 8px 24px rgba(244, 63, 94, 0.2);
    display: inline-block;
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(244, 63, 94, 0.3); }
  
  .stats-group { display: flex; gap: 32px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px; }
  .stat-item h4 { font-size: 24px; font-weight: 700; color: var(--blue); }
  .stat-item p { font-size: 13px; color: var(--text-light); margin: 0; }

  .hero-visual {
    flex: 1; display: flex; justify-content: center; align-items: center;
    position: relative;
  }
  .prism-box {
    width: 320px; height: 640px;
    background: rgba(255,255,255,0.3);
    border-radius: 40px;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.15), inset 0 0 40px rgba(255,255,255,0.5);
    position: relative;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(10px);
  }
  .prism-box::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 48px;
    background: linear-gradient(45deg, rgba(52, 211, 153, 0.2), rgba(251, 113, 133, 0.2));
    z-index: -1; filter: blur(20px);
  }
  .phone-mockup {
    width: 260px; height: 540px;
    background: #fff; border-radius: 32px;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
  }
  .phone-mockup img { width: 100%; height: 100%; object-fit: cover; }
  
  /* Sections Common */
  section { padding: 80px 5%; }
  .sec-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; text-align: center; }
  .sec-desc { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 16px; }

  /* Channel Waterfall */
  .waterfall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .col { display: flex; flex-direction: column; gap: 20px; }
  .filter-slice {
    background: rgba(255,255,255,0.5); backdrop-filter: blur(10px);
    border-radius: var(--radius-md); padding: 16px; text-align: center;
    font-weight: 600; border: 1px solid var(--glass-border);
    transition: all 0.3s;
  }
  .filter-slice:hover { background: rgba(255,255,255,0.8); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
  .drama-card {
    background: var(--glass-bg); border-radius: var(--radius-lg);
    padding: 12px; border: 1px solid var(--glass-border);
    transition: all 0.3s; position: relative; overflow: hidden;
  }
  .drama-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
  .card-cover { width: 100%; border-radius: var(--radius-md); aspect-ratio: 3/4; object-fit: cover; margin-bottom: 12px; }
  .card-info h3 { font-size: 16px; margin-bottom: 4px; }
  .card-info p { font-size: 13px; color: var(--text-light); }
  
  /* Hexagon Ranking */
  .hex-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .hex-card {
    width: 200px; height: 230px;
    background: var(--glass-bg); border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: 16px; display: flex; flex-direction: column; align-items: center;
    transition: all 0.3s;
  }
  .hex-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(96, 165, 250, 0.15); }
  .rank-num { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
  .rank-1 { color: #fbbf24; }
  .rank-2 { color: #94a3b8; }
  .rank-3 { color: #d97706; }
  .hex-card img { width: 100px; height: 130px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
  .hex-card h4 { font-size: 15px; text-align: center; }

  /* Features */
  .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .feature-card {
    background: var(--glass-bg); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center; border: 1px solid var(--glass-border);
    transition: all 0.3s; position: relative;
  }
  .feature-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-soft); }
  .feature-icon { font-size: 32px; margin-bottom: 16px; }
  .feature-card h3 { font-size: 18px; margin-bottom: 12px; }
  .feature-card p { font-size: 14px; color: var(--text-light); }

  /* Download Box */
  .download-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(240,247,255,0.8));
    border-radius: 32px; border: 1px solid rgba(255,255,255,0.9);
    padding: 48px; display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
  }
  .dl-content h2 { font-size: 28px; margin-bottom: 12px; }
  .dl-content p { color: var(--text-light); margin-bottom: 24px; }
  .dl-btn {
    display: inline-block; background: #111; color: #fff;
    padding: 14px 32px; border-radius: var(--radius-pill);
    text-decoration: none; font-weight: 600; transition: background 0.2s;
  }
  .dl-btn:hover { background: #333; }
  .qr-placeholder {
    width: 140px; height: 140px; background: #fff;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #e5e7eb; color: #9ca3af; font-size: 14px;
  }

  /* Footer */
  footer { background: rgba(255,255,255,0.5); padding: 40px 5% 20px; border-top: 1px solid var(--glass-border); }
  .footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
  .footer-brand { max-width: 300px; }
  .footer-brand p { font-size: 13px; color: var(--text-light); margin-top: 12px; }
  .footer-links { display: flex; gap: 48px; }
  .link-col h4 { font-size: 15px; margin-bottom: 12px; }
  .link-col a { display: block; font-size: 13px; color: var(--text-light); text-decoration: none; margin-bottom: 8px; }
  .footer-bottom { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); }

  @media (max-width: 1024px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-content { margin-bottom: 48px; }
    .hero-btns { justify-content: center; }
    .stats-group { justify-content: center; }
    .waterfall { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .download-box { flex-direction: column; text-align: center; gap: 32px; }
  }

  @media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .waterfall { grid-template-columns: 1fr; }
    .hex-grid { gap: 12px; }
    .hex-card { width: 45%; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 24px; }
    .search-box { display: none; }
  }