:root {
	--draw-bg: #07090f;
	--draw-bg-secondary: #10131d;
	--draw-card: rgba(18, 21, 31, 0.88);
	--draw-card-light: rgba(255, 255, 255, 0.045);
	--draw-border: rgba(255, 255, 255, 0.1);
	--draw-text: #f6f7fb;
	--draw-muted: #9da4b3;
	--draw-red: #e3232a;
	--draw-red-dark: #a70f18;
	--draw-red-light: #ff4a50;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	font-family: "Public Sans", sans-serif;
	color: var(--draw-text);
	background:
		radial-gradient(
			circle at 12% 8%,
			rgba(227, 35, 42, 0.18),
			transparent 31%
		),
		radial-gradient(
			circle at 88% 85%,
			rgba(227, 35, 42, 0.08),
			transparent 30%
		),
		linear-gradient(
			145deg,
			var(--draw-bg) 0%,
			var(--draw-bg-secondary) 100%
		);
	background-attachment: fixed;
}

.draw-page {
	position: relative;
	min-height: 100vh;
	padding: 24px;
	overflow: hidden;
}

.draw-page::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(
			rgba(255, 255, 255, 0.018) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.018) 1px,
			transparent 1px
		);
	background-size: 44px 44px;
	mask-image: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.75),
		transparent 85%
	);
}

.draw-container {
	position: relative;
	z-index: 1;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.draw-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 42px;
}

.draw-brand {
	display: flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.draw-logo {
	display: block;
	width: auto;
	max-width: 184px;
	height: 46px;
	object-fit: contain;
}

.draw-brand-divider {
	width: 1px;
	height: 34px;
	background: rgba(255, 255, 255, 0.17);
}

.draw-brand-name {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.025em;
	white-space: nowrap;
}

.admin-login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.48);
	background: rgba(255, 255, 255, 0.025);
	font-size: 11px;
	font-weight: 500;
	text-decoration: none;
	transition:
		color 180ms ease,
		border-color 180ms ease,
		background 180ms ease;
}

.admin-login:hover {
	color: rgba(255, 255, 255, 0.85);
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.055);
}

.draw-layout {
	display: grid;
	grid-template-columns:
		minmax(0, 1.08fr)
		minmax(380px, 0.92fr);
	gap: 38px;
	align-items: center;
}

.draw-intro {
	padding: 28px 10px 28px 0;
}

.draw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 22px;
	color: #ff777c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.draw-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--draw-red);
	box-shadow: 0 0 17px rgba(227, 35, 42, 0.85);
}

.draw-title {
	max-width: 720px;
	margin: 0;
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.052em;
}

.draw-title .accent {
	color: var(--draw-red-light);
}

.next-draw {
	position: relative;
	margin-top: 36px;
	padding: 26px 28px;
	border: 1px solid var(--draw-border);
	border-radius: 24px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.06),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
	overflow: hidden;
}

.next-draw::after {
	content: "";
	position: absolute;
	top: -80px;
	right: -70px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(227, 35, 42, 0.12);
	filter: blur(8px);
}

.next-draw-label {
	position: relative;
	z-index: 1;
	margin-bottom: 8px;
	color: var(--draw-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.next-draw-date {
	position: relative;
	z-index: 1;
	color: #fff;
	font-size: clamp(35px, 5vw, 56px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.045em;
}

.next-draw-description {
	position: relative;
	z-index: 1;
	max-width: 610px;
	margin: 19px 0 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 16px;
	line-height: 1.65;
}

.registration-card {
	padding: 32px;
	border: 1px solid var(--draw-border);
	border-radius: 28px;
	background: var(--draw-card);
	box-shadow:
		0 32px 90px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
	backdrop-filter: blur(22px);
}

.registration-card-title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.registration-card-description {
	margin: 8px 0 26px;
	color: var(--draw-muted);
	font-size: 14px;
	line-height: 1.55;
}

.draw-form .form-label {
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	font-weight: 600;
}

.draw-form .optional-label {
	color: rgba(255, 255, 255, 0.34);
	font-size: 10px;
	font-weight: 400;
}

.draw-form .form-control {
	min-height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.105);
	border-radius: 13px;
	color: #fff;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: none;
	font-size: 14px;
	transition:
		border-color 180ms ease,
		background 180ms ease,
		box-shadow 180ms ease;
}

.draw-form .form-control::placeholder {
	color: rgba(255, 255, 255, 0.25);
}

.draw-form .form-control:focus {
	color: #fff;
	border-color: rgba(227, 35, 42, 0.72);
	background: rgba(255, 255, 255, 0.065);
	box-shadow: 0 0 0 0.2rem rgba(227, 35, 42, 0.13);
}

.draw-submit {
	width: 100%;
	min-height: 52px;
	margin-top: 6px;
	border: 0;
	border-radius: 14px;
	color: #fff;
	background:
		linear-gradient(
			135deg,
			var(--draw-red-light),
			var(--draw-red) 50%,
			var(--draw-red-dark)
		);
	box-shadow: 0 16px 34px rgba(227, 35, 42, 0.25);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		filter 180ms ease;
}

.draw-submit:hover {
	color: #fff;
	transform: translateY(-1px);
	filter: brightness(1.04);
	box-shadow: 0 20px 40px rgba(227, 35, 42, 0.33);
}

.draw-submit:active {
	transform: translateY(0);
}

.draw-terms {
	margin: 19px 0 0;
	color: rgba(255, 255, 255, 0.41);
	font-size: 11px;
	line-height: 1.55;
	text-align: center;
}

.draw-terms a {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.25);
	text-underline-offset: 3px;
}

.draw-terms a:hover {
	color: #fff;
	text-decoration-color: var(--draw-red);
}

.draw-alert {
	margin-bottom: 22px;
	padding: 13px 15px;
	border-radius: 13px;
	font-size: 13px;
	line-height: 1.5;
}

.draw-alert-success {
	border: 1px solid rgba(67, 194, 138, 0.24);
	color: #baf3d4;
	background: rgba(67, 194, 138, 0.09);
}

.draw-alert-error {
	border: 1px solid rgba(255, 89, 96, 0.26);
	color: #ffc0c2;
	background: rgba(227, 35, 42, 0.1);
}

.draw-footer {
	margin-top: 48px;
	padding: 22px 0 4px;
	color: rgba(255, 255, 255, 0.3);
	font-size: 11px;
	text-align: center;
}

@media (max-width: 991.98px) {
	.draw-topbar {
		margin-bottom: 26px;
	}

	.draw-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.draw-intro {
		padding: 10px 0 0;
	}

	.draw-title {
		max-width: 820px;
	}

	.registration-card {
		width: min(620px, 100%);
		margin: 0 auto;
	}
}

@media (max-width: 575.98px) {
	.draw-page {
		padding: 17px 14px;
	}

	.draw-topbar {
		align-items: flex-start;
		margin-bottom: 26px;
	}

	.draw-brand {
		gap: 11px;
	}

	.draw-logo {
		max-width: 138px;
		height: 38px;
	}

	.draw-brand-divider,
	.draw-brand-name {
		display: none;
	}

	.admin-login {
		padding: 8px 9px;
		font-size: 0;
	}

	.admin-login i {
		font-size: 12px;
	}

	.draw-title {
		font-size: 39px;
	}

	.next-draw {
		margin-top: 28px;
		padding: 22px 20px;
	}

	.next-draw-date {
		font-size: 39px;
	}

	.next-draw-description {
		font-size: 14px;
	}

	.registration-card {
		padding: 25px 19px;
		border-radius: 22px;
	}
}