html, body {
	margin: 0;
    height: 100%;
}

body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background-attachment: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.03) 2px,
			rgba(255, 255, 255, 0.03) 4px
		);
	pointer-events: none;
	z-index: 1;
}

* {
	font-family: 'Trebuchet MS', 'Arial', sans-serif;
	box-sizing: border-box;
}

form {
	width: 450px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	padding: 35px;
	background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
	border-radius: 20px;
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	position: relative;
	z-index: 2;
}

h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #5a3d7a;
	font-size: 2em;
	font-weight: bold;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	letter-spacing: -0.5px;
}

input {
	display: block;
	border: 2px solid #d0d0d0;
	width: 100%;
	padding: 12px;
	margin: 8px 0;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	transition: all 0.2s ease;
}

input:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	transform: translateY(-1px);
}

label {
	color: #555;
	font-size: 14px;
	font-weight: 600;
	padding: 5px 0;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

button {
	float: right;
	background: linear-gradient(180deg, #ff6b9d 0%, #c94b7f 100%);
	padding: 12px 24px;
	color: #fff;
	border-radius: 25px;
	margin-top: 15px;
	border: none;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	box-shadow:
		0 4px 15px rgba(201, 75, 127, 0.4),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

button:hover {
	transform: translateY(-2px);
	box-shadow:
		0 6px 20px rgba(201, 75, 127, 0.5),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

button:active {
	transform: translateY(0);
	box-shadow:
		0 2px 10px rgba(201, 75, 127, 0.3),
		inset 0 2px 0 rgba(0, 0, 0, 0.2);
}

.error {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
	color: #fff;
	padding: 12px;
	width: 100%;
	border-radius: 10px;
	margin: 15px 0;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.success {
	background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
	color: #fff;
	padding: 12px;
	width: 100%;
	border-radius: 10px;
	margin: 15px 0;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(55, 178, 77, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

h1 {
	text-align: center;
	color: #fff;
	font-size: 3.5em;
	font-weight: bold;
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(255, 255, 255, 0.2);
	margin-bottom: 40px;
	letter-spacing: -1px;
	position: relative;
	z-index: 2;
	animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.ca {
	font-size: 14px;
	display: inline-block;
	padding: 12px 8px;
	text-decoration: none;
	color: #667eea;
	font-weight: 600;
	transition: all 0.2s ease;
}

.ca:hover {
	color: #764ba2;
	transform: translateX(3px);
}

.button_href {
	display: inline-block;
	padding: 15px 35px;
	font-size: 1.3em;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(180deg, #ffd93d 0%, #f9a825 100%);
	border-radius: 30px;
	font-weight: bold;
	box-shadow:
		0 6px 25px rgba(249, 168, 37, 0.4),
		inset 0 -3px 0 rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 3px solid rgba(255, 255, 255, 0.4);
}

.button_href:hover {
	transform: translateY(-3px);
	box-shadow:
		0 8px 30px rgba(249, 168, 37, 0.5),
		inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.button_href:active {
	transform: translateY(0);
	box-shadow:
		0 3px 15px rgba(249, 168, 37, 0.3),
		inset 0 2px 0 rgba(0, 0, 0, 0.2);
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	position: relative;
	z-index: 2;
}

/* Decorative stars */
.star {
	position: fixed;
	background: #fff;
	border-radius: 50%;
	animation: twinkle 2s ease-in-out infinite;
	z-index: 0;
}

@keyframes twinkle {
	0%, 100% { opacity: 0.3; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.2); }
}