/* ============================================
   弹幕宇宙 - 主样式表
   CSS前缀: dm-
   配色: 深空紫 #0A051A | 星云紫 #7F5AF0 | 恒星黄 #F9D71C | 星尘白 #E0E0E0
   ============================================ */

/* === 字体导入（本地化） === */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Orbitron Regular'), local('Orbitron-Regular');
}

/* === CSS变量 === */
:root {
  --dm-deep-space: #0A051A;
  --dm-nebula-purple: #7F5AF0;
  --dm-star-yellow: #F9D71C;
  --dm-stardust-white: #E0E0E0;
  --dm-glass-bg: rgba(127, 90, 240, 0.08);
  --dm-glass-border: rgba(127, 90, 240, 0.25);
  --dm-glass-shadow: rgba(127, 90, 240, 0.15);
  --dm-card-bg: rgba(15, 10, 35, 0.75);
  --dm-text-secondary: #A0A0B0;
  --dm-danger-red: #FF4757;
  --dm-success-green: #2ED573;
  --dm-font-heading: 'Orbitron', 'Exo 2', 'Noto Sans SC', sans-serif;
  --dm-font-body: 'Roboto', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--dm-font-body);
  background-color: var(--dm-deep-space);
  color: var(--dm-stardust-white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--dm-nebula-purple);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--dm-star-yellow);
  text-shadow: 0 0 12px rgba(249, 215, 28, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  line-height: 1.3;
}

/* === 干扰标签隐藏 === */
.danmu-jammer-block {
  display: none !important;
}

/* === 星空背景粒子 === */
#dm-star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* === 导航栏 === */
#dm-header {
  width: 100%;
  z-index: 100;
  background: rgba(10, 5, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dm-glass-border);
  padding: 0 20px;
}

.dm-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.dm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dm-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--dm-nebula-purple), var(--dm-deep-space));
  box-shadow: 0 0 16px var(--dm-nebula-purple);
  animation: dm-logo-pulse 3s ease-in-out infinite;
}

@keyframes dm-logo-pulse {
  0%, 100% { box-shadow: 0 0 16px var(--dm-nebula-purple); }
  50% { box-shadow: 0 0 28px var(--dm-nebula-purple), 0 0 48px rgba(127, 90, 240, 0.3); }
}

.sp-logo-text {
  font-family: var(--dm-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dm-stardust-white);
  text-shadow: 0 0 10px rgba(127, 90, 240, 0.5);
}

.dm-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.dm-nav-links li a {
  display: block;
  padding: 8px 14px;
  color: var(--dm-stardust-white);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.dm-nav-links li a:hover,
.dm-nav-links li a.dm-active {
  color: var(--dm-star-yellow);
  background: rgba(127, 90, 240, 0.12);
  text-shadow: 0 0 10px rgba(249, 215, 28, 0.4);
}

.dm-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--dm-star-yellow);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.dm-nav-links li a:hover::after,
.dm-nav-links li a.dm-active::after {
  width: 60%;
}

/* 汉堡菜单 */
.dm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  background: none;
  border: none;
}

.dm-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dm-stardust-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.dm-hamburger.dm-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.dm-hamburger.dm-open span:nth-child(2) {
  opacity: 0;
}

.dm-hamburger.dm-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === 移动端侧边菜单 === */
.dm-mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(10, 5, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--dm-glass-border);
  z-index: 150;
  transition: right 0.35s ease;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.dm-mobile-menu.dm-open {
  right: 0;
}

.dm-mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--dm-stardust-white);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(127, 90, 240, 0.15);
  transition: all 0.3s ease;
}

.dm-mobile-menu a:hover {
  color: var(--dm-star-yellow);
  padding-left: 10px;
}

.dm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dm-overlay.dm-open {
  opacity: 1;
  visibility: visible;
}

/* === 容器 === */
.dm-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 玻璃拟态卡片 === */
.dm-glass-card {
  background: var(--dm-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--dm-glass-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px var(--dm-glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dm-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(127, 90, 240, 0.25);
}

/* === Hero区域 === */
#dm-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.dm-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.dm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.dm-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--dm-stardust-white), var(--dm-star-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: dm-title-glow 4s ease-in-out infinite alternate;
}

@keyframes dm-title-glow {
  0% { filter: drop-shadow(0 0 8px rgba(249, 215, 28, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(249, 215, 28, 0.6)); }
}

.dm-hero-slogan {
  font-size: 1.2rem;
  color: var(--dm-text-secondary);
  margin-bottom: 30px;
  font-style: italic;
}

.dm-hero-desc {
  font-size: 1.05rem;
  color: var(--dm-stardust-white);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* === 按钮 === */
.dm-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.dm-btn-primary {
  background: linear-gradient(135deg, var(--dm-nebula-purple), #9B6FF0);
  color: #fff;
  box-shadow: 0 4px 20px rgba(127, 90, 240, 0.4);
}

.dm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(127, 90, 240, 0.6);
  color: #fff;
}

.dm-btn-outline {
  background: transparent;
  color: var(--dm-star-yellow);
  border: 2px solid var(--dm-star-yellow);
}

.dm-btn-outline:hover {
  background: var(--dm-star-yellow);
  color: var(--dm-deep-space);
}

/* === 模块标题 === */
.dm-section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--dm-stardust-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-section-title .dm-title-icon {
  width: 8px;
  height: 8px;
  background: var(--dm-star-yellow);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--dm-star-yellow);
  animation: dm-dot-pulse 2s ease-in-out infinite;
}

@keyframes dm-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.dm-section-subtitle {
  font-family: var(--dm-font-heading);
  font-size: 0.85rem;
  color: var(--dm-nebula-purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.dm-section-desc {
  color: var(--dm-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 700px;
}

/* === 模块间距 === */
.dm-section {
  padding: 60px 0;
}

/* === 视频卡片网格 === */
.dm-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.dm-video-card {
  background: var(--dm-card-bg);
  border: 1px solid rgba(127, 90, 240, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dm-video-card:hover {
  transform: translateY(-6px);
  border-color: var(--dm-nebula-purple);
  box-shadow: 0 8px 32px rgba(127, 90, 240, 0.2);
}

.dm-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.dm-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dm-video-card:hover .dm-video-thumb img {
  transform: scale(1.05);
}

.dm-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--dm-font-heading);
}

.dm-video-danmaku-count {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(127, 90, 240, 0.85);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.dm-video-info {
  padding: 14px;
}

.dm-video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dm-stardust-white);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dm-video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--dm-text-secondary);
}

.dm-video-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === 排行榜 === */
.dm-ranking-list {
  list-style: none;
}

.dm-ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(127, 90, 240, 0.1);
  transition: background 0.3s ease;
}

.dm-ranking-item:hover {
  background: rgba(127, 90, 240, 0.06);
}

.dm-ranking-num {
  font-family: var(--dm-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  color: var(--dm-text-secondary);
}

.dm-ranking-item:nth-child(1) .dm-ranking-num { color: var(--dm-star-yellow); }
.dm-ranking-item:nth-child(2) .dm-ranking-num { color: #C0C0C0; }
.dm-ranking-item:nth-child(3) .dm-ranking-num { color: #CD7F32; }

.dm-ranking-title {
  flex: 1;
  font-size: 0.95rem;
  color: var(--dm-stardust-white);
}

.dm-ranking-heat {
  font-family: var(--dm-font-heading);
  font-size: 0.85rem;
  color: var(--dm-danger-red);
}

/* === 搜索引擎模块 === */
.dm-search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.dm-search-input {
  width: 100%;
  padding: 16px 60px 16px 24px;
  border-radius: 30px;
  border: 2px solid var(--dm-glass-border);
  background: rgba(10, 5, 26, 0.8);
  color: var(--dm-stardust-white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dm-search-input:focus {
  border-color: var(--dm-nebula-purple);
  box-shadow: 0 0 20px rgba(127, 90, 240, 0.3);
}

.dm-search-input::placeholder {
  color: var(--dm-text-secondary);
}

.dm-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dm-nebula-purple);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-search-btn:hover {
  background: #9B6FF0;
  box-shadow: 0 0 16px rgba(127, 90, 240, 0.5);
}

/* === 联系/反馈模块 === */
.dm-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dm-contact-card {
  text-align: center;
  padding: 32px 20px;
}

.dm-contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.dm-contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dm-stardust-white);
}

.dm-contact-desc {
  font-size: 0.9rem;
  color: var(--dm-text-secondary);
}

/* === 页脚 === */
#dm-footer {
  background: rgba(5, 2, 12, 0.95);
  border-top: 1px solid var(--dm-glass-border);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.dm-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.dm-footer-col h4 {
  font-size: 1rem;
  font-family: var(--dm-font-heading);
  color: var(--dm-star-yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dm-footer-status {
  font-size: 0.85rem;
  color: var(--dm-text-secondary);
  line-height: 2;
}

.dm-footer-status .dm-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-success-green);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--dm-success-green);
}

.dm-footer-links {
  list-style: none;
}

.dm-footer-links li {
  margin-bottom: 10px;
}

.dm-footer-links li a {
  color: var(--dm-text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.dm-footer-links li a:hover {
  color: var(--dm-star-yellow);
}

.dm-footer-copyright {
  font-size: 0.85rem;
  color: var(--dm-text-secondary);
  line-height: 1.8;
}

.dm-footer-bottom {
  border-top: 1px solid rgba(127, 90, 240, 0.15);
  padding-top: 20px;
  text-align: center;
}

.dm-footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--dm-text-secondary);
}

.dm-footer-badges a {
  color: var(--dm-text-secondary);
}

.dm-footer-badges a:hover {
  color: var(--dm-star-yellow);
}

.dm-footer-icp {
  font-size: 0.8rem;
  color: var(--dm-text-secondary);
}

.dm-footer-icp a {
  color: var(--dm-text-secondary);
  margin: 0 8px;
}

/* === 弹幕动画 === */
.dm-danmaku-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.dm-danmaku-item {
  position: absolute;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  animation: dm-danmaku-fly linear forwards;
  will-change: transform;
}

@keyframes dm-danmaku-fly {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* === 栏目页通用 === */
.dm-page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
}

.dm-page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.dm-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.dm-page-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--dm-stardust-white);
}

.dm-page-hero-content p {
  font-size: 1.05rem;
  color: var(--dm-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === 弹幕战场专属 === */
.dm-battle-arena {
  position: relative;
  background: var(--dm-card-bg);
  border: 1px solid var(--dm-glass-border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
}

.dm-battle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(127, 90, 240, 0.1);
  border-bottom: 1px solid var(--dm-glass-border);
}

.dm-team-red { color: var(--dm-danger-red); }
.dm-team-blue { color: #4A9EFF; }

.dm-health-bar {
  width: 200px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.dm-health-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
}

.dm-health-fill.dm-red { background: linear-gradient(90deg, #FF4757, #FF6B81); }
.dm-health-fill.dm-blue { background: linear-gradient(90deg, #4A9EFF, #70B8FF); }

.dm-battle-scene {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dm-battle-input {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--dm-glass-border);
}

.dm-battle-input input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--dm-glass-border);
  background: rgba(10, 5, 26, 0.8);
  color: var(--dm-stardust-white);
  font-size: 0.9rem;
  outline: none;
}

.dm-battle-input input:focus {
  border-color: var(--dm-nebula-purple);
}

.dm-battle-sidebar {
  background: var(--dm-card-bg);
  border: 1px solid var(--dm-glass-border);
  border-radius: 16px;
  padding: 20px;
}

.dm-battle-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

/* === APP下载页 === */
.dm-app-section {
  text-align: center;
  padding: 80px 20px;
}

.dm-app-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.dm-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--dm-card-bg);
  border: 1px solid var(--dm-glass-border);
  color: var(--dm-stardust-white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dm-app-badge:hover {
  border-color: var(--dm-nebula-purple);
  box-shadow: 0 0 20px rgba(127, 90, 240, 0.3);
  color: var(--dm-stardust-white);
}

.dm-qr-code {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  margin: 32px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
  padding: 10px;
}

/* === 公约/日志模块 === */
.dm-rules-list {
  list-style: none;
  counter-reset: dm-rule;
}

.dm-rules-list li {
  counter-increment: dm-rule;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--dm-card-bg);
  border: 1px solid rgba(127, 90, 240, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 52px;
}

.dm-rules-list li::before {
  content: counter(dm-rule, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--dm-font-heading);
  font-size: 1.1rem;
  color: var(--dm-nebula-purple);
  font-weight: 700;
}

/* === 日志时间线 === */
.dm-timeline {
  position: relative;
  padding-left: 32px;
}

.dm-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--dm-nebula-purple), transparent);
}

.dm-timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--dm-card-bg);
  border: 1px solid rgba(127, 90, 240, 0.1);
  border-radius: 10px;
}

.dm-timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dm-nebula-purple);
  box-shadow: 0 0 10px var(--dm-nebula-purple);
}

.dm-timeline-date {
  font-family: var(--dm-font-heading);
  font-size: 0.8rem;
  color: var(--dm-nebula-purple);
  margin-bottom: 6px;
}

.dm-timeline-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.dm-timeline-desc {
  font-size: 0.9rem;
  color: var(--dm-text-secondary);
}

/* === 专题海报卡片 === */
.dm-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.dm-poster-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.dm-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dm-poster-card:hover img {
  transform: scale(1.05);
}

.dm-poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(10, 5, 26, 0.9));
}

.dm-poster-overlay h3 {
  font-size: 1.1rem;
  color: var(--dm-stardust-white);
  margin-bottom: 4px;
}

.dm-poster-overlay p {
  font-size: 0.85rem;
  color: var(--dm-text-secondary);
}

/* === 脉冲动画 === */
.dm-pulse {
  animation: dm-pulse-anim 2s ease-in-out infinite;
}

@keyframes dm-pulse-anim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* === 响应式 === */
@media (max-width: 1440px) {
  .dm-container {
    max-width: 1200px;
  }
}

@media (max-width: 1024px) {
  .dm-battle-layout {
    grid-template-columns: 1fr;
  }
  .dm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dm-hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .dm-nav-links {
    display: none;
  }
  .dm-hamburger {
    display: flex;
  }
  .dm-hero-content h1 {
    font-size: 1.8rem;
  }
  .dm-hero-slogan {
    font-size: 1rem;
  }
  .dm-section-title {
    font-size: 1.4rem;
  }
  .dm-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dm-video-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .dm-page-hero-content h1 {
    font-size: 1.8rem;
  }
  .dm-section {
    padding: 40px 0;
  }
  #dm-hero {
    min-height: 60vh;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  .dm-hero-content h1 {
    font-size: 1.5rem;
  }
  .dm-video-grid {
    grid-template-columns: 1fr;
  }
  .dm-nav-container {
    height: 56px;
  }
  .dm-container {
    padding: 0 12px;
  }
}
