/* --- Netflix-style Hero Section --- */
.slb-main {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

/* Hero Slider */
.slb-hero-slider {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.slb-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slb-slide.active {
  opacity: 1;
  z-index: 2;
}

.slb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

.slb-hero-content {
  position: absolute;
  bottom: 18%;
  left: 8%;
  z-index: 3;
  color: #fff;
  max-width: 550px;
}

.slb-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.slb-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #eaeaea;
  line-height: 1.6;
}

/* Buttons */
.slb-hero-buttons {
  display: flex;
  gap: 15px;
}

.slb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #fff;
  transition: 0.3s ease;
}

.slb-btn-primary {
  background: #fff;
  color: #000;
}

.slb-btn-primary:hover {
  background: transparent;
  color: #fff;
}

.slb-btn-outline {
  background: transparent;
  color: #fff;
}

.slb-btn-outline:hover {
  background: #fff;
  color: #000;
}

/* Type badge for Hero Section */
.slb-hero-slider .slb-type-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Free badge style */
.slb-hero-slider .slb-type-badge.free {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

/* Premium badge style */
.slb-hero-slider .slb-type-badge.premium {
  background: #111;
  color: #fff;
}

/* Star rating in Hero Section */
.slb-hero-rating {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #ffd700;
}
.slb-hero-rating i {
  margin-right: 4px;
}
.slb-hero-rating span {
  color: #fff;
  margin-left: 5px;
  font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 768px) {
  .slb-hero-content {
    bottom: 12%;
    left: 6%;
    max-width: 90%;
  }
  .slb-hero-content h1 {
    font-size: 2rem;
  }
  .slb-hero-content p {
    font-size: 0.95rem;
  }
  .slb-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}


/* Premium Story Slider Section */
.slb-premium-slider {
  padding: 30px 5%;
  background: #f9f9f9;
}
.slb-premium-slider h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  color: #111;
}

.slb-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slb-arrow {
  background: #111;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.4);
}
.slb-arrow:hover {
  background: #333;
}

.slb-arrow-left {
  position: absolute;
  left: -25px;
}
.slb-arrow-right {
  position: absolute;
  right: -25px;
}

.slb-premium-container {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding: 10px 30px;
  scroll-behavior: smooth;
}
.slb-premium-container::-webkit-scrollbar {
  display: none;
}

.slb-premium-card {
  position: relative;
  min-width: 220px;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.slb-premium-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* Type badge */
.slb-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 5;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Free badge style */
.slb-type-badge.free {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

/* Premium badge style */
.slb-type-badge.premium {
  background: #111;
  color: #fff;
}

/* Overlay text */
.slb-card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.slb-card-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}
.slb-card-text p {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #eee;
}

.slb-rating {
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #ffd700;
}
.slb-rating i {
  margin-right: 2px;
}

.slb-card-buttons {
  display: flex;
  gap: 8px;
}

.slb-btn-preview,
.slb-btn-read {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.slb-btn-preview {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.slb-btn-preview:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slb-btn-read {
  background: #fff;
  color: #111;
  border: none;
}
.slb-btn-read:hover {
  background: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .slb-premium-card {
    min-width: 180px;
    height: 260px;
  }
  .slb-card-text h3 {
    font-size: 1rem;
  }
  .slb-card-text p {
    font-size: 0.75rem;
  }
}

/* Genre Section */
.slb-genre-section {
  padding: 40px 20px;
  background-color: #f9f9fb;
}

.slb-genre-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #333;
}

.slb-genre-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.slb-genre-btn {
  padding: 8px 20px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.slb-genre-btn:hover,
.slb-genre-btn.active {
  background: black;
  color: white;

}

/* Genre Results Grid */
.slb-genre-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Fade-out during transition */
.slb-genre-results.fading {
  opacity: 0;
}

.slb-genre-card {
  height: 280px; /* Reduced from 360px */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slb-genre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.slb-genre-card .slb-type-badge {
  top: 10px;
  right: 10px;
  font-size: 0.75rem;
  padding: 4px 8px;
}

.slb-genre-card .slb-card-text {
  padding: 12px;
}

.slb-genre-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 6px;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.slb-genre-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
  margin: 6px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slb-card-buttons {
  display: flex;
  gap: 8px;
}

.slb-btn-preview,
.slb-btn-read {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.slb-btn-preview {
  background: rgba(255,255,255,0.2);
  color: white;
}
#loadMoreBtn{
    color: black;
}
#loadMoreBtn:hover{
    
    background: black;
    color: white;
}
.slb-no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: #777;
  font-style: italic;
}


/* Featured Creators Section */
.slb-creators-section {
  padding: 50px 20px;
  background-color: #f9f9fb;
}

.slb-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.slb-section-header h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 8px;
}

.slb-section-header p {
  color: #666;
  font-size: 1.1rem;
}

.slb-creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.slb-creator-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slb-creator-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.slb-creator-avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0f0f0;
}

.slb-creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slb-creator-card h3 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
  color: #333;
}

.slb-creator-rating {
  color: #ffc107;
  margin-bottom: 12px;
  font-weight: 600;
}

.slb-creator-rating span {
  color: #555;
  margin-left: 4px;
  font-weight: 500;
}

.slb-creator-stats {
  color: #666;
  margin: 12px 0;
  font-size: 0.95rem;
}

.slb-btn-sm {
  padding: 6px 16px;
  font-size: 0.9rem;
  color: black;
  border:1px solid grey;
}
.slb-btn-sm:hover{
    color: white;
    background: black;
}
/* Responsive: stack on small screens */
@media (max-width: 600px) {
  .slb-creators-grid {
    grid-template-columns: 1fr;
  }
}