@charset "UTF-8";

body {
	margin: 0;
	padding: 0;
	font-family: "Yu Gothic", Meiryo, sans-serif;
	background: #3b2f1c;
	transition: background 2s;
	overflow: hidden;
}

.light-overlay {
	position: fixed;
	inset: 0;
	background: radial-gradient(circle, rgba(255, 255, 200, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
	opacity: 0;
	z-index: 500;
	transition: opacity 2s;
}

.curtain {
	position: fixed;
	inset: 0;
	background: repeating-linear-gradient(90deg, #7a0000 0, #8b0000 40px, #6b0000 80px), linear-gradient(to top, #8b0000, #a50000);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
	z-index: 1000;
	transition: transform 2s;
}

.curtain.open {
	transform: translateY(-100%);
}

.curtain-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 60%;
	filter: drop-shadow(0 0 5px rgba(255, 255, 200, 0.8));
}

.login-container {
	position: fixed;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 360px;
	padding: 30px 20px;
	background: #fff8b3;
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	text-align: center;
	z-index: 1500;
	transition: opacity 1s;
}

.login-title {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 25px;
	color: #5b3a00;
}

.password-wrapper {
	position: relative;
	width: 100%;
}

.login-input {
	width: 100%;
	padding: 12px 42px 12px 15px;
	border-radius: 10px;
	border: 1px solid #ccc;
	font-size: 24px;
	box-sizing: border-box;
}

.toggle-password {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	font-size: 24px;
	user-select: none;
	z-index: 2000;
}

.login-button {
	width: 80%;
	margin-top: 20px;
	padding: 4px 0;
	font-size: 32px;
	letter-spacing: 0.3em;
	color: #fff;
	background: linear-gradient(135deg, #c40000, #ff2a2a, #c40000);
	border: none;
	border-radius: 15px;
	cursor: pointer;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
	transition: all 0.3s;
}

.login-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.7);
}

.login-error {
	position: absolute;
	background: #ffdddd;
	color: #a00;
	padding: 6px 10px;
	border-radius: 6px;
	border: 1px solid #a00;
	top: -35px;
	left: 0;
	white-space: nowrap;
	z-index: 10;
	display: none;
}

.login-error.show {
	display: block;
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}