/* v514 Membership pricing + yearly discount polish. Public payment modal only. */
.qpay-demo-pill.cinego-live-pay-pill{
  border-color:rgba(84,214,128,.28)!important;
  background:linear-gradient(135deg,rgba(34,197,94,.16),rgba(255,213,42,.08))!important;
  color:#eafff0!important;
  font-weight:800;
}
.cinego-membership-plan{position:relative;overflow:hidden;min-height:72px}
.cinego-membership-plan .cinego-plan-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.cinego-membership-plan strong{font-size:16px!important;line-height:1.2}
.cinego-membership-plan small{line-height:1.35}.cinego-membership-plan b{font-size:22px!important}
.cinego-price-stack{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}.cinego-old-price{font-size:12px;color:rgba(255,255,255,.48);text-decoration:line-through;font-weight:800}.cinego-discount-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;margin-bottom:2px;background:linear-gradient(135deg,#ff3d71,#ffd12a);color:#150b00;font-size:11px;font-weight:1000;letter-spacing:.2px;box-shadow:0 8px 22px rgba(255,95,54,.24)}
.qpay-plan-option.yearly-plan{border-color:rgba(255,209,42,.35);background:linear-gradient(135deg,rgba(255,209,42,.13),rgba(255,61,113,.06),rgba(255,255,255,.04))}.qpay-plan-option.yearly-plan::after{content:"";position:absolute;right:-36px;top:-44px;width:120px;height:120px;border-radius:999px;background:radial-gradient(circle,rgba(255,209,42,.28),transparent 64%);pointer-events:none}.qpay-plan-option.yearly-plan.active{border-color:#ffd12a;box-shadow:0 0 0 3px rgba(255,209,42,.12),0 20px 50px rgba(255,121,42,.12)}
.qpay-plan-option.monthly-plan.active{border-color:#e8a020}
#plan-test10{display:none!important}
@media(max-width:520px){.cinego-membership-plan{align-items:flex-start;gap:10px}.cinego-price-stack{align-items:flex-start}.cinego-membership-plan b{font-size:20px!important}}


/* v516: Series first 2 episodes free, later episodes locked until membership active. */
.ep-card.locked{
  position:relative;
  border-color:rgba(255,255,255,.10)!important;
  background:linear-gradient(135deg,rgba(19,19,23,.92),rgba(10,10,13,.96))!important;
}
.ep-card.locked:hover{
  border-color:rgba(255,209,42,.45)!important;
  background:linear-gradient(135deg,rgba(30,24,14,.92),rgba(12,12,15,.98))!important;
}
.ep-card.locked .ep-thumb::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(to top,rgba(0,0,0,.64),rgba(0,0,0,.18));
  pointer-events:none;
}
.ep-lock-badge{
  position:absolute;
  left:8px;
  bottom:7px;
  z-index:4;
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.76);
  border:1px solid rgba(255,209,42,.55);
  color:#ffd12a;
  font-size:13px;
  box-shadow:0 8px 18px rgba(0,0,0,.35);
}
.ep-free-badge{
  position:absolute;
  left:8px;
  bottom:7px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffd12a,#e8a020);
  color:#120900;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.4px;
  box-shadow:0 8px 18px rgba(232,160,32,.22);
}
.ep-lock-text,.ep-free-text{
  margin-top:6px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1px;
}
.ep-lock-text{color:rgba(255,209,42,.82)}
.ep-free-text{color:rgba(84,214,128,.92)}
.player-ep-btn.locked{
  color:rgba(255,255,255,.72)!important;
  background:rgba(36,36,40,.9)!important;
}
.player-ep-btn.locked:hover{
  background:rgba(255,209,42,.18)!important;
  color:#fff!important;
}
.player-ep-btn.locked::after{
  content:'🔒'!important;
  position:absolute;
  right:4px;
  top:2px;
  font-size:9px;
  opacity:.86;
}
@media(max-width:980px){
  .ep-lock-badge{width:24px;height:24px;font-size:12px;left:6px;bottom:6px}
  .ep-free-badge{left:6px;bottom:6px;font-size:9px;min-height:20px;padding:0 7px}
}


/* CINEGO v517: Cinema Ticket/Free label restore */
.cinego-cinema-theater .cinema-mini-rent,
.cinema-stage-card .cinema-cta{
  white-space: nowrap!important;
  text-transform: uppercase!important;
}
.card-thumb .genre-badge{
  max-width: calc(100% - 18px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cinema-rental-filter-chip[data-cinema-rental-genre="free"] i,
.cinema-rental-genre-section[data-cinema-rental-group="free"] .section-title i{
  color:#22c55e!important;
}
