/* Hero Video Section - Refined Design */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: #111;
  overflow: hidden;
  color: #fff;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient overlay to ensure text readability while keeping the image vibrant */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

/* Main Content Wrapper */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Left & Right Nav Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-nav-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hero-nav-arrow.left-arrow {
  left: 30px;
}

.hero-nav-arrow.right-arrow {
  right: 30px;
}

/* Center Play Button */
.hero-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.hero-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.hero-play-btn i {
  margin-left: 6px;
}

.hero-play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Left Text Content */
.hero-text-content {
  flex: 1;
  max-width: 550px;
  margin-left: 60px; /* Space for the arrow */
}

.hero-badge {
  display: inline-block;
  background-color: #dfc282;
  color: #111;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #e0e0e0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #dfc282, #b9952a);
  color: #111;
  border: none;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #ebd197, #c9a96e);
  color: #111;
  transform: translateY(-2px);
}

.secondary-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Right Playlist */
.hero-playlist {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
  margin-right: 60px; /* Space for the right arrow */
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.playlist-item.active {
  border-color: #dfc282;
  background: rgba(223, 194, 130, 0.1);
}

.playlist-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

.playlist-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.playlist-info span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #aaa;
}

/* Bottom Controls */
.hero-bottom-controls {
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 5px;
}

.control-btn:hover {
  opacity: 1;
}

.progress-container {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #dfc282;
  border-radius: 2px;
  width: 25%; /* Demo width */
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -3px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s;
}

.progress-container:hover .progress-bar::after {
  opacity: 1;
}

.time-display {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #ccc;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding-top: 60px;
  }
  .hero-nav-arrow.left-arrow {
    left: 10px;
  }
  .hero-nav-arrow.right-arrow {
    right: 10px;
  }
  .hero-text-content {
    margin-left: 0;
    text-align: center;
    max-width: 80%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-playlist {
    margin-right: 0;
    width: 100%;
    max-width: 500px;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  .playlist-item {
    flex-direction: column;
    min-width: 120px;
    text-align: center;
  }
  .playlist-thumb {
    width: 100px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .hero-video-section {
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    padding-bottom: 80px; /* Space for controls */
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-play-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto;
  }
  .hero-play-btn {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}
