/* CSS
	infos ℹ️ : styles principaux
	Version By sync - Boulette (V7.0.0) */

/* THÈME */
:root {
	--bg-dark: #333333;
	--angelique-blue: #00f2ff;
	--angelique-pink: #ff00c1;
	--angelique-neon: #39ff14;
	--angelique-orange: #FF6600;
	--glass: rgba(255, 255, 255, 0.05);
	--text-glow: 0 0 10px rgba(0, 242, 255, 0.8);
}

body {
	background-color: var(--bg-dark);
	background-image: radial-gradient(circle at center, #333333 0%, #02050a 100%);
	color: #ffffff;
	font-family: 'Orbitron', 'Segoe UI', sans-serif;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	-webkit-user-select: none;
	user-select: none;
	-ms-user-select: none;
}

.app-container {
	width: 95%;
	max-width: 1100px;
	padding: 25px 20px;
	text-align: center;
}

h1 {
	color: var(--angelique-blue);
	text-shadow: var(--text-glow);
	font-size: 1.2rem; /* Réduit pour plus de propreté */
	letter-spacing: 4px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

/* Barre d'outils */
.angelique-panel {
	background: var(--glass);
	padding: 20px;
	border-radius: 15px;
	backdrop-filter: blur(15px);
	border: 1px solid var(--angelique-pink);
	box-shadow: 0 0 15px rgba(255, 0, 193, 0.2);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 25px;
}

input[type="text"] {
	flex: 1;
	min-width: 250px;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid var(--angelique-blue);
	background: rgba(0, 0, 0, 0.8);
	color: var(--angelique-blue);
	font-family: sans-serif;
	font-size: 0.95rem;
	outline: none;
}

.btn-group {display: flex; gap: 10px;}

button {
	padding: 12px 20px;
	background: transparent;
	color: white;
	border: 1px solid var(--angelique-blue);
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: bold;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

button:hover {
	background: var(--angelique-blue);
	color: black;
	box-shadow: 0 0 20px var(--angelique-blue);
}

.btn-png { border-color: var(--angelique-orange); color: var(--angelique-orange);}
.btn-png:hover { background: var(--angelique-orange); color: white; box-shadow: 0 0 20px var(--angelique-orange);}

.btn-mode { border-color: var(--angelique-pink); color: var(--angelique-pink);}
.btn-mode:hover { background: var(--angelique-pink); color: white; box-shadow: 0 0 20px var(--angelique-pink);}

.btn-webp { border-color: var(--angelique-neon); color: var(--angelique-neon);}
.btn-webp:hover { background: var(--angelique-neon); color: black; box-shadow: 0 0 20px var(--angelique-neon);}

/* Zone de Prévisualisation */
.preview-window {
	width: 100%;
	height: 55vh;
	background: #000;
	border-radius: 12px;
	border: 2px solid #1a1a1a;
	overflow-y: auto;
	position: relative;
	display: flex;
	justify-content: center;
	box-shadow: inset 0 0 50px rgba(0,0,0,0.9);
	background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
	background-size: 100% 2px, 3px 100%;
}

#sitePreview {
	max-width: 100%;
	height: auto;
	display: none;
	/* Qualité d'affichage optimale */
	image-rendering: -webkit-optimize-contrast;
}

.loader-text {
	align-self: center;
	color: var(--angelique-blue);
	font-style: italic;
	font-size: 0.9rem;
	text-shadow: var(--text-glow);
}

.status-msg {
	margin-top: 15px;
	font-size: 0.8rem;
	color: var(--angelique-blue);
	opacity: 0.8;
	letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
	.angelique-panel { flex-direction: column;}
	.btn-group { width: 100%; justify-content: center;}
	button { flex: 1;}
}

footer {
	width: 80%; /* Ou une largeur fixe comme 600px */
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 11px;
	opacity: 0.8;
}

/* FIN CSS */