/* 69天堂 · 69影视 - 影院金卡风格（非同质化） */

:root {
  --bg: #0c0c0c;
  --bg-card: #141414;
  --bg-strip: #1a1a1a;
  --gold: #c9a227;
  --gold-light: #e5c84a;
  --cream: #e5dcc8;
  --text: #e8e6e3;
  --text-dim: #9a958c;
  --border: #2a2a2a;
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* 顶栏 */
header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--gold); }

/* 主区 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* 品牌条 */
.brand-strip {
  text-align: center;
  padding: 40px 24px 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.brand-strip h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.brand-strip .tagline {
  font-size: 15px;
  color: var(--text-dim);
}

/* 简介 */
.intro-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
  margin-bottom: 48px;
}

.intro-block h2 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.intro-block p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 16px;
  text-align: justify;
}

.intro-block p:last-child { margin-bottom: 0; }

/* 区块标题 */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.section-head .more {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.section-head .more:hover { color: var(--gold-light); }

/* 海报网格 - 金卡样式 */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.poster-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.poster-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.poster-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.poster-card .poster {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}

/* 视频卡片：悬停遮罩 */
.poster-card .poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.poster-card:hover .poster::before {
  opacity: 1;
}

/* 视频卡片：播放图标（圆形 + 三角） */
.poster-card .poster::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7L8 5z'/%3E%3C/svg%3E") center/26px no-repeat;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.poster-card:hover .poster::after {
  opacity: 1;
}

.poster-card .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 视频卡片：角标（时长 / HD） */
.poster-card .vid-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.02em;
}

.poster-card .vid-badge.hd {
  background: var(--gold);
  color: var(--bg);
}

.poster-card .strip {
  background: var(--bg-strip);
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  min-height: 52px;
}

.poster-card .strip .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.poster-card .strip .m {
  font-size: 12px;
  color: var(--gold);
  margin-top: 6px;
}

/* 列表页 */
.list-hero {
  text-align: center;
  padding: 40px 24px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.list-hero h1 {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.list-hero p {
  font-size: 15px;
  color: var(--text-dim);
}

/* 内容页 */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.article-wrap .bread {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.article-wrap .bread a {
  color: var(--gold);
  text-decoration: none;
}

.article-wrap .bread span { margin: 0 8px; }

.article-wrap h1 {
  font-size: 26px;
  color: var(--cream);
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.article-meta {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.article-wrap .thumb {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 28px;
}

.article-wrap .body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: justify;
}

.article-wrap .body strong { color: var(--text); }

/* 页脚 */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  background: var(--bg-card);
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: var(--gold); }

.copyright { font-size: 13px; color: var(--text-dim); }

/* 响应式 */
@media (max-width: 992px) {
  .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .header-inner { height: 52px; }
  .logo { font-size: 18px; }
  .nav { gap: 20px; font-size: 13px; }
  .brand-strip { padding: 32px 20px 28px; }
  .brand-strip h1 { font-size: 22px; }
  .intro-block { padding: 26px 24px; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
  .section-head h2 { font-size: 18px; }
  .article-wrap { padding: 28px 24px; }
  .article-wrap h1 { font-size: 22px; }
}

@media (max-width: 480px) {
  main { padding: 24px 12px 48px; }
  .brand-strip h1 { font-size: 20px; }
  .intro-block { padding: 22px 18px; border-radius: 0 10px 10px 0; }
  .poster-card .strip { padding: 10px 12px; }
  .poster-card .strip .t { font-size: 13px; }
  .article-wrap { padding: 24px 18px; border-radius: 10px; }
  .article-wrap h1 { font-size: 20px; }
}
