/* 最后影视 - ui-style-12 - Layout B */

/* 基础样式增强 */
body {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

/* 卡片悬停效果 */
.card:hover, .card-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* 列表项悬停 */
.list-item:hover,
.daquan-item:hover,
.top-item:hover,
.topic-item:hover,
.latest-item:hover {
  background: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 16px !important;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
  }

  section > div[style*="padding"] {
    padding: 20px !important;
  }
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 999;
}

#back-to-top:hover {
  background: #0052a3;
  transform: translateY(-3px);
}

#back-to-top.show {
  display: flex;
}

/* UI风格变体 */
.ui-style-12 {
  /* 此处可根据UI_INDEX添加不同的主题色 */
}

/* 布局变体 B */
/* 可根据需要添加特定布局样式 */

/* 打印样式 */
@media print {
  nav, footer, #back-to-top {
    display: none;
  }
}