/* Thème BobyShow : mauve, crépuscule, étoiles. */

:root {
	--bst-fond: #0d0a14;
	--bst-fond-2: #110d1a;
	--bst-carte: #15111f;
	--bst-carte-2: #1c1530;
	--bst-texte: #eee8f8;
	--bst-doux: #a99bc4;
	--bst-blanc: #fff;
	--bst-accent: #b794f6;
	--bst-or: #f5c04a;
	--bst-vert: #7cf0c5;
	--bst-ligne: rgba(183, 148, 246, 0.14);
	--bst-titre: "Inter Tight", Inter, system-ui, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body.bobyshow {
	margin: 0;
	background: var(--bst-fond);
	color: var(--bst-texte);
	font: 16px/1.6 Inter, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.bobyshow a {
	color: #d9c6ff;
}

body.bobyshow a:hover {
	color: var(--bst-blanc);
}

body.bobyshow img {
	max-width: 100%;
	height: auto;
}

body.bobyshow :focus-visible {
	outline: 3px solid var(--bst-or);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bst-sauter:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--bst-or);
	color: #241700 !important;
}

.bst-conteneur {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

h1,
h2,
h3 {
	font-family: var(--bst-titre);
	color: var(--bst-blanc);
	letter-spacing: -0.02em;
}

/* Boutons */
.bst-btn,
body.bobyshow a.bst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid var(--bst-accent);
	border-radius: 12px;
	background: var(--bst-accent);
	color: #14091f;
	font: 700 15px Inter, system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
}

.bst-btn--contour,
body.bobyshow a.bst-btn--contour {
	background: transparent;
	color: var(--bst-texte);
	border-color: rgba(255, 255, 255, 0.24);
}

.bst-btn--grand {
	min-height: 52px;
	padding: 0 28px;
	font-size: 16px;
}

.bst-lien,
body.bobyshow a.bst-lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	color: var(--bst-texte);
	font-weight: 600;
	text-decoration: none;
}

/* En-tête */
.bst-entete {
	position: relative;
	z-index: 10;
	border-bottom: 1px solid var(--bst-ligne);
	background: var(--bst-fond);
}

.bst-entete--accueil {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	border-bottom: 0;
	background: transparent;
}

.admin-bar .bst-entete--accueil {
	top: 32px;
}

.bst-entete-rangee {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 80px;
}

.bst-logo,
body.bobyshow a.bst-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-logo-etoile {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--bst-accent);
	color: #14091f;
}

.bst-logo-nom {
	font-family: var(--bst-titre);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.bst-logo-nom span {
	font-weight: 600;
	color: #bfafdd;
}

.bst-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}

.bst-nav-liste {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-nav-liste a,
body.bobyshow .bst-nav-liste a {
	color: #e6ddf5;
	font-weight: 500;
	text-decoration: none;
}

.bst-compte {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bst-menu-bouton {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: transparent;
	color: var(--bst-blanc);
	cursor: pointer;
}

@media (max-width: 900px) {

	.bst-menu-bouton {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.bst-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		padding: 20px 24px;
		background: var(--bst-fond);
		border-bottom: 1px solid var(--bst-ligne);
	}

	.bst-menu.est-ouvert {
		display: flex;
	}

	.bst-nav-liste {
		flex-direction: column;
	}

	.bst-nav-liste a {
		display: block;
		padding: 10px 0;
	}
}

/* Héros */
.bst-heros {
	position: relative;
	overflow: hidden;
	min-height: 720px;
	display: flex;
	align-items: flex-end;
}

.bst-heros-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: 55% 40%;
}

.bst-heros::before,
.bst-heros::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bst-heros::before {
	background: linear-gradient(90deg, rgba(13, 10, 20, 0.92) 0%, rgba(13, 10, 20, 0.65) 40%, rgba(13, 10, 20, 0.1) 75%);
}

.bst-heros::after {
	top: auto;
	height: 220px;
	background: linear-gradient(180deg, rgba(13, 10, 20, 0) 0%, var(--bst-fond) 100%);
}

.bst-heros-contenu {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-top: 160px;
	padding-bottom: 96px;
}

.bst-heros-texte {
	flex: 1 1 520px;
	max-width: 660px;
}

.bst-surtitre {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bst-accent);
}

.bst-heros h1 {
	margin: 0;
	font-size: clamp(40px, 5.4vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.bst-heros-intro {
	max-width: 560px;
	margin: 20px 0 28px;
	font-size: clamp(16px, 1.5vw, 19px);
	color: #d8ceea;
}

.bst-recherche {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 620px;
	padding: 6px;
	border-radius: 14px;
	background: rgba(13, 10, 20, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(12px);
}

.bst-recherche input[type="search"] {
	flex: 1 1 240px;
	min-width: 0;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--bst-blanc);
	font: 16px Inter, system-ui, sans-serif;
}

.bst-recherche input::placeholder {
	color: var(--bst-doux);
}

.bst-populaires {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 14px;
	color: #bfafdd;
}

.bst-populaires a,
body.bobyshow .bst-populaires a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(13, 10, 20, 0.5);
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-direct {
	flex: 0 1 360px;
	padding: 20px;
	border-radius: 18px;
	background: rgba(13, 10, 20, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
}

.bst-direct-titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bst-blanc);
}

.bst-pastille-vivant {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bst-vert);
	animation: bst-pouls 2s ease-in-out infinite;
}

@keyframes bst-pouls {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(124, 240, 197, 0.6);
	}

	50% {
		box-shadow: 0 0 0 6px rgba(124, 240, 197, 0);
	}
}

.bst-direct ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bst-direct a,
body.bobyshow .bst-direct a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--bst-texte);
	font-size: 14px;
	text-decoration: none;
}

.bst-direct-affiche {
	width: 40px !important;
	height: 54px !important;
	flex: none;
	object-fit: cover;
	border-radius: 6px;
}

/* Sections */
.bst-section {
	padding-top: 40px;
	padding-bottom: 56px;
}

.bst-section-entete {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
	margin-bottom: 22px;
}

.bst-section-entete h2,
.bst-bande h2 {
	margin: 0;
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
}

.bst-meta {
	margin: 0;
	font-size: 14px;
	color: var(--bst-doux);
}

.bst-meta-forte {
	margin: 0;
	font-weight: 600;
	color: #d9c6ff;
}

.bst-texte {
	font-size: 17px;
	line-height: 1.65;
	color: #d8ceea;
}

.bst-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bst-etiquette {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(13, 10, 20, 0.78);
	color: var(--bst-blanc);
	font-size: 13px;
	font-weight: 700;
}

.bst-etiquette--or {
	background: var(--bst-or);
	color: #241700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Vedette */
.bst-vedette {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 28px;
	border-radius: 24px;
	background: var(--bst-carte);
	border: 1px solid var(--bst-ligne);
}

.bst-vedette-image {
	position: relative;
	flex: 0 1 340px;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
}

.bst-vedette-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.bst-vedette-image .bst-etiquette {
	position: absolute;
	top: 14px;
	left: 14px;
}

.bst-vedette-texte {
	flex: 1 1 400px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bst-vedette-texte h2 {
	margin: 0;
	font-size: clamp(32px, 3.4vw, 46px);
	line-height: 1.04;
}

.bst-vedette-texte h2 a,
body.bobyshow .bst-vedette-texte h2 a {
	color: var(--bst-blanc);
	text-decoration: none;
}

.bst-puces {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-puces li {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(183, 148, 246, 0.3);
	font-size: 13px;
	font-weight: 600;
}

/* Bientôt */
.bst-bientot {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	padding: 40px;
	border-radius: 24px;
	background: linear-gradient(120deg, #1c1230 0%, #2a1a48 55%, #3a2667 100%);
	border: 1px solid rgba(183, 148, 246, 0.3);
}

.bst-bientot-texte {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.bst-bientot-texte h2 {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.04;
}

.bst-bientot-affiche {
	position: relative;
	flex: 0 0 240px;
	height: 360px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.bst-bientot-affiche img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.bst-bientot-titre {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	font-family: var(--bst-titre);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.05;
	color: var(--bst-blanc);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Affiches défilantes */
.bst-defilant {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 14px;
	scrollbar-width: thin;
	scrollbar-color: #3a2f55 transparent;
}

.bst-affiche,
body.bobyshow a.bst-affiche {
	flex: 0 0 200px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--bst-texte);
	text-decoration: none;
}

.bst-affiche-image {
	display: block;
	aspect-ratio: 2 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: var(--bst-carte-2);
}

.bst-affiche-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.bst-affiche:hover .bst-affiche-image img {
	transform: scale(1.05);
}

.bst-affiche-titre {
	font-weight: 700;
	color: var(--bst-blanc);
}

/* Critiques récentes */
.bst-bande {
	margin: 40px 0;
	padding: 80px 0;
	background: var(--bst-fond-2);
	border-top: 1px solid var(--bst-ligne);
	border-bottom: 1px solid var(--bst-ligne);
}

.bst-grille-critiques {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 26px;
}

.bst-critique {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border-radius: 18px;
	background: var(--bst-carte);
	border: 1px solid var(--bst-ligne);
}

.bst-critique-entete {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bst-critique-entete img {
	width: 52px !important;
	height: 76px !important;
	object-fit: cover;
	border-radius: 8px;
}

.bst-critique-entete strong {
	display: block;
	color: var(--bst-blanc);
}

.bst-critique blockquote {
	flex: 1;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #e6ddf5;
}

.bst-critique figcaption {
	padding-top: 12px;
	border-top: 1px solid var(--bst-ligne);
	font-size: 14px;
	color: var(--bst-doux);
}

/* Devenir membre */
.bst-membre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 40px;
	border-radius: 24px;
	background: var(--bst-carte-2);
	border: 1px solid var(--bst-accent);
	box-shadow: 0 24px 60px rgba(120, 80, 200, 0.22);
}

.bst-membre > div {
	flex: 1 1 380px;
}

.bst-membre h2 {
	margin: 0;
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.05;
}

.bst-avantages {
	flex: 1 1 320px;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bst-avantages li {
	position: relative;
	padding-left: 32px;
	font-size: 16px;
}

.bst-avantages li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--bst-vert);
	font-weight: 800;
}

/* Pages intérieures */
.bst-page {
	padding-top: 48px;
	padding-bottom: 96px;
}

.bst-page-entete {
	margin-bottom: 28px;
}

.bst-page-entete h1 {
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
}

.bst-contenu {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.75;
}

.bst-une img {
	border-radius: 18px;
	margin-bottom: 24px;
}

.bst-404 {
	text-align: center;
}

.bst-404 .bst-recherche {
	margin: 24px auto;
}

/* Fiche d'une œuvre : fond flouté de l'affiche derrière le haut de fiche */
.single-bs_oeuvre .bs-fiche-hero {
	position: relative;
}

/* Pied de page */
.bst-pied {
	margin-top: 40px;
	background: #09070f;
	border-top: 1px solid var(--bst-ligne);
}

.bst-pied-haut {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
	padding-top: 52px;
	padding-bottom: 32px;
}

.bst-pied-marque p {
	max-width: 320px;
	color: var(--bst-doux);
}

.bst-pied-liens {
	display: grid;
	grid-template-columns: repeat(2, minmax(140px, 1fr));
	gap: 10px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-pied-liens a,
body.bobyshow .bst-pied-liens a {
	color: #cfc4e2;
	text-decoration: none;
}

.bst-pied-bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	padding-top: 22px;
	padding-bottom: 28px;
	border-top: 1px solid var(--bst-ligne);
	font-size: 13px;
	color: #8f82ad;
}

.bst-pied-bas p {
	margin: 0;
}

.bst-tmdb {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bst-tmdb a {
	font-weight: 800;
	color: #90cea1;
	text-decoration: none;
}

@media (max-width: 782px) {

	.admin-bar .bst-entete--accueil {
		top: 46px;
	}

	.bst-heros {
		min-height: 0;
	}

	.bst-heros-contenu {
		padding-top: 130px;
		padding-bottom: 64px;
	}

	.bst-vedette,
	.bst-bientot,
	.bst-membre {
		padding: 22px;
	}

	.bst-bientot-affiche {
		flex-basis: 100%;
		height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.bst-pastille-vivant {
		animation: none;
	}

	.bst-affiche-image img {
		transition: none;
	}
}
