/* Playlore [pl_horizontal] character-lineup promo — Variant A theme.
   Class prefix `pl-` (renamed from the design's `cl-` for namespace consistency). */

.pl-promo {
	max-width: 760px;
	margin: 32px auto;
	padding: 22px;
	border-radius: 18px;
	background: #15161a;
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.5);
	color: #ffffff;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}

.pl-promo *,
.pl-promo *::before,
.pl-promo *::after {
	box-sizing: border-box;
}

/* ---------- Header ---------- */
.pl-promo__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 2px 4px 16px;
}

.pl-promo__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff;
	text-wrap: pretty;
}

.pl-promo__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.55);
	white-space: nowrap;
}

.pl-promo__eyebrow-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3ddc84;
	box-shadow: 0 0 8px #3ddc84;
}

/* ---------- Grid ---------- */
.pl-promo__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

/* ---------- Tile ---------- */
.pl-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	overflow: hidden;
	background: #1d1f25;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.pl-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pl-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pl-tile::after {
	/* Legibility fade behind the name */
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(
		to top,
		rgba(15, 15, 18, 0.95) 0%,
		rgba(15, 15, 18, 0.4) 55%,
		transparent 100%
	);
	pointer-events: none;
}

.pl-tile__status {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px 4px 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
	z-index: 1;
}

.pl-tile__status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3ddc84;
	box-shadow: 0 0 6px #3ddc84;
}

.pl-tile__name {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	z-index: 1;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.pl-tile__sub {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.65);
}

/* Placeholder fallback when no <img> is present (used by previews/loading states) */
.pl-tile--placeholder {
	background: linear-gradient(135deg, #232730 0%, #1a1d23 100%);
}

.pl-tile--placeholder::before {
	content: attr(data-label);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.25);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.pl-promo__footer {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 4px 4px 0;
}

.pl-promo__pitch {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.55);
}

.pl-promo__pitch b,
.pl-promo__pitch strong {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
}

.pl-promo__cta {
	flex: 0 0 auto;
	padding: 11px 18px;
	border: none;
	border-radius: 11px;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform 150ms ease, background-color 150ms ease;
	white-space: nowrap;
}

.pl-promo__cta:hover {
	background: #f3f3f3;
	color: #111111;
}

.pl-promo__cta:active {
	transform: scale(0.98);
}

.pl-promo__cta-arrow {
	font-size: 13px;
	opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
	.pl-promo {
		padding: 16px;
		border-radius: 16px;
	}
	.pl-promo__grid {
		gap: 8px;
	}
	.pl-promo__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.pl-promo__footer {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.pl-promo__cta {
		width: 100%;
		justify-content: center;
	}
	.pl-tile__name {
		font-size: 12px;
	}
	.pl-tile__sub {
		display: none;
	}
}

@media (max-width: 380px) {
	.pl-promo__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
