:root {
      --main-color: #f97316;
      --accent-color: #facc15;
      --bg-color: #1a1410;
      --text-color: #fff7ed;
      --border-color: #f97316;
      --card-bg: #241b16;
      --font-title: 'Inter', cursive, sans-serif;
      --font-body: 'Inter', system-ui, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      font-family: var(--font-body);
      line-height: 1.75;
      letter-spacing: 0.01em;
      padding-top: 0;
      position: relative;
    }

    /* 滚动进度条 */
    #scrollProgress {
      position: fixed;
      top: 0;
      left: 0;
      height: 4px;
      width: 0%;
      background: linear-gradient(90deg, var(--main-color), var(--accent-color));
      z-index: 9999;
      transition: width 0.1s;
      border-radius: 2px;
    }

    /* 全局样式 */
    h1, h2, h3, h4, .display-6 {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-color);
    }

    a {
      color: var(--main-color);
      text-decoration: none;
      transition: 0.2s;
    }

    a:hover {
      color: var(--accent-color);
    }

    .navbar {
      background: rgba(26, 20, 16, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 2px solid var(--border-color);
      border-radius: 0;
      padding: 0.6rem 0;
      z-index: 1050;
    }

    .navbar .navbar-brand {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--text-color);
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
    }
    .navbar .navbar-brand i {
      color: var(--main-color);
      margin-right: 8px;
    }
    .navbar .nav-link {
      color: var(--text-color);
      font-weight: 500;
      margin: 0 10px;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }
    .navbar .nav-link:hover {
      color: var(--accent-color);
      border-bottom-color: var(--accent-color);
    }

    /* hero 标签云 */
    .hero-tags {
      background: var(--bg-color);
      border-bottom: 2px solid var(--border-color);
      padding: 1.5rem 0;
    }
    .keyword-cloud {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.2rem 2rem;
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--text-color);
    }
    .keyword-cloud span {
      background: transparent;
      border: 1.5px dashed var(--main-color);
      padding: 0.2rem 1rem;
      border-radius: 40px;
      transition: 0.2s;
    }
    .keyword-cloud span:hover {
      background: var(--main-color);
      color: #1a1410;
      border-color: var(--accent-color);
      transform: translateY(-2px);
    }

    /* 区块通用 */
    .section-block {
      padding: 3rem 0;
      border-bottom: 2px solid #352c22;
    }
    .section-title {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 10px;
      border-left: 6px solid var(--main-color);
      padding-left: 1.2rem;
    }
    .section-title i {
      color: var(--main-color);
    }

    /* 海报卡片 */
    .poster-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1.8rem 1.2rem;
    }
    .movie-card {
      background: var(--card-bg);
      border: 1px solid #3d322a;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.25s, border-color 0.3s;
      position: relative;
      box-shadow: none;
      display: flex;
      flex-direction: column;
      opacity: 0;
      transform: translateY(20px);
      animation: riseFade 0.6s forwards;
    }
    @keyframes riseFade {
      to { opacity: 1; transform: translateY(0); }
    }
    .movie-card:nth-child(1) { animation-delay: 0.02s; }
    .movie-card:nth-child(2) { animation-delay: 0.08s; }
    .movie-card:nth-child(3) { animation-delay: 0.14s; }
    .movie-card:nth-child(4) { animation-delay: 0.20s; }
    .movie-card:nth-child(5) { animation-delay: 0.26s; }
    .movie-card:nth-child(6) { animation-delay: 0.32s; }
    .movie-card:nth-child(7) { animation-delay: 0.38s; }
    .movie-card:nth-child(8) { animation-delay: 0.44s; }
    .movie-card:nth-child(9) { animation-delay: 0.50s; }
    .movie-card:nth-child(10) { animation-delay: 0.56s; }
    .movie-card:nth-child(11) { animation-delay: 0.62s; }
    .movie-card:nth-child(12) { animation-delay: 0.68s; }

    .poster-wrap {
      position: relative;
      aspect-ratio: 2 / 3;
      overflow: hidden;
      background: #2e251e;
    }
    .poster-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s;
    }
    .play-icon {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
      color: white;
      font-size: 2.8rem;
    }
    .movie-card:hover .play-icon {
      opacity: 1;
    }
    .movie-card:hover img {
      transform: scale(1.03);
    }
    .badge-corner {
      position: absolute;
      top: 8px;
      left: 8px;
      background: var(--main-color);
      color: #1a1410;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 0.15rem 0.6rem;
      border-radius: 30px;
      letter-spacing: 0.5px;
      z-index: 2;
      box-shadow: none;
    }
    .rating-star {
      color: var(--accent-color);
      font-size: 0.75rem;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }
    .rating-star i {
      font-size: 0.7rem;
      margin-right: 2px;
    }
    .movie-info {
      padding: 0.8rem 0.8rem 1rem;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      line-height: 1.4;
      color: var(--text-color);
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .movie-meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
      color: #b6a392;
      margin-top: 4px;
    }

    /* 特色icon列表 */
    .feature-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem 2.5rem;
    }
    .feature-list li {
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      border-bottom: 1px dashed #3d322a;
      padding-bottom: 0.5rem;
      width: 45%;
    }
    .feature-list li i {
      color: var(--main-color);
      font-size: 1.2rem;
      width: 24px;
      text-align: center;
    }

    /* 手风琴 */
    .accordion-item {
      background: transparent;
      border: 1px solid #3d322a;
      margin-bottom: 0.8rem;
      border-radius: 6px;
      overflow: hidden;
    }
    .accordion-header button {
      background: transparent;
      color: var(--text-color);
      font-weight: 600;
      font-size: 1rem;
      padding: 1rem 1.2rem;
      border-bottom: 1px solid transparent;
    }
    .accordion-button:not(.collapsed) {
      background: #2b211a;
      color: var(--accent-color);
    }
    .accordion-button::after {
      filter: invert(1);
    }

    /* 今天看什么 */
    .random-pick-card {
      background: #241b16;
      border: 1px solid var(--main-color);
      border-radius: 14px;
      padding: 1.5rem;
      text-align: center;
      display: inline-block;
    }

    /* 页脚 */
    footer {
      background: #120d0a;
      border-top: 2px solid var(--border-color);
      padding: 2.5rem 0 2rem;
      margin-top: 1rem;
    }
    .friend-links {
      margin: 2rem 0 1rem;
      border-top: 1px dashed #3d322a;
      padding-top: 1.5rem;
    }

    /* 弹窗 */
    .modal-mask {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: 0.25s;
    }
    .modal-mask.show {
      opacity: 1;
      visibility: visible;
    }
    .modal-card {
      background: #1e1712;
      border: 1px solid var(--main-color);
      max-width: 780px;
      width: 92%;
      border-radius: 18px;
      padding: 1.6rem;
      position: relative;
      display: flex;
      gap: 1.5rem;
      box-shadow: 0 20px 35px rgba(0,0,0,0.7);
    }
    .modal-poster {
      width: 200px;
      border-radius: 12px;
      overflow: hidden;
    }
    .modal-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .modal-content {
      flex: 1;
    }
    .modal-close {
      position: absolute;
      top: 12px;
      right: 15px;
      font-size: 1.8rem;
      color: var(--text-color);
      cursor: pointer;
      line-height: 1;
    }
    @media (max-width: 600px) {
      .modal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .modal-poster {
        width: 140px;
      }
    }

/* --- 子页面追加 --- */
/* 本页专属微调 */
        .guide-hero { padding: 3rem 0 1.5rem; }
.guide-section { margin-bottom: 2.2rem; }
.guide-section .section-title { margin-bottom: 1rem; }
.guide-list { padding-left: 0; list-style: none; }
.guide-list li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px dashed rgba(249,115,22,0.2); }
.guide-list li::before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0.55rem; font-size: 0.75rem; color: var(--main-color); }
.guide-list li:last-child { border-bottom: none; }
.guide-tip { background: rgba(249,115,22,0.07); border-left: 3px solid var(--main-color); padding: 0.9rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.2rem 0; }
.guide-tip i { color: var(--main-color); margin-right: 0.4rem; }
.step-badge { display: inline-block; background: var(--main-color); color: #1a1410; font-weight: 700; font-size: 0.8rem; border-radius: 50%; width: 24px; height: 24px; line-height: 24px; text-align: center; margin-right: 0.6rem; }
.faq-item { margin-bottom: 1.2rem; padding: 1rem 1.2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(249,115,22,0.15); border-radius: 10px; }
.faq-item h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-color); margin-bottom: 0.4rem; }
.faq-item h4 i { color: var(--main-color); margin-right: 0.5rem; font-size: 0.9rem; }
.faq-item p { margin-bottom: 0; color: rgba(255,247,237,0.75); font-size: 0.95rem; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#fff7ed !important; }
