/* Movie Sections */
.container {
  max-width: 100%;
  padding: 0 4%;
}

/* Section Styles */
.content-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  letter-spacing: 0.5px;
}

/* Content Row */
.content-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.content-row::-webkit-scrollbar {
  height: 8px;
}

.content-row::-webkit-scrollbar-track {
  background: transparent;
}

.content-row::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.content-row::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Content Cards */
.content-card {
  position: relative;
  min-width: 250px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-card:hover {
  transform: scale(1.1);
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: brightness 0.3s ease;
}

.content-card:hover img {
  brightness: 0.4;
}

/* Netflix Badge */
.netflix-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e50914;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 2;
}

/* Card Overlay with Netflix-style Controls */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  color: white;
}

.content-card:hover .card-overlay {
  opacity: 1;
}

.overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.overlay-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overlay-title {
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
}

.overlay-control {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.control-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 14px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-btn {
  background: white;
  color: black;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.overlay-info {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.info-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
}

/* Button Icons */
.play-btn::before {
  content: "▶";
}

.check-btn::before {
  content: "✓";
}

.thumbs-btn::before {
  content: "👍";
}

.more-btn::before {
  content: "▾";
  font-size: 18px;
}

/* Base Overlay Effect */
.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}