/*!
Theme Name: exposcript
Author: exposcript
Author URI: https://www.exposcript.lu/
Text Domain: exposcript
Version: 1.0

*/

/* --- FONTS --- */
@font-face {
	font-family: 'DatCub';
	src: url('assets/fonts/DatCub-Bold.otf') format('opentype');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'VHS Gothic';
	src: url('assets/fonts/vhs-gothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--primary-pink: #f5aacb;
	--cyan: #4cbee3;
	--rose-pale: #f074a4;
	--purple: #ae3994;
	--pink: #f074a4;
	--white: #ffffff;
	--text-dark: #333333;
	--bg-gradient: linear-gradient(
		135deg,
		var(--primary-pink) 0%,
		var(--purple) 100%
	);
}

body {
	background-color: var(--primary-pink);
}

body.modal-open {
	overflow: hidden;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
	color: var(--white);
	border: none;
	border-radius: 50px;
	font-family: 'DatCub', sans-serif;
	font-size: 1rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(174, 57, 148, 0.3);
}

.btn-white {
	background: var(--white) !important;
	color: var(--purple) !important;
}

header {
	height: 200px;
	background-color: var(--cyan);
}

footer {
	padding: 50px 0;
	background-color: var(--purple);
	color: #fff;
}

footer .row {
	gap: 35px;
}

ul.social-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 10px;
	justify-content: center;
}

ul.social-links li a {
	text-decoration: none;
	background-color: #ffffff;
	color: var(--purple);
	font-size: 1.15rem;
	transition: color 0.3s ease;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	padding: 5px;
}

ul.social-links li a:hover {
	color: var(--text-dark);
}

/* --- PAGE FORMULAIRE --- */
.form-upload-page {
	min-height: 100vh;
	background: var(--bg-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
}

.form-container {
	width: 100%;
	max-width: 700px;
	margin: 80px auto;
}

.form-wrapper {
	background: var(--white);
	border-radius: 30px;
	padding: 50px 40px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-wrapper h3 {
	font-family: 'DatCub', sans-serif;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 2.5rem;
	color: var(--purple);
	text-align: center;
	margin: 0 0 40px;
	letter-spacing: 2px;
}

.form-item {
	margin-bottom: 25px;
}

.form-item--checkbox {
	margin-top: 30px;
}

.form-item--submit {
	margin-bottom: 0;
}

.form-item .required {
	font-family: Arial, sans-serif;
	color: var(--pink);
	font-weight: bold;
}

.form-help {
	display: block;
	margin-top: 8px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.8rem;
	color: rgba(51, 51, 51, 0.7);
	letter-spacing: -0.4px;
}

.form-error {
	display: block;
	min-height: 1.2em;
	margin-top: 8px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.8rem;
	color: #ff4757;
}

.form-status {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: 16px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.95rem;
	line-height: 1.4;
	border: 2px solid transparent;
	background: rgba(255, 255, 255, 0.7);
}

.form-status.is-info {
	border-color: var(--purple);
	color: var(--purple);
	background: rgba(174, 57, 148, 0.08);
}

.form-status.is-success {
	border-color: var(--cyan);
	color: #146a7a;
	background: rgba(76, 190, 227, 0.12);
}

.form-status.is-error {
	border-color: #ff4757;
	color: #c63144;
	background: rgba(255, 71, 87, 0.12);
}

.form-progress {
	margin-bottom: 24px;
	padding: 18px 20px 20px;
	border: 3px solid var(--text-dark);
	border-radius: 0;
	background:
		linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
		repeating-linear-gradient(
			90deg,
			rgba(174, 57, 148, 0.08) 0,
			rgba(174, 57, 148, 0.08) 12px,
			transparent 12px,
			transparent 24px
		);
	box-shadow: 8px 8px 0 rgba(51, 51, 51, 0.18);
}

.form-progress__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 12px;
	font-family: 'DatCub', sans-serif;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-dark);
}

.form-progress__track {
	position: relative;
	height: 28px;
	border: 3px solid var(--text-dark);
	background: #f7f7f7;
	overflow: hidden;
	box-shadow: inset 0 0 0 2px rgba(51, 51, 51, 0.08);
}

.form-progress__bar {
	width: 0;
	height: 100%;
	background: var(--pink);
	transition:
		width 0.35s ease,
		background-color 0.25s ease;
}

.form-progress__bar.is-complete {
	background: #2fbf5a;
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-weight: normal;
	font-size: 0.95rem;
	letter-spacing: -1px;
	margin-bottom: 0;
}

.form-checkbox span {
	flex: 1;
}

.form-submit-button {
	width: 100%;
	padding: 18px 40px;
	background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
	color: var(--white);
	border: none;
	border-radius: 50px;
	font-family: 'DatCub', sans-serif;
	font-size: 1.3rem;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(174, 57, 148, 0.3);
}

.form-submit-button:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(174, 57, 148, 0.4);
	background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
}

.form-submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.form-finish {
	text-align: center;
	margin-top: 12px;
}

.form-finish-message {
	margin: 0 0 16px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 1rem;
	color: var(--text-dark);
}

.form-restart-button {
	display: inline-block;
	padding: 14px 30px;
	border: 3px solid var(--text-dark);
	background: var(--cyan);
	color: var(--text-dark);
	font-family: 'DatCub', sans-serif;
	font-size: 1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 6px 6px 0 rgba(51, 51, 51, 0.2);
	transition:
		transform 0.2s steps(2, end),
		box-shadow 0.2s ease;
}

.form-restart-button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 rgba(51, 51, 51, 0.2);
}

.form-restart-button:focus-visible {
	outline: 3px solid var(--pink);
	outline-offset: 2px;
}

.form-wrapper label {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 1.1rem;
	color: var(--text-dark);
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
	transition: color 0.3s ease;
}

.form-wrapper input[type='text'],
.form-wrapper input[type='email'],
.form-wrapper input[type='file'],
.form-wrapper textarea,
.form-wrapper select {
	width: 100%;
	padding: 15px 20px;
	border: 2px solid var(--primary-pink);
	border: 0;
	background-color: #f0f0f0;
	border-radius: 25px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 1rem;
	color: var(--text-dark);
	/* transition: all 0.3s ease; */
	outline: none;
}

.form-wrapper input[type='text']:focus,
.form-wrapper input[type='email']:focus,
.form-wrapper textarea:focus,
.form-wrapper select:focus {
	border-color: var(--purple);
	box-shadow: 0 0 0 2px rgba(174, 57, 148, 0.1);
}

.form-wrapper input.is-invalid,
.form-wrapper textarea.is-invalid,
.form-wrapper select.is-invalid {
	box-shadow: 0 0 0 2px #ff4757;
}

.form-wrapper textarea {
	min-height: 150px;
	resize: vertical;
}

.form-wrapper input[type='file'] {
	font-size: 0.8rem;
	padding: 15px;
	cursor: pointer;
	/* background: linear-gradient(135deg, var(--cyan) 0%, var(--primary-pink) 100%); */
	/* color: var(--white); */
	border: none;
	font-weight: bold;
	letter-spacing: -1px;
	border: 2px dotted var(--primary-pink);
}

.form-wrapper input[type='file']::file-selector-button {
	padding: 10px 20px;
	border: none;
	background: var(--purple);
	color: var(--white);
	border-radius: 10px;
	cursor: pointer;
	font-family: 'VHS Gothic', sans-serif;
	font-weight: bold;
	margin-right: 15px;
	transition: background 0.3s ease;
}

.form-wrapper input[type='file']::file-selector-button:hover {
	background: var(--pink);
}

.form-wrapper select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23AE3994' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding-right: 45px;
}

.form-wrapper select:hover {
	border-color: var(--cyan);
}

.form-wrapper input::placeholder,
.form-wrapper textarea::placeholder {
	color: rgba(51, 51, 51, 0.4);
	font-style: italic;
}

.form-wrapper .wpcf7-acceptance {
	margin: 30px 0;
}

.form-wrapper .wpcf7-list-item {
	margin: 0;
}

.form-wrapper .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: normal;
	font-size: 0.95rem;
	cursor: pointer;
	letter-spacing: -1px;
}

.form-wrapper input[type='checkbox'] {
	width: 20px;
	height: 20px;
	min-width: 20px;
	accent-color: var(--purple);
	cursor: pointer;
	margin: 0;
}

.form-wrapper input[type='submit'] {
	width: 100%;
	padding: 18px 40px;
	background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
	color: var(--white);
	border: none;
	border-radius: 50px;
	font-family: 'DatCub', sans-serif;
	font-size: 1.3rem;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(174, 57, 148, 0.3);
}

.form-wrapper input[type='submit']:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(174, 57, 148, 0.4);
	background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
}

.form-wrapper input[type='submit']:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.custom-upload-form.is-submitting {
	pointer-events: none;
}

.custom-upload-form.is-submitting .form-submit-button,
.custom-upload-form.is-submitting input,
.custom-upload-form.is-submitting textarea,
.custom-upload-form.is-submitting select {
	pointer-events: none;
}

.form-wrapper .wpcf7-spinner {
	margin-left: 15px;
	vertical-align: middle;
}

.form-wrapper .wpcf7-not-valid {
	box-shadow: 0 0 0 2px #ff4757;
}

.form-wrapper .wpcf7-not-valid-tip {
	text-align: right;
	color: #ff4757;
	font-size: 0.75rem;
	margin-top: 5px;
	display: block;
	font-family: 'VHS Gothic', sans-serif;
}

.form-wrapper .wpcf7-response-output {
	margin: 30px 0 0;
	padding: 20px;
	border-radius: 15px;
	font-family: 'VHS Gothic', sans-serif;
	text-align: center;
}

.form-wrapper .wpcf7-mail-sent-ok {
	background: rgba(76, 190, 227, 0.1);
	border: 2px solid var(--cyan);
	color: var(--cyan);
}

.form-wrapper .wpcf7-validation-errors,
.form-wrapper .wpcf7-mail-sent-ng {
	background: rgba(255, 71, 87, 0.1);
	border: 2px solid #ff4757;
	color: #ff4757;
}

.wpcf7 form .wpcf7-response-output {
	padding: 20px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.form-wrapper {
	animation: fadeIn 0.6s ease-out;
}

@media (max-width: 768px) {
	.form-wrapper {
		padding: 35px 25px;
		border-radius: 20px;
	}

	.form-wrapper h3 {
		font-size: 1.8rem;
		margin-bottom: 30px;
	}

	.form-wrapper input[type='submit'] {
		font-size: 1.1rem;
		padding: 15px 30px;
	}

	.form-submit-button {
		font-size: 1.1rem;
		padding: 15px 30px;
	}

	.form-progress {
		padding: 16px;
		box-shadow: 5px 5px 0 rgba(51, 51, 51, 0.18);
	}

	.form-upload-page {
		padding: 20px 15px;
	}
}

@media (max-width: 480px) {
	.form-wrapper h3 {
		font-size: 1.5rem;
		letter-spacing: 1px;
	}

	.form-wrapper label {
		font-size: 1rem;
	}

	.form-wrapper input[type='text'],
	.form-wrapper textarea,
	.form-wrapper select {
		padding: 12px 15px;
		font-size: 0.95rem;
	}

	.form-progress__header {
		font-size: 0.8rem;
	}

	.form-progress__track {
		height: 24px;
	}
}

.form-wrapper input:focus-visible,
.form-wrapper textarea:focus-visible,
.form-wrapper select:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
}

/* Photos wall */
.photos-wall-page {
	min-height: 100vh;
	padding: 20px 0;
}

.photos-wall-container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 15px;
}

/* --- PHOTOS GRID (1 photo per row) --- */
.photos-grid {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 40px;
}

/* --- PHOTO CARD --- */
.photo-card {
	background: var(--white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	animation: fadeInUp 0.4s ease-out;
	/* Allow content to determine height */
	height: fit-content;
}

/* .photo-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(174, 57, 148, 0.2);
} */

/* --- IMAGE CONTAINER --- */
.photo-card__image {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #f0f0f0;
}

.photo-card__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transition: transform 0.3s ease;
}

/* .photo-card:hover .photo-card__image img {
	transform: scale(1.05);
} */

/* Photo type badge */
.photo-card__type {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
	color: var(--white);
	padding: 8px 16px;
	border-radius: 20px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.85rem;
	font-weight: bold;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- CARD CONTENT --- */
.photo-card__content {
	padding: 20px;
}

.photo-card__title {
	font-family: 'DatCub', sans-serif;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 1.3rem;
	/* color: var(--purple); */
	font-weight: 900;
	margin: 0 0 10px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.photo-card__description {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.95rem;
	color: var(--text-dark);
	line-height: 1.6;
	margin: 0 0 15px;
	/* Limit to 3 lines */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --- REACTIONS --- */
.photo-card__reactions {
	margin: 15px 0;
}

.photo-card__reactions-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	padding: 8px;
	background: linear-gradient(135deg, var(--primary-pink) 0%, var(--cyan) 100%);
	border: none;
	border-radius: 50px;
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	color: var(--white);
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(76, 190, 227, 0.3);
}

.photo-card__reactions-trigger:active {
	transform: translateY(0);
}

.photo-card__reactions-icon {
	font-size: 1.2rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

.photo-card__reactions-icons-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 0;
}

.photo-card__reactions img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
	border-radius: 50%;
	position: relative;
}

.photo-card__reactions img.emoji {
	width: 24px !important;
	height: 24px !important;
}

.photo-card__reactions-icons-wrapper img:not(:first-child) {
	margin-left: -10px;
}

.photo-card__reactions-icons-wrapper img:nth-child(1) {
	z-index: 3;
}

.photo-card__reactions-icons-wrapper img:nth-child(2) {
	z-index: 2;
}

.photo-card__reactions-icons-wrapper img:nth-child(3) {
	z-index: 1;
}

.photo-card__reactions-count {
	font-weight: bold;
	min-width: 20px;
	text-align: center;
	height: 24px;
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
}

/* --- REACTIONS TIPPY --- */
.tippy-box {
	background: var(--cyan);
}

.tippy-arrow {
	color: var(--cyan);
}

.tippy-reaction-btn {
	border: 0;
	background-color: transparent;
	background-color: rgba(255, 255, 255, 0.2);
	transition: all 0.2s ease;
	will-change: transform, background-color;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.tippy-reaction-btn:hover,
.tippy-reaction-btn:focus-visible {
	transform: scale(1.05);
	background-color: rgba(255, 255, 255, 0.75);
}

.tippy-reaction-btn.active {
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.5);
}

.tippy-reaction-btn img {
	width: 1.5rem;
	height: 1.5rem;
}

/* --- REACTIONS MODAL --- */
.reactions-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.reactions-modal.active {
	display: flex;
	opacity: 1;
}

.reactions-modal__content {
	background: var(--white);
	border-radius: 30px;
	padding: 30px;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.reactions-modal.active .reactions-modal__content {
	transform: scale(1);
}

.reactions-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--primary-pink);
}

.reactions-modal__title {
	font-family: 'DatCub', sans-serif;
	font-size: 1.8rem;
	color: var(--purple);
	margin: 0;
}

.reactions-modal__close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--text-dark);
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.reactions-modal__close:hover {
	background: rgba(245, 170, 203, 0.2);
	color: var(--purple);
}

.reactions-modal__grid {
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: space-between;
}

.reactions-modal__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 15px 10px;
	background: var(--white);
	border: 3px solid var(--primary-pink);
	border-radius: 15px;
	position: relative;
	padding: 0;
	border: 0;
}

.reactions-modal__score img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
	transition: transform 0.3s ease;
}

.reactions-modal__button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 10px;
	background: var(--white);
	border: 3px solid var(--primary-pink);
	border-radius: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.reactions-modal__button:hover {
	transform: translateY(-5px) scale(1.05);
	border-color: var(--cyan);
	box-shadow: 0 8px 20px rgba(76, 190, 227, 0.3);
}

.reactions-modal__button:active {
	transform: translateY(-2px) scale(1.02);
}

.reactions-modal__button.active {
	background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
	border-color: var(--purple);
	box-shadow: 0 8px 25px rgba(174, 57, 148, 0.4);
}

.reactions-modal__button.active .reactions-modal__count {
	color: var(--white);
}

.reactions-modal__button img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
	transition: transform 0.3s ease;
}

.reactions-modal__button:hover img {
	transform: scale(1.15);
}

.reactions-modal__button.active img {
	filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.5));
}

.reactions-modal__count {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	color: var(--text-dark);
	transition: color 0.3s ease;
}

.photo-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid rgba(245, 170, 203, 0.3);
}

.photo-card__lycee {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.9rem;
	color: var(--cyan);
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 6px;
}

.photo-card__date {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.85rem;
	color: rgba(51, 51, 51, 0.6);
}

/* --- REACTIONS BADGE OVERLAY --- */
.photo-card__reactions-badge {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border: 0;
	padding: 8px 12px;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	animation: slideInUp 0.3s ease-out;
	-webkit-appearance: none;
	appearance: none;
	transition: all 0.3s ease;
}

.photo-card__reactions-badge:hover,
.photo-card__reactions-badge:focus-visible {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	transform: scale(1.05);
}

.photo-card__reactions-badge-icons {
	display: flex;
	align-items: center;
	gap: -8px;
}

img.photo-card__reactions-badge-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
	border-radius: 50%;
	position: relative;
	margin-left: -8px;
}

.photo-card__reactions-badge-icon:first-child {
	margin-left: 0;
	z-index: 3;
}

.photo-card__reactions-badge-icon:nth-child(2) {
	z-index: 2;
}

.photo-card__reactions-badge-icon:nth-child(3) {
	z-index: 1;
}

.photo-card__reactions-badge-count {
	font-family: 'VHS Gothic', sans-serif;
	font-size: 0.85rem;
	font-weight: bold;
	color: var(--text-dark);
	min-width: 20px;
	text-align: center;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- LOADING INDICATOR --- */
.loading-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.loading-indicator.visible {
	opacity: 1;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(245, 170, 203, 0.3);
	border-top-color: var(--purple);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.loading-indicator p {
	margin-top: 15px;
	font-family: 'VHS Gothic', sans-serif;
	color: var(--white);
	font-size: 1rem;
}

/* --- END MESSAGE --- */
.end-message {
	text-align: center;
	padding: 40px 20px;
	font-family: 'DatCub', sans-serif;
	font-size: 1.5rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* --- SKELETON LOADING (initial state) --- */
.photo-card.skeleton {
	pointer-events: none;
}

.photo-card.skeleton .photo-card__image {
	height: 250px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

.photo-card.skeleton .photo-card__title,
.photo-card.skeleton .photo-card__description,
.photo-card.skeleton .photo-card__lycee {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	color: transparent;
	border-radius: 4px;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
	.photos-grid {
		gap: 25px;
	}
}

@media (max-width: 768px) {
	.photos-wall-page {
		padding: 15px 0;
	}

	.photos-grid {
		gap: 20px;
	}

	.photo-card__content {
		padding: 15px;
	}

	.photo-card__title {
		font-size: 1.1rem;
	}

	.photo-card__description {
		font-size: 0.9rem;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.photo-card__type {
		padding: 6px 12px;
		font-size: 0.75rem;
		top: 10px;
		right: 10px;
	}

	/* Reactions responsive */
	.reactions-modal__content {
		padding: 25px 20px;
		max-height: 85vh;
	}

	.reactions-modal__title {
		font-size: 1.5rem;
	}

	.reactions-modal__grid {
		grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
		gap: 12px;
	}

	.reactions-modal__button {
		padding: 12px 8px;
	}

	.reactions-modal__button img {
		width: 35px;
		height: 35px;
	}
}

@media (max-width: 480px) {
	.photos-grid {
		gap: 15px;
	}

	.photo-card__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	/* Reactions mobile */
	.reactions-modal {
		padding: 10px;
	}

	.reactions-modal__content {
		padding: 20px 15px;
		border-radius: 20px;
	}

	.reactions-modal__title {
		font-size: 1.3rem;
	}

	.reactions-modal__grid {
		grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
		gap: 10px;
	}

	.reactions-modal__button {
		padding: 10px 6px;
	}

	.reactions-modal__button img {
		width: 30px;
		height: 30px;
	}

	.reactions-modal__count {
		font-size: 0.8rem;
	}

	.photo-card__reactions-trigger {
		padding: 6px;
		font-size: 0.85rem;
	}

	.photo-card__reactions-count {
		padding: 0 6px;
	}

	.photo-card__reactions-icon-img {
		width: 20px;
		height: 20px;
	}

	.reactions-modal__score img {
		width: 30px;
		height: 30px;
	}

	.tippy-reaction-btn {
		width: 35px;
		height: 35px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.photo-card,
	.spinner {
		animation: none;
	}

	.photo-card:hover {
		transform: none;
	}

	.photo-card:hover .photo-card__image img {
		transform: none;
	}
}

/* --- ACCESSIBILITY --- */
.photo-card:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 4px;
}

.reactions-modal__button:focus-visible,
.reactions-modal__close:focus-visible,
.photo-card__reactions-trigger:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 3px;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--cyan);
	color: var(--white);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease;
	z-index: 1000;
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(174, 57, 148, 0.5);
}

.scroll-to-top:active {
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
		font-size: 1.1rem;
	}
}
