body {
  opacity: 0;
  animation: fadeInPage 2.5s ease-out forwards;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
  color: #f0f0f0;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.custom-navbar {
  background-color: rgba(13, 13, 13, 0.6); /* semi-transparent dark */
  backdrop-filter: blur(10px); /* frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* optional: subtle divider */
}


.navbar-nav .nav-link {
  color: #00ffe5 !important;
  font-size: 1.1rem;
  padding: 0 10px;
}

.navbar-nav .nav-link:hover {
  color: #ff2ebc !important;
  text-shadow: 0 0 8px #ff2ebc;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 60px;
  filter: brightness(0) invert(1);
}

/* 🎞 Carousel inside hero */
#comicCarousel {
  width: 317px;
  height: 492px;
  overflow: visible; /* Changed from hidden to visible */
  border: 2px solid #00ffe5;
  border-radius: 10px;
  position: relative; /* Ensure positioning context for arrows */
}

#comicCarousel img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 🌌 Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(to right, #0d0d0d, #1f003b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: #00ffe5;
}

.hero p {
  font-size: 1.25rem;
  color: #ff2ebc;
}

/* ✨ Highlight Section */
.highlight {
  padding: 50px 20px;
  background-color: #1f003b;
  color: #f0f0f0;
}

.highlight h2 {
  font-size: 2rem;
  color: #00ffe5;
}

.highlight p {
  font-size: 1.2rem;
  color: #ff2ebc;
}

.btn-primary {
  background-color: #00ffe5;
  border: none;
  color: #0d0d0d;
}

.btn-primary:hover {
  background-color: #ff2ebc;
  color: #fff;
}

.impel-heading {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #00ffe5;
  text-shadow: 0 0 6px #00ffe5, 0 0 12px #00ffe5;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
}






/* Move carousel arrows outside the carousel box */
#comicCarousel .carousel-control-prev,
#comicCarousel .carousel-control-next {
  width: 40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  position: absolute; /* Ensure arrows stay in place */
  z-index: 2; /* Make sure they sit above images */
}

#comicCarousel .carousel-control-prev {
  left: -60px; /* Shift to the left */
}

#comicCarousel .carousel-control-next {
  right: -60px; /* Shift to the right */
}






/* 👣 Footer */
.site-footer {
  background-color: #0d0d0d;
  padding: 15px 0;
  color: #888;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer a {
  color: #00ffe5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ff2ebc;
  text-shadow: 0 0 6px #ff2ebc;
}












/* 📚 Comic Cover Hover with Read Now Button */
.comic-card {
  width: 317px;
  height: 492px;
  position: relative;
  border: 2px solid #00ffe5;
  border-radius: 10px;
  overflow: hidden;
}

.comic-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  image-rendering: auto;
}

.comic-card:hover .comic-cover {
  filter: blur(3px) brightness(0.5);
  transform: scale(1.02);
}

.chapter-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: center;
  z-index: 2;
}

.comic-card:hover .chapter-buttons {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.chapter-buttons .btn {
  background-color: #00ffe5;
  color: #0d0d0d;
  border: none;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 0 10px #00ffe5;
}

.chapter-buttons .btn:hover {
  background-color: #ff2ebc;
  color: #fff;
  box-shadow: 0 0 12px #ff2ebc;
}


/* 🌌 Page Background for Comics */
.neon-bg {
  background: linear-gradient(to right, #0d0d0d, #1f003b);
  color: #f0f0f0;
}

/* 📝 Comic Title & Description */
.comic-title {
  font-size: 2.5rem;
  color: #00ffe5;
}

.comic-description {
  max-width: 600px;
  font-size: 1.1rem;
  color: #ff2ebc;
  margin-bottom: 2rem;
}

.chapter-dropdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.chapter-link {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 1rem;
  text-align: left;
  width: 100%;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.chapter-link:hover {
  background-color: #00ffe5;
  color: #0d0d0d;
}


.mt-n4 {
  margin-top: -12rem; /* Lift the buttons slightly */
}



.chapter-link {
  white-space: nowrap;
  width: auto !important;
  text-align: left;
}