:root {
    --bg-deep: #0a0a0a;
    --bg-card: #141414;
    --bg-card-light: #1e1e1e;
    --gold: #c9a959;
    --gold-bright: #e2c06b;
    --red: #c8102e;
    --red-bright: #e6233a;
    --text-main: #f0f0f0;
    --text-sub: #a8a8a8;
    --border-dim: #2a2a2a;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  .container { width: 92%; max-width: 1200px; margin: 0 auto; }

  /* Header */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(201, 169, 89, 0.25);
    backdrop-filter: blur(8px);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }
  .brand-logo { display: flex; align-items: center; gap: 10px; }
  .brand-logo img {
    height: 32px; width: auto;
    animation: flame-breathe 2.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px rgba(200, 16, 46, 0.6));
  }
  @keyframes flame-breathe {
    0% { filter: drop-shadow(0 0 6px rgba(200, 16, 46, 0.4)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 16px rgba(230, 35, 58, 0.8)); transform: scale(1.06); }
  }
  .brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: #fff; }
  .nav-links { display: none; gap: 22px; font-size: 14px; color: var(--text-sub); }
  .nav-links a { transition: color 0.2s; }
  .nav-links a:hover { color: var(--gold-bright); }
  .cta-small {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
  }

  /* Hero */
  .hero {
    padding: 50px 0 40px;
    position: relative;
    background: radial-gradient(ellipse at top, #1a0508 0%, #0a0a0a 70%);
    overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/天罡.webp)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero h1 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 1px;
    color: #fff;
  }
  .hero h1 span { color: var(--gold-bright); }
  .hero-sub {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 28px;
    max-width: 540px;
  }
  .hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
  .btn-primary {
    display: inline-block;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4); }
  .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
  }
  .btn-outline:hover { background: rgba(201, 169, 89, 0.1); }
  .hero-banner-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-dim);
    position: relative;
  }
  .hero-banner-img img { width: 100%; height: auto; opacity: 0.85; }

  /* Section common */
  section { padding: 50px 0; }
  .section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
  }
  .section-title .accent { color: var(--gold-bright); }
  .section-desc {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 28px;
    max-width: 640px;
  }

  /* Features */
  .features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .feature-icon {
    font-size: 26px; margin-bottom: 12px; display: block;
    filter: drop-shadow(0 0 8px rgba(201,169,89,0.5));
  }
  .feature-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--gold-bright); }
  .feature-card p { font-size: 13px; color: var(--text-sub); }

  /* Deep guide */
  .guide-wrap {
    background: linear-gradient(135deg, #141008, #0a0a0a);
    border: 1px solid rgba(201,169,89,0.2);
    border-radius: 10px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .guide-img { border-radius: 8px; overflow: hidden; border: 1px solid var(--border-dim); }
  .guide-img img { width: 100%; height: auto; }
  .guide-text h2 { font-size: 22px; margin-bottom: 14px; color: var(--gold-bright); font-weight: 800; }
  .guide-text p { font-size: 14px; color: var(--text-sub); margin-bottom: 14px; }
  .guide-list { display: flex; flex-direction: column; gap: 12px; }
  .guide-item {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--red);
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
  }
  .guide-item strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
  .guide-item span { font-size: 12px; color: var(--gold); }

  /* Poster rows / scrolling */
  .poster-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
  }
  .poster-row::-webkit-scrollbar { height: 6px; }
  .poster-row::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
  .poster-card {
    flex: 0 0 150px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }
  .poster-card img { width: 100%; height: 210px; object-fit: cover; }
  .poster-card-info { padding: 10px; }
  .poster-card-info h3 { font-size: 14px; color: #fff; margin-bottom: 2px; }
  .poster-card-info p { font-size: 11px; color: var(--text-sub); }
  .badge {
    position: absolute; top: 6px; left: 6px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
  }
  .badge-gold { background: var(--gold); color: #000; }

  /* Tags */
  .tag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
  .tag-item {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-sub);
    transition: all 0.2s;
  }
  .tag-item:hover { border-color: var(--gold); color: var(--gold-bright); }

  /* Two column */
  .two-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .col-img { border-radius: 8px; overflow: hidden; border: 1px solid var(--border-dim); }
  .col-img img { width: 100%; height: auto; }
  .col-text h2 { font-size: 22px; margin-bottom: 12px; color: #fff; }
  .col-text p { font-size: 14px; color: var(--text-sub); margin-bottom: 12px; }

  /* Danmaku */
  .danmaku-stage {
    background: #050505;
    border-radius: 10px;
    padding: 30px 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid #1a1a1a;
  }
  .danmaku-text {
    position: absolute;
    white-space: nowrap;
    font-size: 14px;
    color: var(--gold-bright);
    font-weight: 700;
    animation: drift 12s linear infinite;
  }
  @keyframes drift {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-200%); }
  }
  .danmaku-msg {
    position: relative; z-index: 2;
    background: rgba(20,20,20,0.8);
    padding: 20px;
    border-left: 3px solid var(--red);
    border-radius: 0 6px 6px 0;
  }
  .danmaku-msg p { font-size: 14px; color: var(--text-sub); }

  /* Action row */
  .action-cards { display: flex; flex-direction: column; gap: 16px; }
  .action-card {
    border-radius: 8px; overflow: hidden; position: relative;
    border: 1px solid var(--border-dim);
    transform: skewX(-3deg);
    background: var(--bg-card);
  }
  .action-card img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.3s; }
  .action-card:hover img { transform: scale(1.04); }
  .action-card-text {
    padding: 12px 16px;
    transform: skewX(3deg);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
  }

  /* Anime */
  .anime-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .anime-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
  }
  .anime-card img { width: 100%; height: auto; }
  .anime-card span {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, #0a0a0a);
    padding: 16px 12px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-bright);
  }

  /* FAQ */
  .faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border-dim);
    overflow: hidden;
  }
  .faq-q {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
  }
  .faq-q::after { content: "+"; font-size: 20px; color: var(--gold); }
  .faq-item.open .faq-q::after { content: "−"; }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 20px;
    font-size: 14px;
    color: var(--text-sub);
  }
  .faq-item.open .faq-a { max-height: 240px; padding-bottom: 16px; }

  /* Testimonials */
  .testimonial-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
  .testimonial-card {
    flex: 0 0 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 20px;
  }
  .testimonial-card p { font-size: 14px; color: var(--text-main); margin-bottom: 10px; }
  .testimonial-card span { font-size: 12px; color: var(--gold); }

  /* Download */
  .download-sec {
    background: radial-gradient(ellipse at center, #1a0508 0%, #0a0a0a 100%);
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(200,16,46,0.15);
    border-bottom: 1px solid rgba(200,16,46,0.15);
  }
  .download-sec h2 { font-size: 26px; margin-bottom: 12px; color: #fff; }
  .download-sec p { font-size: 14px; color: var(--text-sub); margin-bottom: 28px; }
  .download-btn-big {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(200,16,46,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .download-btn-big:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(200,16,46,0.5); }

  /* Footer */
  footer {
    background: #050505;
    padding: 36px 0 24px;
    border-top: 1px solid var(--border-dim);
    font-size: 12px;
    color: #666;
  }
  .footer-inner { display: flex; flex-direction: column; gap: 14px; text-align: center; }
  .footer-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .footer-tags a { color: #777; transition: color 0.2s; }
  .footer-tags a:hover { color: var(--gold); }
  .footer-slogan { color: var(--gold); font-weight: 700; letter-spacing: 2px; }
  .footer-legal { color: #555; line-height: 1.8; }
  .footer-legal a { color: #777; }

  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero h1 { font-size: 46px; }
    .hero-sub { font-size: 17px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .guide-wrap { flex-direction: row; align-items: center; }
    .guide-img { flex: 0 0 40%; }
    .guide-text { flex: 1; }
    .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
    .anime-grid { grid-template-columns: repeat(2, 1fr); }
    .action-cards { flex-direction: row; flex-wrap: wrap; }
    .action-card { flex: 1 1 45%; }
    .poster-card { flex: 0 0 180px; }
    .poster-card img { height: 250px; }
    .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; flex-wrap: wrap; }
    .footer-tags { justify-content: flex-start; }
  }
  @media (min-width: 1024px) {
    .hero { padding: 80px 0 60px; }
    .hero-inner { display: flex; align-items: center; gap: 40px; }
    .hero-content { flex: 1; }
    .hero-banner-img { flex: 1; }
    .hero h1 { font-size: 56px; }
    .anime-grid { grid-template-columns: repeat(4, 1fr); }
    .action-card { flex: 1 1 30%; }
    .section-title { font-size: 30px; }
  }