/* Spotlight în stil Disney+. Fără sintaxă modernă (merge și pe TV). */
.ksp { position: relative; overflow: hidden; color: #fff; }
.ksp__swiper { position: relative; width: 100%; display: block; }
.ksp .swiper-wrapper { position: relative; width: 100%; z-index: 1; display: -webkit-box; display: -webkit-flex; display: flex; }
/* Tema dimensionează slider-ul prin padding și un wrapper absolut: aici înălțimea o dă slide-ul. */
.ksp .swiper.swiper-spotlight { padding: 0 !important; margin: 0 !important; min-height: 0 !important; max-height: none !important; background: transparent; }
.ksp .swiper.swiper-spotlight .swiper-wrapper { position: relative !important; top: auto; left: auto; right: auto; bottom: auto; height: auto !important; max-height: none !important; }
.ksp .swiper.swiper-spotlight .swiper-wrapper .ksp__slide { position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; width: 100%; height: 78vh !important; min-height: 30rem; max-height: 52rem !important; overflow: hidden; background: #08080c; }

/* Imaginea */
.ksp__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; }
.ksp__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.ksp__bg--tall { display: none; }
.ksp__bg--blur { -webkit-filter: blur(28px) saturate(1.2) brightness(.55); filter: blur(28px) saturate(1.2) brightness(.55); -webkit-transform: scale(1.15); transform: scale(1.15); }
.ksp__poster { position: absolute; z-index: 1; top: 50%; right: 9%; height: 82%; width: auto; max-width: 34%; -webkit-transform: translateY(-50%); transform: translateY(-50%); border-radius: 14px; object-fit: cover; -webkit-box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ksp__shade {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
	background:
		-webkit-linear-gradient(left, rgba(8, 8, 12, .92) 0%, rgba(8, 8, 12, .65) 28%, rgba(8, 8, 12, .15) 55%, rgba(8, 8, 12, 0) 72%),
		-webkit-linear-gradient(bottom, rgba(var(--primary-color, 8, 8, 8), 1) 0%, rgba(var(--primary-color, 8, 8, 8), 0) 32%);
	background:
		linear-gradient(90deg, rgba(8, 8, 12, .92) 0%, rgba(8, 8, 12, .65) 28%, rgba(8, 8, 12, .15) 55%, rgba(8, 8, 12, 0) 72%),
		linear-gradient(0deg, rgba(var(--primary-color, 8, 8, 8), 1) 0%, rgba(var(--primary-color, 8, 8, 8), 0) 32%);
}
@supports not (color: var(--x)) {
	.ksp__shade { background: linear-gradient(90deg, rgba(8, 8, 12, .92) 0%, rgba(8, 8, 12, .65) 28%, rgba(8, 8, 12, .15) 55%, rgba(8, 8, 12, 0) 72%), linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, 0) 32%); }
}

/* Textul */
.ksp__content { position: absolute; z-index: 3; left: 4.5rem; bottom: 4.5rem; width: 42%; max-width: 40rem; }
.ksp__pills { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-bottom: 1rem; }
.ksp__pill { display: inline-block; margin: 0 .5rem .3rem 0; padding: .3rem .6rem; border-radius: 4px; background: rgba(255, 255, 255, .92); color: #111 !important; font-size: .82rem; font-weight: 700; line-height: 1.2; }
.ksp__pill--dub { background: #7c3aed; color: #fff !important; }
.ksp__pill--new { background: #e11d48; color: #fff !important; }
.ksp__rank { margin: 0 0 .3rem .2rem; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.ksp__titlelink { color: #fff !important; text-decoration: none !important; display: block; }
.ksp__title { margin: 0; font-size: 3.4rem; line-height: 1.04; font-weight: 900; letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0, 0, 0, .55); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ksp__avail { margin: 1.1rem 0 0; font-size: 1rem; font-weight: 700; }
.ksp__meta { margin: .55rem 0 0; font-size: .9rem; color: rgba(255, 255, 255, .88); display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ksp__rate { display: inline-block; margin-right: .6rem; padding: .05rem .4rem; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 3px; font-size: .72rem; font-weight: 800; line-height: 1.4; }
.ksp__desc { margin: .9rem 0 0; max-width: 34rem; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .78); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Butoane */
.ksp__actions { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-top: 1.6rem; }
.ksp__btn {
	display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
	-webkit-box-align: center; -webkit-align-items: center; align-items: center;
	-webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
	margin-right: .75rem; min-height: 3.1rem; padding: 0 1.6rem;
	border-radius: 999px; border: 2px solid transparent;
	font-size: .92rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer;
	-webkit-transition: background .2s, color .2s, border-color .2s, -webkit-transform .15s; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.ksp__btn svg { width: 1.25rem; height: 1.25rem; margin-right: .5rem; }
.ksp__btn--play { background: #fff; color: #0b0b10 !important; }
.ksp__btn--play:hover, .ksp__btn--play:focus { background: #e6e6e6; }
.ksp__btn--ghost { background: rgba(15, 15, 20, .55); color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.ksp__btn--ghost:hover, .ksp__btn--ghost:focus { background: #fff; color: #0b0b10 !important; }
.ksp__btn--round { width: 3.1rem; padding: 0; background: rgba(15, 15, 20, .55); color: #fff; border-color: rgba(255, 255, 255, .55); }
.ksp__btn--round svg { margin: 0; width: 1.35rem; height: 1.35rem; }
.ksp__btn--round:hover, .ksp__btn--round:focus { background: #fff; color: #0b0b10; }
.ksp__btn--round .ksp__ic-ok { display: none; }
.ksp__btn--round.is-added .ksp__ic-add { display: none; }
.ksp__btn--round.is-added .ksp__ic-ok { display: block; }
.ksp__btn--round.is-added { background: #fff; color: #0b0b10; }
.ksp__btn:focus { outline: none; -webkit-box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }
.ksp__btn:active { -webkit-transform: scale(.97); transform: scale(.97); }

/* Săgeți laterale */
.ksp__nav { position: static; display: block !important; }
.ksp__arrow {
	position: absolute; z-index: 6; top: 50%; margin-top: -1.75rem;
	width: 3.5rem; height: 3.5rem;
	display: -webkit-box; display: -webkit-flex; display: flex;
	-webkit-box-align: center; -webkit-align-items: center; align-items: center;
	-webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
	color: #fff; cursor: pointer; background: transparent; border-radius: 50%;
	opacity: .85; -webkit-transition: opacity .2s, background .2s; transition: opacity .2s, background .2s;
}
.ksp__arrow svg { width: 2.1rem; height: 2.1rem; -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
.ksp__arrow:hover, .ksp__arrow:focus { opacity: 1; background: rgba(255, 255, 255, .14); outline: none; }
.ksp__arrow--prev { left: .9rem; }
.ksp__arrow--next { right: .9rem; }

/* Puncte */
.ksp__themepag { display: none !important; }
.ksp__dots { position: absolute; z-index: 6; left: 0; right: 0; bottom: 1.6rem; text-align: center; font-size: 0; }
.ksp__dot { display: inline-block; width: .55rem; height: .55rem; margin: 0 .3rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; -webkit-transition: width .3s, background .3s; transition: width .3s, background .3s; }
.ksp__dot.is-active { width: 1.6rem; background: #fff; }
.ksp__dot:focus { outline: none; -webkit-box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px #fff; }

/* Tabletă */
@media (max-width: 1100px) {
	.ksp__content { left: 3rem; width: 58%; }
	.ksp__title { font-size: 2.6rem; }
}
/* Telefon: imaginea sus, textul jos peste umbră */
@media (max-width: 767px) {
	.ksp .swiper.swiper-spotlight .swiper-wrapper .ksp__slide { height: 82vh !important; min-height: 30rem; max-height: 44rem !important; }
	.ksp__bg { object-position: 60% center; }
	.ksp__media.has-tall .ksp__bg--wide { display: none; }
	.ksp__media.has-tall .ksp__bg--tall { display: block; object-position: center 20%; }
	.ksp__poster { top: 6%; right: 50%; height: 48%; max-width: none; -webkit-transform: translateX(50%); transform: translateX(50%); }
	.ksp__shade {
		background: -webkit-linear-gradient(bottom, rgba(8, 8, 12, .98) 0%, rgba(8, 8, 12, .85) 30%, rgba(8, 8, 12, .2) 62%, rgba(8, 8, 12, 0) 80%);
		background: linear-gradient(0deg, rgba(8, 8, 12, .98) 0%, rgba(8, 8, 12, .85) 30%, rgba(8, 8, 12, .2) 62%, rgba(8, 8, 12, 0) 80%);
	}
	.ksp__content { left: 1rem; right: 1rem; bottom: 3.2rem; width: auto; text-align: center; }
	.ksp__pills, .ksp__meta, .ksp__actions { -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
	.ksp__rank { display: none; }
	.ksp__title { font-size: 1.85rem; }
	.ksp__avail { margin-top: .7rem; font-size: .9rem; }
	.ksp__meta { font-size: .8rem; }
	.ksp__desc { display: none; }
	.ksp__actions { margin-top: 1.1rem; }
	.ksp__btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: .8rem; margin-right: .5rem; }
	.ksp__btn--play { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; max-width: 13rem; }
	.ksp__btn--round { width: 2.75rem; padding: 0; margin-right: 0; }
	.ksp__arrow { display: none; }
	.ksp__dots { bottom: 1.1rem; }
}
/* TV / ecrane mari */
@media (min-width: 1800px) {
	.ksp__content { left: 6rem; bottom: 6rem; }
	.ksp__title { font-size: 4.4rem; }
	.ksp__avail { font-size: 1.25rem; }
	.ksp__meta { font-size: 1.1rem; }
	.ksp__desc { font-size: 1.05rem; max-width: 42rem; }
	.ksp__btn { min-height: 3.8rem; padding: 0 2.2rem; font-size: 1.1rem; }
	.ksp__btn--round { width: 3.8rem; padding: 0; }
	.ksp__arrow { width: 4.5rem; height: 4.5rem; margin-top: -2.25rem; }
	.ksp__dot { width: .75rem; height: .75rem; }
	.ksp__dot.is-active { width: 2.2rem; }
}
html.kira-tv-on .ksp__btn:focus, html.kira-tv-on .ksp__arrow:focus { -webkit-transform: scale(1.06); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .ksp__btn, .ksp__dot, .ksp__arrow { -webkit-transition: none; transition: none; } }
