:root {
    --accent: #e85d8e;
    --accent-soft: #ff8bb4;
    --accent-light: #ffb2cc;
    --accent-dark: #a63c5e;
    --accent-rgb: 232 93 142;
    --accent-soft-rgb: 255 139 180;
}
/* 暗黑影视站主题 —— 借鉴 xty秘密影院(暗黑+渐变) + tydgy免费午夜剧场(海报网格+分类) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #0a0c10; color: #eef5ff; font-family: 'Inter','Segoe UI',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.top-bar { position: sticky; top: 0; z-index: 50; background: rgba(10,12,16,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,var(--accent),var(--accent-dark)); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px -2px rgb(var(--accent-rgb) / 0.5); }
.logo-text { font-size: 1.25rem; font-weight: 800; background: linear-gradient(135deg,var(--accent-light),var(--accent-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { display: block; font-size: 0.68rem; color: #7b86a5; font-weight: 500; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: #cdd9ff; font-size: 0.9rem; font-weight: 500; transition: .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-soft); text-shadow: 0 0 4px rgb(var(--accent-soft-rgb) / 0.5); }

/* ===== 首页 Hero（紧凑，正文优先） ===== */
.hero { padding: 28px 0 4px; }
.hero h1 { font-size: 1.6rem; font-weight: 800; color: #f0f3ff; margin-bottom: 10px; line-height: 1.35; }
.hero .subtitle { font-size: 0.95rem; color: #9aa5c4; max-width: 780px; line-height: 1.7; }

/* ===== 正文/导读 ===== */
.article-abs { background: rgb(var(--accent-rgb) / 0.08); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 8px; color: #d8e0f5; margin: 30px 0 20px; font-size: 0.95rem; line-height: 1.8; }
.article-abs strong { color: var(--accent-soft); margin-right: 6px; }
.article-body { color: #c3cee8; line-height: 1.95; font-size: 1rem; }
.article-body p { margin-bottom: 18px; }
.article-body h2, .article-body h3 { color: #f0f3ff; margin: 26px 0 14px; font-size: 1.15rem; }

/* ===== 区块标题 ===== */
.section-title { font-size: 1.3rem; font-weight: 700; margin: 32px 0 16px; color: #f0f3ff; padding-left: 13px; border-left: 3px solid var(--accent); }
.section-title .accent { color: var(--accent); }

/* ===== 电影海报网格 ===== */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.movie-card { background: rgba(18,20,28,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; transition: all .3s; display: block; }
.movie-card:hover { transform: translateY(-6px); border-color: rgb(var(--accent-rgb) / 0.6); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.8); }
.movie-poster { aspect-ratio: 2/3; overflow: hidden; background: #14161f; }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.movie-card:hover .movie-poster img { transform: scale(1.06); }

/* ===== 播放按钮（真实影视站标志：海报悬停出播放键） ===== */
.movie-poster, .movie-poster-big { position: relative; }
.movie-poster::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.35); opacity: 0; transition: .3s; z-index: 1;
}
.movie-card:hover .movie-poster::before { opacity: 1; }
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.9);
    opacity: 0; transition: all .3s; z-index: 2; pointer-events: none;
}
.play-btn::after {
    content: ''; position: absolute; top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid; border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}
.movie-card:hover .play-btn,
.movie-poster-big:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.movie-info { padding: 12px 14px 14px; }
.movie-title { font-size: 0.92rem; font-weight: 700; color: #f0f3ff; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.movie-sub { font-size: 0.7rem; color: #6b7696; margin: 2px 0 5px; }
.movie-meta { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--accent-soft); }
.movie-score { font-size: 0.8rem; color: var(--accent-light); font-weight: 600; margin: 6px 0; }
.movie-plot { font-size: 0.78rem; color: #9aa5c4; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }

/* ===== 热播榜 ===== */
.top-list { display: flex; flex-direction: column; gap: 10px; }
.top-item { display: flex; align-items: center; gap: 14px; background: rgba(18,20,28,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 16px; transition: all .3s; }
.top-item:hover { border-color: rgb(var(--accent-rgb) / 0.6); transform: translateX(4px); }
.top-rank { font-size: 1.5rem; font-weight: 800; color: var(--accent); width: 34px; text-align: center; flex-shrink: 0; }
.top-info { flex: 1; min-width: 0; }
.top-name { font-size: 0.95rem; font-weight: 700; color: #f0f3ff; }
.top-en { font-size: 0.72rem; color: #6b7696; font-weight: 400; }
.top-meta { font-size: 0.78rem; color: #7b86a5; margin-top: 3px; }
.top-score { font-size: 0.9rem; color: var(--accent-light); font-weight: 700; flex-shrink: 0; }

/* ===== 分类筛选 ===== */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.filter-tab { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; color: #bac8e6; transition: .2s; }
.filter-tab:hover, .filter-tab.active { background: rgb(var(--accent-rgb) / 0.2); border-color: rgb(var(--accent-rgb) / 0.6); color: var(--accent-light); }

/* ===== 片目一览 ===== */
.full-list-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.full-list { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.full-list th { text-align: left; color: #7b86a5; font-weight: 600; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); white-space: nowrap; }
.full-list td { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #c3cee8; white-space: nowrap; }
.full-list tr:last-child td { border-bottom: none; }
.fl-name { color: #f0f3ff; font-weight: 600; }
.fl-en { color: #6b7696; font-size: 0.78rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(18,20,28,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px 18px; }
.faq-q { font-weight: 700; color: #f0f3ff; font-size: 0.95rem; margin-bottom: 8px; }
.faq-a { color: #9aa5c4; font-size: 0.88rem; line-height: 1.7; }

/* ===== 留言区 ===== */
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment-item { display: flex; gap: 12px; background: rgba(18,20,28,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.comment-name { font-weight: 700; color: #f0f3ff; font-size: 0.88rem; }
.comment-date { color: #6b7696; font-size: 0.75rem; }
.comment-text { color: #bac8e6; font-size: 0.88rem; line-height: 1.6; }

/* ===== 面包屑 ===== */
.breadcrumb { background: rgba(255,255,255,0.03); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: #7b86a5; }
.breadcrumb a { color: #bac8e6; }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb .sep { margin: 0 8px; color: #5a607a; }

/* ===== 详情页 ===== */
.movie-detail { display: flex; gap: 28px; margin: 30px 0; flex-wrap: wrap; }
.movie-poster-big { flex: 0 0 220px; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.8); }
.movie-poster-big img { width: 100%; height: 100%; object-fit: cover; }
.movie-detail-info { flex: 1; min-width: 280px; }
.movie-detail-info h1 { font-size: 1.8rem; font-weight: 800; color: #f0f3ff; line-height: 1.4; margin-bottom: 14px; }
.movie-meta-row { display: flex; gap: 18px; flex-wrap: wrap; color: #9aa5c4; font-size: 0.85rem; margin-bottom: 16px; }
.movie-meta-row .cate { color: var(--accent-soft); }

/* ===== 页脚 ===== */
.footer { margin-top: 54px; background: rgba(2,1,5,0.7); border-top: 1px solid rgb(var(--accent-rgb) / 0.2); padding: 34px 0 22px; }
.footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer h5 { color: #f0f3ff; margin-bottom: 12px; font-size: 0.95rem; }
.footer a { display: block; color: #7b86a5; font-size: 0.85rem; margin-bottom: 8px; }
.footer a:hover { color: var(--accent-soft); }
.footer .copy { width: 100%; text-align: center; color: #5a607a; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; margin-top: 10px; }
.copyright { color: #5a607a; font-size: 0.78rem; margin-bottom: 10px; }

/* ===== 响应式 ===== */
@media (max-width: 750px) {
  .hero h1 { font-size: 1.4rem; }
  .hero .subtitle { font-size: 0.88rem; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .movie-detail { flex-direction: column; }
  .movie-poster-big { flex: 0 0 auto; width: 160px; margin: 0 auto; }

  /* 移动端导航：logo 在上，导航单行横滑，不换行不乱 */
  .top-bar .container { height: auto; flex-direction: column; align-items: flex-start; padding: 10px 20px; gap: 10px; }
  .nav-links { gap: 16px; flex-wrap: nowrap; overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex-shrink: 0; padding-bottom: 4px; }

  /* 移动端播放按钮：触屏没有 hover，小角标常驻海报右下角 */
  .movie-poster::before { display: none; }
  .play-btn {
    top: auto; bottom: 8px; right: 8px; left: auto;
    transform: none;
    width: 30px; height: 30px;
    opacity: 0.88;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.85);
  }
  .play-btn::after { border-width: 5px 0 5px 9px; left: 55%; }
  .movie-card:hover .play-btn,
  .movie-poster-big:hover .play-btn { transform: none; opacity: 0.92; }
  .movie-poster-big .play-btn { width: 44px; height: 44px; bottom: 10px; right: 10px; }
  .movie-poster-big .play-btn::after { border-width: 7px 0 7px 12px; }

  /* 卡片更紧凑 */
  .movie-info { padding: 8px 10px 10px; }
  .movie-title { font-size: 0.85rem; }
  .movie-plot { display: none; }
  .section-title { font-size: 1.15rem; margin: 24px 0 12px; }
  .article-body { font-size: 0.92rem; }
  .footer .container { flex-direction: column; gap: 18px; }
}
