/*
 * BG MOVIES - Stili kryesor
 * Tema e erret me theks ne ar/verdhe, e frymezuar nga estetika kinematografike.
 * Variablat e ngjyrave jane mbledhur ketu lart qe te ndryshohen lehte ne nje vend.
 */

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --surface: #16161f;
  --surface-2: #1d1d28;
  --vije: #2a2a37;
  --tekst: #f3f3f6;
  --tekst-zbehte: #a0a0b0;
  --tekst-shume-zbehte: #6c6c7c;
  --ar: #f5c518;
  --ar-2: #ffd75e;
  --kuqe: #e23b4e;
  --gjelber: #46c07a;
  --vjollce: #7c5cff;
  --kalter: #34c3ff;
  --hije: 0 18px 50px rgba(0, 0, 0, 0.55);
  --hije-vogel: 0 6px 18px rgba(0, 0, 0, 0.4);
  --rrumbullak: 14px;
  --tranzicion: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --gjeresia: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--tekst);
  line-height: 1.6;
  overflow-x: hidden;
  /* njolla te lehta drite ne sfond per thellesi */
  background-image: radial-gradient(
      1100px 600px at 80% -10%,
      rgba(245, 197, 24, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 10%,
      rgba(226, 59, 78, 0.05),
      transparent 55%
    );
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--ar);
  color: #000;
}

.kontejner {
  width: 100%;
  max-width: var(--gjeresia);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia ---------- */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.titull-seksioni {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.titull-seksioni h2 {
  font-size: 1.7rem;
  position: relative;
  padding-left: 16px;
}

.titull-seksioni h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--ar), var(--ar-2));
}

.lidhje-shiko {
  color: var(--tekst-zbehte);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--tranzicion);
}
.lidhje-shiko:hover {
  color: var(--ar);
}

/* ---------- Butona ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  transition: transform var(--tranzicion), box-shadow var(--tranzicion),
    background var(--tranzicion);
}
.btn:active {
  transform: scale(0.97);
}

.btn-kryesor {
  background: linear-gradient(135deg, var(--ar), var(--ar-2));
  color: #14140a;
  box-shadow: 0 10px 26px rgba(245, 197, 24, 0.28);
}
.btn-kryesor:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 197, 24, 0.4);
}

.btn-bardhe {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tekst);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-bardhe:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-vije {
  background: transparent;
  color: var(--tekst);
  border: 1px solid var(--vije);
}
.btn-vije:hover {
  border-color: var(--ar);
  color: var(--ar);
}

.btn-rrezik {
  background: rgba(226, 59, 78, 0.14);
  color: #ff8a96;
  border: 1px solid rgba(226, 59, 78, 0.4);
}
.btn-rrezik:hover {
  background: var(--kuqe);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tranzicion), background var(--tranzicion);
}
.navbar.e-ngjitur {
  border-bottom-color: var(--vije);
  background: rgba(10, 10, 15, 0.92);
}
.navbar-brendia {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-shenje {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ar), var(--ar-2));
  color: #000;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}
.logo span.bg {
  color: var(--ar);
}

.nav-lidhjet {
  display: flex;
  gap: 6px;
  margin-left: 6px;
}
.nav-lidhjet a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--tekst-zbehte);
  transition: color var(--tranzicion), background var(--tranzicion);
}
.nav-lidhjet a:hover,
.nav-lidhjet a.aktive {
  color: var(--tekst);
  background: rgba(255, 255, 255, 0.06);
}

.nav-djathtas {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* fusha e kerkimit ne navbar */
.kerkim-shpejte {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--vije);
  border-radius: 50px;
  padding: 8px 16px;
  width: 230px;
  transition: border-color var(--tranzicion), width var(--tranzicion);
}
.kerkim-shpejte:focus-within {
  border-color: var(--ar);
  width: 260px;
}
.kerkim-shpejte input {
  background: none;
  border: none;
  outline: none;
  color: var(--tekst);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}
.kerkim-shpejte svg {
  flex-shrink: 0;
  color: var(--tekst-zbehte);
}

.menu-perdoruesi {
  position: relative;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b2b3a, #1a1a24);
  border: 1px solid var(--vije);
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--tranzicion);
}
.avatar:hover {
  border-color: var(--ar);
}
.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--surface-2);
  border: 1px solid var(--vije);
  border-radius: 12px;
  min-width: 190px;
  padding: 8px;
  box-shadow: var(--hije);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--tranzicion);
}
.dropdown.hapur {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown .emri-plote {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--tekst-zbehte);
  border-bottom: 1px solid var(--vije);
  margin-bottom: 6px;
}
.dropdown a,
.dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--tekst);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--tranzicion);
}
.dropdown a:hover,
.dropdown button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--tekst);
  cursor: pointer;
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-sfond {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* e ankorojme nga lart qe te mos priten fytyrat e personazheve te fotot grupore */
  background-position: center 15%;
  transition: opacity 0.9s ease;
}
.hero-mbulesa {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      var(--bg) 4%,
      rgba(10, 10, 15, 0.65) 40%,
      rgba(10, 10, 15, 0.35) 75%
    ),
    linear-gradient(to right, rgba(10, 10, 15, 0.9) 0%, transparent 65%);
}
.hero-brendia {
  position: relative;
  z-index: 2;
  padding-bottom: 76px;
  max-width: 640px;
}
.hero-distinktiv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--ar);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-brendia h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--tekst-zbehte);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-meta .yll-rating {
  color: var(--ar);
  font-weight: 700;
}
.hero-meta .pike {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tekst-shume-zbehte);
}
.hero-pershkrim {
  color: var(--tekst-zbehte);
  font-size: 1.05rem;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-butona {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
/* pikat e ndryshimit te slajdit te hero */
.hero-pika {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-pika button {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background var(--tranzicion);
}
.hero-pika button.aktive {
  background: var(--ar);
}

/* ---------- Seksionet ---------- */
.seksion {
  padding: 60px 0;
}
.seksion-ngushte {
  padding: 40px 0;
}

/* Filtrat e kategorive (chips) */
.filtra {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--vije);
  color: var(--tekst-zbehte);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tranzicion);
}
.chip:hover {
  color: var(--tekst);
  border-color: var(--tekst-shume-zbehte);
}
.chip.aktive {
  background: linear-gradient(135deg, var(--ar), var(--ar-2));
  color: #14140a;
  border-color: transparent;
  font-weight: 600;
}

/* ---------- Rrjeti i filmave + kartela ---------- */
.rrjeti-filmave {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 26px;
}

.kartela {
  position: relative;
  border-radius: var(--rrumbullak);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--tranzicion), box-shadow var(--tranzicion);
}
.kartela:hover {
  transform: translateY(-8px);
  box-shadow: var(--hije);
}
.kartela-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.kartela-poster img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-2);
  transition: transform 0.5s ease;
}
.kartela:hover .kartela-poster img {
  transform: scale(1.07);
}
/* poster i gjeneruar me CSS kur nuk ka imazh real */
.poster-css {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}
.poster-css::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 50% 0%,
    rgba(255, 255, 255, 0.16),
    transparent 60%
  );
  mix-blend-mode: overlay;
}
.poster-css .pcss-vit {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.poster-css .pcss-titull {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.poster-css .pcss-shenje {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.poster-css .pcss-strshe {
  position: absolute;
  bottom: 70px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* etiketa e rating-ut mbi poster */
.etiketa-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--ar);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
/* shtresa qe shfaqet ne hover me butonin "shiko" */
.kartela-mbulesa {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.92) 0%,
    rgba(10, 10, 15, 0.1) 60%
  );
  opacity: 0;
  transition: opacity var(--tranzicion);
}
.kartela:hover .kartela-mbulesa {
  opacity: 1;
}
.kartela-luaj {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ar), var(--ar-2));
  color: #000;
  transform: scale(0.7);
  transition: transform var(--tranzicion);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}
.kartela:hover .kartela-luaj {
  transform: scale(1);
}
.kartela-info {
  padding: 14px 16px 18px;
}
.kartela-info h3 {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kartela-zhanret {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--tekst-zbehte);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--vije);
  background: var(--bg-2);
  padding: 54px 0 28px;
}
.footer-rrjeti {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-rrjeti h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--tekst);
}
.footer-rrjeti a,
.footer-rrjeti p {
  display: block;
  color: var(--tekst-zbehte);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color var(--tranzicion);
}
.footer-rrjeti a:hover {
  color: var(--ar);
}
.footer-pershkrim {
  max-width: 300px;
}
.footer-fund {
  border-top: 1px solid var(--vije);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--tekst-shume-zbehte);
  font-size: 0.85rem;
}
.footer-rrjete-sociale {
  display: flex;
  gap: 12px;
}
.footer-rrjete-sociale a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--vije);
  color: var(--tekst-zbehte);
  transition: all var(--tranzicion);
}
.footer-rrjete-sociale a:hover {
  color: var(--ar);
  border-color: var(--ar);
  transform: translateY(-3px);
}

/* ---------- Njoftimet (toast) ---------- */
.toast-kontejner {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--vije);
  border-left: 4px solid var(--ar);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--hije);
  min-width: 260px;
  animation: rreshqitNga 0.35s ease;
}
.toast.sukses {
  border-left-color: var(--gjelber);
}
.toast.gabim {
  border-left-color: var(--kuqe);
}
.toast-tekst {
  font-size: 0.92rem;
}
@keyframes rreshqitNga {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ---------- Animacion i shfaqjes gjate skrollimit ---------- */
.shfaqu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.shfaqu.u-shfaq {
  opacity: 1;
  transform: translateY(0);
}

/* gjendje boshe (psh kerkim pa rezultat) */
.bosh {
  text-align: center;
  padding: 80px 20px;
  color: var(--tekst-zbehte);
}
.bosh svg {
  margin: 0 auto 18px;
  opacity: 0.4;
}
.bosh h3 {
  color: var(--tekst);
  margin-bottom: 8px;
}

/* ---------- Faqet e autentikimit (hyrje / regjistrim / admin) ---------- */
.auth-faqe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-anesore {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  background: linear-gradient(150deg, #1a1a26, #0c0c12);
}
.auth-anesore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 400px at 30% 20%,
      rgba(245, 197, 24, 0.14),
      transparent 60%
    ),
    radial-gradient(
      500px 400px at 90% 90%,
      rgba(226, 59, 78, 0.1),
      transparent 60%
    );
}
.auth-anesore > * {
  position: relative;
  z-index: 2;
}
.auth-anesore-tekst h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  max-width: 420px;
}
.auth-anesore-tekst p {
  color: var(--tekst-zbehte);
  max-width: 380px;
}
.auth-vecorite {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.auth-vecori {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tekst-zbehte);
  font-size: 0.95rem;
}
.auth-vecori .shenje-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.15);
  color: var(--ar);
  flex-shrink: 0;
}
.auth-forma-ana {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-kuti {
  width: 100%;
  max-width: 420px;
}
.auth-kuti .logo {
  margin-bottom: 30px;
}
.auth-kuti h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}
.auth-nentitull {
  color: var(--tekst-zbehte);
  margin-bottom: 30px;
}
.fusha-grup {
  margin-bottom: 18px;
}
.fusha-grup label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--tekst-zbehte);
}
.fusha {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--vije);
  border-radius: 11px;
  color: var(--tekst);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--tranzicion), background var(--tranzicion);
}
.fusha:focus {
  border-color: var(--ar);
  background: var(--bg);
}
.fusha::placeholder {
  color: var(--tekst-shume-zbehte);
}
.auth-kuti .btn-kryesor {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.auth-poshte {
  text-align: center;
  margin-top: 24px;
  color: var(--tekst-zbehte);
  font-size: 0.93rem;
}
.auth-poshte a {
  color: var(--ar);
  font-weight: 600;
}
.auth-kthehu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tekst-zbehte);
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color var(--tranzicion);
}
.auth-kthehu:hover {
  color: var(--ar);
}
.kuti-info-admin {
  background: var(--surface);
  border: 1px solid var(--vije);
  border-left: 3px solid var(--ar);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--tekst-zbehte);
  margin-top: 22px;
}
.kuti-info-admin code {
  color: var(--ar);
  font-weight: 600;
}

@media (max-width: 820px) {
  .auth-faqe {
    grid-template-columns: 1fr;
  }
  .auth-anesore {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-rrjeti {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .nav-lidhjet,
  .kerkim-shpejte,
  .nav-djathtas .btn,
  .menu-perdoruesi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navbar-brendia {
    gap: 14px;
  }
}

/* ---------- Menuja mobile (hamburger) ---------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 18px;
  background: rgba(10, 10, 15, 0.98);
  border-top: 1px solid var(--vije);
  border-bottom: 1px solid var(--vije);
  backdrop-filter: blur(16px);
  animation: shfaqu-bute 0.25s ease;
}
.mobile-menu.hapur {
  display: flex;
}
.mm-kerkim {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--vije);
  border-radius: 50px;
  padding: 11px 16px;
  margin-bottom: 8px;
}
.mm-kerkim input {
  background: none;
  border: none;
  outline: none;
  color: var(--tekst);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.mm-kerkim svg {
  color: var(--tekst-zbehte);
  flex-shrink: 0;
}
.mm-lidhje {
  display: block;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--tekst);
  font-weight: 500;
  transition: background var(--tranzicion);
}
.mm-lidhje:hover,
.mm-lidhje.aktive {
  background: rgba(255, 255, 255, 0.07);
}
.mm-cta {
  background: linear-gradient(135deg, var(--ar), var(--ar-2));
  color: #14140a;
  font-weight: 600;
  text-align: center;
  margin-top: 2px;
}
.mm-ndaresa {
  height: 1px;
  background: var(--vije);
  margin: 8px 0;
}
.mm-emer {
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--tekst-zbehte);
}
.mm-dil {
  text-align: left;
  padding: 12px 14px;
  border-radius: 11px;
  background: none;
  border: none;
  color: #ff8a96;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.mm-dil:hover {
  background: rgba(226, 59, 78, 0.12);
}
@keyframes shfaqu-bute {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ne desktop menuja mobile s'shfaqet kurre */
@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 620px) {
  .kontejner {
    padding: 0 18px;
  }
  .hero {
    min-height: 78vh;
  }
  /* lëmë hapësirë poshtë butonave dhe i çojmë pikat e hero-s aty, të qendërzuara */
  .hero-brendia {
    padding-bottom: 50px;
  }
  .hero-pika {
    right: auto;
    left: 0;
    width: 100%;
    bottom: 18px;
    justify-content: center;
  }
  .rrjeti-filmave {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
  .footer-rrjeti {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .seksion {
    padding: 44px 0;
  }
  /* koka e seksioneve: titulli te mos perplaset me lidhjen "Shiko te gjithe" */
  .titull-seksioni {
    gap: 14px;
    margin-bottom: 18px;
  }
  .titull-seksioni h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  .lidhje-shiko {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
  }
}

/* ============================================================= *
 *  Shtesa: veçoritë e reja dhe rafinime premium
 * ============================================================= */

/* ---------- Rafinime kartele ---------- */
.kartela {
  border: 1px solid var(--vije);
}
.kartela:hover {
  border-color: rgba(245, 197, 24, 0.35);
}
.kartela-luaj {
  border: none;
  cursor: pointer;
}

/* butoni i favoritit ne kendin e posterit */
.kartela-favorit {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--tranzicion);
}
.kartela:hover .kartela-favorit {
  opacity: 1;
  transform: scale(1);
}
.kartela-favorit svg {
  width: 16px;
  height: 16px;
}
.kartela-favorit.aktiv {
  background: var(--kuqe);
  border-color: var(--kuqe);
  opacity: 1;
  transform: scale(1);
}

.kartela-meta-poshte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.kartela-zhanret {
  flex: 1;
}
.kartela-pelqime {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--tekst-zbehte);
  white-space: nowrap;
}
.kartela-pelqime svg {
  width: 13px;
  height: 13px;
  color: var(--kuqe);
}

/* distinktivi "Së shpejti" dhe data e publikimit */
.etiketa-seshpejti {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: linear-gradient(135deg, var(--vjollce), var(--kalter));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.4);
}
.kartela-data {
  font-size: 0.78rem;
  color: var(--ar);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Rreshtat horizontale (karusel) ---------- */
.rresht-karusel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--vije) transparent;
}
.rresht-karusel::-webkit-scrollbar {
  height: 8px;
}
.rresht-karusel::-webkit-scrollbar-thumb {
  background: var(--vije);
  border-radius: 50px;
}
.rresht-karusel::-webkit-scrollbar-thumb:hover {
  background: var(--tekst-shume-zbehte);
}
.rresht-karusel .kartela {
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
}
@media (max-width: 620px) {
  .rresht-karusel .kartela {
    min-width: 152px;
    max-width: 152px;
  }
}

/* ---------- Kerkimi me sugjerime ---------- */
.kerkim-shpejte {
  position: relative;
}
.kerkim-sugjerime {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--vije);
  border-radius: 14px;
  box-shadow: var(--hije);
  padding: 6px;
  max-height: 380px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--tranzicion);
  z-index: 130;
}
.kerkim-sugjerime.hapur {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sugjerim {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  transition: background var(--tranzicion);
}
.sugjerim:hover {
  background: rgba(255, 255, 255, 0.06);
}
.sugjerim-poster {
  width: 38px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--surface);
}
.sugjerim-poster .poster-css {
  padding: 5px;
}
.sugjerim-poster .poster-css .pcss-shenje,
.sugjerim-poster .poster-css .pcss-strshe,
.sugjerim-poster .poster-css .pcss-vit {
  display: none;
}
.sugjerim-poster .poster-css .pcss-titull {
  font-size: 0.46rem;
}
.sugjerim-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sugjerim-titull {
  font-weight: 600;
  font-size: 0.9rem;
}
.sugjerim-vit {
  font-size: 0.78rem;
  color: var(--tekst-zbehte);
}
.sugjerim-bosh {
  padding: 16px;
  text-align: center;
  color: var(--tekst-zbehte);
  font-size: 0.88rem;
}

/* ---------- Dritarja globale e trailerit ---------- */
.modal-trailer-glob {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-trailer-glob.hapur {
  opacity: 1;
  visibility: visible;
}
.mt-brendia {
  width: 100%;
  max-width: 960px;
}
.mt-titull {
  color: var(--tekst);
  font-weight: 600;
  margin-bottom: 12px;
}
.mt-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--rrumbullak);
  overflow: hidden;
  box-shadow: var(--hije);
  border: 1px solid var(--vije);
  transform: scale(0.96);
  transition: transform 0.3s;
}
.modal-trailer-glob.hapur .mt-video {
  transform: scale(1);
}
.mt-video iframe,
#yt-player-host,
#yt-player-inner {
  width: 100%;
  height: 100%;
  border: 0;
}
.mt-gabim {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
  color: var(--tekst);
  padding: 24px;
}
.mt-gabim p {
  color: var(--tekst-zbehte);
  margin-bottom: 16px;
}
.mt-mbyll {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: all var(--tranzicion);
}
.mt-mbyll:hover {
  background: var(--kuqe);
  border-color: var(--kuqe);
}

/* Theksimi i fokusit per ata qe lundrojne me tastiere (qasshmeri) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.chip:focus-visible,
.kartela:focus-visible {
  outline: 2px solid var(--ar, #f5c518);
  outline-offset: 2px;
  border-radius: 4px;
}
