:root {
	--bg: #0b0b10;
	--card: #151520;
	--text: #e9ecf1;
	--muted: #a9b0bd;
	--primary: #7c4dff;
	--primary-600: #6a3dff;
	--secondary: #2b2f3a;
	--success: #19c37d;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	background: radial-gradient(1200px 800px at 10% 10%, #121222 0%, var(--bg) 60%);
	color: var(--text);
	font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	line-height: 1.5;
}

.container {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px 16px 64px;
}

.header {
	text-align: center;
	margin: 24px 0 16px;
}

.header h1 {
	font-weight: 800;
	margin: 0 0 8px;
}

.header p {
	margin: 0;
	color: var(--muted);
}

.card {
	background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 16px;
	padding: 20px;
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.field-group {
	display: grid;
	gap: 8px;
	margin: 16px 0;
}

label {
	font-weight: 600;
}

input[type="text"],
input[type="number"],
select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.12);
	background: #0f0f18;
	color: var(--text);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(124,77,255,0.2);
}

.option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 12px;
	color: var(--text);
}

.actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 20px;
}

button {
	appearance: none;
	border: none;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.05s ease, background 0.2s ease, box-shadow 0.2s ease;
}

button.primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-600));
	color: white;
	box-shadow: 0 8px 20px rgba(124,77,255,0.35);
}

button.primary:active {
	transform: translateY(1px);
}

button.secondary {
	background: var(--secondary);
	color: var(--text);
	border: 1px solid rgba(255,255,255,0.08);
}

.result-header h2 {
	margin: 0 0 4px;
}

.result-header p {
	margin: 0;
	color: var(--muted);
}

.result-media {
	margin: 12px 0 8px;
	text-align: center;
}

.result-media img {
	max-width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.12);
}

.image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: rgba(255,255,255,0.05);
	border: 2px dashed rgba(255,255,255,0.2);
	border-radius: 12px;
	color: var(--muted);
	text-align: center;
	font-size: 18px;
}

.footer {
	text-align: center;
	color: var(--muted);
	margin-top: 16px;
}

.hidden { display: none; }

.caption {
	margin-top: 6px;
	font-weight: 600;
	text-align: center;
	color: var(--text);
}

button.link {
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
	font-weight: 700;
}

@media (min-width: 720px) {
	.field-inline {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
}


