/* 全局样式 - 现代化美化 */
* {
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 页面容器 */
.page-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-height: 100vh;
  position: relative;
}

/* 顶部导航栏 - 现代化设计 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0 40px;
  height: 70px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.logo {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
  transform: translateY(-1px);
}

/* 轮播区 - 现代化设计 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 948px;
  margin: 40px auto 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  background: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s;
  width: 100%;
}
.carousel-item {
  min-width: 100%;
  display: none;
  width: 100%;
}
.carousel-item.active {
  display: block;
}
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* 轮播图响应式设计 */
@media (max-width: 1024px) {
  .carousel {
    max-width: 90%;
    margin: 30px auto 0 auto;
  }
}

@media (max-width: 768px) {
  .carousel {
    max-width: 95%;
    margin: 20px auto 0 auto;
    border-radius: 15px;
  }
  
  .carousel-controls button {
    font-size: 20px;
    padding: 10px 15px;
  }
}
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.carousel-controls button {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-controls button:hover {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* 分类区 - 现代化设计 */
.categories {
  width: 100%;
  max-width: 948px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.categories h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.categories h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  border-radius: 2px;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.category-item {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #ff9800;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.category-item:hover::before {
  left: 100%;
}

.category-item:hover {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.category-item.active {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

/* 分类横幅样式 */
.category-banner {
  width: 900px;
  height: 120px;
  object-fit: cover;
  display: block;
  margin: 30px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 热门榜单 - 现代化设计 */
.hot-list {
  width: 100%;
  max-width: 948px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hot-list::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hot-list h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.hot-list h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  border-radius: 2px;
}

.hot-list-inner {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
/* 漫画卡片 - 现代化设计 */
.comic-card {
  width: 150px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.comic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 87, 34, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.comic-card:hover::before {
  opacity: 1;
}

.comic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 152, 0, 0.2);
  border-color: rgba(255, 152, 0, 0.3);
}

.comic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

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

.comic-info {
  padding: 15px 10px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.comic-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.comic-card:hover .comic-title {
  color: #ff9800;
}

.comic-author {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}

.comic-hot {
  font-size: 12px;
  color: #ff5722;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 每日更新区 - 现代化设计 */
.daily-update {
  width: 100%;
  max-width: 948px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.daily-update h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.daily-update h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  border-radius: 2px;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  position: relative;
  z-index: 1;
}

.update-list li {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-list li::before {
  content: '✨';
  margin-right: 10px;
  color: #ff9800;
}

.update-list li:hover {
  background: rgba(255, 152, 0, 0.1);
  transform: translateX(10px);
  border-color: rgba(255, 152, 0, 0.3);
}

/* 页脚 - 现代化设计 */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  font-size: 16px;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
}

.footer a {
  color: #ff9800;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff9800;
  transition: width 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: #ff5722;
  transform: translateY(-1px);
} 

/* 头像样式 */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px auto;
}

/* 投稿封面预览样式 */
.upload-cover {
  width: 120px;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px auto;
} 

/* 投稿表单、登录表单、用户卡片优化样式 */
.upload-section, .login-section, .member-section {
  width: 100%;
  max-width: 948px;
  margin: 40px auto 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.upload-section h2, .login-section h2, .member-section h2 {
  text-align: center;
  color: #ff9800;
  margin-bottom: 24px;
}
.upload-form, .login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 15px;
  color: #555;
}
.upload-form input[type="text"],
.upload-form input[type="file"],
.upload-form textarea,
.login-form input[type="text"],
.login-form input[type="password"] {
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: border 0.2s;
}
.upload-form input:focus,
.upload-form textarea:focus,
.login-form input:focus {
  border: 1.5px solid #ff9800;
  outline: none;
}
.upload-form textarea {
  min-height: 60px;
  resize: vertical;
}
.btn-primary {
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #ffa726;
}
.member-info-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px 0;
  margin: 0 auto;
  max-width: 320px;
  text-align: center;
}
@media (max-width: 600px) {
  .upload-section, .login-section, .member-section {
    max-width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .category-banner, .carousel, .hot-list, .categories {
    width: 98vw !important;
    min-width: unset !important;
    max-width: 100vw !important;
  }
}

/* 分类页内的已完结作品模块融入容器背景 */
.categories .hot-list {
  width: auto;
  margin: 24px 0 0 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
.categories .hot-list h2 {
  color: #333;
  font-size: 18px;
  margin: 8px 0 12px 0;
}
.categories .hot-list .hot-list-inner {
  gap: 16px;
  margin-top: 8px;
} 