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

body {
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
  min-height: 100vh;
}

.header {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand a {
  color: #ff6b35;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: #b0b0b0;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #ff6b35;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-box input {
  padding: 0.8rem 1.2rem;
  border: 2px solid #333;
  border-radius: 30px;
  outline: none;
  width: 220px;
  background: rgba(30, 30, 30, 0.8);
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.search-box input::placeholder {
  color: #666;
}

.search-box button {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-section {
  position: relative;
  text-align: center;
  padding: 6rem 2rem;
  margin-bottom: 4rem;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid #333;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.3rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ff6b35;
  border-color: #ff6b35;
}

.btn-secondary:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-3px);
}

.featured-content, .latest-updates, .categories {
  margin-bottom: 4rem;
}

.featured-content h2, .latest-updates h2, .categories h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #e0e0e0;
  position: relative;
  padding-left: 1rem;
}

.featured-content h2::before, .latest-updates h2::before, .categories h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.content-item {
  background: rgba(30, 30, 30, 0.8);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #333;
  transition: all 0.3s ease;
  position: relative;
}

.content-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: #ff6b35;
}

.item-image {
  position: relative;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-item:hover .item-image img {
  transform: scale(1.1);
}

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-item:hover .item-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

.item-info {
  padding: 1.5rem;
}

.item-info h3 {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.item-info p {
  color: #888;
  margin-bottom: 1rem;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.episodes {
  color: #888;
  font-size: 0.9rem;
}

.updates-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.update-item {
  display: flex;
  background: rgba(30, 30, 30, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.update-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #ff6b35;
}

.update-item img {
  width: 140px;
  height: 100px;
  object-fit: cover;
}

.update-info {
  padding: 1.2rem;
  flex: 1;
}

.update-info h3 {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.update-info p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.update-date {
  color: #ff6b35;
  font-size: 0.85rem;
  font-weight: 500;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 180px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.category-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-item:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2.5rem 1.5rem 1.5rem;
  color: white;
}

.category-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #ff6b35;
}

.category-overlay p {
  font-size: 0.9rem;
  color: #ccc;
}

.footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid #333;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: #ff6b35;
  font-size: 1.2rem;
}

.footer-section p {
  color: #888;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff6b35;
}

.footer-bottom {
  background: rgba(5, 5, 5, 0.95);
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid #222;
  color: #666;
}

@media (max-width: 768px) {
  .navbar {
      flex-direction: column;
      gap: 1.5rem;
      padding: 1.5rem;
  }
  
  .nav-menu {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
  }
  
  .search-box input {
      width: 180px;
  }
  
  .hero-section h1 {
      font-size: 2.2rem;
  }
  
  .hero-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .main-content {
      padding: 1rem;
  }
  
  .content-grid {
      grid-template-columns: 1fr;
  }
  
  .updates-list {
      grid-template-columns: 1fr;
  }
  
  .category-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-section {
      padding: 4rem 1rem;
  }
  
  .hero-section h1 {
      font-size: 1.8rem;
  }
  
  .category-grid {
      grid-template-columns: 1fr;
  }
  
  .update-item {
      flex-direction: column;
  }
  
  .update-item img {
      width: 100%;
      height: 120px;
  }
}