/* =============================================
   CSC Vinyles — styles front v1.2
============================================= */

.csc-vinyls {
	font-family: 'Manrope', sans-serif;
	padding: 60px 40px;
	color: #b8bcc4;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.csc-vinyls * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.csc-vinyls-empty {
	text-align: center;
}

/* ─── GRILLE : 3 colonnes fixes sur desktop ─── */
.csc-vinyls-grid {
	display: grid;
	grid-template-columns: repeat(3, 320px);
	gap: 60px;
	justify-content: center;
	align-items: start;
	/* plus de transition sur la grille — c'est chaque item qui se déplace */
}

/* ─── UN ITEM ─── */
.csc-vinyls .item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	position: relative;
	overflow: visible;
	transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

/* ─── STAGE ─── */
.csc-vinyls .stage {
	position: relative;
	width: 320px;
	height: 320px;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	flex-shrink: 0;
}

/* ─── POCHETTE ─── */
.csc-vinyls .sleeve {
	position: absolute;
	inset: 0;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(145deg, #2a1f35 0%, #1a1228 40%, #0f0b18 100%);
	border: 1px solid rgba(255, 255, 255, .07);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .04),
		0 40px 80px rgba(0, 0, 0, .7),
		0 10px 30px rgba(0, 0, 0, .5);
	z-index: 2;
}

.csc-vinyls .sleeve::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(0deg,
			transparent, transparent 3px,
			rgba(255, 255, 255, .012) 3px, rgba(255, 255, 255, .012) 4px);
	pointer-events: none;
}

.csc-vinyls .sleeve-art {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
}

.csc-vinyls .sleeve-art img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.csc-vinyls .sleeve-circle {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 1.5px solid rgba(200, 150, 255, .15);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.csc-vinyls .sleeve-circle::before {
	content: '';
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 1px solid rgba(200, 150, 255, .08);
}

.csc-vinyls .sleeve-circle::after {
	content: '';
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(180, 100, 255, .18), rgba(100, 50, 180, .05));
	border: 1px solid rgba(200, 150, 255, .12);
}

.csc-vinyls .sleeve-title {
	font-family: 'Oswald', sans-serif;
	font-size: 13px;
	letter-spacing: .22em;
	color: rgba(255, 255, 255, .35);
	text-transform: uppercase;
	position: absolute;
	bottom: 22px;
	left: 0;
	right: 0;
	text-align: center;
}

.csc-vinyls .sleeve-artist {
	font-size: 9px;
	letter-spacing: .3em;
	color: rgba(255, 255, 255, .18);
	text-transform: uppercase;
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	text-align: center;
}

/* ─── VINYL ─── */
.csc-vinyls .vinyl {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 300px;
	margin-top: -150px;
	margin-left: -150px;
	border-radius: 50%;
	background: radial-gradient(circle at 46% 40%,
			#1e1e22 0%, #131315 30%, #0c0c0e 60%, #181819 80%, #0a0a0b 100%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px rgba(0, 0, 0, .8);
	z-index: 1;
	transform: translateX(30px);
	transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.csc-vinyls .vinyl.out {
	transform: translateX(200px);
}

.csc-vinyls .vinyl::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(ellipse 90% 60% at 35% 25%, rgba(255, 255, 255, .07) 0%, transparent 60%);
	pointer-events: none;
}

.csc-vinyls .vinyl-grooves {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
}

.csc-vinyls .vinyl-grooves svg {
	width: 100%;
	height: 100%;
}

.csc-vinyls .vinyl-inner {
	position: absolute;
	inset: 0;
	border-radius: 50%;
}

.csc-vinyls .vinyl-inner.spinning {
	animation: cscv-spin 1.8s linear infinite;
}

@keyframes cscv-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

/* étiquette */
.csc-vinyls .vinyl-label {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 110px;
	height: 110px;
	margin-top: -55px;
	margin-left: -55px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 38%, #f0e8d4 0%, #e4d8c0 50%, #cfc2a6 100%);
	border: 2px solid rgba(160, 80, 200, .6);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.csc-vinyls .vinyl-label img {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.csc-vinyls .vinyl-hole {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0a0a0b;
	box-shadow: inset 0 0 3px rgba(0, 0, 0, .9);
}

/* ─── INFOS SOUS LA POCHETTE ─── */
.csc-vinyls .item-title {
	font-family: 'Oswald', sans-serif;
	font-size: 15px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d0d3d9;
}

.csc-vinyls .item-artist {
	font-size: 11px;
	letter-spacing: .18em;
	color: #6b6e74;
	text-transform: uppercase;
}

/* ─── 2 colonnes : ≤ 800px desktop ─── */
@media (min-width: 769px) and (max-width: 1119px) {
	.csc-vinyls-grid {
		grid-template-columns: repeat(2, 320px);
	}
}

/* ─── 1 colonne : ≤ 768px (mobile) ─── */
@media (max-width: 768px) {
	.csc-vinyls {
		padding: 30px 15px;
	}

	.csc-vinyls-grid {
		grid-template-columns: 260px;
		gap: 40px;
	}

	.csc-vinyls .stage {
		width: 260px;
		height: 260px;
	}

	.csc-vinyls .vinyl {
		width: 240px;
		height: 240px;
		margin-left: -120px;
		margin-top: -120px;
	}

	.csc-vinyls .vinyl.out {
		transform: translateX(110px);
	}
}
