.fposter img,
.fposter a {
  width: 100%;
  display: block;
  box-shadow: 5px 10px 20px 3px rgba(1, 1, 1, 0.9);
}

.ftabs .tabs-sel {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
  width: 100%;
}

.ftabs {
  background-color: #000000;
}

.fmain {
  background-color: #1d1d1d;
  padding: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgb(0 0 0 / 80%);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.fmain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.fmain > * {
  position: relative;
}

.fmain h1 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 28px;
  color: #FFF;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.fmain {
  animation: fadeInBackground 0.8s ease-in-out;
}

@keyframes fadeInBackground {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulser {
  0% { text-shadow: 0 0 0 rgba(238,238,238,0.8); transform: scale(0.9); }
  100% { text-shadow: 0 0 20px rgba(238,238,238,0.8); transform: scale(1); }
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.actors-container {
  position: relative;
  overflow: hidden;
}

.button, .pagi-load a, .up-second li a, .up-edit a, .qq-upload-button, button:not(.color-btn):not([class*=fr]), html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a {
    height: 40px !important;
    font-size: 11px !important;}
.bb-pane {
overflow: hidden;
    padding-bottom: 7px;
    padding-left: 1px;
    margin: 0 auto;
    height: auto !important;
    text-decoration: none;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #00000000 0%, #222 100%);
}

.bb-pane > b {
  margin-top: 5px;
  font-size: 20px;
  margin-left: 15px;
  vertical-align: middle;
  background: linear-gradient(to bottom, #805e5e00 0%, #222 100%);
}

@media (max-width: 768px) {
  .bb-pane > b {
    font-size: 16px;
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .bb-pane > b {
    font-size: 8px;
    margin-left: 1px;
    word-break: break-word;
    display: block;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .bb-pane > b {
    font-size: 6px;
    margin-left: 0;
  }
}
#b_leech,
#b_hide,
#b_tnl {
  display: none !important;
}
.ac-av,
#ac-av {
  display: none !important;
}
.ac-submit {
  text-align: center;
  margin-top: 20px;
}

.ac-submit button[name="submit"] {
  background: transparent;
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ac-submit button[name="submit"]::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f48625, #ff6b35);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.ac-submit button[name="submit"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.ac-submit button[name="submit"]:hover {
  color: #f48625;
  transform: translateY(-3px);
}

.ac-submit button[name="submit"]:hover::before {
  width: 100%;
}

.ac-submit button[name="submit"]:hover::after {
  width: 30px;
  background: #f48625;
  box-shadow: 0 0 15px rgba(244, 134, 37, 0.6);
}

.ac-submit button[name="submit"]:active {
  transform: translateY(0);
}

.actor-scroll-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: #f48625;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.actor-scroll-button:hover {
  background: #f48625;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(244, 134, 37, 0.5);
}

.actor-scroll-button.visible {
  display: flex;
}

.actors-container.at-end .actor-scroll-button {
  display: none !important;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#player-container {
  border-radius: 8px;
  height: 400px;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}
#main-player > div[style*="z-index: 1"] {
  pointer-events: none;
}

#main-player > div[style*="z-index: 1"] iframe {
  pointer-events: none;
}

#main-player > div[style*="z-index: 1"] button {
  pointer-events: auto;
}
.play-button {
  animation: cinematicZoom 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards, gentleShake 1s ease-in-out 1.6s forwards;
}

@keyframes cinematicZoom {
  0% {
    transform: translate(-50%, -50%) scale(5);
    opacity: 0;
    filter: blur(20px);
  }
  30% {
    opacity: 0.3;
    filter: blur(10px);
  }
  60% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
    filter: blur(0px);
  }
  75% {
    transform: translate(-50%, -50%) scale(1.05);
    filter: drop-shadow(0 0 30px #ff6600) drop-shadow(0 0 60px rgba(255, 102, 0, 0.8));
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6));
  }
}

@keyframes gentleShake {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  15% {
    transform: translate(-50%, -50%) scale(1.05) rotate(-4deg);
  }
  30% {
    transform: translate(-50%, -50%) scale(1.07) rotate(4deg);
  }
  45% {
    transform: translate(-50%, -50%) scale(1.05) rotate(-3deg);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.03) rotate(2deg);
  }
  80% {
    transform: translate(-50%, -50%) scale(1.01) rotate(-1deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}
#main-player {
  width: 100%;
  height: 100%;
  background-color: #1d1d1d;
  box-shadow: 0 0 20px rgb(0 0 0 / 80%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main-player .spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top-color: #ff6600;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 1002;
  display: none;
}

#main-player .close-btn {
  position: absolute;
  top: 2px;
  left: 1px;
  width: 25px;
  height: 25px;
  background-color: transparent;
  color: #f48625;
  font-size: 30px;
  text-align: center;
  line-height: 25px;
  border-radius: 10%;
  cursor: pointer;
  z-index: 1001;
  display: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 4px 2px #000000b8;
}

#main-player.fixed-player .close-btn {
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 0 60px 90px;
  border-color: transparent transparent transparent #ff6600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

#video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#player-options {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 50px;
    position: absolute;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 20px rgb(0 0 0 / 80%);
    padding: 1px;
}

.player-option {
  position: relative;
  padding: 10px 15px;
  background-color: #3a3a3a;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  width: 100px;
  text-align: center;
  flex-shrink: 0;
}

.player-option.active {
  border-bottom: 2px solid #f48625;
}

.version-dropdown {
  display: block;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-color: #000;
  border-radius: 4px 4px 0 0;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.player-option:hover .version-dropdown {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}

.version-option {
  transition: background 0.2s ease, color 0.2s ease;
}

.version-option:hover {
  background-color: #f48625;
  color: #fff;
}

.version-option {
  cursor: pointer;
  text-align: center;
  border: 1px solid #5151516b;
}

.version-option:hover {
  background-color: #4a4a4a;
}

.fullscreen-button {
  position: absolute;
  font-size: 22px !important;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  display: none;
  z-index: 9999;
}

.customDiv {
  height: 50px !important;
  width: auto;
}

.facts {
  margin: 15px 0;
}

.fdesc {
  margin: 15px 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 27px;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.fdesc:hover {
  transform: translateY(-1px);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.release_date,
span.tag.release_date {
  opacity: 0.8;
  font-weight: 400;
}

.desc-text {
  font-size: 5px;
  visibility: hidden;
}

.certification {
  display: inline-block;
  background: linear-gradient(135deg, #1e3a8a00, #f4862540);
  color: white;
  font-weight: bold;
  font-size: 10px;
  padding: 1px 2px;
  border-radius: 4px;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-align: center;
  min-width: 24px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
  position: relative;
  margin: 1px;
}

.certification::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  border-radius: 2px 2px 0 0;
  pointer-events: none;
}

.certification.tout-public { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: #dcfce7; }
.certification.jeune { background: linear-gradient(135deg, #eab308, #ca8a04); border-color: #fef3c7; }
.certification.adolescent { background: linear-gradient(135deg, #f97316, #ea580c); border-color: #fed7aa; }
.certification.adulte { background: linear-gradient(135deg, #dc2626, #b91c1c); border-color: #fecaca; }
.certification.interdit { background: linear-gradient(135deg, #7c2d12, #991b1b); border-color: #fca5a5; }
.certification.non-classe { background: linear-gradient(135deg, #6b7280, #4b5563); border-color: #e5e7eb; font-style: italic; }

.certification:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
}

.library-add-section {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1004;
  display: none;
}

.library-add-btn {
  background: rgba(0,0,0,0.1);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background-color 0.2s ease;
}

.library-add-btn:hover { background: rgba(255,140,0,0.1); }
.library-add-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.library-add-btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.video-progress-bar {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
}

.progress-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff853342, #f48625c7);
  transition: width 0.1s linear;
}

.rate-minus .fa { color: #dd4d1b; margin-right: 10px; font-size: 29px; }
.rate-plus .fa { color: #33a42d; margin-right: 17px; font-size: 26px; }

span[id^="vote-num-id-"],
span.psc,
.msc {
  font-size: 0px !important;
  position: relative;
}

#statusMessage,
#messagePremium {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #fff;
  padding: 10px;
  background-color: #333333;
  border-radius: 5px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#statusMessage a,
#messagePremium a {
  color: #ff8230;
  text-decoration: none;
  font-weight: bold;
}

#statusMessage a:hover,
#messagePremium a:hover {
  text-decoration: underline;
}

.close-custom {
  color: white;
  background-color: #f48625;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.close-custom:hover { background-color: #ff7043; }

#openModalBtnCustom {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 999;
  color: #FFFFFF;
  background-color: transparent;
  border: 1px solid #f486253b;
  border-radius: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 2px;
  margin: 10px 5px 6px 0px;
}

#openModalBtnCustom::before {
  content: '▶';
  font-size: 20px;
  margin-right: 10px;
  color: #f48625;
  transition: color 0.3s ease;
}

#openModalBtnCustom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #f48625;
  transition: left 0.7s ease;
  z-index: 0;
}

#openModalBtnCustom:hover::after { left: 0; }
#openModalBtnCustom:hover { transform: scale(1.1); }
#openModalBtnCustom:hover::before { color: #FFFFFF; }

#openModalBtnCustom span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

#openModalBtnCustom .initial-text { color: #FFFFFF; }

#openModalBtnCustom .filled-text {
  position: absolute;
  opacity: 0;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

#openModalBtnCustom:hover .initial-text { opacity: 0; }
#openModalBtnCustom:hover .filled-text { opacity: 1; }

.modal-custom {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.90);
}

.modal-content-custom {
  background-color: transparent;
  padding: 20px;
  border: none;
  width: 90%;
  height: 70vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dvd-container {
  display: inline-block;
  cursor: pointer;
}

.dvd-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.dvd-thumbnail:hover { transform: scale(1.05); }

.dvd-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: hidden;
}

.dvd-popup {
  position: relative;
  margin: 1% auto;
  width: 80%;
  max-width: 450px;
}

.dvd-close {
  position: absolute;
  top: 10%;
  right: 30px;
  color: #f48625;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.dvd-viewport {
  perspective: 1500px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dvd-poster {
  position: relative;
  width: 320px;
  height: 480px;
  transform-style: preserve-3d;
  transform: perspective(1500px) rotateY(0deg) rotateX(0deg);
  transition: transform 0.1s ease-out;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border-radius: 8px;
}

.dvd-poster-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 8px;
}

.dvd-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.dvd-edge-left,
.dvd-edge-right,
.dvd-edge-top,
.dvd-edge-bottom {
  position: absolute;
  background-color: #33383e;
  box-shadow: inset 0 0 5px rgba(120,140,160,0.3);
}

.dvd-edge-left {
  left: -10px; top: 0; width: 10px; height: 100%;
  transform: translateX(-50%) rotateY(-90deg);
  transform-origin: right center;
}

.dvd-edge-right {
  right: -10px; top: 0; width: 10px; height: 100%;
  transform: translateX(50%) rotateY(90deg);
  transform-origin: left center;
}

.dvd-edge-top {
  top: -10px; left: 0; width: 100%; height: 10px;
  transform: translateY(-50%) rotateX(90deg);
  transform-origin: center bottom;
}

.dvd-edge-bottom {
  bottom: -10px; left: 0; width: 100%; height: 10px;
  transform: translateY(50%) rotateX(-90deg);
  transform-origin: center top;
}

.dvd-highlight {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 20%, rgba(255,255,255,0) 40%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  border-radius: 8px;
}

.downloadContainer {
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 19px;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: 10px;
  text-align: right;
}

.downloadContainer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #f48625;
  transition: left 1.7s ease;
  z-index: 0;
}

.downloadContainer:hover::before { left: 0; }

.downloadContainer p,
.downloadContainer span {
  position: relative;
  z-index: 1;
  margin: 0;
}

#downloadOptions {
  display: none;
  margin-top: 20px;
}

.option {
  display: block;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #f48625;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #f48625;
  transition: left 1.7s ease;
  z-index: 0;
}

.option:hover::before { left: 0; }
.option span { position: relative; z-index: 1; }

.report-btn-container { display: inline-block; }

.report-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #ff85331f 0%, transparent 100%);
  border: 1px solid #450000;
  border-radius: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.report-btn-modern:hover {
  color: #fff;
  background: linear-gradient(135deg, #9d3f00 0%, #ee5a5a 100%);
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.report-icon {
  width: 14px;
  height: 11px;
  flex-shrink: 0;
}

ul#actorList {
  display: flex;
  justify-content: center;
  text-decoration: none;
  padding: 5px;
  margin-right: -15px;
  margin-bottom: 1px;
  flex-wrap: nowrap;
  position: relative;
}

li.actor {
  text-align: center;
  margin-right: 10px;
  position: relative;
  flex: 0 0 auto;
}

li.actor img {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  border: 3px solid #333;
  transition: transform 0.3s;
}

li.actor:hover img { transform: scale(1.1); }

.actor-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(0 0 0 / 74%);
  padding: 5px;
  display: none;
  text-align: center;
  font-size: 10px;
  pointer-events: none;
}

li.actor:hover .actor-info { display: block; }
.actor-info p { color: #fff; margin: 0; }

.films-container {
  margin: 30px 0;
  padding: 25px 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 15px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.films-container h3 {
  margin: 0 0 25px 0;
  color: #fff;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}

.film-highlight { color: #ff8533; font-weight: 700; }
.actor-highlight { color: #00d4ff; font-weight: 700; }

.films-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  padding: 0 20px;
}

.films-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex: 1;
  overflow: hidden;
  transition: all 0.4s ease;
}

.film-card {
  width: 140px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  background: rgba(255,255,255,0.05);
}

.film-card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 12px 35px rgba(255,133,51,0.4);
  z-index: 10;
}

.film-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.film-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}

.film-card:hover img { transform: scale(1.02); }

.film-info {
  padding: 12px 10px;
  background: rgba(0,0,0,0.8);
  color: white;
  border-radius: 0 0 12px 12px;
}

.film-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #fff;
  text-align: center;
}

.film-rating {
  font-size: 11px;
  color: #ffd700;
  text-align: center;
  margin-bottom: 3px;
}

.film-year {
  font-size: 10px;
  color: #ccc;
  text-align: center;
}

.fr-count {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #1d1d1d;
  box-shadow: inset 0 0 0 1px #ffffff1c;
}

.fr-count > div { font-size: 28px; }

.center {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.slice-masked:before {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(51,51,51,0) 0%, #1d1d1d 100%);
}

.comm-item {
  box-shadow: 0 0 20px rgb(0 0 0 / 80%);
  margin: 20px 1px 1px 10px;
  background-color: transparent;
  padding: 20px 20px 20px 90px;
}

.comm-right {
  width: 100%;
  float: right;
  padding: 10px;
  position: relative;
  background-color: #1111115c;
}

.comms-bg { background-color: transparent; }

.pages {
  background-color: #1e1e1e6b;
  box-shadow: 0 0 20px rgb(0 0 0 / 80%);
  margin: 20px 1px 1px 10px;
}

.flist-col a {
  color: #b8856aeb;
  font-size: 10px;
}

.button,
button:not(.color-btn):not([class*=fr]),
input[type=button],
input[type=reset],
input[type=submit] {
  padding: 0 5px;
  display: inline-block;
  height: 34px;
  line-height: 34px;
  border-radius: 2px;
  cursor: pointer;
  background-color: transparent;
  vertical-align: top;
  margin-left: 7px;
  text-transform: uppercase;
  font-size: 13px;
}

textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #111;
  background-color: #66666630;
  color: #fff;
  box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.1);
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

#yell60 {
  box-shadow: 0px 1px 0px 0px #000 !important;
  background: linear-gradient(to bottom, #fb7a11 5%, #fb7a11 100%) !important;
  border-radius: 2px !important;
  border: 1px solid #fb7a11 !important;
  display: inline-block !important;
  cursor: pointer !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  width: 150px !important;
  height: 35px !important;
  line-height: 36px !important;
}

#yell60:hover {
  background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%) !important;
}

@media (max-width: 768px) {
  .play-button { border-width: 40px 0 40px 60px; }

  #main-player.fixed-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 1000;
  }

  #player-container { height: auto; }

  #main-player {
    aspect-ratio: 12 / 9;
    height: auto;
  }

  #player-options {
    position: static;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px;
    gap: 0;
  }

  .player-option {
    flex: 0 0 auto;
    padding: 1px 0px;
  }

  .version-dropdown {
    position: absolute;
    top: 100%;
    bottom: auto;
    border-radius: 0 0 4px 4px;
  }

  .customDiv { height: 20px !important; }

  .fdesc {
    font-size: 20px;
    line-height: 28px;
  }

  .fmain {
    min-height: 250px;
    padding: 16px;
  }

  .fmain h1 { font-size: 24px; }

  ul#actorList {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 5px;
    gap: 15px;
  }

  li.actor {
    min-width: 90px;
    scroll-snap-align: center;
    margin-right: 5px;
  }

  li.actor img {
    min-height: 135px;
    max-width: 90px !important;
    max-height: 135px !important;
    object-fit: cover;
  }
}

@media (min-width: 769px) {
  #main-player.fixed-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    height: 170px;
    z-index: 10000;
  }
}

@media (max-width: 480px) {
  .play-button {
    border-width: 40px 0 40px 60px;
    top: 45%;
    left: 55%;
  }

  .fdesc {
    font-size: 18px;
    line-height: 26px;
    margin: 12px 0;
  }
}

@media (max-width: 900px) {
  .film-card { width: 120px; }
  .film-card img { height: 180px; }
}

@media (max-width: 600px) {
  .film-card { width: 100px; }
  .film-card img { height: 150px; }
  .film-info { padding: 8px 6px; }
  .film-title { font-size: 11px; }
}