:root {
	--gold: #e0b45e;
	--gold-light: #f7d998;
	--blue: #31adff;
	--green: #45d790;
	--text: #eef5ff;
	--muted: #a7b5c7;
	--panel: rgba(7, 17, 29, 0.94);
	--border: rgba(224, 180, 94, 0.35);
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--text);
	font-family: Inter, Arial, sans-serif;
	background:
		radial-gradient(circle at 50% 0%, rgba(30, 130, 210, 0.25), transparent 38%),
		linear-gradient(180deg, #04101c, #01060c);
}

.submission-shell {
	width: min(100% - 28px, 980px);
	margin: 0 auto;
	padding: 56px 0 36px;
}

.submission-hero {
	text-align: center;
	margin-bottom: 28px;
}

.crest {
	color: var(--gold-light);
	font-size: 46px;
	text-shadow: 0 0 24px rgba(49, 173, 255, 0.55);
}

.eyebrow {
	margin: 8px 0 14px;
	color: var(--gold-light);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.3em;
}

h1 {
	margin: 0;
	color: var(--gold-light);
	font-family: Georgia, serif;
	font-size: clamp(42px, 7vw, 72px);
	font-weight: 500;
}

.submission-hero > p {
	max-width: 760px;
	margin: 18px auto 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.6;
}

.submission-hero .notice {
	color: #b8dfff;
	font-style: italic;
}

.submission-form,
.result-card {
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--panel);
	box-shadow:
		inset 0 0 0 4px rgba(224, 180, 94, 0.04),
		0 24px 70px rgba(0, 0, 0, 0.45);
}

.submission-form {
	padding: clamp(22px, 4vw, 42px);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

label {
	display: grid;
	gap: 8px;
}

label > span {
	color: #d8e3ef;
	font-weight: 700;
}

.wide {
	grid-column: 1 / -1;
}

input,
select,
textarea {
	width: 100%;
	padding: 13px 14px;
	color: var(--text);
	font: inherit;
	border: 1px solid rgba(148, 168, 190, 0.34);
	border-radius: 7px;
	outline: none;
	background: rgba(2, 9, 16, 0.8);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(49, 173, 255, 0.13);
}

textarea {
	resize: vertical;
}

.upload-zone {
	padding: 24px;
	border: 1px dashed rgba(49, 173, 255, 0.65);
	border-radius: 10px;
	background: rgba(16, 75, 117, 0.12);
}

.upload-zone small {
	color: var(--muted);
	line-height: 1.5;
}

.rights-row {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 15px;
	border-radius: 8px;
	background: rgba(224, 180, 94, 0.06);
}

.rights-row input {
	width: auto;
	margin-top: 3px;
}

button,
.result-card a {
	display: inline-flex;
	padding: 13px 24px;
	align-items: center;
	justify-content: center;
	color: #08111a;
	font-weight: 800;
	text-decoration: none;
	border: 1px solid var(--gold-light);
	border-radius: 7px;
	background: linear-gradient(180deg, var(--gold-light), var(--gold));
	cursor: pointer;
}

button {
	display: flex;
	width: 100%;
	margin-top: 26px;
}

button:hover,
.result-card a:hover {
	filter: brightness(1.08);
}

footer {
	margin-top: 22px;
	color: #8291a4;
	font-size: 13px;
	text-align: center;
}

.result-shell {
	display: grid;
	min-height: 100vh;
	padding: 24px;
	place-items: center;
}

.result-card {
	width: min(100%, 620px);
	padding: 46px;
	text-align: center;
}

.result-card h1 {
	font-size: 45px;
}

.result-card p {
	margin: 20px 0;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
}

.submission-id {
	margin: 18px 0 26px;
	padding: 12px;
	color: #a9d8ff;
	border: 1px solid rgba(49, 173, 255, 0.3);
	border-radius: 6px;
	background: rgba(49, 173, 255, 0.08);
	font-family: monospace;
}

.failure .crest {
	color: #ff956c;
}

@media (max-width: 680px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.wide {
		grid-column: auto;
	}
}
