@font-face {
  font-family: saiyan;
  src: url(../styles/Saiyan-Sans.ttf);
}

@font-face {
  font-family: ninja;
  src: url(../styles/ninja.ttf);
}

@font-face {
  font-family: mugiwara;
  src: url(../styles/mugiwara.ttf);
}

@font-face {
  font-family: bleach;
  src: url(../styles/bleach.ttf);
}

@font-face {
  font-family: kalam;
  src: url(../styles/Kalam-Bold.ttf);
}

.bell-button {
  background-color: gray;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

.bell-button.enabled {
  background-color: green;
}

* {
  margin: 0;
  padding: 0;
  @supports (-moz-animation: alternate) {
    scrollbar-width: thin;
    scrollbar-color: #000 #333;
  }
}

html,
body {
  height: auto;
}

body {
  overflow: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #111;
}

footer {
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 25px;
  margin-top: 15px;
}

.contact {
  padding: 13px;
  border-radius: 33px;
  text-decoration: none;
  color: white;
  font-family: kalam;
  box-shadow: inset 0px 0px 20px 0px #ef334e;
  animation: pulse-border-back 0.5s forwards;
  cursor: pointer;
  justify-self: center;
  place-self: center;
  display:inline-block;
}

.contact:hover {
  color: #fff;
  /* background-color: #fff; */
  border-color: transparent;
  animation: pulse-border 0.5s forwards;
}

.copy {
  margin-left: 5px;
  font-family: kalam;
}

.icon-container {
  width: 60px;
  /* Largeur fixe pour chaque conteneur d'icône */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styles généraux */
.icon-wrapper {
  width: 100%;
  max-width: 250px;
  /* Largeur maximale pour les écrans larges */
  margin: 0 auto;
}

.android {
  /* margin-bottom: -30px; */
  margin-top: 10px;
  cursor: pointer;
  width: 40px;
  transition: transform 0.3s ease;
}

.android:hover {
  transform: scale(1.2);
}

.android:active {
  transform: scale(0.9);
  transition: transform 0.05s ease-out;
  /* Réduit la taille lors du clic */
}

.discord {
  /* margin-bottom: -30px; */
  margin-top: 10px;
  cursor: pointer;
  width: 80px;
  transition: transform 0.3s ease;
}

.discord:hover {
  transform: scale(1.2);
}

.discord:active {
  transform: scale(0.9);
  transition: transform 0.05s ease-out;
  /* Réduit la taille lors du clic */
}

.twitter {
  /* margin-bottom: -30px; */
  margin-top: 12px;
  width: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.twitter:hover {
  transform: scale(1.2);
}

.twitter:active {
  transform: scale(0.9);
  transition: transform 0.05s ease-out;
  /* Réduit la taille lors du clic */
}

#div-fondu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  z-index: 9999;
}

#div-fondu2 {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  opacity: 1;                 /* totalement noir au début */
  pointer-events: none;
  transition: opacity 0.7s ease-out;
}

/* Quand la page est prête → on laisse apparaître le site */
body.loaded #div-fondu2 {
  opacity: 0;
}

::-webkit-scrollbar-track {
  border-radius: 13px;
  background-color: #000;
}

::-webkit-scrollbar {
  width: 13px;
  background-color: #000;
}

::-webkit-scrollbar-thumb {
  border-radius: 13px;
  background-color: #000;
}

.retour {
  position: absolute;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  top: 15px;
  right: 18px;
  cursor: pointer;
}

.button-3d {
  position: fixed;
  background-repeat: no-repeat;
  top: 15px;
  right: 18px;
  cursor: pointer;
  z-index: 1;
  background-color: transparent;
  /* border: 3px solid white; */
  border-radius: 50%;
  color: white;
  font-size: 45px;
  width: 60px;
  height: 60px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5),
inset 0 -4px 8px rgba(0, 0, 0, 0.5); */
  perspective: 500px;
  display: flex;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  vertical-align: unset;
  box-shadow: inset 0px 0px 20px 0px #0080ff;
  border: unset;
  animation: pulse-border-back 0.5s forwards;
}

.button-3d:hover {
  animation: pulse-border 0.5s forwards;
}

.saison {
  text-align: center;
  padding-top: 15px;
  font-size: 18px;
  padding-bottom: 10px;
  cursor: default;
  margin-bottom: unset;
}

.saison2 {
  text-align: center;
  padding-top: 15px;
  font-size: 18px;
  padding-bottom: 10px;
  cursor: default;
  margin-bottom: unset;
  background: #000;
}

.num-episode p {
  color: #fff;
  font-size: 32px;
  margin-bottom: -10px;
  margin-top: 20px;
  text-align: center;
  font-family: kalam;
}

#num-originale-op p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#2be3ff),
    to(#0068ff)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
  font-family: "mugiwara";
  font-size: 40px;
}

#num-originale-hxh p {
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#45933d),
    to(#022900)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-kai-op p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#2be3ff),
    to(#0068ff)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-kai-bleach p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff6600),
    to(#fff)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-bleach p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff6600),
    to(#fff)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-kai-naruto p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffff00),
    to(#ff6600)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-blue-lock p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#001fff),
    to(#0080ff)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-dbs p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff100),
    to(#e60012)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-boruto p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e71c81),
    to(#fab500)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-naruto p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffff00),
    to(#ff6600)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-broly p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff100),
    to(#00e61c)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-death-note p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff0000),
    to(#000000)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

#num-originale-fma p {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e6be3a),
    to(#e6be3a)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: kalam;
}

.titre-episode p {
  margin-bottom: 30px;
  color: #fff;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  font-family: kalam;
}

.vjs-current-time-display {
  font-family: kalam;
}

.vjs-menu-content {
  font-family: kalam !important;
}

.vjs-volume-tooltip {
  font-family: kalam !important;
  padding-top: 10px !important;
}

.vjs-time-tooltip {
  font-family: kalam !important;
  padding-top: 10px !important;
}

.tooltip {
  font-family: kalam !important;
}

.passez {
  font-family: kalam !important;
}

.video-js .vjs-menu-button-inline.vjs-slider-active,
.video-js .vjs-menu-button-inline:focus,
.video-js .vjs-menu-button-inline:hover,
.video-js.vjs-no-flex .vjs-menu-button-inline {
  width: 10em;
}

.video-js .vjs-controls-disabled .vjs-big-play-button {
  display: none !important;
}

/*.video-js .vjs-control {
    
  }*/

.video-js .vjs-menu-button-inline:before {
  width: 1.5em;
}

.vjs-menu-button-inline .vjs-menu {
  left: 3em;
}

.vjs-paused.vjs-has-started.video-js .vjs-big-play-button,
.video-js.vjs-ended .vjs-big-play-button,
.video-js.vjs-paused .vjs-big-play-button {
  display: block;
}

.video-js .vjs-load-progress div,
.vjs-seeking .vjs-big-play-button,
.vjs-waiting .vjs-big-play-button {
  display: none !important;
}

.video-js .vjs-mouse-display:after,
.video-js .vjs-play-progress:after {
  padding: 0 0.4em 0.3em;
}

.video-js.vjs-ended .vjs-loading-spinner {
  display: none;
}

.video-js.vjs-ended .vjs-big-play-button {
  display: block !important;
}

.video-js .vjs-big-play-button {
  top: 50%;
  left: 50%;
  margin-left: -1.5em;
  margin-top: -1em;
}

.video-js .vjs-big-play-button {
  background-color: rgba(0, 0, 0, 0.45);
  font-size: 3.5em;
  border-radius: 15%;
  height: 2em !important;
  /* line-height: 2; */
  margin-top: -1em !important;
}

.vjs-big-play-button .vjs-icon-placeholder:before {
  content: "\f101";
  top: 9px !important;
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus,
.video-js .vjs-big-play-button:active {
  background-color: rgba(255, 100, 0, 0.9);
}

.video-js .vjs-loading-spinner {
  border-color: rgba(255, 100, 0, 0.9);
}

.video-js .vjs-control-bar2 {
  background-color: #000000;
}

.video-js .vjs-control-bar {
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: #ff6600;
  font-size: 15px;
  margin-bottom: -1px;
}

.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
  background-color: #ff6600;
}

.main-preview-player {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.video-js,
.playlist-container {
  position: relative;
  min-width: 300px;
  min-height: 150px;
  height: 0;
}

.video-js {
  flex: 3 1 70%;
}

.video-js .vjs-time-control {
  display: block;
}
.video-js .vjs-remaining-time {
  display: none;
}

.vjs-menu-item {
  background-color: rgb(17 17 17 / 80%);
  color: white;
}

.vjs-poster {
  background-size: cover !important;
}

.playlist-container {
  flex: 1 1 30%;
}

.vjs-playlist {
  margin: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.playlist-dimensions.vjs-fluid {
  padding-top: 56%;
}

.playlist2-dimensions.vjs-fluid {
  padding-top: 56%;
}

.playlistIframe {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.videoIframe {
  flex: 3 1 70%;
}

.liste-playlist {
  font-family: kalam;
  position: relative;
  min-width: 300px;
  min-height: 350px;
  overflow-y: auto;
  color: white;
  width: 100%;
  border: unset;
  /* border-image-source: linear-gradient(45deg, rgb(16, 57, 255), rgb(0, 0, 0)); */
  /* border-image-slice: 1; */
  
}

.video-js .passez {
  margin-left: 20px;
  bottom: 60px;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  text-align: center;
  font-size: 15px;
  display: none;
  box-shadow: inset 0px 0px 20px 0px #000000;
  animation: pulse-play-back 0.5s forwards;
}

.video-js .passez:hover {
  animation: pulse-play 0.5s forwards;
}

.vjs-has-started .passez {
  display: block;
}

.vjs-has-started.vjs-user-inactive.vjs-playing .passez {
  visibility: visible;
  opacity: 0;
  pointer-events: none;
  transition: visibility 1s, opacity 1s;
}

#no-scroll {
  overflow-y: unset;
}

#iframeList {
  height: 0;
}

#iframeList2 {
  height: 0;
}

.list-group-item {
  background-color: rgb(51 51 51 / 75%) !important;
  cursor: pointer;
  color: #fff;
  text-align: center;
  padding: 5px !important;
  padding-top: 10px !important;
}

.list-group-item.active {
  background-color: rgb(0 0 0 / 75%) !important;
  border-style: none;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
  background-color: rgb(0 0 0 / 75%) !important;
  color: #fff;
}

.image-container {
  position: relative;
  cursor: pointer;
}

.image-container img {
  width: 100%;
  height: auto; /* Garde le ratio de l'image */
  display: block;
  aspect-ratio: 16 / 9;
}

.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Voile noir avec transparence */
  transition: opacity 0.5s ease; /* Transition fluide */
  opacity: 1;
  z-index: 2; /* Assurez-vous que le voile est au-dessus de l'image mais en dessous de la légende */
}

.image-container:hover::after {
  opacity: 0;
}

.image-container.active::after {
  opacity: 0;
}

.image-container2 {
  position: relative;
  cursor: pointer;
}

.image-container2 img {
  width: 100%;
  height: auto; /* Garde le ratio de l'image */
  display: block;
  aspect-ratio: 16 / 9;
}

.image-container2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Voile noir avec transparence */
  transition: opacity 0.5s ease; /* Transition fluide */
  opacity: 1;
  z-index: 2; /* Assurez-vous que le voile est au-dessus de l'image mais en dessous de la légende */
}

.image-container2:hover::after {
  opacity: 0;
}

.image-container2.active::after {
  opacity: 0;
}

.legende {
  position: absolute;
  color: #fff;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  font-size: 17px;
  text-align: center;
  z-index: 3; /* Plus élevé pour que la légende soit au-dessus du voile */
}



.miniature-playlist {
  width: 100%;
  height: auto;
  margin: 0px;
  float: left;
  position: relative;
  text-align: center;
  /*box-shadow: 0px 0px 5px #aaa;*/
  cursor: pointer;
}

.miniature-playlist img {
  display: block;
  position: relative;
}

.miniature-playlist .mask {
  width: 100%;
  height: auto;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.legende-num {
  color: #fff;
  font-size: 40px;
}

#legende-num-dbs {
  font-family: saiyan;
  background: -webkit-gradient((#fff100), to(#e60012));
  background: -webkit-linear-gradient(#fff100, #e60012);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#legende-num-op {
  font-family: mugiwara;
  background: -webkit-gradient((#2be3ff), to(#0068ff));
  background: -webkit-linear-gradient(#2be3ff, #0068ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#legende-num-boruto {
  font-size: 40px;
  font-family: ninja;
  background: -webkit-gradient((#ff00c8), to(#ff7600));
  background: -webkit-linear-gradient(#ff00c8, #ff7600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#legende-num-naruto {
  font-size: 30px;
  font-family: ninja;
  background: -webkit-gradient((#ffff00), to(#ff6600));
  background: -webkit-linear-gradient(#ffff00, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 2;
}

.legende-num-bleach {
  font-size: 40px;
  font-family: bleach !important;
  background: -webkit-gradient((#ff6600), to(#fff));
  background: -webkit-linear-gradient(#ff6600, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

#legende-num-bleach {
  font-size: 40px;
  font-family: bleach !important;
  background: -webkit-gradient((#ff6600), to(#fff));
  background: -webkit-linear-gradient(#ff6600, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

#legende-num-blue-lock {
  background: -webkit-gradient((#001fff), to(#0080ff));
  background: -webkit-linear-gradient(#001fff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 10px;
}

#legende-num-solo {
  background: -webkit-gradient((#001fff), to(#ff00ea));
  background: -webkit-linear-gradient(#001fff, #ff00ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hs {
  margin-left: 10px;
  font-family: ninja;
  background: -webkit-gradient((#ff00c8), to(#ff7600));
  background: -webkit-linear-gradient(#ff00c8, #ff7600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kai {
  box-shadow: 0px 2px 20px rgb(0, 137, 255);
  font-size: 14px;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.mask-effect img {
  opacity: 1.5;
  transition: all 0.3s ease-in;
}

.mask-effect .mask {
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  border: 100px solid rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.94, 0.85, 0.1, 0.62);
}

.mask-effect:hover .mask {
  border: 0px double rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
}

.mask-effect:hover img {
  opacity: 1;
}

.mask-active {
  opacity: 0 !important;
}

.video-js .vjs-play-progress:before {
  font-size: unset;
}

.vjs-quality-selector .vjs-menu-button {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}
.vjs-quality-selector .vjs-icon-placeholder {
  font-family: "VideoJS";
  font-weight: normal;
  font-style: normal;
}
.vjs-quality-selector .vjs-icon-placeholder:before {
  content: "\f110";
}
.vjs-quality-changing .vjs-big-play-button {
  display: none;
}
.vjs-quality-changing .vjs-control-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  visibility: visible;
  opacity: 1;
}

.vjs-menu li.vjs-selected,
.vjs-menu li.vjs-selected:focus,
.vjs-menu li.vjs-selected:hover,
.js-focus-visible .vjs-menu li.vjs-selected:hover {
  background-color: #ff6600;
  color: #ffffff;
}

.vjs-menu li {
  padding-top: 8px;
}

.bouton-originale {
  color: #fff;
  z-index: 2;
  padding: 10px 0px;
  font-family: sans-serif;
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  background-color: #ff6600;
  box-shadow: 0px 2px 20px #ff6600;
  padding-top: 15px;
}

.bouton-originale:hover {
  background-color: #ff6600;
  border-color: transparent;
  color: #fff;
}

.bouton-kai {
  box-shadow: 0px 2px 20px #ff6600;
  z-index: 2;
  padding: 10px 0px;
  font-family: sans-serif;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  padding-top: 15px;
}
.bouton-kai:hover {
  background-color: #ff6600;
  border-color: transparent;
  color: #fff;
}

@keyframes pulse-play {
  0% {
    box-shadow: inset 0px 0px 20px 0px #000, 0px 0px 5px 1px #000;
  }
  100% {
    box-shadow: inset 0px 0px 20px 0px #000, 0px 0px 10px 5px #000;
  }
}

@keyframes pulse-play-back {
  0% {
    box-shadow: inset 0px 0px 20px 0px #000, 0px 0px 10px 5px #000;
  }
  100% {
    box-shadow: inset 0px 0px 20px 0px #000, 0px 0px 5px 1px #000;
  }
}

/* Animation d'impulsion */
@keyframes pulse-border {
  0% {
    box-shadow: inset 0px 0px 20px 0px #0080ff, 0px 0px 0px 0px #0080ff;
  }
  100% {
    box-shadow: inset 0px 0px 20px 0px #0080ff, 0px 0px 10px 5px #0080ff;
  }
}

@keyframes pulse-border-back {
  0% {
    box-shadow: inset 0px 0px 20px 0px #0080ff, 0px 0px 10px 5px #0080ff;
  }
  100% {
    box-shadow: inset 0px 0px 20px 0px #0080ff, 0px 0px 0px 0px #0080ff;
  }
}

@keyframes bleach-pulse-border {
  0%,
  100% {
    box-shadow: inset 0px 0px 20px 0px #ff8400, 0px 0px 0px 0px #ff8400;
  }
  50% {
    box-shadow: inset 0px 0px 20px 0px #ff8400, 0px 0px 10px 5px #ff8400;
  }
}

#bouton-originale-op {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  background-color: rgb(0 128 255 / 50%);
  box-shadow: inset 0px 0px 20px 0px #0080ff;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

#bouton-originale-op:hover {
  animation: pulse-border 0.5s forwards;
}

#bouton-kai-op {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  box-shadow: inset 0px 0px 20px 0px #0080ff;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

/* Appliquer l'animation au survol */
#bouton-kai-op:hover {
  animation: pulse-border 0.5s forwards;
  background-color: unset;
}

#bouton-originale-bleach {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  background-color: rgb(255 132 0 / 50%);
  box-shadow: inset 0px 0px 20px 0px #ff8400;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

#bouton-originale-bleach:hover {
  animation: pulse-border 0.5s forwards;
}

#bouton-kai-bleach {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  box-shadow: inset 0px 0px 20px 0px #ff8400;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

#bouton-kai-bleach:hover {
  animation: bleach-pulse-border 1s infinite;
  background-color: unset;
  animation: pulse-border 0.5s forwards;
}

#bouton-originale-naruto {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  background-color: rgb(255 132 0 / 50%);
  box-shadow: inset 0px 0px 20px 0px #ff8400;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

#bouton-originale-naruto:hover {
  animation: pulse-border 0.5s forwards;
}

#bouton-kai-naruto {
  border-radius: 2em;
  font-family: kalam;
  font-size: 18px;
  box-shadow: inset 0px 0px 20px 0px #ff8400;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
  margin-top: 30px;
  text-align: center;
  font-family: kalam;
  animation: pulse-border-back 0.5s forwards;
}

#bouton-kai-naruto:hover {
  animation: pulse-border 0.5s forwards;
  background-color: unset;
}

.infoKai {
  color: white;
  vertical-align: top;
  margin-left: 6px;
}

.infoFilm {
  color: white;
  vertical-align: super;
}

.ds {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 25px;
}

.daily {
      width: stretch;
      display: block;
      max-width: 640px;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
      margin-top:40px;
}

#ds1 {
  margin-bottom: 30px;
}

#ds2 {
  opacity: 0;
  z-index: -1;
  position:absolute;
  inset: 0 !important;
  position:fixed !important;
}

.banner {
  margin: auto;
  width: 728px;
  margin-top: 20px;
}

.banner2 {
  margin: auto;
  width: 300px;
  margin-top: 115px;
}

.banner3 {
  margin: auto;
  width: 970px;
  margin-top: 20px;
}

.banner4 {
  margin-top: 20px;
}

#actualiser {
  margin: auto;
  text-align: center;
}

@media (max-height: 500px) {
  .vjs-has-started.video-js .vjs-big-play-button,
  .video-js.vjs-ended .vjs-big-play-button {
    display: none !important;
  }
}

@media (max-width: 767px) {
  ::-webkit-scrollbar {
    width: 17px;
  }

  .video-js .vjs-control-bar {
    margin-bottom: 0px !important;
  }

  .video-js .vjs-big-play-button {
    font-size: 3em;
  }

  .banner4 {
    margin-top: 80px;
  }

  .video-js .vjs-control-bar {
    font-size: 12px;
  }

  .retour {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
  }

  body {
    background: #111 !important;
  }

  .video-js .passez {
    margin-left: 15px;
    bottom: 50px;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 12px;
    display: none;
  }

  .vjs-has-started.video-js .vjs-big-play-button,
  .video-js.vjs-ended .vjs-big-play-button {
    display: none !important;
  }


}

@media (max-width: 1535px) {
  .mask-effect .mask {
    height: 100%;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    transition: all 0.2s ease-out;
    border: none !important;
  }
}

@media (max-width: 992px) {
  .button-3d {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    /* padding-bottom: unset !important; */
  }
}

@media (min-width: 768px) {
  .playlistIframe {
    display: flex;
    flex-direction: row; /* Place les éléments en ligne (côte à côte) */
    align-items: stretch; /* Assure que les éléments prennent la même hauteur */
  }

  .videoIframe {
    flex: 2; /* La vidéo prendra deux fois plus d'espace que la liste */
    flex-direction: column;
    justify-content: center; /* Centrer le contenu verticalement si besoin */
  }

  .liste-playlist {
    flex: 1; /* La liste prendra le reste de l'espace */
    flex-direction: column;
    justify-content: center; /* Assure que le contenu de la liste est centré */
    min-width: unset;
    min-height: unset;
    width: initial;
  }
}

#textModal .word {
  display: inline-block; /* le mot devient un bloc indivisible */
}


#textModal .letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(6px);
  animation: letterFade 0.35s forwards ease-out;
  animation-delay: calc(var(--i) * 40ms);
}

@keyframes letterFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#adblock-phrase {
  position: relative;
}

/* pulse lent tant que la classe est là */
#adblock-phrase.glow-pulse {
  animation: sekaiGlowPulse 2s ease-in-out infinite;
}

@keyframes sekaiGlowPulse {
  0% {
    text-shadow: 0 0 0px rgba(0, 191, 255, 0);
  }
  50% {
    text-shadow:
      0 0 6px rgba(0, 191, 255, 0.95),
      0 0 16px rgba(0, 229, 255, 0.9),
      0 0 26px rgba(0, 229, 255, 0.7);
  }
  100% {
    text-shadow: 0 0 0px rgba(0, 191, 255, 0);
  }
}

.close-modal:link,
.close-modal:visited {
  color: #fff;
}

.close-modal {
  position: absolute;
  right: 50px;
  top: 70px;
  font-size: 26px;
  -webkit-transition: transform ease-out 0.4s;
  -moz-transition: transform ease-out 0.4s;
  -ms-transition: transform ease-out 0.4s;
  -o-transition: transform ease-out 0.4s;
  transition: transform ease-out 0.4s;
  transform: rotate(0deg);
  z-index: 20;
}

.close-modal:hover {
  opacity: 0.6;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-transition: all 400ms;
  -moz-transition: all 400ms;
  -ms-transition: all 400ms;
  -o-transition: all 400ms;
}

/* Effet au survol */
#refresh-button:hover {
  transform: scale(1.1);
}

/* Effet lors du clic */
#refresh-button:active {
  transform: scale(0.95);
}

/* Initial style for the close button */
#close-button {
  position: fixed;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 20;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Hidden state after clicking */
#close-button.hidden {
  opacity: 0;
  pointer-events: none;
  /* Disables interactions while hidden */
}

/* New position (top left) */
#close-button.show-top-left {
  top: 10px;
  left: 10px;
  right: auto;
  /* Reset right positioning */
  opacity: 1;
  pointer-events: auto;
  /* Re-enable interactions */
}

/* Sondage */
/* Bouton d'ouverture push-in */
#openPushInBtn {
  background-color: #ef334e;
  /* Rouge vif */
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: inset 0px 0px 20px 0px #0080ff;
  background: radial-gradient(#0080ff, #000000);
  width: 13%;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.2s;
  display: block;
  align-self: center;
  margin: 0 auto;
  margin-bottom: 15px;
  margin-top: 34px;
}

#openPushInBtn:hover {
  transform: scale(1.1);
}

#openPushInBtn:active {
  transform: scale(0.9);
  transition: transform 0.05s ease-out;
  /* Réduit la taille lors du clic */
}

@media (max-width: 768px) {
  #openPushInBtn {
    font-size: 0.9rem;
    /* Réduire la taille de la police sur les écrans plus petits */
    padding: 0.8rem 1.5rem;
    /* Ajuster le padding pour les écrans plus petits */
    width: 25% !important;
  }
}

@media (max-width: 1000px) {
  #openPushInBtn {
    /* Ajuster le padding pour les écrans plus petits */
    width: 18% !important;
  }
}

@media (max-width: 480px) {
  #openPushInBtn {
    font-size: 0.8rem;
    /* Taille de police encore plus petite pour les très petits écrans */
    padding: 0.6rem 1rem;
    /* Réduction du padding pour les petits écrans */
    width: 30% !important;
    /* Prendre presque toute la largeur de l'écran */
  }
}

@media (max-width: 768px) {
  #openPushInBtn {
    font-size: 0.9rem;
    /* Réduire la taille de la police sur les écrans plus petits */
    padding: 0.8rem 1.5rem;
    /* Ajuster le padding pour les écrans plus petits */
  }
}

@media (max-width: 480px) {
  #openPushInBtn {
    font-size: 0.8rem;
    /* Taille de police encore plus petite pour les très petits écrans */
    padding: 0.6rem 1rem;
    /* Réduction du padding pour les petits écrans */
    width: 90%;
    /* Prendre presque toute la largeur de l'écran */
  }

  #pollPushIn {
    width: 350px !important;
  }
}

/* Style pour le panneau push-in */
#pollPushIn {
  position: fixed;
  top: 0;
  right: -100%;
  /* Commence hors de l'écran */
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transition: right 0.3s ease;
  /* Animation de transition */
  z-index: 999;
}

/* Bouton pour fermer le panneau */

#closePushInBtn:hover,
#closePushInBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Contenu du panneau */
#pollContent {
  padding: 20px;
}

/* Style pour le panneau push-in */
#pollPushIn {
  position: fixed;
  top: 0;
  right: -100%;
  /* Commence hors de l'écran */
  width: 400px;
  height: 100%;
  background-color: #000;
  /* Fond noir */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 9999 !important;
  scrollbar-width: none;
}

ins[id="gpt_unit_/21849154601,22688159267/Ad.Plus-Anchor_0"] {
  /* Tes styles ici */
  z-index: 9998 !important;
}

/* Bouton de fermeture */
#closePushInBtn {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 15px;
  text-align: center;
  display: block;
  margin-right: 10px;
  background: none;
  border: none;
  outline: none;
}

#closePushInBtn:hover {
  color: #ef334e;
  /* Change la couleur au survol */
}

/* Contenu du panneau */
#pollContent {
  padding: 20px;
  color: white;
  /* Texte en blanc */
}

@media (max-width: 324px) {
  #openPushInBtn,
  #pollPushIn {
    display: none;
  }
}


    .circle-container .circle {
      background-image: radial-gradient(#0080ff, #0080ff 10%, rgba(153, 255, 255, 0) 56%);
    }

    .circle-container .circle.energy {
      background-image: radial-gradient(#f9ffff, #a0fdfc 10%, rgba(153, 255, 255, 0) 56%) !important;
      visibility: hidden;
      /* Caché par défaut, mais conservé dans le flux de la page */
      opacity: 0;
      /* Opacité à 0 par défaut */
      transition: opacity 2s ease-in-out, visibility 0s 2s;
      /* La visibilité change après l'animation */
    }

    .circle-container .circle.energy.fade-in {
      visibility: visible;
      /* Rend l'élément visible */
      opacity: 1;
      /* Augmente progressivement l'opacité pour le fade-in */
      transition: opacity 2s ease-in-out, visibility 0s 0s;
      /* Supprime le délai de visibilité */
    }

