:root {
      --primary: #2563eb;
      --accent: #06b6d4;
      --bg: #f4f8ff;
      --text: #0f1e3d;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow-soft: 0 12px 30px rgba(37, 99, 235, 0.08);
    }

    * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

    body {
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      letter-spacing: 0.01em;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .display-6 { font-weight: 700; letter-spacing: -0.02em; }

    .navbar-custom {
      backdrop-filter: blur(12px);
      background: rgba(255, 255, 255, 0.8);
      border-bottom: 1px solid rgba(0,0,0,0.05);
      padding: 12px 0;
      transition: all 0.3s ease;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .navbar-custom.scrolled {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 8px 25px rgba(0,0,0,0.05);
      padding: 8px 0;
    }

    .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      color: var(--primary) !important;
      letter-spacing: -0.03em;
    }

    .nav-link-custom {
      font-weight: 500;
      color: var(--text);
      margin: 0 0.5rem;
      border-radius: 50px;
      padding: 0.4rem 0.9rem !important;
      transition: all 0.2s;
    }

    .nav-link-custom:hover { background: rgba(37, 99, 235, 0.08); color: var(--primary); }

    .gradient-hero {
      background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      display: inline-block;
    }

    .hero-badge {
      background: rgba(37,99,235,0.1);
      border-radius: 100px;
      padding: 0.4rem 1.2rem;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .section-title {
      position: relative;
      font-weight: 700;
      font-size: 1.7rem;
      margin-bottom: 1.5rem;
      display: inline-block;
    }

    .section-title:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 4px;
    }

    .card-movie {
      background: #ffffff;
      border: none;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
      cursor: pointer;
      height: 100%;
      border: 1px solid rgba(0,0,0,0.03);
      position: relative;
    }

    .card-movie:hover {
      transform: scale(1.02) translateY(-4px);
      border: 1px solid rgba(37, 99, 235, 0.4);
      box-shadow: 0 25px 40px rgba(37,99,235,0.12);
    }

    .card-movie img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      background: #e9efff;
    }

    .card-movie .card-body {
      padding: 0.9rem 0.8rem 0.7rem;
    }

    .badge-category {
      background: rgba(6, 182, 212, 0.12);
      color: #0e7490;
      font-weight: 600;
      border-radius: 100px;
      padding: 0.2rem 0.9rem;
      font-size: 0.7rem;
    }

    .rating-star {
      color: #fbbf24;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .rank-badge {
      font-size: 1.3rem;
      font-weight: 800;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      color: #fff;
    }

    .rank-gold { background: linear-gradient(145deg, #f5c15d, #d4971e); }
    .rank-silver { background: linear-gradient(145deg, #d7dde4, #9aa7b4); }
    .rank-bronze { background: linear-gradient(145deg, #dfb29b, #b47b5e); }
    .rank-default { background: rgba(37,99,235,0.15); color: var(--primary); }

    .step-item {
      background: white;
      border-radius: var(--radius-md);
      padding: 1.5rem 1rem;
      box-shadow: 0 6px 18px rgba(0,0,0,0.02);
      text-align: center;
      border: 1px solid #eef3ff;
    }

    .tip-item {
      background: white;
      padding: 0.8rem 1.2rem;
      border-radius: 100px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.02);
      border-left: 5px solid var(--primary);
      margin-bottom: 0.8rem;
      font-weight: 500;
    }

    footer {
      background: #0b1a33;
      color: #b8c7e0;
      border-radius: 40px 40px 0 0;
      padding: 2.5rem 0 1rem;
    }

    footer a { color: #d0dfff; text-decoration: none; }
    footer a:hover { color: white; }

    /* 翻转卡片 */
    .flip-card {
      perspective: 1500px;
    }
    .flip-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      border-radius: var(--radius-lg);
    }
    .flip-card.flipped .flip-inner {
      transform: rotateY(180deg);
    }
    .flip-front, .flip-back {
      backface-visibility: hidden;
      border-radius: var(--radius-lg);
    }
    .flip-back {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transform: rotateY(180deg);
      background: white;
      padding: 1.2rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      box-shadow: var(--shadow-soft);
      border: 1px solid #e6efff;
    }
    .flip-back .btn-close-flip {
      position: absolute;
      top: 0.6rem;
      right: 0.8rem;
      background: transparent;
      border: none;
      font-size: 1.5rem;
      line-height: 1;
      color: var(--text);
      opacity: 0.6;
    }

    .btn-close-flip:hover { opacity: 1; }
    .chip { background: rgba(6,182,212,0.1); color: #0e7490; padding: 0.2rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; display: inline-block; }

    /* 动效 */
    @keyframes floatY {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }
    .float-element { animation: floatY 6s ease-in-out infinite; }
    .card-movie { transition: transform 0.25s, box-shadow 0.3s, border 0.3s; }

    /* 滚动错落 */
    .grid-animate > * {
      opacity: 0;
      transform: translateY(25px);
      animation: riseUp 0.6s forwards;
    }
    .grid-animate > *:nth-child(1) { animation-delay: 0.05s; }
    .grid-animate > *:nth-child(2) { animation-delay: 0.12s; }
    .grid-animate > *:nth-child(3) { animation-delay: 0.19s; }
    .grid-animate > *:nth-child(4) { animation-delay: 0.26s; }
    .grid-animate > *:nth-child(5) { animation-delay: 0.33s; }
    .grid-animate > *:nth-child(6) { animation-delay: 0.40s; }
    .grid-animate > *:nth-child(7) { animation-delay: 0.47s; }
    .grid-animate > *:nth-child(8) { animation-delay: 0.54s; }
    @keyframes riseUp {
      to { opacity: 1; transform: translateY(0); }
    }

    .img-placeholder-bg { background: #e4ecfd; }

/* --- 子页面追加 --- */
/* 页面专属微调，沿用站点变量，确保与首页视觉完全一致 */
    .guide-hero {
      background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(6,182,212,0.08) 100%);
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
      margin-bottom: 2.5rem;
      border: 1px solid rgba(37,99,235,0.15);
    }
.guide-step-card {
      background: #ffffffcc;
      backdrop-filter: blur(4px);
      border-radius: var(--radius-md);
      padding: 1.75rem 1.5rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(37,99,235,0.15);
      height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
.guide-step-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
    }
.guide-step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-weight: 700;
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
.tip-box {
      background: rgba(6, 182, 212, 0.08);
      border-left: 4px solid var(--accent);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
    }
.text-primary-accent { color: var(--primary); }
.bg-soft-primary { background: rgba(37,99,235,0.06); }
.border-radius-md { border-radius: var(--radius-md); }

/* --- 子页面追加 --- */
/* 本页专属微调样式 */
        .disclaimer-section {
            padding: 60px 0;
        }
.disclaimer-card {
            background: var(--bg);
            border-radius: var(--radius-lg);
            padding: 30px;
            margin-bottom: 24px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.disclaimer-card h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-card h2 i {
            font-size: 1.3rem;
            color: var(--accent);
        }
.disclaimer-card p, .disclaimer-card li {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-card ul {
            padding-left: 20px;
        }
.disclaimer-card li {
            margin-bottom: 8px;
        }
.highlight-text {
            background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
            padding: 2px 6px;
            border-radius: 6px;
            font-weight: 500;
        }
.last-updated {
            font-size: 0.85rem;
            color: #6b7a99;
            margin-top: 8px;
        }
.disclaimer-card {
                padding: 20px;
            }

/* --- 子页面追加 --- */
/* 本页仅对排行榜细节做少量补充, 其余全部复用全局样式 */
        .rank-section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.8rem;
        }
.rank-section-title i {
            color: var(--accent);
            font-size: 1.8rem;
        }
.rank-table {
            background: transparent;
            border-collapse: separate;
            border-spacing: 0 10px;
            width: 100%;
        }
.rank-table tbody tr {
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(4px);
            border-radius: var(--radius-md);
            transition: transform .2s ease, box-shadow .2s ease;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.04);
        }
.rank-table tbody tr:hover {
            transform: scale(1.01);
            box-shadow: var(--shadow-soft);
            background: rgba(255, 255, 255, 0.85);
        }
.rank-table td {
            padding: 14px 16px;
            border: none;
            color: var(--text);
            vertical-align: middle;
        }
.rank-table .rank-index {
            font-weight: 800;
            font-size: 1.3rem;
            width: 60px;
            text-align: center;
            font-feature-settings: "tnum";
        }
.trend-up { color: #16a34a; font-size: .8rem; font-weight: 600; }
.trend-down { color: #dc2626; font-size: .8rem; font-weight: 600; }
.trend-flat { color: #6b7280; font-size: .8rem; font-weight: 600; }
.rank-cat-tag {
            background: var(--bg);
            border-radius: 20px;
            padding: .25rem .9rem;
            font-size: .8rem;
            font-weight: 600;
            color: var(--primary);
            border: 1px solid rgba(37, 99, 235, 0.1);
        }
.rank-table td {
                padding: 10px 10px;
                font-size: .9rem;
            }
.rank-table .rank-index { font-size: 1.1rem; width: 40px; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-item { background:rgba(0,0,0,.03) !important; color:#0f1e3d !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-button { background:rgba(0,0,0,.03) !important; color:#0f1e3d !important; }
.accordion-body { background:transparent !important; color:#0f1e3d !important; }
.accordion-header { background:transparent !important; }
