body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

/* Intro Screen*/
#intro-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

#intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-heading{
    color: #f56e00;
}

#enter-btn {
  font-size: 1.25rem;
  padding: 12px 24px;
  margin-top: 7%;
}

.fade-out {
  animation: fadeOut 1s ease forwards;
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* Music Toggle Button*/
.music-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #ff9800;
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
}

/* Navbar*/
.navbar {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom: 3px solid #f56e00b9 !important; 
  background: linear-gradient(to right, #fdfbfb, #ebedee); /* soft gradient */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}


.navbar:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
  transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
  transform: rotate(-3deg) scale(1.08);
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: #343a40 !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #f56e00d8;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}


/*Header Section*/

.carousel-img {
  object-fit: cover;
  height: 500px; 
  border-radius: 10px; 
  border: 2px solid #ccc; 
}

/*Home Section Span Tag*/
.featured-span , .ms-span, .char-span{
  font-size: 1rem;
  display: block;
  opacity: 0.7;
  padding-top: 5px;

}

/*Home Section Featured Css*/
.anime-card {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.anime-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.anime-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height: 250px;
}

.crunchyroll-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #ffffffea;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 5;
  display: inline-block;
}

.crunchyroll-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.crunchyroll-icon:hover {
  transform: scale(1.1);
    background: #ffffff;
}


.star-rating {
  color: #ffd700;
  font-size: 1.2rem;
}
.star {
  margin-right: 2px;
}
.star.filled {
  color: #ffc107; 
}

/*Ogrange Button For Theme*/

.btn-orange {
  color: #f56e00;
  border-color: #f56e00;
}

.btn-orange:hover {
  background-color: #f56e00;
  color: white;
  border-color: #f56e00;
}

.home-text-orange {
  color: #f56e00;
}

/*Home Section Most Watched Shows Scroll logic and cards css*/

.scroll-wrapper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  overflow-x: scroll;
  scrollbar-width: none;    
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;              
}


.scroll-container {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 40%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  left: 5px;
}

.scroll-btn.right {
  right: 5px;
}


.watch-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #f56e00ef;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s;
  position: relative;
}

.watch-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.watch-info {
  padding: 10px;
  text-align: center;
  color: white;
}

.watch-info h6 {
  margin-bottom: 6px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.watch-info a {
  font-size: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.9;
  font-weight: bold;
}

.watch-card:hover {
  transform: scale(0.98);
}

.character-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.character-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.glassy {
  background: #f56e00ef;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.4px solid #f56e00;
}

/*Anime Quotes in home Section*/
#anime-quote {
  font-size: 1rem;
  min-height: 80px;
  transition: all 0.4s ease-in-out;
}

#anime-quote .jp {
  color: #f56e00;
  opacity: 0.8;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  margin-bottom: 4px;
}

#anime-quote .en {
  color: rgb(0, 0, 0);
  opacity: 0.7;
  font-family: 'Arial', sans-serif;
  font-style: italic;
}

/*Model Viewer Css for Characters Section*/

model-viewer {
  max-height: 300px;
  width: 100%;
}
  .model-container {
    position: relative;
  }

  .model-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f56e00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .hide-spinner {
    display: none;
  }
/*Css for Each character in characters.html*/
  .profile-header { 
      text-align: center;
      margin-bottom: 30px;
    }

    .model-viewer-character {
      width: 100%;
      height: 400px;
      border-radius: 12px;
      overflow: hidden;
    }

    .go-back-btn{
      width: 60px;
      height: 60px;
      border-radius: 50px;
      position: relative;
      left: 2%;
      margin-top: 10px;
    }

.character-text-orange{
  color: #f56e00;
}


.contact-text-orange {
  color: #f56e00;
}

/*About section primary color*/

.about-text-orange {
  color: #f56e00;
}

/*Genre Section*/
.genre-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}
.genre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.text-orange {
  color: #f56e00;
}

/*For Top-Anime Section*/

a .fa-youtube:hover {
  color: #ff0000;
  transform: scale(1.2);
  transition: 0.3s ease;
}

/*Footer*/

footer {
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.9rem;
}

.social-icon {
  color: #6c757d; 
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #343a40; 
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-img {
    height: 300px;
  }
  .carousel-caption {
  padding: 0rem;
}
    .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }
    model-viewer {
    max-height: 250px;
  }
  .music-toggle-btn {
  width: 55px;
  height: 55px;
}
}

@media (max-width: 480px) {
  .carousel-img {
    height: 200px;
  }
    .carousel-caption {
  padding: 0rem;
}
    .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }
}

