/* === POPUP: /filmy — komunita hodnocení === */
/* Zobrazí se po proscrollování 1.5× výšky okna, jen na /filmy/ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

#psy-pf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#psy-pf-overlay.psy-pf--open {
  display: flex;
  opacity: 0;
}
#psy-pf-overlay.psy-pf--visible {
  opacity: 1;
}

#psy-pf-box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  width: 100%;
  padding: 36px 36px 28px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.35s ease;
}
#psy-pf-overlay.psy-pf--visible #psy-pf-box {
  transform: translateY(0);
}

.psy-pf__close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #aaaaaa;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  font-family: inherit;
}
.psy-pf__close-btn:hover { color: #1a1a1a; }

.psy-pf__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5A958B;
  margin: 0 0 14px;
}

.psy-pf__body {
  font-size: 14.5px;
  line-height: 1.7;
  color: #333333;
  margin: 0 0 28px;
}
.psy-pf__body a {
  color: #5A958B;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.psy-pf__body a:hover { color: #4a8079; }

.psy-pf__foot {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.psy-pf__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.psy-pf__btn--primary {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.psy-pf__btn--primary:hover {
  background: #5A958B;
  border-color: #5A958B;
  color: #ffffff;
}
.psy-pf__btn--ghost {
  background: transparent;
  color: #1a1a1a;
  border-color: #d0d0d0;
}
.psy-pf__btn--ghost:hover {
  background: #f5f5f5;
  border-color: #999;
  color: #1a1a1a;
}

@media (max-width: 540px) {
  #psy-pf-box { padding: 28px 22px 22px; }
  .psy-pf__foot { flex-direction: column; }
  .psy-pf__btn { width: 100%; justify-content: center; }
}
