.anim-slide-up {
	opacity: 0;
	transform: translateY(24px);
	animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--d, 0s);
}

@keyframes slideUp {
	to {
		opacity: 1;
		transform: none;
	}
}

.fade-in-up {
	opacity: 0;
	transform: translateY(16px);
	animation: fadeInUp 0.6s ease forwards;
	animation-delay: calc(var(--i, 0) * 0.06s);
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: none;
	}
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

.books-grid .book-card {
	opacity: 0;
	transform: translateY(20px);
	animation: cardIn 0.4s ease-out forwards;
}

.books-grid .book-card:nth-child(1) {
	animation-delay: 0.05s;
}

.books-grid .book-card:nth-child(2) {
	animation-delay: 0.1s;
}

.books-grid .book-card:nth-child(3) {
	animation-delay: 0.15s;
}

.books-grid .book-card:nth-child(4) {
	animation-delay: 0.2s;
}

.books-grid .book-card:nth-child(5) {
	animation-delay: 0.25s;
}

.books-grid .book-card:nth-child(6) {
	animation-delay: 0.3s;
}

.books-grid .book-card:nth-child(7) {
	animation-delay: 0.35s;
}

.books-grid .book-card:nth-child(8) {
	animation-delay: 0.4s;
}

.books-grid .book-card:nth-child(9) {
	animation-delay: 0.45s;
}

.books-grid .book-card:nth-child(10) {
	animation-delay: 0.5s;
}

.books-grid .book-card:nth-child(11) {
	animation-delay: 0.55s;
}

.books-grid .book-card:nth-child(12) {
	animation-delay: 0.6s;
}

@keyframes cardIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.catalog-header, .book-detail, .reservations-page, .auth-section {
	animation: pageIn 0.35s ease-out;
}

@keyframes pageIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reservation-card {
	opacity: 0;
	transform: translateY(12px);
	animation: cardIn 0.35s ease-out forwards;
	animation-delay: calc(var(--i, 0) * 0.06s);
}