
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.title-text {
  color: var(--neon-blue);
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 20px var(--neon-blue), 0 0 40px rgba(0, 212, 255, 0.5);
  white-space: nowrap;
}

.title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--neon-blue), transparent);
  box-shadow: 0 0 10px var(--neon-blue);
}


.most-read-section {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 60px rgba(0, 212, 255, 0.3);
}

.carousel-image-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 100%);
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.carousel-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 6rem;
  opacity: 0.3;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.95) 0%, rgba(10, 10, 20, 0.7) 40%, transparent 100%);
}

.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem;
  text-align: left;
  z-index: 10;
}

.carousel-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.neon-glow {
  text-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue), 0 0 60px rgba(0, 212, 255, 0.8);
}

.carousel-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  max-width: 600px;
}

.carousel-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.5);
  border: 2px solid white;
}

.carousel-indicators button.active {
  background: var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-blue);
}

.neon-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}

.neon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(183, 68, 255, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.neon-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-blue);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.3), 0 0 60px rgba(183, 68, 255, 0.2);
}

.neon-card:hover::before {
  opacity: 1;
}

.manga-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: linear-gradient(135deg, #14141f 0%, #1a1a2e 100%);
  transition: all 0.4s ease;
}

.neon-card:hover .manga-cover {
  filter: brightness(1.2) saturate(1.3);
}

.placeholder-cover {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-cover::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.placeholder-text {
  color: var(--neon-purple);
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 0 10px var(--neon-purple);
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.card-body {
  padding: 1rem;
  background: rgba(20, 20, 31, 0.8);
}

.neon-card-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.manga-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.neon-badge-blue {
  background: linear-gradient(135deg, #00d4ff, #0088ff);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.neon-badge-pink {
  background: linear-gradient(135deg, #ff0080, #ff66b3);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}

.neon-card-chapter {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.neon-card-chapter:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 4px 20px rgba(255, 0, 128, 0.3);
  transform: translateX(4px);
}

.chapter-card-inner {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.chapter-image {
  flex-shrink: 0;
  width: 80px;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.chapter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.5;
}

.chapter-info {
  flex: 1;
  min-width: 0;
}

.chapter-manga-title {
  color: var(--neon-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-number {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.chapter-subtitle {
  color: var(--text-secondary);
  font-weight: 400;
}

.chapter-date {
  margin: 0;
}

.chapter-date small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 768px) {
  .carousel-image-wrapper,
  .carousel-placeholder {
    height: 350px;
  }

  .carousel-title {
    font-size: 2rem;
  }

  .carousel-description {
    font-size: 1rem;
  }

  .carousel-caption-custom {
    padding: 2rem 1rem;
  }

  .title-text {
    font-size: 1.4rem;
  }

  .manga-cover,
  .placeholder-cover {
    height: 240px;
  }

  .chapter-card-inner {
    padding: 0.75rem;
  }

  .chapter-image {
    width: 60px;
    height: 85px;
  }
}

@media (max-width: 576px) {
  .carousel-image-wrapper,
  .carousel-placeholder {
    height: 300px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .title-text {
    font-size: 1.2rem;
  }
}

/* ============================================
   MEJORAS RESPONSIVE MOBILE - HOME
   ============================================ */

@media (max-width: 768px) {
  /* Carrusel más compacto */
  .carousel-image-wrapper,
  .carousel-placeholder {
    height: 280px;
  }

  .carousel-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .carousel-description {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.6rem;
  }

  .carousel-caption-custom {
    padding: 1.5rem 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
  }

  /* Cards de manga en grilla de 2 columnas */
  .most-read-section .row > [class*="col-"] {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .manga-cover,
  .placeholder-cover {
    height: 200px;
  }

  .neon-card-title {
    font-size: 0.85rem;
  }

  .neon-badge-blue,
  .neon-badge-pink {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  /* Capitulos recientes: una sola columna */
  .chapter-card-inner {
    padding: 0.6rem;
  }

  .chapter-image {
    width: 50px;
    height: 70px;
  }

  .chapter-manga-title {
    font-size: 0.85rem;
  }

  .chapter-number {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-image-wrapper,
  .carousel-placeholder {
    height: 230px;
  }

  .carousel-title {
    font-size: 1.25rem;
  }

  .carousel-description {
    display: none;
  }

  .section-title {
    margin-bottom: 1rem;
  }

  .title-text {
    font-size: 1.1rem;
  }

  .manga-cover,
  .placeholder-cover {
    height: 170px;
  }

  .card-body {
    padding: 0.6rem;
  }

  .neon-card-title {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
}
