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

body {
  font-family: "Arial", sans-serif;
  background-color: #0f0f23;
  color: white;
  overflow-x: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1a1a2e;
  border-bottom: 1px solid #16213e;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00d4aa;
}

.nav-tabs {
  display: flex;
  gap: 2rem;
}

.nav-tab {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-tab.active {
  color: white;
  border-bottom: 2px solid #00d4aa;
}

.nav-tab:hover {
  color: white;
  background-color: #16213e;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-input {
  background-color: #16213e;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: white;
  width: 300px;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-container {
  display: flex;
  min-height: calc(100vh - 80px);
}

.sidebar {
  width: 250px;
  background-color: #1a1a2e;
  padding: 2rem 1rem;
  border-right: 1px solid #16213e;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  gap: 0.5rem;
  color: #ccc;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.sidebar-item:hover {
  background-color: #16213e;
  color: white;
}

.sidebar-item.active {
  background-color: #00d4aa;
  color: #0f0f23;
}

.content {
  flex: 1;
  padding: 2rem;
}

.hero-section {
  position: relative;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: url("https://www.nme.com/wp-content/uploads/2022/08/one-punch-man@2000x1270.jpg")
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 2rem;
}

.hero-content {
  max-width: 50%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #00d4aa;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-description {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background-color: #e74c3c;
  color: white;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid #666;
}

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

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(231, 76, 60, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: rgba(168, 57, 44, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
  font-size: 2rem;
  margin-left: 5px;
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.anime-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

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

.anime-poster {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.anime-info {
  padding: 1rem;
}

.anime-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.anime-rating {
  color: #d99f0e;
  margin-bottom: 0.5rem;
}

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

.sidebar-right {
  width: 300px;
  background-color: #1a1a1a;
  padding: 2rem 1rem;
  border-left: 1px solid #333;
}

.popular-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popular-item:hover {
  background-color: #333;
}

.popular-poster {
  width: 60px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

.popular-info h4 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.popular-info p {
  color: #888;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar,
  .sidebar-right {
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }

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