.slider-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #d2d7dc;
  position: relative;
  padding-left: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(
    to bottom,
    var(--custom-green),
    var(--custom-blue)
  );
  border-radius: 4px;
}

.section-subtitle {
  font-size: 18px;
  color: #5c6b7a;
  margin-top: 10px;
  font-weight: 500;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: #5c6b7a;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--custom-green), var(--custom-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-btn:hover::before {
  opacity: 1;
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(78, 205, 196, 0.3);
  color: white;
}

.nav-btn i {
  position: relative;
  z-index: 1;
}

/* Main Slider Wrapper */
.slider-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.slider-container {
  overflow: hidden;
  border-radius: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  padding: 15px;
  height: 100%;
  align-items: stretch;
}

/* Card Styles */
.card {
  flex: 0 0 calc(25% - 22.5px); /* 4 cards */
  background: #1d283b;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 520px;
  position: relative;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Image Container */
.card-image-container {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.card:hover .card-image {
  transform: scale(1.08);
}

/* Image Overlay Effects */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.card:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  opacity: 0;
}

.card:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.overlay-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.overlay-author {
  font-size: 14px;
  opacity: 0.9;
}

/* Content Section */
.card-content {
  padding-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
  line-height: 1.4;
}

.card-author {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-author i {
  color: #3dc293;
}

.card-description {
  font-size: 14.5px;
  color: #5c6b7a;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #7f8c8d;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffb347;
  font-weight: 600;
}

.card-views {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5c6b7a;
}

.genre-badge {
  display: inline-block;
  padding: 6px 15px;
  background: linear-gradient(135deg, #f0f9ff, #e1f5fe);
  color: #3498db;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  align-self: flex-start;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.1);
}

.status-update {
  font-size: 13px;
  color: #2ecc71;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

/* Indicators */
.slider-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  padding: 10px;
}

.indicator-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #e0e6ed;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.indicator-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--custom-green), var(--custom-blue));
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.indicator-dot.active::before {
  transform: scale(1);
}

.indicator-dot.active {
  transform: scale(1.3);
  box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

/* Info Panel */
.info-panel {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.info-content {
  flex: 1;
  min-width: 300px;
}

.info-title {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.info-text {
  color: #5c6b7a;
  line-height: 1.6;
}

.info-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
  padding: 25px;
  color: #5c6b7a;
  font-size: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer a {
  color: #3dc293;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .card {
    flex: 0 0 calc(33.333% - 20px); /* 3 cards */
  }
}

@media (max-width: 1200px) {
  .card {
    flex: 0 0 calc(33.333% - 20px);
    height: 500px;
  }

  .card-image-container {
    height: 280px;
  }
}

@media (max-width: 992px) {
  .card {
    flex: 0 0 calc(50% - 15px); /* 2 cards */
    height: 480px;
  }

  .card-image-container {
    height: 260px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 calc(50% - 15px);
    height: 460px;
  }

  .card-image-container {
    height: 240px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-buttons {
    align-self: center;
    width: 100%;
    justify-content: center;
  }

  .slider-wrapper {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .card {
    flex: 0 0 100%; /* 1 card */
    height: 440px;
    margin: 0 10px;
  }

  .card-image-container {
    height: 220px;
  }

  .section-title {
    font-size: 28px;
  }

  .container {
    padding: 15px;
  }

  .slider-track {
    gap: 20px;
    padding: 10px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--custom-blue);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--custom-blue);
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.2s;
}
.card:nth-child(3) {
  animation-delay: 0.3s;
}
.card:nth-child(4) {
  animation-delay: 0.4s;
}
.card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Special Image Card */
.special-card {
  border: 3px solid rgba(78, 205, 196, 0.3);
}

.special-card .card-image {
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 10px;
}
