* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: scale(1.08);
  z-index: 50;
}

.gradient-mask {
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.hero-gradient {
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      transparent 70%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 30%);
}

.progress-bar {
  background: linear-gradient(90deg, #e50914 0%, #ff4d4d 100%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in {
  animation: slideIn 0.5s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}

.netflix-red {
  color: #e50914;
}
.netflix-red-bg {
  background-color: #e50914;
}

.episode-item {
  transition: all 0.2s ease;
}
.episode-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.series-modal {
  background: linear-gradient(180deg, #181818 0%, #0d0d0d 100%);
}

.season-selector {
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.season-selector:hover {
  background: #3f3f46;
}

.season-selector option {
  background: #18181b;
  color: #ffffff;
}

.season-dropdown-option {
  color: #e4e4e7;
  transition: background 0.15s;
}

.season-dropdown-option:hover {
  background: #dc2626;
  color: #ffffff;
}

.play-button-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(229, 9, 20, 0);
  }
}

.category-pill {
  background: linear-gradient(
    135deg,
    rgba(229, 9, 20, 0.2) 0%,
    rgba(229, 9, 20, 0.1) 100%
  );
  border: 1px solid rgba(229, 9, 20, 0.3);
}

body {
  box-sizing: border-box;
}
