:root {
    --brand: #74B9E8;
    --bg-dark: #2C3237;
    --bg-darker: #20252a;
    --bg-light: #eef4f8;
    --text-main: #FFFFFF;
    --text-sub: #A0AAB2;
    --text-dark: #1A1A1A;
    --radius: 14px;
    --maxw: 1200px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

  /* ---------- Header ---------- */
  header.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(44,50,55,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(116,185,232,.35);
  }
  .header-inner {
    display: flex; align-items: center; gap: 24px;
    height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; }
  .brand span { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
  nav.main-nav { display: flex; gap: 22px; margin-left: 12px; }
  nav.main-nav a {
    font-size: 15px; color: var(--text-sub); padding: 4px 0;
    border-bottom: 2px solid transparent; transition: color .25s, border-color .25s;
    white-space: nowrap;
  }
  nav.main-nav a:hover, nav.main-nav a.active { color: var(--brand); border-color: var(--brand); }
  .search-box { margin-left: auto; flex-shrink: 0; }
  .search-box input {
    width: 190px; padding: 9px 16px; border-radius: 999px;
    border: 1px solid rgba(160,170,178,.3); background: rgba(255,255,255,.06);
    color: #fff; font-size: 14px; outline: none; transition: border-color .25s;
  }
  .search-box input::placeholder { color: #7d8791; }
  .search-box input:focus { border-color: var(--brand); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    padding: 70px 0 80px;
    background:
      radial-gradient(circle at 82% 30%, rgba(116,185,232,.22), transparent 55%),
      radial-gradient(circle at 10% 80%, rgba(116,185,232,.10), transparent 50%),
      var(--bg-darker);
  }
  .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .hero-copy h1 { font-size: 42px; line-height: 1.3; font-weight: 800; letter-spacing: .5px; }
  .hero-copy h1 em { font-style: normal; color: var(--brand); }
  .hero-copy p.sub {
    margin-top: 20px; font-size: 16.5px; color: var(--text-sub); max-width: 480px;
  }
  .hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 30px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
    transition: transform .2s, box-shadow .25s, background .25s, color .25s;
  }
  .btn-primary { background: var(--brand); color: #16242c; box-shadow: 0 8px 22px rgba(116,185,232,.28); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(116,185,232,.42); }
  .btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
  .btn-ghost:hover { background: #fff; color: var(--text-dark); transform: translateY(-2px); }
  .hero-poster { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
  .hero-poster img { width: 100%; height: 420px; object-fit: cover; }
  .hero-poster::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(32,37,42,.85), transparent 45%);
  }
  .hero-caption {
    position: absolute; left: 22px; bottom: 20px; z-index: 2;
  }
  .hero-caption b { font-size: 18px; display: block; }
  .hero-caption small { color: var(--text-sub); font-size: 13px; }

  /* ---------- Section shared ---------- */
  section { padding: 72px 0; }
  .sec-head { max-width: 720px; margin-bottom: 38px; }
  .sec-head h2 { font-size: 30px; font-weight: 800; line-height: 1.35; }
  .sec-head h2 span { color: var(--brand); }
  .sec-head p { margin-top: 12px; color: var(--text-sub); font-size: 15.5px; }
  .tag {
    display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .5px;
    padding: 3px 12px; border-radius: 999px; background: rgba(116,185,232,.16);
    color: var(--brand); margin-bottom: 14px;
  }

  /* ---------- Anime zone ---------- */
  .anime-zone {
    background: linear-gradient(180deg, #f3f8fc 0%, #e7f1f8 100%);
    color: var(--text-dark);
  }
  .anime-zone .sec-head p { color: #5a6670; }
  .anime-zone .tag { background: rgba(116,185,232,.22); color: #2b7fb8; }
  .anime-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .anime-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 6px 20px rgba(44,50,55,.08); display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
  }
  .anime-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(44,50,55,.14); }
  .anime-thumb { position: relative; }
  .anime-thumb img { width: 100%; height: 250px; object-fit: cover; }
  .badge {
    position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700;
    padding: 4px 12px; border-radius: 6px; background: var(--brand); color: #14303f;
  }
  .badge.hollow { background: #fff; color: #2b7fb8; border: 1px solid var(--brand); }
  .anime-card .card-body { padding: 16px 18px 20px; }
  .anime-card h3 { font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }
  .anime-card p { font-size: 14px; color: #6b7780; }

  /* ---------- Trending horizontal ---------- */
  .trending { background: var(--bg-dark); }
  .trend-scroll {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 18px;
    scroll-snap-type: x mandatory;
  }
  .trend-scroll::-webkit-scrollbar { height: 6px; }
  .trend-scroll::-webkit-scrollbar-thumb { background: rgba(116,185,232,.5); border-radius: 3px; }
  .trend-card {
    flex: 0 0 240px; scroll-snap-align: start; background: var(--bg-darker);
    border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  }
  .trend-card img { width: 100%; height: 320px; object-fit: cover; }
  .trend-card .info { padding: 14px 16px 18px; }
  .trend-card h3 { font-size: 16px; margin-bottom: 6px; }
  .trend-card p { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; }
  .progress { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
  .progress i { display: block; height: 100%; background: var(--brand); border-radius: 2px; }

  /* ---------- Cinema + thriller ---------- */
  .cinema { background: var(--bg-darker); }
  .cinema-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
  .cinema-main { border-radius: 18px; overflow: hidden; position: relative; }
  .cinema-main img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
  .cinema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .cinema-grid figure { border-radius: var(--radius); overflow: hidden; background: #191d21; }
  .cinema-grid img { width: 100%; height: 190px; object-fit: cover; }
  .cinema-grid figcaption { padding: 10px 13px; font-size: 14px; color: var(--text-sub); }

  .thriller { background: linear-gradient(160deg, #23282d, #181c20); }
  .thriller-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .thriller-card {
    border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.04);
    border: 1px solid rgba(160,170,178,.14); backdrop-filter: blur(4px);
  }
  .thriller-card img { width: 100%; height: 280px; object-fit: cover; filter: saturate(.85); }
  .thriller-card p { padding: 12px 14px 16px; font-size: 14px; color: #c3ccd3; }

  /* ---------- Documentary light ---------- */
  .docu { background: var(--bg-light); color: var(--text-dark); }
  .docu .sec-head p { color: #5a6670; }
  .docu-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .docu-big { position: relative; border-radius: 18px; overflow: hidden; }
  .docu-big img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
  .docu-big .cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
    color: #fff;
  }
  .docu-big .cap h3 { font-size: 20px; margin-bottom: 6px; }
  .docu-big .cap p { font-size: 14px; color: #d5dde3; }
  .docu-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .docu-stack figure { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.07); }
  .docu-stack img { width: 100%; height: 160px; object-fit: cover; }
  .docu-stack figcaption { padding: 10px 13px; font-size: 14px; color: #4d5962; }

  /* ---------- Masterpiece ---------- */
  .master { background: var(--bg-dark); }
  .master-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
  .score { text-align: center; }
  .score b { display: block; font-size: 86px; line-height: 1; color: var(--brand); font-weight: 800; }
  .score small { display: block; margin-top: 10px; color: var(--text-sub); font-size: 14px; letter-spacing: 1px; }
  .poster-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .poster-wall img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }

  /* ---------- Categories ---------- */
  .cats { background: var(--bg-darker); }
  .cat-matrix { display: flex; flex-wrap: wrap; gap: 14px; }
  .cat-matrix span {
    padding: 11px 24px; border-radius: 999px; font-size: 15px;
    border: 1px solid rgba(160,170,178,.28); color: #cdd6dd;
    transition: background .2s, color .2s, border-color .2s; cursor: default;
  }
  .cat-matrix span:hover { background: var(--brand); color: #16242c; border-color: var(--brand); }

  /* ---------- Smart recommend ---------- */
  .smart { background: var(--bg-dark); }
  .smart-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
  .smart-img { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
  .smart-img img { width: 100%; height: 400px; object-fit: cover; }
  .smart-list { margin-top: 22px; display: grid; gap: 14px; }
  .smart-list li {
    display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #c7d0d7;
  }
  .smart-list li::before {
    content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px;
    border-radius: 50%; background: var(--brand);
  }

  /* ---------- Danmaku ---------- */
  .danmaku { background: #14181c; position: relative; overflow: hidden; }
  .danmaku-stage {
    position: relative; max-width: 900px; margin: 0 auto; padding: 50px 20px;
    border-radius: 20px; background: radial-gradient(circle at 50% 40%, rgba(116,185,232,.1), transparent 65%);
    border: 1px solid rgba(116,185,232,.16); text-align: center;
  }
  .danmaku-stage .line {
    display: inline-block; margin: 6px 8px; padding: 6px 16px; border-radius: 999px;
    background: rgba(255,255,255,.07); font-size: 14px; color: #dbe3e9;
  }
  .danmaku-stage .line:nth-child(3n) { color: var(--brand); }
  .danmaku-note { margin-top: 24px; color: var(--text-sub); font-size: 14px; }

  /* ---------- Rankings ---------- */
  .rank { background: var(--bg-darker); }
  .rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
  .rank-item {
    display: flex; align-items: center; gap: 18px; padding: 14px 18px;
    background: rgba(255,255,255,.035); border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
  }
  .rank-num {
    font-size: 26px; font-weight: 800; width: 42px; text-align: center;
    color: var(--brand); text-shadow: 0 0 16px rgba(116,185,232,.6); flex-shrink: 0;
  }
  .rank-item b { font-size: 15.5px; font-weight: 600; }
  .rank-item small { display: block; font-size: 12.5px; color: var(--text-sub); }

  /* ---------- Sanctuary ---------- */
  .sanctuary { background: linear-gradient(180deg, #2C3237, #242a2f); }
  .sanctuary-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
  .sanctuary-img { border-radius: 18px; overflow: hidden; }
  .sanctuary-img img { width: 100%; height: 420px; object-fit: cover; }
  .sanctuary-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 22px; }
  .sanctuary-text p { color: #b7c1c8; font-size: 15.5px; margin-bottom: 14px; }

  /* ---------- Testimonials ---------- */
  .reviews { background: var(--bg-dark); overflow: hidden; }
  .marquee { display: flex; gap: 20px; width: max-content; animation: scrollX 48s linear infinite; }
  .marquee.reverse { animation-direction: reverse; animation-duration: 56s; margin-top: 20px; }
  .reviews:hover .marquee { animation-play-state: paused; }
  @keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .review-card {
    flex: 0 0 320px; background: var(--bg-darker); border-radius: 14px;
    padding: 20px 22px; border: 1px solid rgba(255,255,255,.06);
  }
  .review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700; background: rgba(116,185,232,.2); color: var(--brand);
  }
  .review-top b { font-size: 15px; display: block; }
  .stars { color: var(--brand); font-size: 13px; letter-spacing: 2px; }
  .review-card p { font-size: 14px; color: #bcc6cd; }

  /* ---------- Download ---------- */
  .download { background: #353c42; }
  .download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .device-mock {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
  }
  .device-mock img { width: 100%; height: 420px; object-fit: cover; }
  .device-mock .glow {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(116,185,232,.18), transparent 60%);
  }
  .download-text h2 { font-size: 30px; font-weight: 800; line-height: 1.35; }
  .download-text p { margin-top: 16px; color: #c4ced5; font-size: 15.5px; }
  .dl-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .dl-btns a { flex: 1 1 200px; }
  .dl-note { margin-top: 16px; font-size: 13px; color: #9aa5ad; }

  /* ---------- FAQ ---------- */
  .faq { background: var(--bg-darker); }
  .faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
  .faq-item {
    background: rgba(255,255,255,.035); border: 1px solid rgba(160,170,178,.14);
    border-radius: 12px; overflow: hidden;
  }
  .faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 22px;
    font-size: 15.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px;
    transition: color .2s;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item summary:hover { color: var(--brand); }
  .faq-item p { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-sub); }

  /* ---------- Footer ---------- */
  footer.site-footer {
    background: #0e1113; padding: 46px 0 30px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--brand), transparent) 1;
  }
  .footer-top {
    display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between;
    align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: #9aa5ad; }
  .footer-links a:hover { color: var(--brand); }
  .footer-links span { color: #6e7a83; }
  .footer-slogan { font-size: 15px; color: var(--brand); letter-spacing: 1px; }
  .footer-bottom { padding-top: 22px; font-size: 12.5px; color: #6e7a83; line-height: 1.9; }
  .footer-bottom a { color: #7d8791; }
  .footer-bottom a:hover { color: var(--brand); }
  .footer-bottom time { color: #7d8791; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-poster img { height: 360px; }
    .hero-copy h1 { font-size: 34px; }
    .anime-grid { grid-template-columns: repeat(2, 1fr); }
    .cinema-layout { grid-template-columns: 1fr; }
    .thriller-grid { grid-template-columns: repeat(2, 1fr); }
    .master-layout { grid-template-columns: 1fr; gap: 30px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); }
    .smart-layout, .sanctuary-layout, .download-layout { grid-template-columns: 1fr; }
    .rank-list { grid-template-columns: 1fr; }
    .docu-layout { grid-template-columns: 1fr; }
    nav.main-nav { display: none; }
  }
  @media (max-width: 768px) {
    section { padding: 52px 0; }
    .header-inner { height: 58px; gap: 12px; }
    .brand img { height: 28px; }
    .brand span { font-size: 16px; }
    .search-box input { width: 120px; padding: 7px 12px; font-size: 13px; }
    .hero { padding: 46px 0 56px; }
    .hero-copy h1 { font-size: 27px; }
    .hero-copy p.sub { font-size: 15px; }
    .hero-poster img { height: 260px; }
    .btn { padding: 11px 24px; font-size: 14.5px; }
    .sec-head h2, .sanctuary-text h2, .download-text h2 { font-size: 23px; }
    .anime-grid { grid-template-columns: 1fr; }
    .anime-thumb img { height: 220px; }
    .thriller-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .thriller-card img { height: 200px; }
    .cinema-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cinema-grid img { height: 150px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .poster-wall img { height: 150px; }
    .docu-stack { grid-template-columns: 1fr 1fr; gap: 12px; }
    .smart-img img, .sanctuary-img img, .device-mock img { height: 260px; }
    .score b { font-size: 62px; }
    .review-card { flex: 0 0 270px; }
    .footer-top { flex-direction: column; gap: 16px; }
  }