

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand';
    transition: all ease .3s;
 }

 :root {
   --color-primary: #1b1f3b;
   --color--secondary: #25803d;
   --color-gray: #0c0f1d;
   --color-dark: #04050a;
 }

 body {
   margin: 0;
   padding: 0;
   font-family: poppins;
   background: var(--color-dark);
   -ms-overflow-style: none;
   scrollbar-width: none;
 }

 ::-webkit-scrollbar {
   display: none;
 }

 .bg {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
 }

 .bg img  {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
   filter: blur(10px);
   opacity: .1;
  z-index: -1;
 }

 ::selection {
   background: #01c973;
   color: #1b1f3b;
   } 

 ul {
   list-style: none;
 }

 a {
   text-decoration: none;
 }

 h1, 
 h2, 
 h3, 
 h4, 
 h5, 
 h6 {
  font-family: 'Orbitron';
  color: var(--color--secondary);
 } 

 p {
  font-family: 'Quicksand';
 }

 strong {
  color: var(--color--secondary);
 }

 /*==========navigation=============*/

 .navigation {
   display: flex;
   justify-content: center;
   align-items: center;
   padding: "30px 50px";
   max-width: 1400px;
   margin: 20px auto;
   width: 90%;
   z-index: 1005; 
 }

 .navigation .menu-icon {
  cursor: pointer;
  float: right;
  padding: 20px 0px;
  z-index: 110; 
 }

 .navigation .menu-icon .nav-icon {
    background: #ffffff;
    display: block;
    height: 2px;
    width: 25px;
    position: relative;
    transition: background 0.2s ease-out;
  }

  .navigation .menu-icon .nav-icon::before,
  .navigation .menu-icon .nav-icon::after {
    background: #ffffffcc;
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    transition: all ease-out 0.2s;
  }

  .navigation .menu-icon .nav-icon::before {
    top: 8px;
  }

  .navigation .menu-icon .nav-icon::after {
    top: -8px;
  }

  .navigation .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
  }

  .navigation .menu-btn:checked ~ .menu-icon .nav-icon::before {
    transform: rotate(-45deg);
    top: 0px;
  }

  .navigation .menu-btn:checked ~ .menu-icon .nav-icon::after {
    transform: rotate(45deg);
    top: 0px;
  }

  .cooki {
    position: fixed;
    bottom: 0px;
    display: none;
    margin-bottom: 100px;
    z-index: 1000;
  
  }

 .navigation .menu-btn:checked ~ .cooki {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .cooki span a {
    color: #01c973;
  }

  .menu-btn {
   display: none;
  }

  .buttonDeConn {
    position: fixed;
    right: 40px;
    display: none;
    z-index: 1000;
  }

  .buttonDeConn .button{
    margin-right: 10px;
    border-radius: 10px;
    padding: 10px;
    outline: none;
    border: none;
    background: #1b1f3b;
    cursor: pointer;
    z-index: 1050;
    transition: .3s;
  }

  .buttonDeConn .premium{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 10px;
    margin-right: 40px;
    padding: 10px;
    outline: none;
    border: none;
    background: linear-gradient(90deg, #d1412485, #1b1f3b);
    cursor: pointer;
    z-index: 1050;
    transition: .5s;
  }

  .buttonDeConn .button a{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 10px;
  }

  .buttonDeConn .button:hover{
    background: #d14124;
    cursor: pointer;
  }

  .buttonDeConn .premium:hover{
    background: linear-gradient(90deg, #1b1f3b, var(--color--secondary));
  }

  .user__profile {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 2px solid var(--color-dark);
    background: var(--color--secondary);
    z-index: 1000;
    color: var(--color-gray);
    margin-right: 20px;
    cursor: pointer;
  }
  
  .user__profile span{
    margin: 10px;
    font-size: 1.2rem;
    font-weight: 700;
  }              


  /*--menu-----------*/
  .menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #111111F1;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fade 0.3s;
    z-index: 107;
   } 

   .menu li a {
    color: #ffffff;
    margin: 0px 40px;
    font-size: 1.5rem;
    font-family: Orbitron;
    transition: all ease 0.3s;
   } 

   .menu li a:hover {
    font-size: 2rem;
    color: var(--color--secondary);
    transition: all ease 0.3s;
   } 

   .navigation .menu-btn:checked ~ .menu {
     display:  flex;
   } 

   .navigation .menu-btn:checked ~ .buttonDeConn {
    display:  flex;
  } 

   @keyframes fade {
   0%{
    color: #ffffff;
        opacity: 0;
   } 

   100%{
    
        opacity: 1;
   } 
}

/*--logo------------------*/
.logo {
    color: var(--color--secondary);
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 900;
    margin: 0px auto 0px 40px;
    display: flex;
    align-items: center;
    font-family: Orbitron;
    z-index: 105;
} 

.logo span {
   font-size: 0.9rem;
   margin-left: 5px;
   font-weight: 700;
   letter-spacing: 2px;  
} 

.search-box {
    background: #d1d1d117;
    padding: 3px 20px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 103;
 }  

 .search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;  
 } 

 .search-box input::placeholder {
    color: #ffffff5e;  
 } 
 .search-box button {
   background: transparent;
   color: #ffffffc9;
   border: none;
   outline: none;
   cursor: pointer;  
 } 

 /*======slider========*/
 #main-slider,
 .container-episodes {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    /* max-width: 1170px; */
    width: 100%;
 }

 /* .container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 80vh;
   margin-bottom: 150px;
 } */

 /* .box {
   position: relative;
   width: 200px;
   height: 300px;
   margin-top: -40px;
   transform-style: preserve-3d;
   transition: .3s;
   transform: perspective(1000px) rotateY(0deg);
 } */
 .container {
  perspective: 1000px; /* Donne de la profondeur */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin-bottom: 150px;
}

.box {
  width: 200px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease-in-out;
  animation: rotateCarousel 25s linear infinite; /* Animation auto */
}

/* Animation de rotation infinie */
@keyframes rotateCarousel {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.main-slider-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* On utilise l'index --i pour positionner chaque carte sur le cercle */
  /* Formule : (360 / nombre total de cartes) * i */
  /* transform: rotateY(calc(var(--i) * 45deg)) translateZ(350px);  */
  backface-visibility: hidden;
}

/* Pause l'animation au survol */
.box:hover {
  animation-play-state: paused;
}

 .btns {
   margin-top: 30px;
   display: none;
 }

 .btns .btn:nth-child(1) {
   position: absolute;
   top: 50%;
   left: 50px;
   width: 40px;
   height: 40px;
   border: 2px solid #ffffff86;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 20px;
   cursor: pointer;
 }

 .btns .btn:nth-child(2) {
   position: absolute;
   top: 50%;
   right: 50px;
   width: 40px;
   height: 40px;
   border: 2px solid #ffffff86;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 20px;
   cursor: pointer;
 }

 .btns .btn:active {
   background: var(--color--secondary);
 }

 .btns .btn::before {
   content: '';
   position: absolute;
   width: 15px;
   height: 15px;
   border-top: 3px solid #fff;
   border-right: 3px solid #fff;
   transform: rotate(45deg) translate(-2.5px, 2.5px);
 }

 .btns .btn.prev::before {
   transform: rotate(225deg) translate(-2.5px, 2.5px);
 }

 .main-slider-box {
    position: relative;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #0e0e0ec2;
    position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; 
      border-radius: 10px;
    overflow: hidden;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(300px);
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
 }

 .main-slider-img,
 .episode-img {
    width: 100%;
    height: 100%;  
 }

 .main-slider-img img,
 .episode-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
 }

 .main-slider-text,
 .episode-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;  
    background: linear-gradient(360deg, #161616b9 35%, rgba(73,73,73,0.23) 64%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
}

.main-slider-text .quality,
.episode-number {
    background: var(--color--secondary);
    color: #080808;
    font-weight: 600;
    font-size: .6rem;
    font-family: 'Orbitron';
    padding: 0px 5px;
    height: 20px; 
    display: flex; 
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-slider-text .movie-name span {
     display: flex;
     flex-direction: column; 
     align-items: flex-start;
}

.main-slider-text .movie-name span {
     font-size: 0.5rem;
     letter-spacing: 1px;
     font-weight: 400;
    font-family: 'Orbitron';
     color: rgba(240, 240, 240, 0.82);
}

.main-slider-text .movie-name strong,
.main-slider-text .movie-name a,
.episode-name strong {
     font-size: .8rem;
     font-weight: 500;
     line-height: 20px;
     margin-top: 10px;
     color: #dfdfdf;
    font-family: 'Orbitron';
     letter-spacing: 3px;
}

.main-slider-text .category {
     color: #969696;
     font-size: 0.8rem;
     font-weight: 500;
}

.main-slider-text .category a {
   color: var(--color--secondary);
   margin: 0 3px;
   font-size: .5rem;
} 

.rating img  {
   height: 10px;
   width: 20px;
   object-fit: contain;
   object-position: center;
}

.rating  {
   font-size: 0.8rem;
   color: #ffffff;
   /* letter-spacing: 1px; */
}

.main-slider-text .category-rating {
   display: flex;
   width: 100%;
   justify-content: space-between;
   margin-top: 20px;
   font-size: .8rem;
}  

.main-slider-overlay,
.episode-overlay {
   position: absolute;
   width: 100%;
   height: 100%;
   left: 0;
   top: 100%;
   background: rgba(27, 27, 27, 0.6);
   display: flex;
   justify-content: center;
   align-items: center;
   color: #ffffff;
   transition: all ease 0.3s;
   z-index: 2 ;
} 

.main-slider-overlay i {
   font-size: 2rem;
}

.main-slider-box:hover .main-slider-overlay,
.episode-box:hover .episode-overlay {
   top: 0px;
   transition: all ease 0.3s;
} 

/* == Latest =============== */
#latest {
  max-width: 1170px;
  margin: 30px auto;
  width: 100%;
  display: none;
}

.latest-heading {
  width: 100%;
  padding: 10px 20px;
  background: #0004;;
  border: 1px solid #0004;
}

.latest-heading h1 {
  color: #dadada;
  font-size: 1.3rem;
  font-weight: 500; 
  font-family: 'Orbitron';
}

.post-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 35px;
  margin: 20px 0;    
}

.post-box {
  width: 100%;
  height: 550px;
  overflow: hidden;
  background: #0e0e0ec2;
  border: 1px solid #161616b9;
  box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.post-box .post-img {
  width: 100%;
  height: 100%;
}

.post-box .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.main-slider-text .movie-name a:hover {
  opacity: 0.5;
  transition: all ease 0.3s;
}

/*page-number-------*/
.page-number {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #464646;
  margin-top: 50px;
}

.page-number a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  margin: 0 13px;
  opacity: 0.5;
  transition: all ease 0.3s;
}

.page-number a:hover,
.page-number .page-active {
  opacity: 1;
  transition: all ease 0.3s;
}

/*==footer==================*/
footer {
  background: var(--color-primary); 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

footer .copyright {
  color: #4d4d4d;
  font-size: 0.9rem;
}

footer .logo {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
}

/* ==fix-menu-button========= */
.fix-icon .menu-icon  {
  position: fixed;
  left: 40px;
  top: 40px;
  background: #1c1f25;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==scroll6progress6bar========== */
#progress {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  position: fixed;
  bottom: 25px;
  right: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  z-index: 105;
}

#progress-value {
  display: block;
  height: calc(100% - 5px);
  width: calc(100% - 5px);
  background: var(--color-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0px;
}

/* ==Responsive-Home-page=============== */
@media(max-width:1200px) {
  #main-slider,
  #latest,
  .slider-btns {
    width: 90%;
  }

  .menu li a {
    margin: 0;
    font-size: 1.6rem;
  }

  .menu {
    flex-direction: column;
  }

  .container-episodes{
    margin: 0 auto;

  }
}

@media(max-width:1100px) {
  .post-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .episodes-box {
      grid-template-columns: repeat(4, 1fr);
      justify-self: center;
      align-items: center;
    }
}

@media(max-width:824px) {
  .navigation {
    padding: 20px 10px;
    width: 90%;
    margin-top: -16px;
  }

  .box {
    margin-top: -100px;
  }

  .logo,
  .footer .logo {
    font-size: 1.3rem;
  }

  .post-container {
    grid-template-columns: 1fr 1fr;
  }

  .episodes-box {
      grid-template-columns: 1fr 1fr;
    }

  footer {
    padding: 10px 20px;
    text-align: center;
  }
}

@media(max-width:530px) {
  .navigation {
   display: grid;
   grid-template-columns: 60px 1fr;
   grid-template-rows: 1fr 1fr;
   padding: 0px 0 20px 0;
   margin-top: 10px;
  }

  .box {
    margin-top: -140px;
  }

  .logo {
    margin: 0px;
  }

  .search-box {
    grid-column-start: 1;
    grid-column-end: 3;
    width: 100%;
    border-radius: 0;
  }

  .menu li a:hover {
    font-size: 1.8rem;
  }

  .post-container {
    grid-gap: 15px;
  }

  .post-box {
    height: 450px;
  }

  .footer .copyright {
    font-size: 0.8rem;
  }

  .fix-icon .menu-icon {
    left: 10px;
    top: 0;
    border-radius: 4px;
  }

}

@media(max-width:480px) {
  .post-container {
    grid-template-columns: 1fr;
  }

  .post-box {
    height: 500px;
  }
}

/* ==komik-page======================================= */
.komix-banner {
  width: 90%;
  max-width: 1400px;
  margin: 10px auto;
  min-height: 520px;
  padding: 60px 40px 40px 40px;
  position: relative;
  display: flex;
  justify-content: center;
}

.komix-banner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(32,32,32,0.7);
  background: linear-gradient(0deg, rgb(8,8,8) 0%, rgba(0,0,0,0.6) 100%);
}

.k-banner-img {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.k-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 32, 32, 0.7);
  background: linear-gradient(-90deg, rgba(37, 37, 37, 0.2) 0%, rgba(15, 15, 15, 0.3) 100%);
}

.k-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.banner-container{
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  position: relative;
}

.title-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.komik-title h1 {
  color: #ffffff;
  font-weight: 600;
  font-size: 2.3rem;
  font-family: 'Orbitron';
  line-height: 50px;
  letter-spacing: 1px;
}

.more-about-komik {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
  color: #e9e9e9;
}

.more-about-komik .quality {
  background: #d14124;
  color: #080808;
  font-weight: 600;
  font-size: .6rem;
  font-family: 'Orbitron';
  padding: 0px 5px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.more-about-komik span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-family: 'Orbitron';
}

.more-about-komik .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron';
}

.more-about-komik .rating a{
  color: var(--color--secondary);               
}

.more-about-komik .rating a span{
  background: #04050a82;
  padding: 2px;
  cursor: pointer;                
}

.language {
  margin-top: 20px;
}

.language span {
  background: #dfdfdf0e;
  padding: 5px 10px;
  margin-right: 10px;
  color: #dfdfdf;
  font-size: 0.8rem;
}

.title-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 0px;
  margin-top: 40px;
}

.title-bottom a {
  margin-left: -30px;
  margin-top: 40px;
  margin-right: 40px;
  padding: 20px;
}

.title-bottom .category {
  margin-right: 40px;
  font-size: 0.8rem;
  color: #dadada;
}

.title-bottom .category strong {
  font-weight: 500;
  color: #ffffff;
}

.title-bottom .category a {
  margin-right: 10px;
  color: #d14124;
  margin-right: 5px;
}

.watch-btn {
  width: 170px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff09;
  border: 1px solid #ffffff2c;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ffffff;
  letter-spacing: 1px;
  transition: all ease 0.3s;
}

.watch-btn:hover {
  background-color: var(--color--secondary);
  transition: all ease 0.3s;
}

/* --play-btn--- */
.play-btn {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #dadada48;
  z-index: 3;
  background-color: #01c9722b;
  position: relative;
  box-shadow: 0 0 10px #01c973,
}

.play-btn a {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all ease 0.3s;
}

.play-btn a:hover {
  background-color: #01c97250;
  transition: all ease 0.3s;
}

.play-btn i {
  color: #fff;
    filter: blur(0px);
}

.play-btn:hover i {
  color: #ffffff;
}

.play-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 100%;
  max-width: 500px;
}

.play-btn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff26;
  background-color: #ffffff18;
  z-index: -1;
  box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5);
   
}

/* ======details==================== */
.komik-details {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto 20px 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.komik-details strong {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Orbitron';
  letter-spacing: 1px;
}

.komik-details p {
  color: #747474;
  font-family: 'Quicksand';
  font-size: .8rem;
  margin-left: -30px;
   /* display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden; */
}

.all-ep {
  max-width: 1170px;
  margin: 30px auto;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-ep h1 {
  margin-left: -5.5%;
  font-size: 1.3rem;
}

.saison-title,
.ep-title {
  max-width: 1170px;
  margin: 30px auto;
  width: 80%;
    background: #0004;
    font-size: .9rem;
    padding: 10px;
}

.episodes-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 35px;
  margin: 20px 0 60px 0;
}

.episode-box {
  position: relative;
  width: 200px;
  height: 300px;
  border: 4px solid #ffffff2c;
  overflow: hidden;
}

.episode-overlay .play-btn:hover {
  background: #01c97229;
  transition: all ease 0.3s;
}

.episode-watching-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #04050a;
}

.reactions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.reactions span i {
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
}

.reactions span i span{
  color: var(--color--secondary);
  font-size: 1rem;
  margin-left: 5px;
}

.p0 {
  background: linear-gradient(90deg, #01c973 0%, #0b0e16 100%);
}

.p10 {
  background: linear-gradient(90deg, #01c973 10%, #0b0e16 90%);
}

.p20 {
  background: linear-gradient(90deg, #01c973 20%, #0b0e16 80%);
}

.p30 {
  background: linear-gradient(90deg, #01c973 30%, #0b0e16 60%);
}

.p40 {
  background: linear-gradient(90deg, #01c973 40%, #0b0e16 60%);
}

.p50 {
  background: linear-gradient(90deg, #01c973 50%, #0b0e16 50%);
}

.p60 {
  background: linear-gradient(90deg,#01c973 60%, #0b0e16 60%);
}

.p70 {
  background: linear-gradient(90deg, #01c973 70%, #0b0e16 70%);
}

.p80 {
  background: linear-gradient(90deg,#01c973 80%,#0b0e16 80%);
}

.p90 {
  background: linear-gradient(90deg, #01c973 90%, #0b0e16 90%);
}

.p100 {
  background: linear-gradient(90deg, #01c973 100%, #0b0e16 0%);
}

@media(max-width:1000px) {
  .banner-container-episode {
      grid-template-columns: 1fr;
    }
  
  .banner-container-episode .title-container {
    justify-content: space-between;
  }
    .watch-btn {
      margin-top: 20px;
    }
}

@media(max-width:1115px) {
  .episodes-box {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width:940px) {
  .episodes-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:750px) {
  .banner-container {
    grid-template-columns: 1fr;
  }

  .play-btn-container {
    margin-top: 50px;
    display: flex;
  }
}

@media(max-width:680px) {
  .episodes-box {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }

  .episode-box {
    width: 300px;
    height: 400px;
  }
}

@media(max-width:613px) {
  .episode-box {
    width: 250px;
    height: 400px;
  }
}

@media(max-width:600px) {
  .nav-episode {
    margin-top: 20px;
  }

  .komix-banner {
    padding: 20px;
  }

  .komik-title h1 {
    font-size: 1.3rem;
    line-height: 30px;
  }

  .title-container {
    justify-content: flex-start;
  }

  .more-about-komik span {
     margin-top: 10px;
     display: flex;
  }

 .rating {
    margin-bottom: -10px;
    display: flex;
    align-items: center;
  }

  .title-bottom {
    margin-top: 30px;
  }

  .play-btn,
  .play-btn a {
    width: 50px;
    height: 50px;
  }

  .komik-details {
    margin-top: 0px;
  }

  .komik-details p{
    width: 100%;
  }
}

@media(max-width:530px) {
  .episode-box {
    width: 230px;
    height: 400px;
  }
}

@media(max-width:480px) {
  .episodes-box {
    grid-template-columns: 1fr 1fr;
    padding: 0 10px 40px 10px;
    grid-gap: 10px;
 }

 .episode-box {
   width: 180px;
   height: 200px;
 }
}

/* =============== ABOUT ================== */
.about-komix {
        max-width: 1700px;
        width: 50%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding: 5px;
        margin-bottom: 50px;
    }

    .about-komix > div {
        margin-top: 20px;
    }

    .about-komix h3 {
        margin-bottom: 10px;
    }

    .about-komix a {
        color: #00a6ff;
    }

     @media(max-width:1000px) {
        .about-komix {
           width: 70%;
        }
       
    }
     @media(max-width:720px) {
        .about-komix {
           width: 80%;
        }
       
    }

    /* ========CONTACTS================ ==================*/
     .all-contacts {
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(0deg, #1b1f3b64 10%, #0b0e1600 70%);
        border-radius: 10px;
    }

     .all-contacts .titre {
        text-align: center;
        margin-top: 50px;
    }

    .all-contacts .contacts {
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 30% 60%;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 50px;
        background: #ffffff00;
       
    }

    .all-contacts .contacts .bloc-left {
        border-radius: 10px;
        background: #1b1f3b00;
        margin-left: 50px;
    }

    .all-contacts p {
        color: aliceblue;
    }

     .all-contacts .contacts .bloc-right {
        background: #1b1f3b00;
        border-radius: 10px;
    }

    .contacts .form-box {
        width: 100%;
        height: 100%;
        background: #ffffff00;
        display: flex;
        align-items: center;
        color: #4a4a4a;
        text-align: center;
        padding: 40px;
        z-index: 1;
        transition: .6s ease-in-out 1.2s, visibility 0s 1s;
    }

    .contacts form {
        width: 100%;
    }

    .contacts .container h1 {
        font-size: 36px;
        margin: -10px 0;
        color: #01c973;
    }

    .contacts .input-box {
        position: relative;
        margin: 30px 0;
    }

    .contacts .input-box input,
    .contacts .input-box textarea {
        width: 100%;
        padding: 13px 50px 13px 20px;
        background: #eeeeee00;
        border-radius: 8px;
        box-shadow: 0 0 3px #eeeeee9c;
        border: none;
        outline: none;
        font-size: 16px;
        color: #f4f2f2;
        font-weight: 500;
        resize: none;
    }

    .contacts .input-box input::placeholder,
    .contacts .input-box textarea::placeholder {
        color: #88b;
        font-weight: 400;
    }

    .contacts .input-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #88b;
    }

    .contacts .btn {
        width: 100%;
        height: 48px;
        background: #01c973;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
        border: none;
        cursor: pointer;
        font-size: 16px;
        color: #1b1f3b;
        font-weight: 600;
    }

    .contacts .container p {
        font-size: 14.5px;
        margin: 15px 0;
        color: #f4f2f2;
    }

    .contacts .social-icons {
        display: flex;
        justify-content: center;
    }

    .contacts .social-icons a {
        display: inline-flex;
        padding: 10px;
        border: 2px solid #ccc;
        color: #ccc;
        border-radius: 8px;
        font-size: 24px;
        text-decoration: none;
        margin: 0 8px;
    }

    /* ====== Pop up lecture serie ======= */
    .popup {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #1b1f3b8f;
      z-index: 1010;
      backdrop-filter: blur(20px);
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .popup .lecteur {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

   @media(max-width:1000px) {
         .all-contacts {
            width: 90%;
        }
        .all-contacts  .contacts{
            grid-template-columns: 40% 70%;
        }
    }

     @media(max-width:740px) {
         .all-contacts {
            display: flex;
            flex-direction: column;
            margin-bottom: 50px;
        }

         .all-contacts .titre {
            text-align: left;
            margin: 20px;
        }

        .all-contacts  .contacts {
            grid-template-columns: 1fr;
            margin-bottom: 50px;
        }

         .all-contacts  .contacts .bloc-left {
            width: 100%;
            margin: 0;
        }

         .all-contacts  .contacts .bloc-right .form-box {
           padding: 0;
        }
    }


/* ============ POPUP LECTURE AUDIO ======================== */

    .popup {
      display: none; /* Masqué */
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7); /* Overlay sombre */
      z-index: 1000;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(5px); /* Flou d'arrière-plan */
  }
  
  /* Quand le popup est actif */
  .popup.active {
      display: flex;
      animation: fadeIn 0.3s ease-out;
  }
  
  /* Animation du contenu */
  .popup.active .popup-content {
      animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .popup-content {
      background: transparent;
      padding: 20px;
      border-radius: 15px;
      position: relative;
      max-width: 500px;
      width: 90%;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  /* Bouton Fermer */
  .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      background: none;
      border: none;
      font-size: 3rem;
      cursor: pointer;
      color: #fff;
      transition: transform 0.2s;
  }
  
  .close-btn:hover {
      transform: scale(1.2) rotate(90deg);
  }
  
  /* Keyframes pour les animations */
  @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
  }
  
  @keyframes slideUp {
      from { opacity: 0; transform: translateY(50px) scale(0.9); }
      to { opacity: 1; transform: translateY(0) scale(1); }
  }
  
    .popup .lecteur {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-radius: 15px;
      box-shadow: 0 10px 10px #25803d;
      background: #1b1f3b;
    }
  
    .popup .lecteur .avatars {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .image-avatar img {
      width: 100%;
      height: 100%;
      animation: bounce 9s infinite .5s ease-in-out;
      transition: .5s;
    }
  
    @keyframes bounce {
      0% {
          transform: translateX(40deg);
      }
      50% {
         transform: translateY(90deg);
      }
      100% {
         margin-top: -10px;
         transform: scale(1);
      }
    }
  
    .popup .lecteur .avatars .lyrics {
      border: 1px solid #25803d;
      box-shadow: 0 0 10px #25803d;
      border-radius: 15px;
      padding: 10px;
      color: #25803d;
    }
  
    .popup .lecteur .avatars .avatar-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-right: 4px solid #25803d;
      padding: 20px;
    }
  
    .popup .lecteur .avatars .avatar-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-left: 4px solid #25803d;
      padding: 20px;
    }
  
    .popup .controles {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      border-top: 2px solid #25803d;
      padding: 20px;
      gap: 40px;
    }
  
    .controles i {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50px;
      height: 50px;
      border-radius: 50px;
      font-size: 1.2rem;
      cursor: pointer;
    }
  
    .controles i:hover {
      transform: scale(1.1);
      margin-top: -10px;
    }
  
    .controles .fa-play {
      color: #01c973;
      border: 1px solid transparent;
      box-shadow: 0 0 10px #25803d;
      margin-top: -10px;
    }
  
    .controles .fa-step-backward {
      color: #fff;
      border: 2px solid #1b1f3b;
      box-shadow: 0 0 10px #1b2f3b;
      border-radius: 0 15px 0 15px;
    }
  
    .controles .fa-step-forward {
      color: #fff;
      border: 2px solid #1b1f3b;
      box-shadow: 0 0 10px #1b2f3b;
      border-radius: 15px 0 15px 0;
    }
    







