@keyframes play-pop-in {
  0%   { transform: translate(-50%, -50%) scale(0.75); opacity: 0; }
  65%  { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}

@keyframes play-pop-out {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
}

@keyframes netflixIntro {
  0% {
    opacity: 0;
    transform: scale(.8)
  }

  50% {
    opacity: 1;
    transform: scale(1.1)
  }

  70% {
    transform: scale(.95)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes snr-shake {

  0%,
  to {
    transform: translateX(0)
  }

  20% {
    transform: translateX(-6px)
  }

  40% {
    transform: translateX(6px)
  }

  60% {
    transform: translateX(-4px)
  }

  80% {
    transform: translateX(4px)
  }
}

@keyframes heroSlideOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1)
  }

  to {
    opacity: 0;
    transform: translateX(-60px) scale(.97)
  }
}

@keyframes heroSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(70px) scale(.96)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

@keyframes heroSlideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1)
  }

  to {
    opacity: 0;
    transform: translateX(60px) scale(.97)
  }
}

@keyframes heroSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-70px) scale(.96)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1
  }

  to {
    opacity: 0
  }
}

@keyframes dropdown-appear {
  0% {
    opacity: 0;
    transform: scale(.93) translateY(-6px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes pulse-opacity {

  0%,
  to {
    opacity: .3
  }

  50% {
    opacity: .8
  }
}

@keyframes bubble-pulse {

  0%,
  to {
    transform: scale(1);
    opacity: .7
  }

  50% {
    transform: scale(1.35);
    opacity: 0
  }
}

@keyframes status-blink {

  0%,
  to {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}

@keyframes msg-appear {
  0% {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes typing-bounce {

  0%,
  60%,
  to {
    transform: translateY(0);
    opacity: .5
  }

  30% {
    transform: translateY(-5px);
    opacity: 1
  }
}

@keyframes logoZoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0)
  }

  to {
    opacity: 0;
    transform: scale(3);
    filter: blur(8px)
  }
}

@keyframes slideFromTop {
  0% {
    transform: translateY(-30px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes zoomInHero {
  0% {
    transform: scale(1.06);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

@keyframes suggestFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@font-face {
  font-family: "Bebas Neue";
  src: url(../assets/BebasNeue-Regular.woff2)format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

:root {
  --primary-bg: #000000;
  --secondary-bg: #1959D7;
  --accent-color: #1959D7;
  --accent-glow: #0000d4;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --card-bg: rgba(30, 30, 40, 0.8);
  --hover-scale: 1.05;
  --transition-speed: 0.4s
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

.btn-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(15, 15, 25, .65);
  border: 1.5px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.34, 1.56, .64, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.btn-close svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .7);
  transition: color .18s ease
}

.btn-close:hover {
  background: var(--accent-color);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(25, 89, 215, .45)
}

.btn-close:hover svg {
  color: #fff
}

.btn-close:active {
  transform: scale(.88);
  transition-duration: .1s
}

@media (max-width:768px) {
  .btn-close {
    width: 44px;
    height: 44px
  }

  .btn-close svg {
    width: 17px;
    height: 17px
  }
}

.nav-links a,
body {
  color: var(--text-primary)
}

body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  line-height: 1.6
}

#particles-js,
.loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0
}

.loading-screen,
body {
  background: var(--primary-bg)
}

.loading-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity .8s ease-in-out
}

.loading-logo-container {
  width: 460px;
  height: 230px;
  margin-bottom: 60px
}

.loading-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.8);
  animation: netflixIntro 2.5s ease forwards
}

.loading-fade-out {
  opacity: 0 !important
}

@media (max-width:768px) {
  .loading-logo-container {
    width: 300px;
    height: 150px
  }
}

.content-section {
  margin-bottom: 40px
}

@media (min-width:769px) {
  .content-section {
    padding: 60px 40px;
    margin-bottom: 40px
  }
}

@media (max-width:768px) {
  .content-section {
    padding: 30px 15px;
    margin-bottom: 20px
  }
}

#particles-js {
  z-index: -1;
  background-color: var(--primary-bg)
}

@media (max-width:1024px) {
  #particles-js {
    display: none !important
  }
}

.logo,
.navbar {
  display: flex;
  align-items: center
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .3) 60%, transparent 100%);
  justify-content: space-between;
  z-index: 1600;
  transition: background .5s ease
}

.navbar.scrolled {
  background: linear-gradient(180deg, rgba(8, 8, 14, .96) 0%, rgba(8, 8, 14, .85) 60%, rgba(8, 8, 14, .6) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px)
}

.logo {
  height: 70px;
  cursor: pointer;
  transition: transform .3s ease
}

.logo img {
  max-width: 100%;
  height: 150px;
  width: auto;
  object-fit: contain
}

.logo:hover {
  transform: scale(1.05)
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none
}

.nav-links a {
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  position: relative;
  transition: color .3s ease
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width .3s ease
}

.footer-section ul li a:hover,
.nav-links a.nav-filter-active,
.nav-links a:hover {
  color: var(--accent-color)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-links a.nav-filter-active::after {
  width: 100%;
  background: var(--accent-color)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px
}

.search-container {
  position: relative
}

.search-input {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 10px 40px 10px 15px;
  border-radius: 25px;
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  width: 200px;
  transition: all .3s ease
}

.search-input:focus {
  outline: 0;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, .15);
  width: 300px;
  box-shadow: 0 0 20px rgba(0, 102, 255, .3)
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
  pointer-events: none
}

.search-page {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--primary-bg);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity .35s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22, 1, .36, 1)
}

.search-page.search-page-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

@media (min-width:1025px) {
  .search-page {
    background: 0 0
  }

  .search-page-particles-active #particles-js {
    z-index: 2999
  }
}

.search-page-close {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 3100
}

.search-page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 48px;
  position: relative
}

.search-page-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, .8)
}

.search-page-title span {
  color: var(--accent-color);
  text-shadow: 0 0 40px rgba(25, 89, 215, .5)
}

.search-page-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px
}

.search-page-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, .4);
  pointer-events: none;
  transition: color .2s ease
}

.search-page-input-wrapper:focus-within .search-page-icon {
  color: var(--accent-color)
}

.search-page-input {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 20px 56px 20px 58px;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  outline: 0;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  box-sizing: border-box
}

.search-page-input::placeholder,
.snr-input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.search-page-input:focus {
  border-color: var(--accent-color);
  background: rgba(0, 102, 255, .07);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .15), 0 16px 48px rgba(0, 0, 0, .5)
}

.search-page-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: 0;
  color: rgba(255, 255, 255, .5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s
}

.search-page-clear.visible {
  display: flex
}

.search-page-clear:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff
}

.search-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  max-width: 680px
}

.search-page-tag {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all .2s ease
}

.search-page-tag.active,
.search-page-tag:hover {
  background: rgba(0, 102, 255, .25);
  border-color: var(--accent-color);
  color: #fff
}

.search-page-catalogue {
  flex: 1;
  padding: 0 40px 60px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box
}

.search-page-catalogue-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  min-height: 28px
}

.search-page-count {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .5px
}

.search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px 80px;
  gap: 12px
}

.snr-icon {
  color: rgba(255, 255, 255, .2);
  margin-bottom: 8px
}

.snr-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .7)
}

.snr-sub {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
  max-width: 360px;
  line-height: 1.5;
  margin-bottom: 8px
}

.snr-fields,
.snr-form {
  display: flex;
  width: 100%
}

.snr-form {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 480px
}

.snr-fields {
  gap: 10px
}

.snr-input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: #fff;
  outline: 0;
  transition: border-color .2s ease, background .2s ease
}

.snr-input:focus {
  border-color: var(--accent-color);
  background: rgba(0, 102, 255, .07)
}

.snr-input-year {
  flex: 0 0 90px
}

.snr-btn {
  width: 100%;
  background: var(--accent-color);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 13px 24px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s ease, transform .15s ease
}

.snr-btn:hover {
  opacity: .85;
  transform: translateY(-1px)
}

.snr-btn:active {
  transform: translateY(0)
}

.snr-btn:disabled {
  opacity: .4;
  cursor: default;
  transform: none
}

.snr-confirm {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px
}

.snr-shake {
  animation: snr-shake .35s ease
}

@media (max-width:768px) {
  .snr-fields {
    flex-direction: column
  }

  .snr-input-year {
    flex: 1
  }

  .search-page-hero {
    padding: 70px 16px 36px
  }

  .search-page-catalogue {
    padding: 0 16px 40px
  }

  .search-page-input {
    font-size: 16px;
    padding: 16px 48px
  }
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  margin-top: 80px;
  overflow: hidden;
  z-index: 1
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
  transition: transform .3s ease, opacity .4s ease
}

.hero-background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(0deg, var(--primary-bg) 0%, transparent 100%)
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s ease
}

.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 55px;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, .8);
  text-transform: uppercase
}

.hero-meta,
.hero-meta-rating {
  display: flex;
  align-items: center
}

.hero-meta {
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 30px;
  font-family: "Outfit", sans-serif
}

.hero-meta-rating {
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  color: #f5c518
}

.hero-meta-rating svg {
  width: 15px;
  height: 15px;
  fill: #f5c518;
  flex-shrink: 0
}

.hero-meta-sep {
  color: rgba(255, 255, 255, .25);
  font-size: 14px
}

.hero-meta-duration,
.hero-meta-year {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500
}

.hero-meta-tag {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: .3px
}

.hero-buttons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px
}

.btn {
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(25,89,215,.35)
}

.btn-primary:hover {
  background: #1650c0;
  box-shadow: 0 4px 24px rgba(25,89,215,.55);
  transform: translateY(-1px)
}

.btn-primary:active {
  transform: scale(.96);
  transition-duration: .08s
}

.btn-secondary {
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.20);
  color: #fff
}

.hero-info {
  -webkit-backdrop-filter: none;
  backdrop-filter: none
}

.btn-secondary:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  color: #fff;
  box-shadow: 0 4px 20px rgba(25,89,215,.25);
  transform: translateY(-1px)
}

.btn-secondary:active {
  transform: scale(.96);
  transition-duration: .08s
}

#moreInfoBtn.info-active {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  color: #fff;
  box-shadow: 0 4px 20px rgba(25,89,215,.25)
}

.hero-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .5s ease;
  background: rgba(0, 0, 0, .7);
  padding: 0 20px;
  border-radius: 8px;
  margin-top: 0;
  border: 1px solid rgba(0, 102, 255, .2)
}

.hero-info.active {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
  padding: 20px
}

.info-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-family: "Outfit", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.hero-content.slide-out-left {
  animation: heroSlideOutLeft .4s cubic-bezier(.4, 0, 1, 1) forwards
}

.hero-content.slide-in-right {
  animation: heroSlideInRight .7s cubic-bezier(.22, 1, .36, 1) both
}

.hero-content.slide-out-right {
  animation: heroSlideOutRight .4s cubic-bezier(.4, 0, 1, 1) forwards
}

.hero-content.slide-in-left {
  animation: heroSlideInLeft .7s cubic-bezier(.22, 1, .36, 1) both
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 60px;
  display: flex;
  gap: 10px;
  z-index: 10
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all .4s ease;
  border: 0;
  padding: 0
}

.carousel-dot.active {
  background: var(--accent-color);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(25, 89, 215, .7)
}

@media (max-width:768px) {
  .carousel-dots {
    left: 15px;
    bottom: 20px
  }
}

.content-section {
  padding: 60px;
  position: relative;
  z-index: 1;
  overflow: visible
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  margin-bottom: 30px;
  letter-spacing: 3px;
  text-transform: uppercase
}

.movies-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none
}

.movies-row::-webkit-scrollbar {
  height: 8px
}

.movies-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .1);
  border-radius: 10px
}

.movies-row::-webkit-scrollbar-thumb {
  display: none;
  background: var(--accent-color);
  border-radius: 10px
}

.movie-card {
  position: relative;
  min-width: 220px;
  height: 330px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.55s ease
}

.movie-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .8), 0 0 30px rgba(0, 102, 255, .3);
  z-index: 10
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.22, 1, .36, 1), filter 0.6s ease
}

.movie-card:hover .movie-poster {
  transform: scale(1.1);
  filter: brightness(0.85)
}

.movie-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .95)0, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.75s cubic-bezier(.22, 1, .36, 1)
}

.movie-card:hover .movie-overlay {
  transform: translateY(0)
}

.movie-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%
}

.footer-section ul li a,
.movie-info {
  color: var(--text-secondary);
  font-size: 14px
}

.movie-info {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: "Outfit", sans-serif
}

.rating {
  color: gold;
  font-weight: 600
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 62px;
  height: 62px;
  background: rgba(25, 89, 215, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Transition pure : gère l'entrée ET la sortie de façon fluide.
     cubic-bezier(0.34, 1.56, 0.64, 1) crée un léger overshoot naturel (pop)
     sans nécessiter de keyframes — et la sortie est symétrique et douce. */
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.45s ease,
              background 0.45s ease,
              border-color 0.45s ease,
              box-shadow 0.45s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}

.play-icon::before {
  display: none;
}

.movie-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(25, 89, 215, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.movie-card:hover .play-icon::after {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.play-icon::after,
.top5-movie-card .play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 18px solid rgba(255, 255, 255, 0.95);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 6px;
}

.top5-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  cursor: pointer
}

.footer-section h2,
.top5-number {
  font-family: "Bebas Neue", sans-serif
}

.top5-number {
  font-size: 240px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 8px rgba(255, 255, 255, .9);
  text-stroke: 8px rgba(255, 255, 255, .9);
  user-select: none;
  z-index: 1;
  margin-right: -50px;
  flex-shrink: 0;
  align-self: flex-end
}

.top5-movie-card {
  position: relative;
  min-width: 220px;
  width: 220px;
  height: auto;
  aspect-ratio: 2/3;
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  flex-shrink: 0
}

.top5-movie-card:hover {
  transform: scale(1.06) translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .8), 0 0 30px rgba(0, 102, 255, .25)
}

.top5-movie-card .movie-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease
}

.top5-movie-card:hover .movie-poster {
  transform: scale(1.1);
  filter: brightness(0.85)
}

.top5-movie-card .movie-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .95)0, transparent 100%);
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease
}

.top5-movie-card:hover .movie-overlay {
  transform: translateY(0)
}

.top5-movie-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 58px;
  height: 58px;
  background: rgba(25, 89, 215, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}

.top5-movie-card .play-icon::before {
  display: none;
}

.top5-movie-card:hover .play-icon {
  animation: play-pop-in .4s cubic-bezier(.22, 1, .36, 1) forwards;
  background: rgba(25, 89, 215, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.top5-movie-card:hover .play-icon::after {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

@media (max-width:768px) {
  .top5-number {
    font-size: 160px;
    -webkit-text-stroke-width: 6px;
    margin-right: -36px
  }

  .top5-movie-card {
    min-width: 155px;
    width: 155px;
    height: auto
  }
}

#top5Movies {
  align-items: flex-end;
  padding-top: 24px
}

.video-player,
.video-player video {
  width: 100%;
  height: 100%;
  background: #000
}

.video-player {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity .45s ease
}

.video-player.active {
  display: block;
  opacity: 0
}

.video-player.visible {
  opacity: 1
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

.video-player video {
  object-fit: contain
}

@media (max-width:768px) {
  .navbar {
    padding: 4px 20px;
    justify-content: space-between
  }

  .nav-links {
    display: none
  }

  .logo,
  .nav-right {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: flex-start
  }

  .logo img {
    height: 70px;
    width: auto
  }

  .nav-right {
    flex: 0 0 60%;
    margin-left: 0;
    gap: 0;
    justify-content: flex-end
  }

  .search-container {
    flex: 1
  }

  .search-input {
    width: 100%;
    min-width: 0;
    font-size: 13px;
    padding: 7px 36px 7px 12px
  }

  .search-input:focus {
    width: 100%
  }

  .hero {
    padding: 0 20px;
    height: 75vh
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 48px);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto
  }

  .hero-meta {
    gap: 6px 8px;
    margin-bottom: 18px
  }

  .hero-meta-tag {
    font-size: 11px;
    padding: 2px 6px
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 10px
  }

  .btn {
    font-size: 15px;
    padding: 12px 22px
  }

  .hero-info .info-text {
    font-size: 13px
  }

  .content-section {
    padding: 30px 20px
  }

  .section-title {
    font-size: clamp(18px, 5vw, 25px)
  }

  .movie-card {
    min-width: 160px;
    height: 240px
  }

  .close-player {
    top: 10px;
    right: 10px
  }
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 130px;
  margin-bottom: 50px
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 80px;
  margin: 0 auto;
  max-width: 1000px;
  justify-content: center;
  width: 100%
}

.footer-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase
}

.footer-section ul {
  list-style: none
}

.footer-section ul li {
  margin-bottom: 12px
}

.footer-section ul li a {
  text-decoration: none;
  transition: color .3s ease
}

@media (max-width:768px) {
  .footer {
    display: none
  }
}

.series-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 50px 20px 70px;
  opacity: 0;
  pointer-events: none;
  
  visibility: hidden;
  
  transition: opacity .28s ease, visibility 0s linear .28s;
  
}

.series-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transition: opacity .28s ease, visibility 0s linear 0s;
}

.series-modal {
  width: 100%;
  max-width: 880px;
  background: rgba(10, 10, 15, .98);
  border-radius: 12px;
  overflow: hidden;
  transform: translateY(32px) scale(.97);
  will-change: transform, opacity;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
  opacity: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06)
}

.series-modal-overlay.active .series-modal {
  transform: translateY(0) scale(1);
  opacity: 1
}

.series-modal-hero {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.series-modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .1)0, rgba(0, 0, 0, .45) 50%, #0a0a0f 100%)
}

.series-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10
}

.series-modal-close svg {
  fill: #fff;
  width: 22px;
  height: 22px
}

.series-modal-hero-info {
  position: absolute;
  bottom: 28px;
  left: 40px;
  right: 40px;
  z-index: 5
}

.series-modal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 46px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, .8)
}

.series-modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.series-modal-meta span {
  font-size: 14px;
  color: var(--text-secondary);
  font-family: "Outfit", sans-serif
}

.series-modal-meta .rating-badge {
  color: gold;
  font-weight: 600
}

.series-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.series-modal-btn {
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent
}

.series-modal-btn.primary {
  background: var(--accent-color);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(25,89,215,.35)
}

.series-modal-btn.primary:hover {
  background: #1650c0;
  box-shadow: 0 4px 24px rgba(25,89,215,.55);
  transform: translateY(-1px)
}

.series-modal-btn.primary:active {
  transform: scale(.96);
  transition-duration: .08s
}

.series-modal-btn.secondary {
  background: rgba(0,0,0,.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20)
}

.series-modal-btn.secondary:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  color: #fff;
  box-shadow: 0 4px 20px rgba(25,89,215,.25);
  transform: translateY(-1px)
}

.series-modal-btn.secondary:hover svg {
  fill: #fff
}

.series-modal-btn.secondary:active {
  transform: scale(.96);
  transition-duration: .08s
}

.series-modal-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor
}

.series-modal-body {
  padding: 0 40px 40px
}

.series-modal-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  font-family: "Outfit", sans-serif
}

.series-season-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.season-dropdown {
  position: relative;
  display: inline-block;
}

.season-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.season-dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(25, 89, 215, .15);
}

.season-dropdown-arrow {
  opacity: .6;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), opacity .2s;
  flex-shrink: 0;
}

.season-dropdown-trigger.open .season-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.season-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: unset;
  background: rgba(14, 14, 22, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .18s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.12) transparent;
}

.season-dropdown-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}



.season-dropdown-item {
  display: block;
  width: 100%;
  padding: 11px 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .65);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.season-dropdown-item:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.season-dropdown-item.active {
  color: #fff;
  background: rgba(25, 89, 215, .25);
  position: relative;
}

.season-dropdown-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color);
  border-radius: 0 2px 2px 0;
}

.episode-list {
  display: flex;
  flex-direction: column
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.episode-item:last-child {
  border-bottom: none
}

.episode-item:hover {
  background: rgba(25, 89, 215, .08);
  box-shadow: inset 3px 0 0 var(--accent-color)
}

.episode-item:hover .episode-play-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1)
}

.episode-number {
  min-width: 28px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  color: rgba(255, 255, 255, .25);
  text-align: center;
  flex-shrink: 0
}

.episode-number--watched {
  color: var(--accent-color) !important
}

.episode-thumb-wrap {
  min-width: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .05)
}

.episode-thumb {
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(.85)
}

.episode-item:hover .episode-thumb {
  transform: scale(1.06);
  filter: brightness(.6)
}

.episode-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 42px;
  height: 42px;
  background: rgba(25, 89, 215, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}

.episode-play-circle::before {
  display: none;
}

.episode-item:hover .episode-play-circle {
  animation: play-pop-in .4s cubic-bezier(.22, 1, .36, 1) forwards;
  background: rgba(25, 89, 215, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.episode-play-circle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid rgba(255, 255, 255, 0.95);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px
}

.episode-info {
  flex: 1;
  min-width: 0
}

.episode-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px
}

.episode-name {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary)
}

.episode-desc,
.episode-duration {
  font-size: 13px;
  color: var(--text-secondary)
}

.episode-duration {
  flex-shrink: 0
}

.episode-desc {
  font-family: "Outfit", sans-serif;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

@media (max-width:768px) {
  .series-modal-overlay {
    padding: 0;
    align-items: flex-end
  }

  .series-modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 95dvh;
    overflow-y: auto;
    
    will-change: transform, opacity;
    
    overscroll-behavior: contain;
    transform: translateY(100%);
    
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease
  }

  .series-modal-overlay.active .series-modal {
    transform: translateY(0)
  }

  .series-modal-hero {
    height: 260px
  }

  .series-modal-title {
    font-size: 30px
  }

  .series-modal-hero-info {
    left: 18px;
    right: 18px;
    bottom: 18px
  }

  .series-modal-meta {
    gap: 10px
  }

  .series-modal-meta span {
    font-size: 13px
  }

  .series-modal-btn {
    padding: 11px 20px;
    font-size: 14px
  }

  .series-modal-body {
    padding: 0 18px 40px
  }

  .series-modal-close {
    top: 14px;
    right: 14px
  }

  .series-modal-close svg {
    width: 20px;
    height: 20px
  }

  .episode-item {
    gap: 12px;
    padding: 14px 8px
  }

  .episode-number {
    min-width: 20px;
    font-size: 18px
  }

  .episode-thumb-wrap {
    min-width: 100px;
    height: 60px;
    border-radius: 6px
  }

  .episode-play-circle {
    width: 34px;
    height: 34px
  }

  .episode-play-circle::after {
    border-left-width: 9px;
    border-top-width: 5px;
    border-bottom-width: 5px
  }

  .episode-name {
    font-size: 14px
  }

  .episode-desc {
    font-size: 12px;
    -webkit-line-clamp: 2
  }

  .series-season-header {
    padding-bottom: 14px
  }
}

.row-wrapper {
  position: relative
}

.scroll-btn {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 80px;
  background: rgba(0, 0, 0, .75);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease, box-shadow .25s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px)
}

.row-wrapper:hover .scroll-btn:not(.hidden) {
  opacity: 1
}

.scroll-btn:hover {
  background: var(--accent-color) !important;
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(25, 89, 215, .6)
}

.scroll-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  pointer-events: none
}

.scroll-btn.left {
  left: -24px;
  transform: translateY(-50%)
}

.scroll-btn.right {
  right: -24px;
  transform: translateY(-50%)
}

.scroll-btn.hidden {
  opacity: 0 !important;
  pointer-events: none
}

@media (max-width:768px) {
  .scroll-btn {
    display: none
  }
}

.ma-liste-overlay {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px)
}

.btn-liste {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease, color .22s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.btn-liste svg {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, .8);
  flex-shrink: 0;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), fill .18s ease
}

.btn-liste .btn-liste-icon-check,
.btn-liste.favorited .btn-liste-icon-add {
  display: none
}

.btn-liste.favorited .btn-liste-icon-check {
  display: block
}

.btn-liste:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(25,89,215,.25)
}

.btn-liste.favorited svg,
.btn-liste:hover svg {
  fill: #fff
}

.btn-liste.favorited {
  background: rgba(25, 89, 215, .55);
  border-color: rgba(25, 89, 215, .8);
  color: #fff;
  box-shadow: 0 0 14px rgba(25, 89, 215, .3)
}

.btn-liste:active {
  transform: scale(.94);
  transition-duration: .1s
}

.hero-buttons .btn-liste {
  height: auto;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  width: fit-content;
  align-self: center;
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.20)
}

.hero-buttons .btn-liste:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  box-shadow: 0 4px 20px rgba(25,89,215,.25)
}

.hero-buttons .btn-liste.favorited {
  background: rgba(25, 89, 215, .60);
  border-color: rgba(25, 89, 215, .88);
  color: #fff;
  box-shadow: 0 0 18px rgba(25, 89, 215, .35)
}

@media (max-width:768px) {
  .hero-buttons .btn-liste {
    padding: 6px 14px;
    font-size: 13px;
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.20)
  }

  .hero-buttons .btn-liste .btn-liste-icon-add,
  .hero-buttons .btn-liste .btn-liste-icon-check,
  .hero-buttons .btn-liste .btn-liste-label {
    display: none !important
  }

  .hero-buttons .btn-liste::before {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, .85)
  }

  .hero-buttons .btn-liste.favorited::before {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: #fff
  }

  .hero-buttons .btn-liste.favorited {
    background: rgba(25, 89, 215, .65);
    border-color: rgba(25, 89, 215, .9);
    box-shadow: 0 0 16px rgba(25, 89, 215, .45)
  }

  #heroHeartBtn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center
  }

  #heroShareBtn {
    display: none !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center
  }

  #heroShareBtn::before {
    content: none !important
  }

  .btn-liste:not(.hero-buttons .btn-liste) {
    font-size: 12px;
    height: 32px;
    padding: 0 11px
  }
}

.ma-liste-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  overflow-y: auto
}

.ma-liste-overlay.active {
  opacity: 1;
  pointer-events: all
}

.ma-liste-panel {
  width: 100%;
  max-width: 1100px;
  transform: translateY(30px);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1)
}

.ma-liste-overlay.active .ma-liste-panel {
  transform: translateY(0)
}

@media (max-width:768px) {
  .ma-liste-overlay {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto
  }

  .ma-liste-panel {
    min-height: 100dvh;
    border-radius: 0;
    background: rgba(10, 10, 20, .98);
    padding: 0 0 env(safe-area-inset-bottom, 16px);
    transform: translateY(40px)
  }

  .ma-liste-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 20, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 16px 16px 14px;
    margin-bottom: 0;
    z-index: 2
  }

  .ma-liste-title {
    font-size: 18px !important
  }
}

.ma-liste-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 30px
}

.ma-liste-header .ma-liste-title {
  grid-column: 1;
  justify-self: start
}

.ma-liste-header .btn-delete-all {
  grid-column: 2;
  justify-self: center
}

.ma-liste-header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px
}

.btn-delete-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(220, 40, 80, .32);
  background: rgba(220, 40, 80, .08);
  color: rgba(240, 90, 120, .9);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease
}

.btn-delete-all:hover {
  background: rgba(220, 40, 80, .22);
  border-color: rgba(220, 40, 80, .6)
}

.btn-delete-all svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  pointer-events: none
}

.flavel-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .22s ease
}

.flavel-confirm-overlay.visible {
  opacity: 1
}

.flavel-confirm-card {
  background: linear-gradient(160deg, #12122a 0%, #0d0d1e 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 30px 28px 24px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(.9);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1)
}

.flavel-confirm-overlay.visible .flavel-confirm-card {
  transform: scale(1)
}

.flavel-confirm-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(220, 40, 80, .12);
  border: 1px solid rgba(220, 40, 80, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 80, 110, .9);
  margin-bottom: 4px
}

.flavel-confirm-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase
}

.flavel-confirm-sub {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.5;
  margin-top: -4px
}

.flavel-confirm-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px
}

.flavel-confirm-btn-cancel {
  flex: 1;
  padding: 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: rgba(255, 255, 255, .65);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease
}

.flavel-confirm-btn-cancel:hover {
  background: rgba(255, 255, 255, .07)
}

.flavel-confirm-btn-confirm {
  flex: 1;
  padding: 11px;
  border-radius: 9px;
  border: none;
  background: rgba(220, 40, 80, .85);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease
}

.flavel-confirm-btn-confirm:hover {
  background: #dc2850
}

.ma-liste-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  line-height: 1
}

.btn-liste svg,
.ma-liste-close svg {
  pointer-events: none
}

.ma-liste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px
}

.ma-liste-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  transition: transform .3s ease, box-shadow .3s ease
}

.ma-liste-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6)
}

.historique-poster-wrap img,
.ma-liste-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ma-liste-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .9)0, transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 8px
}

.ma-liste-card:hover .ma-liste-card-overlay {
  opacity: 1
}

.ma-liste-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3
}

.ma-liste-card-remove {
  background: rgba(220, 40, 80, .85);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  transition: background .2s ease
}

.ma-liste-card-remove:hover {
  background: #dc2850
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(25, 89, 215, .95);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4)
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1
}

.series-modal-btn.favorited {
  background: rgba(25, 89, 215, .55) !important;
  border-color: rgba(25, 89, 215, .8) !important;
  box-shadow: 0 0 14px rgba(25, 89, 215, .3)
}

/* Maintient le bleu quand favorited + hover (spécificité 0,3,0 = identique à .secondary:hover mais après → cascade l'emporte) */
.series-modal-btn.favorited:hover {
  background: rgba(25, 89, 215, .55) !important;
  border-color: rgba(25, 89, 215, .8) !important;
  box-shadow: 0 0 14px rgba(25, 89, 215, .3);
  transform: none
}

.movie-card,
.top5-movie-card {
  will-change: transform;
  contain: layout style
}

.hero-background {
  will-change: transform, opacity
}

.content-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px
}

.catalogue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px
}

.catalogue-title {
  text-align: left;
  margin-bottom: 0 !important
}

.tags-dropdown-wrapper {
  display: flex;
  justify-content: flex-end;
  position: relative
}

.tags-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap
}

.tags-dropdown-btn:hover {
  background: rgba(25, 89, 215, .15);
  border-color: var(--accent-color)
}

.tags-dropdown-btn.open {
  background: rgba(25, 89, 215, .2);
  border-color: var(--accent-color);
  box-shadow: 0 0 18px rgba(25, 89, 215, .25)
}

.tags-dropdown-btn svg {
  transition: transform .25s ease;
  opacity: .7;
  flex-shrink: 0
}

.tags-dropdown-btn.open svg {
  transform: rotate(180deg);
  opacity: 1
}

.tags-dropdown-menu {
  position: absolute;
  top: calc(100% 10px);
  right: 0;
  min-width: 180px;
  background: rgba(12, 12, 22, .97);
  border: 1px solid rgba(25, 89, 215, .25);
  border-radius: 12px;
  padding: 8px;
  z-index: 500;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  gap: 2px;
  animation: dropdown-appear .2s cubic-bezier(.22, 1, .36, 1);
  transform-origin: top right
}

.tag-option,
.tags-dropdown-menu.open {
  display: flex
}

.tag-option {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: all .18s ease;
  align-items: center;
  gap: 8px
}

.tag-option::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all .18s ease
}

.tag-option:hover {
  background: rgba(25, 89, 215, .15);
  color: #fff
}

.tag-option.active {
  background: rgba(25, 89, 215, .18);
  color: #fff;
  font-weight: 600
}

.tag-option.active::before {
  background: var(--accent-color);
  border-color: var(--accent-color);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 7px
}

.tag-option[data-tag=all]::before {
  display: none
}

.tag-option,
.tag-option[data-tag=all].active {
  background: 0 0;
  color: var(--text-secondary);
  font-weight: 400
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 220px);
  gap: 40px 24px;
  justify-content: center;
  max-width: 1196px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto
}

.movies-grid .movie-card {
  min-width: unset !important;
  width: 220px !important;
  height: auto !important;
  aspect-ratio: 2/3
}

/* ≥ 1500px : gros écrans, cartes légèrement plus grandes */
@media (min-width:1500px) {
  .movies-grid {
    grid-template-columns: repeat(auto-fill, 240px);
    gap: 40px 28px;
    max-width: 1312px
  }
  .movies-grid .movie-card { width: 240px !important }
}

/* ≤ 768px : tablette → 3 colonnes de 200px */
@media (max-width:768px) {
  .catalogue-header {
    flex-wrap: wrap;
    gap: 12px
  }

  .catalogue-title {
    flex: 1 1 auto;
    text-align: left
  }

  .tags-dropdown-wrapper {
    flex-shrink: 0
  }

  .movies-grid {
    grid-template-columns: repeat(auto-fill, 200px);
    gap: 28px 16px;
    max-width: 100%
  }
  .movies-grid .movie-card { width: 200px !important }
}

/* ≤ 540px : mobile → 2 colonnes en 1fr pour toujours remplir */
@media (max-width:540px) {
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    max-width: 100%
  }
  .movies-grid .movie-card { width: 100% !important }
}

/* Toujours display:flex pour réserver l'espace (évite le layout shift).
 * Avant : display:none ↔ flex = ~130px de hauteur apparaissant/disparaissant
 * pendant le scroll → saut de page. Maintenant seule l'opacité change. */
.chunk-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px 0 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.chunk-loader.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.chunk-loader-ring {
  position: relative;
  width: 40px;
  height: 40px
}

.chunk-loader-ring::after,
.chunk-loader-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%
}

.chunk-loader-ring::before {
  border: 3px solid rgba(255, 255, 255, .07)
}

.chunk-loader-ring::after {
  border: 3px solid transparent;
  border-top-color: var(--accent-color);
  border-right-color: rgba(25, 89, 215, .4);
  animation: ring-spin .75s cubic-bezier(.4, 0, .2, 1) infinite;
  filter: drop-shadow(0 0 6px rgba(25, 89, 215, .6))
}

.chunk-loader-label {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  animation: pulse-opacity 1.2s ease-in-out infinite
}

.ai-chat-bubble {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1959d7 0, #0d3fa8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(25, 89, 215, .5), 0 2px 8px rgba(0, 0, 0, .4);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease, box-shadow .3s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(.6) translateY(10px)
}

.ai-chat-bubble.visible {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0)
}

.ai-chat-bubble:hover {
  transform: scale(1.1) translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(25, 89, 215, .7), 0 4px 12px rgba(0, 0, 0, .5)
}

.ai-chat-bubble svg {
  display: block
}

.ai-chat-bubble-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(25, 89, 215, .35);
  animation: bubble-pulse 2.4s ease-in-out infinite;
  pointer-events: none
}

.ai-chat-window {
  position: fixed;
  bottom: 104px;
  right: 32px;
  width: 340px;
  max-height: 480px;
  background: #0d0d1a;
  border: 1px solid rgba(25, 89, 215, .3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(25, 89, 215, .15);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(.92) translateY(16px);
  transform-origin: bottom right;
  transition: opacity .28s cubic-bezier(.22, 1, .36, 1), transform .28s cubic-bezier(.22, 1, .36, 1)
}

.ai-chat-window.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0)
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(25, 89, 215, .25)0, rgba(13, 13, 26, 0) 100%);
  border-bottom: 1px solid rgba(25, 89, 215, .2);
  flex-shrink: 0
}

.ai-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1959d7, #0d3fa8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(25, 89, 215, .4)
}

.ai-chat-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: .3px
}

.ai-chat-status {
  font-size: 11px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px
}

.ai-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: status-blink 2s ease-in-out infinite
}

.ai-chat-close {
  background: 0 0;
  border: 0;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s
}

.ai-chat-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1)
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(25, 89, 215, .4) transparent
}

.ai-chat-messages::-webkit-scrollbar {
  width: 4px
}

.ai-chat-messages::-webkit-scrollbar-track {
  background: 0 0
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(25, 89, 215, .4);
  border-radius: 2px
}

.ai-chat-msg {
  display: flex;
  flex-direction: column;
  animation: msg-appear .25s cubic-bezier(.22, 1, .36, 1) both
}

.ai-chat-msg.user {
  align-items: flex-end
}

.ai-chat-msg.ai {
  align-items: flex-start
}

.ai-msg-bubble,
.ai-title-chip {
  font-family: "Outfit", sans-serif
}

.ai-msg-bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5
}

.ai-chat-msg.user .ai-msg-bubble {
  background: linear-gradient(135deg, #1959d7, #0d3fa8);
  color: #fff;
  border-bottom-right-radius: 4px
}

.ai-chat-msg.ai .ai-msg-bubble {
  color: #e0e0e0
}

.ai-title-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  margin: 1px 2px;
  background: linear-gradient(135deg, rgba(25, 89, 215, .35), rgba(25, 89, 215, .2));
  border: 1px solid rgba(25, 89, 215, .55);
  border-radius: 20px;
  color: #a8c4ff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
  vertical-align: middle;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent
}

.ai-title-chip:hover {
  background: linear-gradient(135deg, rgba(25, 89, 215, .6), rgba(25, 89, 215, .4));
  border-color: rgba(25, 89, 215, .9);
  color: #fff;
  transform: scale(1.04)
}

.ai-title-chip:active {
  transform: scale(.97)
}

.ai-chat-msg.ai .ai-msg-bubble,
.ai-typing-bubble {
  background: rgba(255, 255, 255, .07);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .06)
}

.ai-typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  width: fit-content
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  animation: typing-bounce 1.2s ease-in-out infinite
}

.ai-typing-dot:nth-child(2) {
  animation-delay: .2s
}

.ai-typing-dot:nth-child(3) {
  animation-delay: .4s
}

.ai-chat-suggestions {
  padding: 6px 14px 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0
}

.ai-suggestion-chip {
  background: rgba(25, 89, 215, .12);
  border: 1px solid rgba(25, 89, 215, .3);
  color: rgba(255, 255, 255, .75);
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11.5px;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap
}

.ai-suggestion-chip:hover {
  background: rgba(25, 89, 215, .3);
  color: #fff;
  border-color: rgba(25, 89, 215, .6)
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  flex-shrink: 0
}

.ai-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  padding: 9px 13px;
  outline: 0;
  transition: border-color .2s ease
}

.ai-chat-input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.ai-chat-input:focus {
  border-color: rgba(25, 89, 215, .6);
  background: rgba(255, 255, 255, .09)
}

.ai-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1959d7, #0d3fa8);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(25, 89, 215, .4)
}

.ai-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(25, 89, 215, .6)
}

.ai-chat-send:active {
  transform: scale(.96)
}

@media (max-width:480px) {
  .ai-chat-window {
    right: 12px;
    bottom: 90px;
    width: calc(100vw - 24px)
  }

  .ai-chat-bubble {
    right: 16px;
    bottom: 20px
  }

  .hero-title {
    font-size: clamp(22px, 7vw, 36px)
  }

  .hero-content {
    max-width: 100%;
    padding-right: 8px
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 8px
  }

  .btn {
    font-size: 14px;
    padding: 11px 18px
  }

  .movies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important
  }

  .movies-grid .movie-card {
    width: 100% !important
  }

  .catalogue-header {
    flex-direction: column;
    align-items: flex-start
  }

  .tags-dropdown-wrapper {
    width: 100%
  }

  .tags-dropdown-btn {
    width: 100%;
    justify-content: space-between
  }
}

#mainFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  z-index: 1
}

#mainFrame:-moz-full-screen,
#mainFrame:-webkit-full-screen,
#mainFrame:fullscreen {
  width: 100vw !important;
  height: 100vh !important
}

.btn-fullscreen-flavel {
  position: absolute;
  bottom: 72px;
  right: 20px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  border: 1.5px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .85);
  transition: background .2s ease, transform .18s ease, opacity .2s ease;
  opacity: .7
}

.btn-fullscreen-flavel:hover,
.source-burger-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(25, 89, 215, .45)
}

.btn-fullscreen-flavel:hover {
  opacity: 1;
  transform: scale(1.08)
}

@media (max-width:768px) {
  .btn-fullscreen-flavel {
    bottom: 62px;
    right: 14px;
    width: 40px;
    height: 40px
  }
}

.btn-next-episode {
  position: absolute;
  bottom: 72px;
  right: 74px;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 44px;
  background: rgba(0, 0, 0, .65);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .18s ease;
  white-space: nowrap;
  opacity: .85
}

.btn-next-episode:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(25, 89, 215, .45);
  opacity: 1;
  transform: translateY(-1px)
}

@media (max-width:768px) {
  .btn-next-episode {
    bottom: 62px;
    right: 64px;
    height: 40px;
    padding: 0 10px;
    font-size: 10px
  }
}


/* ── Récents section ─────────────────────────────────────────────────────────── */
.recents-section {}

.recents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px
}

.recents-header .section-title {
  margin-bottom: 0
}

.recents-layout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  background: none;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, .95);
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.recents-layout-btn svg {
  flex-shrink: 0
}

/* Row mode: scroll arrows always visible on PC */
.recents-row-wrapper {
  position: relative
}

.recents-row-wrapper .scroll-btn:not(.hidden) {
  opacity: 1
}

/* Cartes en mode row : mêmes dimensions qu'en mode grid */
.recents-row-wrapper .movie-card,
.foryou-row-wrapper .movie-card {
  min-width: 220px !important;
  width: 220px !important;
  height: auto !important;
  aspect-ratio: 2/3;
  flex-shrink: 0
}

@media (min-width:1500px) {
  .recents-row-wrapper .movie-card,
  .foryou-row-wrapper .movie-card {
    min-width: 240px !important;
    width: 240px !important;
  }
}

@media (max-width:768px) {
  .recents-row-wrapper .movie-card,
  .foryou-row-wrapper .movie-card {
    min-width: 200px !important;
    width: 200px !important;
  }
}

/* ≤ 540px : aligner sur les cartes grille (2 colonnes, gap 12px, padding 15px×2) */
@media (max-width:540px) {
  .recents-row-wrapper .movie-card,
  .foryou-row-wrapper .movie-card {
    min-width: calc(50vw - 21px) !important;
    width: calc(50vw - 21px) !important;
  }
}

@media (max-width:768px) {
  .recents-layout-btn {
    font-size: 14px;
  }
}

.card-serie-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(25, 89, 215, .85);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3
}

.close-player-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 30
}

.source-burger-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 48px;
  background: rgba(0, 0, 0, .6);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease, transform .18s ease;
  white-space: nowrap
}

.source-burger-btn:hover {
  transform: translateY(-1px)
}

#activeLangBadge {
  background: rgba(255, 255, 255, .15);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px
}

.source-burger-btn:hover #activeLangBadge {
  background: rgba(255, 255, 255, .25)
}

@media (max-width:768px) {
  .close-player-left {
    top: 12px;
    left: 12px
  }

  .source-burger-btn {
    top: 12px;
    right: 10px;
    left: auto;
    height: 44px;
    padding: 0 12px;
    font-size: 10px
  }
}

.source-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 268px;
  background: rgba(5, 5, 14, .97);
  border-left: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1)
}

.source-panel.open {
  transform: translateX(0)
}

@media (min-width:769px) {
  .video-container:has(.source-panel.open) .source-burger-btn {
    opacity: 0;
    pointer-events: none
  }
}

@media (max-width:768px) {
  .source-panel {
    width: 100%;
    border-left: none
  }
}

.source-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  flex-shrink: 0
}

.source-panel-title {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .85)
}

@media (max-width:768px) {
  .source-panel-title {
    display: none
  }
}

.source-panel-close-btn {
  width: 32px !important;
  height: 32px !important
}

.source-panel-close-btn svg {
  width: 14px !important;
  height: 14px !important
}

.source-section {
  padding: 12px 16px
}

.source-separator {
  height: 1px;
  background: rgba(255, 255, 255, .06);
  margin: 0 16px
}

.source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.source-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .5);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .13s ease
}

.source-item:hover {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .09)
}

.source-item.active {
  background: rgba(25, 89, 215, .15);
  border-color: rgba(25, 89, 215, .4);
  color: #fff
}

.source-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  flex-shrink: 0;
  transition: background .35s ease, box-shadow .35s ease
}

.source-item.active .source-dot {
  background: var(--accent-color);
  box-shadow: 0 0 6px rgba(25, 89, 215, .7)
}

/* Status: online */
.source-dot.source-dot-online {
  background: #4ade80 !important;
  box-shadow: 0 0 6px rgba(74, 222, 128, .5) !important
}

/* Status: offline */
.source-dot.source-dot-offline {
  background: #f87171 !important;
  box-shadow: 0 0 5px rgba(248, 113, 113, .4) !important
}

/* Status: checking (amber pulsant) */
.source-dot.source-dot-checking {
  background: #fbbf24 !important;
  box-shadow: none !important;
  animation: dotChecking .85s ease-in-out infinite alternate !important
}

@keyframes dotChecking {
  0%  { opacity: .4; transform: scale(.75) }
  to  { opacity: 1;  transform: scale(1.2) }
}

.source-name {
  flex: 1
}

.source-item.active .source-tag {
  color: rgba(255, 255, 255, .4)
}

.source-footer-note {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, .2);
  padding: 8px 16px 10px;
  line-height: 1.5
}

.source-report-wrap {
  padding: 0 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px
}

.source-report-btn,
.source-report-confirm {
  font-family: "Outfit", sans-serif;
  font-size: 10px
}

.source-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 50, 50, .15);
  border: 1px solid rgba(200, 50, 50, .45);
  border-radius: 6px;
  color: rgba(220, 100, 100, .9);
  font-weight: 500;
  padding: 5px 10px;
  cursor: pointer;
  transition: all .15s ease
}

.source-report-btn:hover {
  border-color: rgba(255, 60, 60, .75);
  color: #fff;
  background: rgba(210, 40, 40, .38)
}

.source-report-confirm {
  color: rgba(100, 220, 100, .7);
  margin: 0
}

.interstitiel-overlay,
.ints-backdrop {
  position: fixed;
  inset: 0;
  transition: opacity .4s ease
}

.interstitiel-overlay {
  background: rgba(0, 0, 0, .90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none
}

.interstitiel-overlay.ints-active {
  display: flex
}

.interstitiel-overlay.ints-visible {
  opacity: 1;
  pointer-events: all
}

.interstitiel-overlay.ints-visible .ints-card {
  transform: scale(1) translateY(0)
}

.ints-backdrop {
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(.45);
  transform: scale(1.06);
  z-index: 0
}

.ints-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px 24px;
  min-width: 300px;
  max-width: 400px;
  width: calc(100vw - 48px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05) inset;
  text-align: center;
  cursor: pointer;
  transform: scale(.95) translateY(14px);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease
}

.ints-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1) inset
}

.ints-card-label,
.ints-card-title {
  font-family: "Outfit", sans-serif;
  text-align: center
}

.ints-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  width: 100%;
  margin-bottom: 0
}

.ints-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  margin: 4px 0 0
}

.ints-card-meta {
  display: flex;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78)
}

/* ── Interstitiel sections ─────────────────────────────────────────────── */
.ints-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  box-sizing: border-box
}

.ints-pity {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10)
}

.ints-action {
  background: rgba(99, 179, 237, .07);
  border: 1px solid rgba(99, 179, 237, .28)
}

.ints-section-tag {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .90);
  text-align: center
}

.ints-section-tag--accent {
  color: rgba(99, 179, 237, 1)
}

.ints-section-text {
  font-family: "Outfit", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .95);
  line-height: 1.6;
  margin: 0;
  text-align: center
}

.ints-section-text strong {
  color: #fff;
  font-weight: 400
}

/* ── Divider ───────────────────────────────────────────────────────────── */
.ints-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px
}

.ints-divider::before,
.ints-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .12)
}

.ints-divider-label {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  white-space: nowrap
}

/* ── Share row ─────────────────────────────────────────────────────────── */
.ints-share-row {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(99, 179, 237, .4);
  border-radius: 9px;
  padding: 9px 50px 9px 12px;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  margin-top: 2px
}

.ints-share-row:hover {
  border-color: rgba(99, 179, 237, .75);
  box-shadow: 0 0 0 3px rgba(99, 179, 237, .15);
  background: rgba(99, 179, 237, .05)
}

.ints-share-url {
  flex: 1;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  user-select: all
}

.ints-share-copy-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  border-radius: 7px;
  padding: 5px 11px;
  transition: background .18s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent
}

.ints-share-copy-btn.ints-share-copied {
  background: #16a34a
}

.ints-share-copy-btn:active {
  transform: translateY(-50%) scale(.95)
}

/* ── Tips ──────────────────────────────────────────────────────────────── */
.ints-tips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  width: 100%
}

.ints-tips li {
  font-family: "Outfit", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .65);
  text-align: center;
  line-height: 1.5
}

.ints-tips li strong {
  color: rgba(255, 255, 255, .80);
  font-weight: 400
}

/* ── Play button ───────────────────────────────────────────────────────── */
.ints-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--accent-color);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 20px rgba(25, 89, 215, .35);
  -webkit-tap-highlight-color: transparent
}

.ints-play-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(25, 89, 215, .45)
}

.ints-play-btn:active {
  transform: scale(.97);
  box-shadow: 0 2px 10px rgba(25, 89, 215, .3)
}

@media (max-width:768px) {
  .ints-card {
    padding: 24px 16px 20px;
    min-width: 0;
    width: calc(100vw - 40px);
    max-width: 360px
  }

  .ints-play-btn {
    padding: 13px 20px;
    font-size: 14px
  }
}

.loading-logo-exit {
  animation: logoZoomOut .5s cubic-bezier(.4, 0, .8, 1) forwards !important;
  transform-origin: center center !important
}

#navbar.reveal-anim {
  animation: slideFromTop .5s ease both
}

#heroBackground.reveal-anim {
  animation: zoomInHero .7s ease both
}

.hero-content.reveal-anim {
  animation: fadeInUp .6s ease .2s both
}

.content-section.reveal-anim {
  animation: fadeInUp .5s ease .3s both
}

body.pre-reveal .footer,
body.pre-reveal .hero,
body.pre-reveal .navbar,
body.pre-reveal main {
  opacity: 0
}

body:not(.pre-reveal) .footer,
body:not(.pre-reveal) .hero,
body:not(.pre-reveal) .navbar,
body:not(.pre-reveal) main {
  opacity: 1;
  transition: opacity .5s ease
}

:fullscreen .btn-fullscreen-flavel,
:fullscreen .close-player-left,
:fullscreen .source-burger-btn,
:fullscreen #btnNextEpisode,
:fullscreen .source-panel {
  display: none !important
}

:-webkit-full-screen .btn-fullscreen-flavel,
:-webkit-full-screen .close-player-left,
:-webkit-full-screen .source-burger-btn,
:-webkit-full-screen #btnNextEpisode,
:-webkit-full-screen .source-panel {
  display: none !important
}

:-moz-full-screen .btn-fullscreen-flavel,
:-moz-full-screen .close-player-left,
:-moz-full-screen .source-burger-btn,
:-moz-full-screen #btnNextEpisode,
:-moz-full-screen .source-panel {
  display: none !important
}


.btn-trailer {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff
}

.btn-trailer:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  box-shadow: 0 4px 20px rgba(25,89,215,.25);
  color: #fff;
  transform: translateY(-1px)
}

.btn-trailer:active {
  transform: scale(.96);
  transition-duration: .08s
}

.btn-trailer:disabled {
  opacity: .4;
  cursor: default;
  transform: none !important
}

.trailer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease
}

.trailer-overlay.active {
  opacity: 1;
  pointer-events: all
}

.trailer-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: rgba(8, 8, 16, .98);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .9);
  overflow: hidden;
  transform: scale(.95) translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  opacity: 0
}

.trailer-overlay.active .trailer-modal {
  transform: scale(1) translateY(0);
  opacity: 1
}

.trailer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px
}

.trailer-title-bar {
  padding: 14px 60px 12px 22px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  opacity: .7;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.trailer-frame-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0
}

.trailer-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000
}

.series-modal-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

@media (max-width:768px) {
  .trailer-overlay {
    padding: 16px;
    align-items: center;
    justify-content: center
  }

  .trailer-modal {
    max-width: 100%;
    width: calc(100vw - 32px);
    border-radius: 12px;
    max-height: calc(100dvh - 32px);
    overflow: hidden
  }

  .trailer-title-bar {
    font-size: 14px;
    padding: 12px 52px 10px 16px
  }

  .trailer-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px
  }
}

.loading-logo,
.movie-poster {
  display: block
}

.episode-thumb-wrap {
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  position: relative
}

.episode-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

@media (max-width:768px) {
  .episode-thumb-wrap {
    width: 100px;
    height: 60px
  }
}

@supports not (aspect-ratio:2/3) {
  @media (min-width:1500px) {
    .movies-grid .movie-card {
      height: 360px !important
    }
  }

  .movies-grid .movie-card {
    height: 330px !important
  }

  @media (max-width:1100px) {
    .movies-grid .movie-card {
      height: 300px !important
    }
  }

  @media (max-width:768px) {
    .movies-grid .movie-card {
      height: 240px !important
    }
  }

  @media (max-width:480px) {
    .movies-grid .movie-card {
      height: calc((50vw - 14px)*1.5) !important
    }
  }

  .ma-liste-card {
    height: 240px !important
  }
}

.movies-grid .movie-card,
.recents-row-wrapper .movie-card,
.top5-movie-card {
  -webkit-transform: translateZ(0);
  transform: translateZ(0)
}

.movies-grid .movie-card .movie-poster,
.recents-row-wrapper .movie-card .movie-poster,
.top5-movie-card .movie-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.nav-burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: 0 0;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 14px;
  transition: background .18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .75);
  transition: transform .28s ease, opacity .2s ease, background .18s ease
}

.nav-burger-btn:hover {
  background: rgba(255, 255, 255, .08)
}

.nav-burger-btn.open .burger-bar,
.nav-burger-btn:hover .burger-bar {
  background: #fff
}

.nav-burger-btn.open {
  background: rgba(255, 255, 255, .06)
}

.nav-burger-btn.open .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-burger-btn.open .burger-bar:nth-child(2) {
  opacity: 0
}

.nav-burger-btn.open .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

@media (max-width:768px) {
  .nav-burger-btn {
    width: 30px;
    height: 30px;
    margin-left: 10px
  }

  .burger-bar {
    width: 16px
  }
}

.burger-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1490;
  display: none
}

.burger-backdrop.open {
  display: block
}

.burger-panel {
  position: fixed;
  top: 70px;
  right: 60px;
  width: 270px;
  background: rgba(10, 10, 20, .97);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(25, 89, 215, .08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1500;
  padding: 8px 0;
  transform-origin: top right;
  transform: scale(.92) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), opacity .18s ease
}

.burger-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all
}

@media (max-width:768px) {
  .burger-panel {
    top: 58px;
    right: 10px;
    width: calc(100vw - 20px);
    max-width: 340px
  }
}

.burger-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  background: 0 0;
  border: 0;
  color: rgba(255, 255, 255, .85);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent
}

.burger-row svg {
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .18s ease
}

.burger-row:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff
}

.burger-row:hover svg {
  opacity: 1
}

.burger-row-label {
  flex: 1
}

.burger-history-badge {
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.4;
  flex-shrink: 0
}

.burger-section {
  padding: 10px 16px 8px
}

.burger-section-title {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 8px
}

.burger-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.burger-chip {
  padding: 5px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent
}

.burger-chip:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.burger-chip.active {
  background: rgba(25, 89, 215, .45);
  border-color: rgba(25, 89, 215, .75);
  color: #fff
}

.historique-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  overflow-y: auto
}

.historique-overlay.active {
  opacity: 1;
  pointer-events: all
}

.historique-panel {
  width: 100%;
  max-width: 860px;
  transform: translateY(30px);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1)
}

.historique-overlay.active .historique-panel {
  transform: translateY(0)
}

.historique-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 28px;
  gap: 0
}

.historique-header .historique-title {
  grid-column: 1;
  justify-self: start
}

.historique-header .btn-delete-all {
  grid-column: 2;
  justify-self: center
}

.historique-header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px
}

.historique-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.historique-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  padding: 12px 16px 12px 12px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease
}

.historique-item:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(25, 89, 215, .35);
  transform: translateX(3px)
}

.historique-poster-wrap {
  width: 44px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06)
}

.historique-item-info {
  flex: 1;
  min-width: 0
}

.historique-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px
}

.historique-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.historique-type-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(25, 89, 215, .3);
  color: rgba(180, 200, 255, .9)
}

.historique-type-badge.serie {
  background: rgba(120, 60, 215, .3);
  color: rgba(200, 180, 255, .9)
}

.historique-date {
  font-size: 13px;
  color: rgba(255, 255, 255, .35)
}

.historique-item-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent
}

.historique-item-remove:hover {
  background: rgba(220, 40, 80, .35);
  border-color: rgba(220, 40, 80, .5);
  color: #fff
}

.historique-item-remove svg {
  pointer-events: none;
  width: 13px;
  height: 13px;
  fill: currentColor
}

.historique-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 20px;
  color: var(--text-secondary)
}

.historique-empty svg {
  width: 54px;
  height: 54px;
  fill: rgba(255, 255, 255, .08)
}

.historique-empty p {
  font-size: 16px
}

@media (max-width:768px) {
  .historique-overlay {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto
  }

  .historique-panel {
    min-height: 100dvh;
    border-radius: 0;
    background: rgba(10, 10, 20, .98);
    padding: 0 0 env(safe-area-inset-bottom, 16px);
    transform: translateY(40px)
  }

  .historique-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 20, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 16px 14px 12px;
    margin-bottom: 0;
    z-index: 2
  }

  .historique-title {
    font-size: 18px !important
  }

  .historique-list {
    padding: 12px 12px 8px
  }

  .historique-item {
    gap: 12px;
    padding: 10px 12px
  }

  .historique-poster-wrap {
    width: 44px;
    height: 66px
  }

  .historique-item-title {
    font-size: 15px;
    margin-bottom: 4px
  }

  .historique-type-badge {
    font-size: 11px
  }

  .historique-date {
    font-size: 12px
  }

  .historique-item-remove {
    width: 28px;
    height: 28px
  }

  .historique-item-remove svg {
    width: 13px;
    height: 13px
  }
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 102, 255, .15);
  z-index: 9999;
  animation: suggestFadeIn .15s ease
}

.search-suggest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: 0 0;
  border: 0;
  color: rgba(255, 255, 255, .85);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  transition: background .12s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.search-suggest-row:last-child {
  border-bottom: none
}

.search-suggest-row:focus,
.search-suggest-row:hover {
  background: rgba(0, 102, 255, .1);
  color: #fff;
  outline: 0
}

.search-suggest-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .35;
  color: rgba(255, 255, 255, .6)
}

.search-suggest-row:hover .search-suggest-icon {
  opacity: .6;
  color: var(--accent-color)
}

.search-suggest-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.search-suggest-title mark {
  background: 0 0;
  color: #fff;
  font-weight: 600
}

.search-suggest-badge {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: rgba(0, 102, 255, .15);
  border: 1px solid rgba(0, 102, 255, .3);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0
}

a.burger-row {
  text-decoration: none;
  color: rgba(255, 255, 255, .85)
}

.snr-hint {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  margin: 4px 0 2px;
  line-height: 1.5
}

.hero a,
.hero button {
  cursor: pointer
}

.fip-overlay {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease
}

.fip-overlay.fip-visible {
  opacity: 1;
  pointer-events: all
}

.fip-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px)
}

.fip-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 36px 28px;
  min-width: 300px;
  max-width: 420px;
  width: calc(100vw - 48px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  text-align: center;
  transform: scale(.95) translateY(12px);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1)
}

.fip-overlay.fip-visible .fip-card {
  transform: scale(1) translateY(0)
}

.fip-close {
  position: absolute;
  top: 14px;
  right: 14px
}

.fip-label {
  font-family: "Outfit", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 2px
}

.fip-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(25, 89, 215, .18);
  border: 1px solid rgba(25, 89, 215, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin: 6px 0 4px
}

.fip-icon-wrap svg {
  width: 28px;
  height: 28px
}

.fip-desc,
.fip-title {
  font-family: "Outfit", sans-serif
}

.fip-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5)
}

.fip-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 2px
}

.fip-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%
}

.fip-ios-hint,
.fip-perks li {
  font-family: "Outfit", sans-serif
}

.fip-perks li {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5
}

.fip-ios-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  background: rgba(25, 89, 215, .12);
  border: 1px solid rgba(25, 89, 215, .28);
  border-radius: 10px;
  padding: 10px 14px;
  line-height: 1.55;
  width: 100%
}

.fip-btn-dismiss,
.fip-btn-main {
  width: 100%;
  border: 0;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent
}

.fip-btn-main {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--accent-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .18s ease;
  box-shadow: 0 4px 20px rgba(25, 89, 215, .35)
}

.fip-btn-main:hover {
  transform: translateY(-2px) scale(1.02)
}

.fip-btn-main:active {
  transform: scale(.97)
}

.fip-btn-dismiss {
  padding: 10px;
  background: 0 0;
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease
}

.fip-btn-dismiss:active {
  color: rgba(255, 255, 255, .7)
}

#heroShareBtn .btn-liste-label,
#seriesModalShareBtn .btn-liste-label {
  display: none
}

.hero-plus-menu {
  position: absolute;
  z-index: 200;
  min-width: 175px;
  background: rgba(10, 10, 20, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 5px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .65);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.93) translateY(-6px);
  transform-origin: top left;
  transition: opacity .2s cubic-bezier(.22, 1, .36, 1), transform .2s cubic-bezier(.22, 1, .36, 1)
}

.hero-plus-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0)
}

.hero-plus-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: 0 0;
  border: 0;
  color: rgba(255, 255, 255, .9);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
  white-space: nowrap;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.hero-plus-menu-item:active {
  background: rgba(255, 255, 255, .1)
}

.hero-plus-menu-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: rgba(255, 255, 255, .7)
}

.hero-plus-menu-item.active {
  color: var(--accent-color)
}

.hero-plus-menu-item.active svg {
  fill: var(--accent-color)
}

.reco-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.reco-toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 5px 12px 5px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
}

.reco-section-header:hover .reco-toggle-chip {
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.22);
}

.reco-toggle-icon {
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  flex-shrink: 0;
}

.reco-collapsed .reco-toggle-icon {
  transform: rotate(-90deg);
}

.reco-grid-wrap {
  overflow: hidden;
  max-height: 3000px;
  transition: max-height .45s cubic-bezier(.22,1,.36,1), opacity .3s ease, margin-top .3s ease;
  opacity: 1;
  margin-top: 0;
}

.reco-collapsed .reco-grid-wrap {
  max-height: 0;
  opacity: 0;
}

.tag-type-row {
  display: flex;
  gap: 6px;
  padding: 4px 8px 8px;
}

.tag-type-btn {
  flex: 1;
  text-align: center;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.04) !important;
  transition: background .15s, color .15s, border-color .15s !important;
}

.tag-type-btn.active {
  background: var(--accent-color, #7c3aed) !important;
  border-color: var(--accent-color, #7c3aed) !important;
  color: #fff !important;
}

.tag-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 2px 8px 6px;
}

.footer {
  width: 100%;
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-live-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 0 4px;
}

.footer-live-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  flex-shrink: 0;
}

.footer-live-separator {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.8), 0 0 14px rgba(0, 230, 118, 0.3);
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.live-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.3px;
  font-weight: 400;
  white-space: nowrap;
}

.live-label strong {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  padding: 52px 0 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: auto;
  height: 72px;
  object-fit: contain;
  object-position: left;
  filter: brightness(1);
}

.footer-logo-fallback {
  font-family: "Bebas Neue", "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #fff;
}

.footer-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  font-weight: 400;
}

.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid rgba(25,89,215,0.35);
  background: rgba(25,89,215,0.08);
  color: var(--accent-color);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  width: fit-content;
  letter-spacing: 0.2px;
}

.footer-telegram:hover {
  background: rgba(25,89,215,0.18);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 120px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
}

.footer-copy {
  font-size: 11.5px;
  color: rgba(255,255,255,0.22);
  font-weight: 400;
}

.footer-tmdb-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
}

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.legal-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.legal-modal {
  background: #0d0d14;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(25,89,215,0.1);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}

.legal-modal-overlay.open .legal-modal {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.legal-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-modal-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
}

.legal-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}

.legal-modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.legal-modal-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-modal-body p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  padding-left: 16px;
  border-left: 2px solid rgba(25,89,215,0.5);
}

.legal-modal-body p strong {
  font-weight: 400;
  color: rgba(255,255,255,0.82);
}

.legal-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: flex-end;
}

.legal-modal-btn {
  padding: 10px 28px;
  border-radius: 100px;
  background: var(--accent-color);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}

.legal-modal-btn:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .footer {
    display: block;
    margin-top: 60px;
  }
  .footer-inner {
    padding: 0 20px;
  }
  .footer-live-bar {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .footer-live-bar::-webkit-scrollbar { display: none; }
  .footer-live-item { padding: 6px 14px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 40px;
  }
}

.privacy-modal-body {
  max-height: 55vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(25,89,215,0.4) transparent;
  gap: 0;
  padding: 0;
}

.privacy-modal-body::-webkit-scrollbar { width: 4px; }
.privacy-modal-body::-webkit-scrollbar-thumb { background: rgba(25,89,215,0.4); border-radius: 2px; }

.privacy-lang-block {
  display: flex;
  gap: 16px;
  padding: 24px 24px;
  align-items: flex-start;
}

.privacy-lang-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  background: rgba(25,89,215,0.12);
  border: 1px solid rgba(25,89,215,0.25);
  border-radius: 6px;
  padding: 3px 7px;
  margin-top: 2px;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-content p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  padding-left: 0;
  border-left: none;
}

.privacy-content a {
  color: var(--accent-color);
  text-decoration: none;
}
.privacy-content a:hover { text-decoration: underline; }

.privacy-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 24px;
}

#heroShareBtn,
#seriesModalShareBtn {
  padding: 0 12px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent
}

#heroShareBtn:hover,
#seriesModalShareBtn:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  box-shadow: 0 4px 20px rgba(25,89,215,.25);
  transform: translateY(-1px)
}

#heroShareBtn:active,
#seriesModalShareBtn:active {
  transform: scale(.94);
  transition-duration: .08s
}

#heroShareBtn svg,
#seriesModalShareBtn svg {
  fill: #fff
}

#heroHeartBtn {
  padding: 0 13px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent
}

#heroHeartBtn:hover {
  background: rgba(25,89,215,.42);
  border-color: rgba(25,89,215,.65);
  box-shadow: 0 4px 20px rgba(25,89,215,.25);
  transform: translateY(-1px)
}

#heroHeartBtn:active {
  transform: scale(.94);
  transition-duration: .08s
}

#heroHeartBtn.favorited {
  background: rgba(25,89,215,.55);
  border-color: rgba(25,89,215,.80);
  box-shadow: 0 0 14px rgba(25,89,215,.30)
}

.search-page .footer {
  margin-top: 40px;
  flex-shrink: 0;
  transition: opacity .25s ease;
}

.search-page.has-query .footer {
  display: none;
}

@media (hover: none) and (pointer: coarse) {

  /* Boutons transparents/assombris : conservent leur fond sombre au tap */
  .btn-secondary:hover,
  .btn-trailer:hover {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.20);
    color: #fff;
    box-shadow: none;
    transform: none
  }

  /* Bouton secondaire dans les modals série */
  .series-modal-btn.secondary:hover {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.20);
    color: #fff;
    box-shadow: none;
    transform: none
  }

  /* Btn liste non favori */
  .btn-liste:not(.favorited):hover {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.20);
    color: #fff;
    box-shadow: none;
    transform: none
  }

  /* Boutons partage */
  #heroShareBtn:hover,
  #seriesModalShareBtn:hover {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.20);
    box-shadow: none;
    transform: none
  }

  /* Btn fermeture : reste dans son état de repos */
  .btn-close:hover {
    background: rgba(15,15,25,.65);
    border-color: rgba(255,255,255,.15);
    box-shadow: none;
    transform: none
  }

  .btn-close:hover svg {
    color: rgba(255,255,255,.7)
  }

  #heroHeartBtn:hover {
    background: rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.20);
    box-shadow: none;
    transform: none
  }

  #moreInfoBtn.info-active:hover {
    background: rgba(25,89,215,.42);
    border-color: rgba(25,89,215,.65);
    box-shadow: 0 4px 20px rgba(25,89,215,.25);
    color: #fff
  }

  /* Maintient le bleu du btn Liste hero au tap sur mobile */
  #heroHeartBtn.favorited:hover {
    background: rgba(25,89,215,.55);
    border-color: rgba(25,89,215,.80);
    box-shadow: 0 0 14px rgba(25,89,215,.30);
    transform: none
  }

  
  .hero-buttons .btn-liste.favorited:hover {
    background: rgba(25,89,215,.65);
    border-color: rgba(25,89,215,.9);
    box-shadow: 0 0 16px rgba(25,89,215,.45)
  }
}

/* ── AI chat offline status ──────────────────────────────────────────────────── */
.ai-chat-status.offline {
  color: #f87171 !important;
}
.ai-chat-status.offline .ai-status-dot {
  background: #f87171 !important;
  animation: none !important;
  box-shadow: 0 0 6px rgba(248,113,113,.5);
}

/* ── Share popup (fsp) ───────────────────────────────────────────────────────── */
.fsp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050; /* sous la fip-overlay (install = 10100) */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease
}

.fsp-overlay.fsp-visible {
  opacity: 1;
  pointer-events: all
}

.fsp-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px)
}

.fsp-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px 24px;
  min-width: 300px;
  max-width: 400px;
  width: calc(100vw - 48px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05) inset;
  text-align: center;
  transform: scale(.95) translateY(14px);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1)
}

.fsp-overlay.fsp-visible .fsp-card {
  transform: scale(1) translateY(0)
}

.fsp-label {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 0
}

.fsp-title {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  margin: 4px 0 0
}

.fsp-desc {
  font-family: "Outfit", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 11px 13px;
  margin: 0
}

.fsp-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left
}

.fsp-perks li {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px
}

.fsp-perks li strong {
  color: #fff;
  font-weight: 600
}

/* ── Ligne copier le lien ──────────────────────────────────────────────── */
/* ── Ligne copier le lien ──────────────────────────────────────────────── */
.fsp-copy-row {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(99, 179, 237, .5);
  border-radius: 10px;
  padding: 9px 50px 9px 12px;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease
}

.fsp-copy-row:hover {
  border-color: rgba(99, 179, 237, .9);
  box-shadow: 0 0 0 3px rgba(99, 179, 237, .2), 0 0 16px rgba(99, 179, 237, .15);
  background: rgba(99, 179, 237, .06)
}

.fsp-copy-url {
  flex: 1;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  user-select: all
}

.fsp-copy-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  border-radius: 7px;
  padding: 6px 13px;
  transition: background .18s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent
}

.fsp-copy-btn.fsp-copied {
  background: #16a34a
}

.fsp-copy-btn:active {
  transform: translateY(-50%) scale(.95)
}

/* ── Boutons réseaux sociaux ───────────────────────────────────────────── */
.fsp-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%
}

.fsp-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  text-decoration: none;
  transition: filter .2s ease, transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent
}

.fsp-social-btn svg {
  width: 18px;
  height: 18px
}

.fsp-social-btn:hover {
  filter: brightness(1.35) saturate(1.2);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 14px rgba(0,0,0,.35)
}

.fsp-social-btn:active {
  transform: scale(.92)
}

/* Couleurs par défaut (brand) — accentuées au hover via filter */
#fsp-share-x  { background: rgba(0,0,0,.45);       color: #e7e7e7 }
#fsp-share-wa { background: rgba(37,211,102,.18);  color: #25d366 }
#fsp-share-tg { background: rgba(0,136,204,.18);   color: #2aabee }
#fsp-share-fb { background: rgba(24,119,242,.18);  color: #1877f2 }
#fsp-share-rd { background: rgba(255,69,0,.18);    color: #ff4500 }

/* ── Ligne boutons bas ─────────────────────────────────────────────────── */
.fsp-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%
}

/* "Ne plus afficher" — à gauche, sans soulignement */
.fsp-btn-never {
  border: 0;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 6px 10px;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent
}

.fsp-btn-never:active {
  color: rgba(255, 255, 255, .65)
}

/* "Pas maintenant" — à droite, souligné */
.fsp-btn-dismiss {
  border: 0;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 6px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent
}

.fsp-btn-dismiss:active {
  color: rgba(255, 255, 255, .65)
}

