/* 大雷擦狙击视频站 风格：深色电竞/游戏视频 */
:root {
  --bg: #0d1117;
  --card: #161b22;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #3fb950;
  --accent-hover: #56d364;
  --border: #30363d;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }

header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.logo { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 1rem; }
.logo:hover { color: var(--accent-hover); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--accent); }

main { max-width: var(--max-w); margin: 0 auto; padding: 1rem; }

.hero {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.hero h1 { font-size: clamp(1rem, 3.5vw, 1.25rem); color: var(--text); margin-bottom: 0.5rem; font-weight: 600; }
.hero .tagline { color: var(--text-muted); font-size: 0.9rem; }

.intro { margin-bottom: 2rem; }
.intro h2 { font-size: 1.1rem; color: var(--accent); margin-bottom: 0.75rem; border-left: 4px solid var(--accent); padding-left: 0.75rem; }
.intro p { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-muted); }

.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.section-head h2 { font-size: 1.05rem; color: var(--text); }
.section-head .more { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.section-head .more:hover { text-decoration: underline; }

/* 视频卡片网格 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.video-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.video-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.video-card a { text-decoration: none; color: inherit; display: block; }
.video-card .thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.2s; }
.video-card:hover .thumb .play { opacity: 1; }
.video-card .thumb .play svg { width: 48px; height: 48px; fill: #fff; }
.video-card .thumb .dur { position: absolute; bottom: 0.25rem; right: 0.25rem; font-size: 0.7rem; background: rgba(0,0,0,0.8); padding: 0.15rem 0.4rem; border-radius: 4px; }
.video-card .body { padding: 0.65rem; }
.video-card .t { font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-card .m { font-size: 0.8rem; color: var(--text-muted); }

.page-title { margin-bottom: 1.25rem; }
.page-title h1 { font-size: 1.2rem; color: var(--text); margin-bottom: 0.25rem; }
.page-title p { font-size: 0.9rem; color: var(--text-muted); }

.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text); }
.article .meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.article .content p { margin-bottom: 0.85rem; font-size: 0.95rem; color: var(--text-muted); }
.article .content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; border: 1px solid var(--border); }
.article .back { display: inline-block; margin-top: 1.5rem; color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.article .back:hover { text-decoration: underline; }

footer { max-width: var(--max-w); margin: 2rem auto 0; padding: 1rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .hero { padding: 1.5rem 1rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .video-card .body { padding: 0.5rem; }
  .video-card .t { font-size: 0.85rem; }
}
