/* Hero section styles */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 450px;
  max-height: 700px;
  overflow: hidden;
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-0);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-section:hover .hero-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(11, 11, 15, 0.95) 0%,
    rgba(11, 11, 15, 0.8) 50%,
    rgba(11, 11, 15, 0.5) 100%
  );
}

.hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-6);
  z-index: var(--z-10);
  animation: slideUp 0.8s ease forwards;
}

@media (min-width: 768px) {
  .hero-info {
    bottom: var(--space-12);
    width: 50%;
    max-width: 550px;
    padding-left: var(--space-10);
  }
}

.hero-tag {
  display: inline-block;
  background-color: var(--primary-500);
  color: white;
  font-size: var(--font-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-5xl);
  }
}

.hero-description {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-5);
  max-width: 90%;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: var(--font-lg);
    max-width: 80%;
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.hero-rating, .hero-views, .hero-duration {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-right: var(--space-4);
  display: flex;
  align-items: center;
}

.hero-rating::before, .hero-views::before, .hero-duration::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  opacity: 0.8;
}

.hero-rating::before {
  background-color: var(--warning-500);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.hero-views::before {
  background-color: rgba(255, 255, 255, 0.8);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.hero-duration::before {
  background-color: rgba(255, 255, 255, 0.8);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.hero-actions {
  display: flex;
  align-items: center;
}

.play-btn, .add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.play-btn {
  background-color: var(--primary-500);
  color: white;
  position: relative;
  padding-left: var(--space-8);
}

.play-btn::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: var(--space-4);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid white;
}

.play-btn:hover {
  background-color: var(--primary-600);
}

.add-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  margin-left: var(--space-3);
}

.add-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}