/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff6b81;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ff6b81;
  color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #ff5268;
  color: #fff;
}

.btn-primary {
  background-color: #7e57c2;
}

.btn-primary:hover {
  background-color: #6a48b0;
}

.btn-sm {
  padding: 5px 15px;
  font-size: 12px;
}

img {
  max-width: 100%;
  height: auto;
}

/* 图片占位符样式 */
img.error {
  position: relative;
  background-color: #f0f0f0;
  min-height: 150px;
  object-fit: none;
}

img.error::before {
  content: '\f03e';
  font-family: 'Font Awesome 5 Free', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #999;
  z-index: 2;
}

img.error::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 240, 240, 0.8);
  z-index: 1;
}

img.loaded::before,
img.loaded::after {
  display: none;
}

/* 加载中动画效果 */
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

.placeholder {
  animation: shimmer 1.5s infinite linear;
  background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
  background-size: 800px 104px;
  position: relative;
  min-height: 150px;
}

/* 图片加载成功后的过渡效果 */
img {
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

/* 封面图片样式统一 */
.anime-thumb img, 
.manga-thumb img, 
.news-thumb img, 
.headline-thumb img,
.item-thumb img,
.ranking-thumb img,
.manga-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* 占位符动画效果 */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.placeholder {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
  background-size: 1000px 100%;
  position: relative;
}

/* 头部样式 */
.header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.header-top {
  background-color: #f1f1f1;
  padding: 8px 0;
  font-size: 12px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left i {
  color: #ff6b81;
  margin-right: 5px;
}

.header-top-right a {
  margin: 0 5px;
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-text {
  padding-left: 10px;
}

.logo-text h1 {
  font-size: 28px;
  margin: 0;
  color: #ff6b81;
  font-weight: bold;
}

.logo-text p {
  font-size: 14px;
  color: #999;
  margin-top: 2px;
}

.search-box {
  display: flex;
  width: 400px;
}

.search-box input {
  flex: 1;
  border: 2px solid #ff6b81;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
}

.search-box button {
  background-color: #ff6b81;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box button:hover {
  background-color: #ff5268;
}

/* 导航样式 */
.nav {
  background-color: #7e57c2;
}

.nav-list {
  display: flex;
  justify-content: space-between;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-active {
  background-color: #6a48b0;
}

.recharge-btn {
  background-color: #ff6b81;
}

.recharge-btn:hover {
  background-color: #ff5268;
}

/* 主内容区样式 */
.main {
  padding: 20px 0 40px;
}

/* 轮播图样式 */
.banner {
  margin-bottom: 20px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slideshow {
  position: relative;
  max-height: 400px;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  padding: 20px;
}

.slide-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.slide-info p {
  font-size: 16px;
  margin-bottom: 15px;
}

.slide-dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  right: 20px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #fff;
}

/* VIP会员推广 */
.vip-banner {
  background: linear-gradient(to right, #6a48b0, #9174d8);
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vip-info h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.vip-info h2 i {
  color: #ffd700;
  margin-right: 10px;
}

.vip-info p {
  font-size: 14px;
}

.vip-action .btn {
  background-color: #fff;
  color: #7e57c2;
}

.vip-action .btn:hover {
  background-color: #f1f1f1;
}

/* 内容区样式 */
.section {
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.section-title {
  font-size: 20px;
  color: #333;
}

.section-title i {
  color: #7e57c2;
  margin-right: 10px;
}

.more {
  font-size: 14px;
  color: #7e57c2;
}

.more i {
  margin-left: 5px;
}

/* 动画卡片样式 */
.anime-grid, .manga-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.anime-card, .manga-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.anime-card:hover, .manga-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.anime-thumb, .manga-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.anime-thumb img, .manga-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.anime-card:hover .anime-thumb img, 
.manga-card:hover .manga-thumb img {
  transform: scale(1.1);
}

.anime-ep, .manga-update {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.anime-hover, .manga-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.anime-card:hover .anime-hover, 
.manga-card:hover .manga-hover {
  opacity: 1;
}

.anime-info, .manga-info {
  padding: 10px;
}

.anime-title, .manga-title {
  font-size: 14px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-meta, .manga-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.anime-meta span, .manga-meta span {
  display: inline-flex;
  align-items: center;
}

.anime-meta i, .manga-meta i {
  margin-right: 3px;
}

.anime-meta i.fa-star, .manga-meta i.fa-star {
  color: #ffc107;
}

/* 新闻样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-thumb {
  position: relative;
  width: 200px;
  min-width: 200px;
  height: 150px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.1);
}

.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #7e57c2;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
}

.news-info {
  padding: 15px;
  flex: 1;
}

.news-title {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.news-meta span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}

.news-meta i {
  margin-right: 5px;
}

.news-desc {
  font-size: 12px;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 页脚样式 */
.footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ff6b81;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #ff6b81;
}

.footer-section p {
  color: #bbb;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer-link a {
  color: #bbb;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-link a:hover {
  color: #ff6b81;
  margin-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  color: #ff6b81;
  margin-right: 10px;
  margin-top: 3px;
  font-size: 16px;
}

.footer-contact-item span {
  color: #bbb;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 12px;
}

.footer-bottom a {
  color: #bbb;
}

.footer-bottom a:hover {
  color: #ff6b81;
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ff6b81;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#back-to-top:hover {
  background-color: #ff5268;
  transform: translateY(-5px);
}

/* 登录注册页面样式 */
.auth-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 28px;
  color: #7e57c2;
  margin-bottom: 10px;
}

.auth-header p {
  color: #666;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.auth-form input:focus {
  border-color: #7e57c2;
  box-shadow: 0 0 5px rgba(126, 87, 194, 0.2);
  outline: none;
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background-color: #7e57c2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-form button:hover {
  background-color: #6a48b0;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.auth-footer a {
  color: #7e57c2;
  font-weight: bold;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-options a {
  color: #7e57c2;
}

.auth-options a:hover {
  text-decoration: underline;
}

/* 充值页面样式 */
.recharge-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.recharge-option {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recharge-option:hover, .recharge-option.active {
  border-color: #7e57c2;
  background-color: #f9f5ff;
}

.recharge-price {
  font-size: 22px;
  font-weight: bold;
  color: #7e57c2;
  margin-bottom: 5px;
}

.recharge-days {
  font-size: 14px;
  color: #666;
}

.recharge-benefits {
  margin-bottom: 5px;
  color: #ff6b81;
  font-size: 12px;
}

.payment-methods {
  margin: 20px 0;
}

.payment-title {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.payment-options {
  display: flex;
  gap: 15px;
}

.payment-option {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover, .payment-option.active {
  border-color: #7e57c2;
  background-color: #f9f5ff;
}

.payment-option img {
  height: 30px;
  margin-right: 10px;
}

/* 响应式样式 */
@media (max-width: 1200px) {
  .anime-grid, .manga-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .anime-grid, .manga-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-main .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .search-box {
    width: 100%;
  }
  
  .nav-list {
    flex-wrap: wrap;
  }
  
  .nav-item {
    flex: 1 0 33.333%;
    text-align: center;
  }
  
  .anime-grid, .manga-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-thumb {
    width: 150px;
    min-width: 150px;
  }
  
  .recharge-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-item {
    flex: 1 0 50%;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-thumb {
    width: 100%;
    height: 180px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .recharge-options {
    grid-template-columns: 1fr;
  }
  
  .payment-options {
    flex-direction: column;
  }
}

/* 表单错误提示和验证样式 */
.input-error {
  color: #ff3860;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

input.invalid {
  border-color: #ff3860 !important;
}

/* 验证码样式 */
.captcha-group label {
  display: block;
  margin-bottom: 8px;
}

.captcha-input {
  display: flex;
  align-items: center;
}

.captcha-input input {
  flex: 1;
  margin-right: 10px;
}

.captcha-img {
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.refresh-captcha {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.refresh-captcha:hover {
  background-color: #e9e9e9;
}

/* 同意条款选项 */
.agreement {
  margin: 15px 0;
  font-size: 14px;
  color: #666;
}

.agreement input {
  margin-right: 5px;
}

.agreement a {
  color: #7e57c2;
  text-decoration: underline;
}

/* 第三方登录 */
.third-party-login {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.third-party-login p {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}

.third-party-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.third-party-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.third-party-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.third-party-btn.weibo {
  background-color: #e6162d;
}

.third-party-btn.qq {
  background-color: #12b7f5;
}

.third-party-btn.wechat {
  background-color: #07c160;
}

/* 用户中心样式 */
.user-center {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.user-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.user-content {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 用户侧边栏 */
.user-profile {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-change {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.user-avatar:hover .avatar-change {
  opacity: 1;
}

.user-name {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.user-vip-status {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
  background-color: #f1f1f1;
  color: #666;
}

.user-vip-status.is-vip {
  background-color: #ffe8cc;
  color: #ff9800;
}

/* 用户菜单 */
.user-menu {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-menu-item a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #666;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.user-menu-item a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.user-menu-item:hover a {
  background-color: #f9f9f9;
  color: #7e57c2;
}

.user-menu-item.active a {
  background-color: #f0ebf7;
  color: #7e57c2;
  border-left-color: #7e57c2;
  font-weight: bold;
}

/* 标签页内容 */
.user-tab-content {
  display: none;
  padding: 20px;
}

.user-tab-content.active {
  display: block;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.tab-header h2 {
  font-size: 22px;
  color: #333;
  margin: 0;
}

/* 用户信息展示 */
.user-info-display {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
}

.info-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  width: 100px;
  color: #666;
  font-weight: bold;
}

.info-value {
  flex: 1;
  color: #333;
}

/* 表单样式 */
.user-info-edit textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-height: 100px;
  resize: vertical;
  transition: all 0.3s ease;
}

.user-info-edit textarea:focus {
  border-color: #7e57c2;
  box-shadow: 0 0 5px rgba(126, 87, 194, 0.2);
  outline: none;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* VIP会员状态 */
.vip-status-card {
  display: flex;
  background: linear-gradient(to right, #6a48b0, #9174d8);
  border-radius: 8px;
  padding: 25px;
  color: #fff;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(126, 87, 194, 0.2);
}

.vip-status-info {
  flex: 1;
}

.vip-level {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.vip-expire {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.vip-benefits {
  font-size: 16px;
  margin-bottom: 10px;
}

.vip-benefits-list {
  list-style: none;
  padding: 0;
}

.vip-benefits-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.vip-benefits-list li i {
  margin-right: 8px;
  color: #ffd700;
}

.vip-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vip-action .btn {
  background-color: #fff;
  color: #7e57c2;
  font-weight: bold;
  padding: 12px 30px;
}

.vip-action .btn:hover {
  background-color: #f1f1f1;
}

/* VIP套餐 */
.vip-package-selection h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.vip-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vip-package {
  position: relative;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border: 2px solid #eee;
  transition: all 0.3s ease;
}

.vip-package:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #7e57c2;
}

.vip-package.recommended {
  border-color: #7e57c2;
  background-color: #f0ebf7;
}

.package-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ff6b81;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
}

.package-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.package-price {
  margin-bottom: 10px;
}

.price-value {
  font-size: 28px;
  font-weight: bold;
  color: #ff6b81;
}

.price-period {
  font-size: 14px;
  color: #666;
}

.package-save {
  color: #ff6b81;
  font-size: 12px;
  margin-bottom: 15px;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.package-features li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px dashed #eee;
}

.package-features li:before {
  content: "✓";
  color: #7e57c2;
  margin-right: 8px;
}

.package-btn {
  width: 100%;
}

/* 历史记录 */
.history-filter {
  display: flex;
  gap: 15px;
}

.history-filter select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  outline: none;
}

.history-list {
  margin-bottom: 20px;
}

.history-item {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.history-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.history-thumb {
  position: relative;
  width: 180px;
  min-width: 180px;
  height: 100px;
  overflow: hidden;
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.history-info {
  flex: 1;
  padding: 15px;
}

.history-title {
  font-size: 16px;
  margin: 0 0 8px;
}

.history-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.history-meta span {
  margin-right: 15px;
}

.history-actions {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  background-color: #f1f1f1;
  color: #666;
}

.btn-secondary:hover {
  background-color: #e5e5e5;
  color: #333;
}

.empty-message {
  text-align: center;
  padding: 30px;
  color: #999;
  font-size: 16px;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.pagination-item,
.pagination-prev,
.pagination-next,
.pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin: 0 5px;
  border-radius: 4px;
  background-color: #f1f1f1;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-item:hover,
.pagination-prev:hover,
.pagination-next:hover {
  background-color: #e5e5e5;
  color: #333;
}

.pagination-item.active {
  background-color: #7e57c2;
  color: #fff;
}

.pagination-dots {
  cursor: default;
}

.pagination-prev.disabled,
.pagination-next.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .user-center {
    flex-direction: column;
  }
  
  .user-sidebar {
    width: 100%;
  }
  
  .vip-packages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vip-status-card {
    flex-direction: column;
  }
  
  .vip-action {
    margin-top: 20px;
  }
  
  .vip-packages {
    grid-template-columns: 1fr;
  }
  
  .history-item {
    flex-direction: column;
  }
  
  .history-thumb {
    width: 100%;
    height: 150px;
  }
}

/* 分类筛选区样式 */
.anime-filter {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.filter-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-label {
  display: inline-block;
  width: 60px;
  font-weight: bold;
  color: #333;
}

.filter-options {
  display: inline-flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-options li {
  margin-right: 15px;
  margin-bottom: 5px;
}

.filter-options li a {
  display: inline-block;
  padding: 2px 8px;
  color: #666;
  border-radius: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-options li a:hover {
  color: #7e57c2;
  background-color: #f0ebf7;
}

.filter-options li.active a {
  color: #fff;
  background-color: #7e57c2;
}

@media (max-width: 768px) {
  .filter-label {
    display: block;
    margin-bottom: 10px;
  }
  
  .filter-options {
    display: flex;
  }
}

/* 漫画页面样式优化 */
.page-header {
  margin-bottom: 20px;
  background: linear-gradient(to right, #7e57c2, #9174d8);
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.8;
}

.manga-filter {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-label {
  display: inline-block;
  width: 60px;
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

.filter-options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-item {
  padding: 5px 12px;
  border-radius: 15px;
  background-color: #f5f5f5;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-item:hover {
  background-color: #f0ebf7;
  color: #7e57c2;
}

.filter-item.active {
  background-color: #7e57c2;
  color: #fff;
}

/* 漫画网格和卡片样式 */
.manga-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.manga-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.manga-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.manga-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.manga-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.manga-card:hover .manga-cover img {
  transform: scale(1.08);
}

.manga-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}

.manga-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.manga-card:hover .manga-hover {
  opacity: 1;
}

.read-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ff6b81;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-btn:hover {
  background-color: #ff5268;
  transform: scale(1.05);
}

.manga-info {
  padding: 12px;
}

.manga-title {
  font-size: 15px;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manga-title a {
  color: #333;
  transition: color 0.3s ease;
}

.manga-title a:hover {
  color: #ff6b81;
}

.manga-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.manga-tags {
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.manga-tags span {
  display: inline-block;
  background-color: #f0ebf7;
  color: #7e57c2;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 5px;
  font-size: 12px;
}

.manga-rating {
  color: #ff9800;
  font-weight: bold;
  font-size: 13px;
}

.manga-rating i {
  margin-right: 3px;
}

/* 自审自查页面样式 */
.content-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section .section-title {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.content-section .section-title h2 {
  font-size: 20px;
  color: #7e57c2;
  font-weight: bold;
}

.content-section .section-content {
  line-height: 1.8;
  color: #444;
}

.content-section .section-content h3.sub-title {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #333;
}

.content-section .section-content p {
  margin-bottom: 15px;
}

.content-section .section-content ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.content-section .section-content ol li {
  margin-bottom: 8px;
}

.table-container {
  margin: 20px 0;
  overflow-x: auto;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
}

.audit-table th,
.audit-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.audit-table th {
  background-color: #f5f0ff;
  color: #7e57c2;
  font-weight: bold;
}

.audit-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.audit-table tr:hover {
  background-color: #f5f0ff;
}

.report-section {
  background-color: #fff8f8;
  border: 1px solid #ffcdd2;
}

.report-section .section-title h2 {
  color: #d32f2f;
}

.report-link {
  display: inline-flex;
  align-items: center;
  background-color: #f44336;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.report-link:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

.report-img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
} 