/* Fox Drops — calendar of drops. The cards are the designer's images (they
   carry their own glow and colours); the page adds only the layout, the date
   and countdown in real text, and a sober hover in the V2 style. */

.fox-drops {
	--fox-drops-colonnes: 4;
	--fox-drops-ecart: 24px;
	--fox-drops-texte: var(--texte-doux, rgba(255, 255, 255, 0.72));
	--fox-drops-fort: var(--texte, #F8F8F8);
	--fox-drops-compte: var(--rouge-texte, #FF7A7E);
	color: var(--fox-drops-fort);
	font-family: var(--police, "Chakra Petch"), system-ui, sans-serif;
}

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

.fox-drops [hidden] {
	display: none !important;
}

.fox-drops__liste {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--fox-drops-ecart);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fox-drops__carte {
	display: flex;
	flex: 0 0 calc((100% - (var(--fox-drops-colonnes) - 1) * var(--fox-drops-ecart)) / var(--fox-drops-colonnes));
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

.fox-drops__cadre,
.fox-drops__lien {
	display: block;
}

.fox-drops__image {
	display: block;
	width: 100%;
	height: auto;
}

.fox-drops__lien {
	transition: transform 0.25s ease;
}

.fox-drops__lien:hover {
	transform: translateY(-6px);
}

.fox-drops__lien:focus-visible {
	outline: 2px solid var(--fox-drops-fort);
	outline-offset: 4px;
}

.fox-drops__quand {
	margin: 0;
	color: var(--fox-drops-texte);
	font-size: 14px;
	line-height: 1.45;
}

.fox-drops__quand time {
	display: block;
	color: var(--fox-drops-fort);
	font-weight: 600;
}

.fox-drops__compte {
	display: block;
	color: var(--fox-drops-compte);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.fox-drops__simulation {
	margin: 0 0 16px;
	padding: 8px 12px;
	border: 1px dashed var(--fox-drops-compte);
	color: var(--fox-drops-fort);
	font-size: 13px;
	text-align: center;
}

/* A card that has just unlocked in front of the visitor. */
.fox-drops__carte.vient-d-ouvrir .fox-drops__image {
	animation: fox-drops-ouvre 0.7s ease-out both;
}

@keyframes fox-drops-ouvre {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.fox-drops {
		--fox-drops-ecart: 14px;
	}

	.fox-drops__quand {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fox-drops__lien {
		transition: none;
	}

	.fox-drops__lien:hover {
		transform: none;
	}

	.fox-drops__carte.vient-d-ouvrir .fox-drops__image {
		animation: none;
	}
}
