/* 日韩 电影 站点样式 - UI风格1 - 布局B */

body.ui-style-1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* 导航增强 */
nav {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a.active {
  color: #667eea;
  font-weight: bold;
  border-bottom: 2px solid #667eea;
}

nav a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

/* 响应式优化 */
@media (max-width: 767px) {
  header h1 {
    font-size: 1.8em !important;
  }

  header p {
    font-size: 1em !important;
  }

  article h3 {
    font-size: 1.1em !important;
  }
}

/* 卡片悬停效果 */
article {
  transition: transform 0.2s, box-shadow 0.2s;
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

/* 按钮样式 */
a[style*="background"] {
  transition: opacity 0.2s, transform 0.1s;
}

a[style*="background"]:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* 返回顶部按钮 */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2c5aa0;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background 0.2s;
  z-index: 1000;
}

#back-to-top:hover {
  background: #1e3a8a;
}

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

/* 布局变体 B 特定样式 */
.layout-variant-B main {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
