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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

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

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-logo h1 {
  font-size: 28px;
  font-weight: 700;
}

.site-logo a {
  color: white;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-btn {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

/* Content Sections */
.content-section {
  padding: 60px 0;
  background: white;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: #333;
  font-weight: 700;
}

/* Grid Layouts */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.anime-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.anime-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.anime-info {
  padding: 20px;
}

.anime-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.anime-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.anime-description {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.watch-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.watch-btn:hover {
  opacity: 0.9;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-name {
  font-size: 20px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

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

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

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-title {
    font-size: 32px;
  }

  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
}

/* Page Specific Styles */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
}

.breadcrumb {
  margin-top: 15px;
  opacity: 0.9;
}

.content-wrapper {
  padding: 60px 0;
  background: white;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.text-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 28px;
  color: #333;
}

.text-content p {
  margin-bottom: 15px;
  color: #555;
}

/* Video Player */
.video-player {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

/* Episode List */
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.episode-btn {
  padding: 15px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s;
}

.episode-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.episode-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
