:root {
    --brand: #22c55e;
    --brand-dark: #15803d;
    --brand-light: #f0fdf4;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #eef0f3;
    --bg: #fafafa;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { display: block; max-width: 100%; object-fit: cover; }
  button { border: none; cursor: pointer; font-family: inherit; }

  /* Header */
  .topbar { position: sticky; top: 0; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 40px; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
  .topbar-left { display: flex; align-items: center; gap: 12px; }
  .logo-img { height: 32px; border-radius: 6px; }
  .topbar-title { font-size: 20px; font-weight: 600; }
  .topbar-desc { font-size: 12px; color: var(--text-muted); }
  .search-box { flex: 1; max-width: 400px; margin: 0 auto; position: relative; }
  .search-box input { width: 100%; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: #f9fafb; padding: 0 12px 0 36px; font-size: 14px; outline: none; transition: all .2s; }
  .search-box input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-light); }
  .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
  .topbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
  .btn-download { height: 36px; padding: 0 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; font-weight: 500; transition: background .2s; }
  .btn-download:hover { background: var(--brand-dark); }
  .btn-filter { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

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

  /* Hero */
  .hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; min-height: 280px; padding: 32px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--brand-light), #fff 58%, #fff7ed); position: relative; overflow: hidden; }
  .hero-content { display: flex; flex-direction: column; justify-content: center; z-index: 2; }
  .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-light); color: var(--brand-dark); font-size: 12px; font-weight: 600; margin-bottom: 16px; align-self: flex-start; }
  .hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
  .hero-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; max-width: 90%; }
  .hero-btns { display: flex; gap: 12px; }
  .btn-primary { height: 40px; padding: 0 24px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-outline { height: 40px; padding: 0 24px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text-main); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
  
  .hero-posters { position: relative; display: flex; justify-content: center; align-items: center; }
  .poster-card { position: absolute; width: 140px; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform .3s; border: 2px solid #fff; }
  .poster-card img { width: 100%; height: 100%; }
  .poster-1 { transform: rotate(-6deg) translateX(-40px) scale(0.9); z-index: 1; }
  .poster-2 { transform: rotate(4deg) translateX(40px) scale(0.9); z-index: 2; }
  .poster-3 { transform: scale(1.05); z-index: 3; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }

  /* Section Headers */
  .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; margin-top: 40px; }
  .section-title { font-size: 18px; font-weight: 600; }
  .section-more { font-size: 14px; color: var(--brand); font-weight: 500; }

  /* Continue Watching */
  .scroll-container { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .scroll-container::-webkit-scrollbar { display: none; }
  .cw-card { flex: 0 0 260px; scroll-snap-align: start; background: #fff; border-radius: 14px; padding: 8px; border: 1px solid var(--border); transition: transform .2s; cursor: pointer; }
  .cw-card:hover { transform: translateY(-2px); }
  .cw-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; position: relative; background: #eee; }
  .cw-thumb img { width: 100%; height: 100%; }
  .cw-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--brand); width: 40%; }
  .cw-info { padding: 10px 4px 4px; }
  .cw-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
  .cw-meta { font-size: 12px; color: var(--text-muted); }

  /* Hot Grid */
  .grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
  .grid-card { background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--border); transition: all .2s; cursor: pointer; }
  .grid-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 8px 20px rgba(34,197,94,0.08); }
  .grid-cover { width: 100%; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; position: relative; background: #eee; margin-bottom: 10px; }
  .grid-cover img { width: 100%; height: 100%; }
  .badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; background: rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(4px); }
  .badge.ai { background: rgba(220, 252, 231, 0.8); color: var(--brand-dark); }
  .grid-title { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; line-height: 1.4; height: 39px; }
  .grid-meta { font-size: 12px; color: var(--text-muted); }

  /* Filter Chips */
  .filter-bar { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; margin-bottom: 24px; padding-bottom: 4px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--text-muted); display: flex; align-items: center; white-space: nowrap; cursor: pointer; transition: all .2s; }
  .chip.active { background: var(--brand-light); color: var(--brand-dark); border-color: var(--brand); font-weight: 600; }
  .chip:hover:not(.active) { background: #f3f4f6; }

  /* AI Zone */
  .ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
  .ai-card { border-radius: 16px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
  .ai-card.green { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
  .ai-card.orange { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
  .ai-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,0.6); font-size: 11px; font-weight: 600; margin-bottom: 12px; align-self: flex-start; }
  .ai-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
  .ai-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; max-width: 80%; }
  .ai-footer { display: flex; justify-content: space-between; align-items: center; }
  .ai-tags { display: flex; gap: 8px; font-size: 12px; color: var(--text-muted); }
  .ai-tag { background: rgba(255,255,255,0.5); padding: 2px 8px; border-radius: 4px; }
  .ai-link { color: var(--brand-dark); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
  
  /* Daily List */
  .daily-list { margin-top: 20px; background: #fff; border-radius: 14px; border: 1px solid var(--border); overflow: hidden; }
  .daily-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); transition: background .2s; }
  .daily-item:last-child { border-bottom: none; }
  .daily-item:hover { background: #f9fafb; }
  .daily-thumb { width: 56px; height: 76px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #eee; }
  .daily-thumb img { width: 100%; height: 100%; }
  .daily-info { flex: 1; min-width: 0; }
  .daily-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .daily-tags { display: flex; gap: 6px; }
  .daily-tag { font-size: 11px; color: var(--text-muted); background: #f3f4f6; padding: 1px 6px; border-radius: 4px; }
  .daily-right { display: flex; align-items: center; gap: 16px; }
  .daily-meta { font-size: 12px; color: var(--text-muted); }
  .play-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-main); font-size: 12px; padding-left: 2px; }
  .daily-item:hover .play-btn { border-color: var(--brand); color: var(--brand); }

  /* FAQ */
  .faq-section { margin-top: 48px; }
  .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .faq-card { background: #fff; border-radius: 14px; border: 1px solid var(--border); padding: 20px; }
  .faq-q { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
  .faq-a { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

  /* Footer */
  .site-footer { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 60px; text-align: center; font-size: 12px; color: var(--text-muted); background: #fff; }
  .site-footer a { color: var(--text-muted); transition: color .2s; }
  .site-footer a:hover { color: var(--brand-dark); }
  .footer-content { display: flex; flex-direction: column; gap: 8px; align-items: center; }
  .footer-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }

  /* Responsive */
  @media (max-width: 1024px) {
    .topbar { padding: 0 24px; }
    .container { padding: 20px 24px; }
    .hero { grid-template-columns: 1fr; padding: 24px; }
    .hero-posters { display: none; }
    .hero h1 { font-size: 24px; }
  }
  @media (max-width: 768px) {
    .topbar { padding: 0 16px; gap: 8px; }
    .topbar-left .topbar-desc { display: none; }
    .search-box { display: none; }
    .btn-download { padding: 0 12px; font-size: 13px; }
    .container { padding: 16px; }
    .ai-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .grid-container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .grid-cover { border-radius: 8px; }
    .grid-card { padding: 8px; }
    .grid-title { font-size: 13px; height: auto; }
  }