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

body {
  background-color: #141414;
  color: white;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 70vh;
  overflow: hidden;
  background: #000;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 3rem 4%;
  z-index: 2;
}

.hero-info h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #fff;
}

.hero-info p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
}

.hero-rating {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-meta {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  margin-top: 2rem;
}

.hero-button {
  display: inline-block;
  background: linear-gradient(135deg, #e50914, #b8070f);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  margin-right: 15px;
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.hero-button:hover {
  background: linear-gradient(135deg, #ff1e2d, #e50914);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

/* Hero Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #e50914;
  transition: width 0.1s linear;
  z-index: 3;
}

/* Main Content */
.main-content {
  padding: 3rem 4%;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #e50914;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1400px;
  margin: 0 auto;
}

/* Category Cards */
.category-card {
  background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  height: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #e50914;
  box-shadow: 0 15px 35px rgba(229, 9, 20, 0.4);
}

/* Category Name */
.category-name {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #e50914, #b8070f);
  padding: 1rem;
  margin: 0;
  border-radius: 15px 15px 0 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Poster Display */
.poster-display {
  flex: 1;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}

.poster-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Adults Category */
.adults-category {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff4757, #ff3838);
  border-radius: 0 0 15px 15px;
  position: relative;
  overflow: hidden;
}

.adults-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
}

.adults-logo {
  text-align: center;
  z-index: 2;
  position: relative;
}

.adults-text {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.adults-warning {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .category-card {
    height: 320px;
  }
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .hero-info h1 {
    font-size: 2.5rem;
  }

  .category-card {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .main-content {
    padding: 2rem 2%;
  }

  .hero-info h1 {
    font-size: 2rem;
  }

  .hero-info p {
    font-size: 1rem;
  }

  .category-card {
    height: 280px;
  }

  .category-name {
    font-size: 1rem;
    height: 50px;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-banner {
    height: 50vh;
  }

  .hero-info h1 {
    font-size: 1.5rem;
  }

  .category-card {
    height: 240px;
  }

  .category-name {
    font-size: 0.9rem;
    height: 45px;
  }
}
