/* =========================================
   FILMEHDON – PREMIERE SLIDER COMPLET
========================================= */

.fhd-premieres,
.fhd-premieres *,
.fhd-premieres *::before,
.fhd-premieres *::after {
 box-sizing: border-box;
}

.fhd-premieres[hidden],
.fhd-premieres-sources[hidden] {
 display: none !important;
}

/* =========================================
   SECȚIUNEA PRINCIPALĂ
========================================= */

.fhd-premieres {
 position: relative;
 width: 100%;
 padding: 22px 24px 18px;
 overflow: hidden;
 color: #e7e8ea;
 border-top: 1px solid rgba(255,255,255,0.055);
 border-bottom: 1px solid rgba(255,255,255,0.055);
 background:
  radial-gradient(
   circle at 10% 35%,
   rgba(212,175,55,0.075),
   transparent 25%
  ),
  linear-gradient(
   145deg,
   rgba(24,26,22,0.97),
   rgba(10,12,13,0.99)
  );
}

/* Linie aurie discretă */

.fhd-premieres::before {
 position: absolute;
 top: 20%;
 bottom: 20%;
 left: 0;
 width: 2px;
 content: "";
 border-radius: 0 4px 4px 0;
 background: linear-gradient(
  transparent,
  rgba(212,175,55,0.75),
  transparent
 );
}

/* =========================================
   HEADER
========================================= */

.fhd-premieres-header {
 position: relative;
 z-index: 2;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 margin-bottom: 18px;
}

.fhd-premieres-title {
 display: flex;
 align-items: center;
 min-width: 0;
 gap: 12px;
}

.fhd-premieres-icon {
 display: flex;
 flex: 0 0 45px;
 align-items: center;
 justify-content: center;
 width: 45px;
 height: 45px;
 color: #17140b;
 font-size: 17px;
 border: 1px solid rgba(255,255,255,0.36);
 border-radius: 13px;
 background: linear-gradient(
  145deg,
  #f5df82,
  #d4af37
 );
 box-shadow:
  0 8px 20px rgba(0,0,0,0.34),
  0 0 18px rgba(212,175,55,0.13),
  inset 0 1px rgba(255,255,255,0.42);
}

.fhd-premieres-title-copy {
 display: block;
 min-width: 0;
}

.fhd-premieres-title-copy small,
.fhd-premieres-title-copy strong,
.fhd-premieres-title-copy em {
 display: block;
}

.fhd-premieres-title-copy small {
 margin-bottom: 3px;
 color: #d4af37;
 font-size: 8px;
 font-weight: 900;
 line-height: 1.2;
 letter-spacing: 1.3px;
}

.fhd-premieres-title-copy strong {
 overflow: hidden;
 color: #eff0f1;
 font-size: 17px;
 line-height: 1.2;
 text-overflow: ellipsis;
 white-space: nowrap;
}

.fhd-premieres-title-copy em {
 margin-top: 3px;
 color: #797e87;
 font-size: 9px;
 font-style: normal;
 line-height: 1.3;
}

/* =========================================
   CONTROALE
========================================= */

.fhd-premieres-controls {
 display: flex;
 flex: 0 0 auto;
 align-items: center;
 gap: 6px;
}

.fhd-premieres-arrow {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 37px;
 height: 37px;
 margin: 0;
 padding: 0;
 color: #a5a9b0;
 font: inherit;
 font-size: 20px;
 line-height: 1;
 cursor: pointer;
 border: 1px solid rgba(255,255,255,0.09);
 border-radius: 10px;
 background: rgba(255,255,255,0.035);
 box-shadow:
  inset 0 1px rgba(255,255,255,0.035);
 transition:
  color 0.2s ease,
  border-color 0.2s ease,
  background 0.2s ease,
  transform 0.2s ease;
}

.fhd-premieres-arrow:hover:not(:disabled) {
 color: #17140b;
 border-color: #d4af37;
 background: linear-gradient(
  145deg,
  #f5df82,
  #d4af37
 );
 transform: translateY(-1px);
}

.fhd-premieres-arrow:disabled {
 opacity: 0.25;
 cursor: default;
}

.fhd-premieres-all {
 display: inline-flex;
 align-items: center;
 min-height: 37px;
 margin-left: 3px;
 padding: 0 12px;
 gap: 7px;
 color: #d4af37;
 font-size: 9px;
 font-weight: 900;
 text-decoration: none;
 border: 1px solid rgba(212,175,55,0.2);
 border-radius: 10px;
 background: rgba(212,175,55,0.045);
 transition:
  color 0.2s ease,
  border-color 0.2s ease,
  background 0.2s ease,
  transform 0.2s ease;
}

.fhd-premieres-all:hover {
 color: #f3dc80;
 border-color: rgba(212,175,55,0.45);
 background: rgba(212,175,55,0.085);
 transform: translateY(-1px);
}

.fhd-premieres-all span {
 font-size: 14px;
}

/* =========================================
   SURSE ASCUNSE
========================================= */

.fhd-premieres-sources {
 display: none !important;
}

/* =========================================
   ZONA CU SWIPE
========================================= */

.fhd-premieres-scroll {
 position: relative;
 z-index: 2;
 width: 100%;
 max-width: 100%;
 overflow-x: auto !important;
 overflow-y: hidden !important;
 padding: 2px 1px 9px;
 cursor: grab;
 touch-action: pan-x !important;
 overscroll-behavior-inline: contain;
 scroll-behavior: smooth;
 scroll-snap-type: x proximity;
 scrollbar-width: none;
 -webkit-overflow-scrolling: touch;
}

.fhd-premieres-scroll::-webkit-scrollbar {
 display: none;
}

.fhd-premieres-scroll.is-dragging {
 cursor: grabbing;
 user-select: none;
}

.fhd-premieres-content {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 align-items: stretch;
 width: max-content !important;
 min-width: 100%;
 gap: 13px;
}

/* =========================================
   CARDURI – DIMENSIUNI MICI
========================================= */

.fhd-premiere-card {
 position: relative;
 display: block !important;
 flex: 0 0 112px !important;
 width: 112px !important;
 height: 168px !important;
 margin: 0 !important;
 padding: 0 !important;
 overflow: hidden;
 color: #fff;
 text-decoration: none;
 border: 2px solid rgba(240,166,47,0.27);
 border-radius: 13px;
 background: #111318;
 box-shadow:
  0 9px 22px rgba(0,0,0,0.38),
  inset 0 1px rgba(255,255,255,0.035);
 scroll-snap-align: start;
 transition:
  border-color 0.25s ease,
  box-shadow 0.25s ease,
  transform 0.25s ease;
}

.fhd-premiere-card:hover {
 border-color: #f0a62f;
 box-shadow:
  0 14px 30px rgba(0,0,0,0.54),
  0 0 21px rgba(240,166,47,0.25);
}

/* =========================================
   POSTER
========================================= */

.fhd-premiere-poster {
 position: absolute;
 z-index: 1;
 inset: 0;
 display: block;
 width: 100% !important;
 height: 100% !important;
 margin: 0 !important;
 padding: 0 !important;
 object-fit: cover;
 border: 0 !important;
 transition:
  transform 0.45s ease,
  filter 0.3s ease;
}

.fhd-premiere-card:hover
.fhd-premiere-poster {
 transform: scale(1.055);
 filter: brightness(0.78);
}

/* Imagine indisponibilă */

.fhd-premiere-no-image {
 position: absolute;
 z-index: 1;
 inset: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 10px;
 color: #747982;
 font-size: 8px;
 line-height: 1.4;
 text-align: center;
 background:
  radial-gradient(
   circle,
   rgba(212,175,55,0.08),
   transparent 40%
  ),
  linear-gradient(
   145deg,
   #202329,
   #0c0e12
  );
}

/* =========================================
   GRADIENT
========================================= */

.fhd-premiere-gradient {
 position: absolute;
 z-index: 2;
 right: 0;
 bottom: 0;
 left: 0;
 height: 57%;
 pointer-events: none;
 background: linear-gradient(
  to top,
  rgba(0,0,0,0.99) 0%,
  rgba(0,0,0,0.82) 40%,
  rgba(0,0,0,0.18) 78%,
  transparent 100%
 );
}

/* Gradient sus */

.fhd-premiere-card::before {
 position: absolute;
 z-index: 2;
 top: 0;
 right: 0;
 left: 0;
 height: 28%;
 content: "";
 pointer-events: none;
 background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.42),
  transparent
 );
}

/* =========================================
   TITLU
========================================= */

.fhd-premiere-title {
 position: absolute;
 z-index: 7;
 right: 8px;
 bottom: 8px;
 left: 8px;
 display: -webkit-box;
 overflow: hidden;
 color: #fff;
 font-size: 9px;
 font-weight: 900;
 line-height: 1.22;
 text-shadow:
  0 2px 7px rgba(0,0,0,0.96);
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
}

/* =========================================
   BUTON PLAY – PREMIERĂ
========================================= */

.fhd-premiere-play {
 position: absolute;
 z-index: 8;
 top: 48%;
 left: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 width: 34px;
 height: 34px;
 color: #17140b;
 font-size: 10px;
 border: 1px solid rgba(255,255,255,0.48);
 border-radius: 50%;
 background: linear-gradient(
  145deg,
  #ffe17a,
  #f0a62f
 );
 box-shadow:
  0 10px 25px rgba(0,0,0,0.5),
  0 0 20px rgba(240,166,47,0.3);
 opacity: 0;
 transform:
  translate(-50%,-50%)
  scale(0.76);
 transition:
  opacity 0.23s ease,
  transform 0.23s ease;
}

.fhd-premiere-card:hover
.fhd-premiere-play {
 opacity: 1;
 transform:
  translate(-50%,-50%)
  scale(1);
}

/* =========================================
   PANGLICĂ PREMIERĂ – GALBEN/PORTOCALIU
========================================= */

.fhd-premiere-ribbon {
 position: absolute;
 z-index: 9;
 top: 10px;
 left: -38px;
 display: flex;
 align-items: center;
 justify-content: center;
 width: 128px;
 min-height: 27px;
 padding: 5px 0;
 color: #17140b;
 font-size: 7px;
 font-weight: 950;
 line-height: 1;
 letter-spacing: 0.55px;
 text-align: center;
 text-transform: uppercase;
 border-top: 1px solid rgba(255,255,255,0.52);
 border-bottom: 1px solid rgba(0,0,0,0.17);
 background: linear-gradient(
  135deg,
  #ffe58a 0%,
  #ffc34b 48%,
  #ef9329 100%
 );
 box-shadow:
  0 5px 13px rgba(0,0,0,0.36),
  0 0 16px rgba(240,166,47,0.25);
 transform: rotate(-45deg);
 pointer-events: none;
}

/* =========================================
   ÎN CURÂND – MOV
========================================= */

.fhd-premiere-card.is-coming-soon {
 border-color: rgba(166,108,240,0.5);
 box-shadow:
  0 9px 22px rgba(0,0,0,0.38),
  0 0 14px rgba(166,108,240,0.1);
}

.fhd-premiere-card.is-coming-soon:hover {
 border-color: #a66cf0;
 box-shadow:
  0 14px 30px rgba(0,0,0,0.54),
  0 0 24px rgba(166,108,240,0.34);
}

/* Reflexie mov */

.fhd-premiere-card.is-coming-soon::after {
 position: absolute;
 z-index: 3;
 inset: 0;
 content: "";
 pointer-events: none;
 background: linear-gradient(
  145deg,
  rgba(190,129,255,0.13),
  transparent 43%
 );
}

/* Panglică mov */

.fhd-premiere-card.is-coming-soon
.fhd-premiere-ribbon {
 color: #fff;
 font-size: 6.8px;
 letter-spacing: 0.4px;
 border-top-color: rgba(255,255,255,0.45);
 border-bottom-color: rgba(41,22,78,0.5);
 background: linear-gradient(
  135deg,
  #dda2ff 0%,
  #a66cf0 48%,
  #6554d9 100%
 );
 box-shadow:
  0 5px 14px rgba(0,0,0,0.38),
  0 0 18px rgba(166,108,240,0.34);
}

/* Play mov */

.fhd-premiere-card.is-coming-soon
.fhd-premiere-play {
 color: #fff;
 border-color: rgba(255,255,255,0.48);
 background: linear-gradient(
  145deg,
  #d192ff,
  #7654dc
 );
 box-shadow:
  0 10px 25px rgba(0,0,0,0.52),
  0 0 23px rgba(166,108,240,0.44);
}

/* =========================================
   BARA DE PROGRES
========================================= */

.fhd-premieres-progress {
 position: relative;
 z-index: 2;
 width: 100%;
 height: 3px;
 margin-top: 3px;
 overflow: hidden;
 border-radius: 5px;
 background: rgba(255,255,255,0.045);
}

.fhd-premieres-progress span {
 position: absolute;
 top: 0;
 left: 0;
 width: 15%;
 height: 100%;
 border-radius: inherit;
 background: linear-gradient(
  90deg,
  #d4af37,
  #f3dc7c
 );
 box-shadow:
  0 0 8px rgba(212,175,55,0.2);
 transition:
  width 0.15s ease,
  left 0.15s ease;
}

/* =========================================
   TABLETĂ
========================================= */

@media (max-width:800px) {
 .fhd-premieres {
  padding-right: 18px;
  padding-left: 18px;
 }

 .fhd-premieres-content {
  gap: 11px;
 }

 .fhd-premiere-card {
  flex-basis: 105px !important;
  width: 105px !important;
  height: 158px !important;
 }

 .fhd-premiere-ribbon {
  top: 9px;
  left: -39px;
  width: 126px;
  min-height: 25px;
  font-size: 6.7px;
 }

 .fhd-premiere-card.is-coming-soon
 .fhd-premiere-ribbon {
  font-size: 6.4px;
 }
}

/* =========================================
   TELEFON
========================================= */

@media (max-width:480px) {
 .fhd-premieres {
  padding: 16px 12px 14px;
 }

 .fhd-premieres-header {
  gap: 9px;
  margin-bottom: 14px;
 }

 .fhd-premieres-title {
  gap: 9px;
 }

 .fhd-premieres-icon {
  width: 39px;
  height: 39px;
  flex-basis: 39px;
  font-size: 14px;
  border-radius: 11px;
 }

 .fhd-premieres-title-copy small {
  font-size: 6.5px;
  letter-spacing: 0.8px;
 }

 .fhd-premieres-title-copy strong {
  max-width: 160px;
  font-size: 13px;
 }

 .fhd-premieres-title-copy em {
  display: none;
 }

 .fhd-premieres-controls {
  gap: 4px;
 }

 .fhd-premieres-arrow {
  width: 32px;
  height: 32px;
  font-size: 17px;
  border-radius: 8px;
 }

 .fhd-premieres-all {
  display: none;
 }

 .fhd-premieres-content {
  gap: 9px;
 }

 .fhd-premiere-card {
  flex-basis: 94px !important;
  width: 94px !important;
  height: 141px !important;
  border-radius: 11px;
 }

 .fhd-premiere-title {
  right: 6px;
  bottom: 6px;
  left: 6px;
  font-size: 7.5px;
 }

 .fhd-premiere-ribbon {
  top: 8px;
  left: -40px;
  width: 123px;
  min-height: 23px;
  font-size: 6px;
 }

 .fhd-premiere-card.is-coming-soon
 .fhd-premiere-ribbon {
  font-size: 5.8px;
 }

 /*
  * Pe dispozitive tactile nu afișăm Play la hover.
  * Cardul rămâne apăsabil pe întreaga suprafață.
  */

 .fhd-premiere-play {
  display: none;
 }

 .fhd-premieres-progress {
  margin-top: 1px;
 }
}

/* =========================================
   REDUCERE ANIMAȚII
========================================= */

@media (prefers-reduced-motion:reduce) {
 .fhd-premieres-scroll {
  scroll-behavior: auto;
 }

 .fhd-premiere-card,
 .fhd-premiere-poster,
 .fhd-premiere-play,
 .fhd-premieres-arrow,
 .fhd-premieres-all {
  transition: none !important;
 }
}