:root{
  --main:#2563eb;
  --accent:#06b6d4;
  --bg:#f4f8ff;
  --text:#0f1e3d;
  --card-bg:#ffffff;
  --shadow-sm:0 2px 8px rgba(15,30,61,0.08);
  --shadow-hover:0 12px 28px rgba(37,99,235,0.18);
  --radius:16px;
}
body{
  background-color:var(--bg);
  color:var(--text);
  font-family:'Inter','Noto Sans SC',sans-serif;
  font-size:0.92rem;
  line-height:1.5;
}
h1,h2,h3,h4,.font-title{
  font-family:'Noto Serif SC',serif;
  font-weight:700;
}
.navbar-brand{
  font-family:'Noto Serif SC',serif;
  font-weight:900;
  font-size:1.4rem;
  letter-spacing:0.02em;
}
.navbar-custom{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 1rem;
}
.navbar-custom .nav-link{
  font-weight:500;
  color:var(--text);
  margin:0 0.4rem;
}
.navbar-custom .nav-link:hover{ color: var(--main); }
.hero{
  background: linear-gradient(145deg, #e0ecff 0%, #f4f8ff 60%);
  position:relative;
  overflow:hidden;
  padding: 3rem 0 2rem;
}
.hero h1{
  font-size: 2.8rem;
  font-weight:900;
  background: linear-gradient(120deg, #1e3a8a, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 4px 6px 12px rgba(37,99,235,0.15);
  letter-spacing: 2px;
}
.hero p{
  color:#2d3f66;
  font-weight: 400;
}
.floating-badge{
  position:absolute;
  background:white;
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  font-size:0.8rem;
  box-shadow: var(--shadow-sm);
  opacity:0.8;
  border:1px solid rgba(37,99,235,0.1);
}
.section-title{
  font-weight:700;
  font-size:1.5rem;
  margin: 1.8rem 0 1rem;
  border-left: 6px solid var(--main);
  padding-left: 0.9rem;
  letter-spacing: 0.03em;
}
.card-movie{
  background:var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor:pointer;
  height:100%;
  display:flex;
  flex-direction:column;
}
.card-movie:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-movie img{
  width:100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display:block;
  background:#dbe4f0;
}
.card-badge{
  position:absolute;
  top:8px;
  right:8px;
  background: rgba(15,30,61,0.8);
  color:white;
  font-size:0.65rem;
  padding:2px 8px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}
.movie-info{
  padding: 0.6rem 0.8rem 0.8rem;
  flex-grow:1;
}
.movie-title{
  font-weight:700;
  font-size:0.95rem;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.movie-meta{
  color:#53689e;
  font-size:0.72rem;
  display:flex;
  justify-content: space-between;
}
.hot-list-number{
  font-weight:900;
  font-family:'Noto Serif SC',serif;
  color: var(--main);
  margin-right: 8px;
}
.hot-list-item{
  display:flex;
  align-items:center;
  background: white;
  padding: 0.5rem 0.8rem;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
  transition: all 0.1s;
  cursor:pointer;
}
.hot-list-item:hover{
  background: #eaf2ff;
  box-shadow: var(--shadow-hover);
}
.scroll-row{
  display:flex;
  overflow-x:auto;
  gap:1rem;
  padding-bottom: 0.8rem;
  scrollbar-width: thin;
}
.scroll-row .card-movie{
  min-width: 160px;
  max-width: 160px;
}
.tag-filter{
  display: inline-block;
  background: white;
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  font-size:0.85rem;
  box-shadow: var(--shadow-sm);
  margin: 0.2rem 0.4rem;
  cursor: pointer;
  border:1px solid transparent;
  transition: 0.1s;
}
.tag-filter.active, .tag-filter:hover{
  border-color: var(--main);
  color: var(--main);
  background: #eef4ff;
}
.timeline{
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin:1rem 0;
}
.timeline-item{
  position:relative;
  margin-bottom: 1rem;
  padding-left: 1rem;
}
.timeline-item::before{
  content:'';
  position:absolute;
  left:-0.5rem;
  top:0.5rem;
  width:12px;
  height:12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.2);
}
.footer-links a{
  color:#53689e;
  margin-right:1.2rem;
  text-decoration: none;
}
.footer-links a:hover{color:var(--main);}
.back-to-top{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--main);
  color:white;
  display:none;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 16px rgba(37,99,235,0.3);
  z-index: 99;
  border:none;
  font-size: 1.2rem;
}
.modal-movie-detail{
  background:rgba(15,30,61,0.6);
  backdrop-filter: blur(12px);
  position: fixed;
  inset:0;
  z-index: 1000;
  display:flex;
  align-items:center;
  justify-content:center;
  visibility: hidden;
  opacity:0;
  transition: 0.2s;
}
.modal-movie-detail.show{
  visibility: visible;
  opacity:1;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
  border-radius: 20px;
}
.modal-content-box{
  position: relative;
  background: white;
  width: 90%;
  max-width: 700px;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  z-index: 10;
  max-height: 80vh;
  overflow-y:auto;
}
.modal-bgimg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter: blur(30px);
  opacity:0.3;
  border-radius: 24px;
}
.close-modal{
  position: sticky;
  top:0;
  float:right;
  background: transparent;
  border:none;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  color: #3b4a6b;
}
.btn-watch{
  background: var(--main);
  color:white;
  border:none;
  padding:0.5rem 2rem;
  border-radius: 40px;
  font-weight:600;
}

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.08) 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(37,99,235,0.1);
        }
.rank-section {
            padding: 50px 0;
        }
.rank-section:nth-child(even) {
            background: rgba(37,99,235,0.03);
        }
.rank-list {
            margin-top: 30px;
        }
.rank-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            margin-bottom: 12px;
            transition: box-shadow .3s, transform .3s;
            border: 1px solid transparent;
        }
.rank-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
            border-color: rgba(37,99,235,0.2);
        }
.rank-number {
            font-size: 24px;
            font-weight: 800;
            color: var(--main);
            min-width: 50px;
            text-align: center;
            margin-right: 20px;
            position: relative;
        }
.rank-number.top-1 {
            color: #f59e0b;
            font-size: 28px;
        }
.rank-number.top-2 {
            color: #94a3b8;
            font-size: 26px;
        }
.rank-number.top-3 {
            color: #d97706;
            font-size: 26px;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-size: 17px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }
.rank-meta {
            font-size: 13px;
            color: #64748b;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
.rank-score {
            font-weight: 700;
            color: var(--main);
            font-size: 18px;
            margin-left: 15px;
            min-width: 60px;
            text-align: right;
        }
.rank-tag {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            background: rgba(37,99,235,0.1);
            color: var(--main);
            margin-right: 8px;
        }
.rank-tag.hot {
            background: rgba(245,158,11,0.15);
            color: #b45309;
        }
.rank-badge {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 6px;
        }
.rank-badge.up {
            background: #22c55e;
        }
.rank-badge.down {
            background: #ef4444;
        }
.rank-badge.flat {
            background: #94a3b8;
        }
.trend-icon {
            font-size: 12px;
            margin-right: 4px;
        }
.update-time {
            color: #64748b;
            font-size: 14px;
            margin-top: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.update-time i {
            color: var(--main);
        }
.rank-note {
            background: rgba(37,99,235,0.05);
            border-left: 4px solid var(--main);
            padding: 15px 20px;
            border-radius: 0 12px 12px 0;
            margin-top: 30px;
            color: var(--text);
            font-size: 14px;
            line-height: 1.7;
        }
.rank-note i {
            color: var(--main);
            margin-right: 8px;
        }
.rank-hero {
                padding: 40px 0 25px;
            }
.rank-item {
                padding: 12px 14px;
            }
.rank-number {
                font-size: 20px;
                min-width: 36px;
                margin-right: 12px;
            }
.rank-title {
                font-size: 15px;
            }
.rank-score {
                font-size: 15px;
                min-width: 48px;
            }
.rank-meta {
                gap: 10px;
                font-size: 12px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式：观影指南页面布局 */
        .help-hero {
            background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
            color: #fff;
            padding: 4rem 0 3rem;
            margin-bottom: 3rem;
            border-radius: 0 0 30px 30px;
        }
.help-hero h1 {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
.help-hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            max-width: 700px;
        }
.help-section {
            margin-bottom: 4rem;
        }
.help-section .section-title {
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.help-section .section-title i {
            color: var(--main);
            font-size: 1.6rem;
        }
.help-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 1.8rem;
            box-shadow: var(--shadow-sm);
            height: 100%;
            transition: box-shadow .3s, transform .3s;
            border: 1px solid rgba(37,99,235,0.08);
        }
.help-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.help-card h3 {
            color: var(--text);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.help-card h3 i {
            color: var(--accent);
        }
.help-card p, .help-card li {
            color: var(--text);
            opacity: 0.85;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.help-card ul {
            padding-left: 1.2rem;
            margin-bottom: 0;
        }
.help-card ul li {
            margin-bottom: 0.4rem;
        }
.faq-item {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 1.5rem 1.8rem;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(37,99,235,0.08);
        }
.faq-item h4 {
            color: var(--main);
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: 0.6rem;
        }
.faq-item p {
            color: var(--text);
            opacity: 0.85;
            line-height: 1.7;
            margin-bottom: 0;
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: var(--main);
            color: #fff;
            border-radius: 50%;
            font-weight: 700;
            font-size: 0.9rem;
            margin-right: 10px;
            flex-shrink: 0;
        }
.help-hero h1 { font-size: 1.8rem; }
.help-hero p { font-size: 1rem; }
.help-card { padding: 1.2rem; }
.nav-link.active {
            color: var(--main) !important;
            font-weight: 600;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .legal-page {
            padding: 80px 0 60px;
            background: var(--bg);
            min-height: 100vh;
        }
.legal-hero {
            background: linear-gradient(135deg, var(--main) 0%, var(--accent) 100%);
            border-radius: var(--radius);
            padding: 48px 40px;
            margin-bottom: 40px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
.legal-hero::after {
            content: '';
            position: absolute;
            right: -40px;
            top: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
        }
.legal-hero::before {
            content: '';
            position: absolute;
            right: 30px;
            bottom: -60px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
        }
.legal-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }
.legal-hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            position: relative;
            z-index: 1;
            max-width: 600px;
        }
.legal-section {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.3s ease;
            border-left: 4px solid var(--main);
        }
.legal-section:hover {
            box-shadow: var(--shadow-hover);
        }
.legal-section h2 {
            color: var(--main);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.legal-section h2 i {
            font-size: 1.2rem;
            color: var(--accent);
        }
.legal-section p, .legal-section li {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.legal-section ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.legal-section ul li {
            margin-bottom: 8px;
            position: relative;
        }
.legal-section ul li::marker {
            color: var(--accent);
        }
.highlight-box {
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.2);
            border-radius: 12px;
            padding: 20px;
            margin: 20px 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-weight: 500;
        }
.contact-info {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            margin-top: 20px;
        }
.contact-info i {
            color: var(--accent);
            font-size: 1.4rem;
        }
.contact-info span {
            color: var(--text);
            font-weight: 500;
        }
.legal-page {
                padding: 40px 0 40px;
            }
.legal-hero {
                padding: 32px 24px;
                border-radius: 12px;
            }
.legal-hero h1 {
                font-size: 1.6rem;
            }
.legal-hero p {
                font-size: 1rem;
            }
.legal-section {
                padding: 24px 20px;
            }

/* --- 子页面追加 --- */
/* 页面专属样式：网站地图 */
        .sitemap-hero {
            background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
            color: #ffffff;
            padding: 60px 0 40px;
            text-align: center;
        }
.sitemap-hero h1 {
            font-weight: 800;
            font-size: 2.2rem;
            margin-bottom: 12px;
        }
.sitemap-hero p {
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }
.sitemap-section {
            background: var(--bg);
            padding: 40px 0;
        }
.sitemap-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
.sitemap-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            padding: 24px;
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
.sitemap-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.sitemap-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.sitemap-card h3 i {
            color: var(--main);
        }
.sitemap-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.sitemap-card ul li {
            margin-bottom: 10px;
        }
.sitemap-card ul li a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s;
        }
.sitemap-card ul li a:hover {
            color: var(--main);
        }
.sitemap-card ul li a i {
            font-size: 0.75rem;
            color: var(--accent);
        }
.sitemap-note {
            background: rgba(37, 99, 235, 0.06);
            border-left: 4px solid var(--main);
            border-radius: 8px;
            padding: 16px 20px;
            margin-top: 30px;
            font-size: 0.95rem;
            color: var(--text);
        }
.sitemap-note a {
            color: var(--main);
            font-weight: 600;
            text-decoration: none;
        }
.sitemap-note a:hover {
            text-decoration: underline;
        }
.sitemap-hero h1 {
                font-size: 1.6rem;
            }
.sitemap-hero p {
                font-size: 1rem;
            }