* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f5f5f5;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.anime-manga-home-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.anime-manga-home-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.anime-manga-home-logo {
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.anime-manga-home-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.anime-manga-home-menu a {
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.anime-manga-home-menu a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.anime-manga-home-hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/mm202501.jpg') center/cover;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.anime-manga-home-hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.anime-manga-home-hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.anime-manga-home-btn {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255,107,107,0.4);
  transition: all 0.3s ease;
}

.anime-manga-home-btn:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.5);
}

.anime-manga-home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.anime-manga-home-section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.anime-manga-home-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.anime-manga-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.anime-manga-home-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.anime-manga-home-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.anime-manga-home-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.anime-manga-home-card-content {
  padding: 20px;
}

.anime-manga-home-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.anime-manga-home-card-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.anime-manga-home-footer {
  background: #2c3e50;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.anime-manga-home-footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.anime-manga-home-footer p {
  margin: 10px 0;
  opacity: 0.9;
}

.anime-manga-catalog-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.anime-manga-catalog-banner {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/mm202502.jpg') center/cover;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.anime-manga-catalog-banner h2 {
  font-size: 42px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.anime-manga-catalog-filter {
  background: white;
  padding: 30px;
  margin: 30px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.anime-manga-catalog-filter-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.anime-manga-catalog-filter-btn {
  padding: 10px 25px;
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.anime-manga-catalog-filter-btn:hover {
  background: #667eea;
  color: white;
}

.anime-manga-about-header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  padding: 20px 0;
}

.anime-manga-about-intro {
  background: white;
  padding: 60px 20px;
}

.anime-manga-about-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 2;
  font-size: 16px;
  color: #555;
}

.anime-manga-about-content h3 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: #333;
}

.anime-manga-about-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.anime-manga-about-features {
  background: #f9f9f9;
  padding: 60px 20px;
}

.anime-manga-about-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.anime-manga-about-feature-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.anime-manga-about-feature-item h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #4facfe;
}

.anime-manga-contact-header {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  padding: 20px 0;
}

.anime-manga-contact-form-section {
  background: white;
  padding: 60px 20px;
}

.anime-manga-contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.anime-manga-contact-form-group {
  margin-bottom: 25px;
}

.anime-manga-contact-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.anime-manga-contact-form-group input,
.anime-manga-contact-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.anime-manga-contact-form-group input:focus,
.anime-manga-contact-form-group textarea:focus {
  outline: none;
  border-color: #fa709a;
}

.anime-manga-contact-form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.anime-manga-contact-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.anime-manga-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(250,112,154,0.4);
}

@media (max-width: 768px) {
  .anime-manga-home-menu {
    gap: 15px;
    font-size: 14px;
  }

  .anime-manga-home-hero-content h2 {
    font-size: 32px;
  }

  .anime-manga-home-grid {
    grid-template-columns: 1fr;
  }

  .anime-manga-home-section-title {
    font-size: 28px;
  }
}
