/* 91视频网站 - 影院风深色主题 */
:root {
  --bg-page: #0c0e14;
  --bg-main: #080a0f;
  --bg-card: #12151c;
  --bg-soft: #0a0c10;
  --accent: #c9a227;
  --accent-alt: #e8c547;
  --text-main: #f4f4f5;
  --text-sub: #a1a1aa;
  --border: #27272a;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 20px 50px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,162,39,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(201,162,39,0.06), transparent),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(12,14,20,0.97), rgba(12,14,20,0.92));
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.8rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
  box-shadow: 0 0 20px rgba(201,162,39,0.35);
}
.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--text-main);
}
.logo-text-sub {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  font-size: 0.85rem;
}
.nav a {
  text-decoration: none;
  color: var(--text-sub);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover,
.nav a.active {
  background: rgba(201,162,39,0.15);
  color: var(--accent-alt);
}

.main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.6rem 1.3rem 2.4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr);
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}
.hero-cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-cover-img {
  position: absolute;
  inset: 0;
}
.hero-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,10,15,0.97), rgba(8,10,15,0.3), transparent);
}
.hero-cover-content {
  position: relative;
  padding: 1.5rem 1.6rem 1.4rem;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.4);
  font-size: 0.75rem;
  color: var(--accent-alt);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.hero-lead {
  font-size: 0.9rem;
  color: var(--text-sub);
  max-width: 32rem;
  margin-bottom: 0.7rem;
}
.hero-lead strong {
  color: var(--accent-alt);
  font-weight: 500;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  font-size: 0.78rem;
  color: var(--text-sub);
}
.hero-meta-row span::before {
  content: "· ";
  color: var(--accent);
}

.hero-side {
  display: grid;
  gap: 0.95rem;
}
.hero-side-block {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1rem 1rem 0.9rem;
}
.hero-side-title {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.hero-side-text {
  font-size: 0.81rem;
  color: var(--text-sub);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 1rem;
  font-weight: 600;
}
.section-sub {
  font-size: 0.79rem;
  color: var(--text-sub);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.74rem;
}
.chip {
  padding: 0.14rem 0.5rem;
  border-radius: 8px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--text-sub);
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5fr);
  gap: 1.5rem;
}

.article-list {
  display: grid;
  gap: 0.85rem;
}
.article-item {
  display: grid;
  grid-template-columns: 120px minmax(0,1fr);
  gap: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.article-thumb {
  border-radius: 10px;
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body-title {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.article-body-title a {
  color: var(--text-main);
  text-decoration: none;
}
.article-body-title a:hover {
  color: var(--accent-alt);
}
.article-body-desc,
.article-body-meta {
  font-size: 0.79rem;
  color: var(--text-sub);
}
.article-body-meta { margin-top: 0.2rem; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.95rem;
}
.video-card {
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  border-color: rgba(201,162,39,0.35);
}
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #e8c547);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(201,162,39,0.45);
}
.video-play::after {
  content: "";
  margin-left: 3px;
  border: 9px solid transparent;
  border-left-color: #080a0f;
  border-left-width: 14px;
}
.video-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-size: 0.7rem;
  padding: 0.06rem 0.4rem;
  border-radius: 6px;
  background: rgba(8,10,15,0.85);
  color: var(--text-main);
}
.video-body {
  padding: 0.7rem 0.85rem 0.85rem;
}
.video-title {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  line-height: 1.48;
}
.video-title a {
  color: var(--text-main);
  text-decoration: none;
}
.video-title a:hover {
  color: var(--accent-alt);
}
.video-meta {
  font-size: 0.74rem;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-meta span:first-child::before {
  content: "▶ ";
  font-size: 0.65rem;
  opacity: .85;
}

.list-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px minmax(0,1fr);
  gap: 1rem;
  padding: 0.85rem;
  margin-bottom: 1rem;
}
.list-thumb {
  border-radius: 10px;
  overflow: hidden;
}
.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}
.list-title a {
  color: var(--text-main);
  text-decoration: none;
}
.list-title a:hover {
  color: var(--accent-alt);
}
.list-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 0.3rem;
}
.list-meta {
  font-size: 0.74rem;
  color: var(--text-sub);
}

.article {
  max-width: 800px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 1.6rem;
}
.article-title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.article-meta {
  font-size: 0.79rem;
  color: var(--text-sub);
}
.article-content p {
  margin-bottom: 1rem;
  font-size: 0.93rem;
}
.article-content h2 {
  font-size: 1.02rem;
  margin: 1.6rem 0 0.75rem;
  color: var(--accent-alt);
}
.article-content h3 {
  font-size: 0.92rem;
  margin: 1.2rem 0 0.55rem;
}
.article-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.1rem 0 1.4rem;
  border: 1px solid var(--border);
}
.article-nav {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
}
.article-nav a {
  color: var(--accent-alt);
  text-decoration: none;
}
.article-nav a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 1.3rem 2rem;
  font-size: 0.79rem;
  color: var(--text-sub);
  text-align: center;
}
.site-footer a {
  color: var(--text-sub);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent-alt);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .layout-main {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 720px) {
  .main {
    padding: 1.2rem 1rem 2rem;
  }
  .header-inner {
    padding-inline: 1rem;
  }
  .article-item {
    grid-template-columns: minmax(0,1fr);
  }
  .list-card {
    grid-template-columns: minmax(0,1fr);
  }
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
