/* Minimal, non-breaking aesthetic enhancements for Emilien Lecoffre */

/* Base background with subtle gradient & texture */
html, body {
	background: radial-gradient(1200px 800px at 20% -10%, rgba(79, 70, 229, 0.25), transparent 60%),
		linear-gradient(180deg, #0b0b12 0%, #0b0b12 40%, #0a0a10 100%);
	color: #e8e9ee;
	font-synthesis-weight: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Typography tweaks */
h1.h4 {
	letter-spacing: 0.2px;
	color: #f5f6fb;
}
.subtitle {
	color: #b9bdd6;
	opacity: 0.95;
}

/* Avatar glow ring */
.avatar.avatar-icon.avatar-104 {
	position: relative;
	border-radius: 9999px;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.06),
		0 12px 30px rgba(0, 0, 0, 0.35),
		0 0 40px rgba(99, 102, 241, 0.25) inset;
}

/* Card refinements */
.card {
	background: linear-gradient(180deg, rgba(55, 65, 81, 0.35), rgba(31, 41, 55, 0.4)) !important;
	border-color: rgba(148, 163, 184, 0.25) !important;
	backdrop-filter: saturate(120%) blur(6px);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.card:hover, .card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(99, 102, 241, 0.25) inset;
	border-color: rgba(99, 102, 241, 0.45) !important;
}

/* Make clickable area feel crisp */
.clickable {
	border-radius: 14px !important;
}

/* Improve icons inside cards */
.card img.radius-sm {
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* Accent for external arrow icon */
.card svg.ai {
	color: #c7c8ff;
	opacity: 0.85;
}
.card:hover svg.ai {
	color: #e0e1ff;
	opacity: 1;
}

/* Stacked label (title + subtext) inside each link */
.link-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-left: 12px;
	margin-right: auto;
}
.link-title {
	color: #eef0fb;
	font-weight: 600;
}
.link-subtext {
	color: #b7bdd7;
	font-weight: 500;
	font-size: 0.9rem;
	opacity: 0.9;
}

/* Section spacing tightening on large screens */
@media (min-width: 1024px) {
	section .container.container-sm {
		max-width: 760px;
	}
}

/* Focus ring accessibility */
a:focus-visible {
	outline: 2px solid #7469ff;
	outline-offset: 3px;
	border-radius: 14px;
}

/* Backdrop subtle tint when modals are used */
.backdrop {
	background: rgba(2, 6, 23, 0.35);
}

/* Séparateur visuel discret entre les cartes */
.card-separator {
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, 
		transparent, 
		rgba(148, 163, 184, 0.15) 30%, 
		rgba(148, 163, 184, 0.15) 70%, 
		transparent);
	margin: 1.25rem 0;
	opacity: 0.5;
}

