/**
 * auth.css - Styles for login, registration, and splash screens
 */

#main.login-page {
	background-color: var(--login-bg-color);
	background-image: url(/images/background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.login-area {
	margin: auto;
	width: 100%;
	padding: 30px;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	gap: 25px;
	align-items: stretch;
	background: rgba(33, 33, 33, 0.85);
	border-radius: 32px;
	box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(10px);
}

.login-area > .login-area-title {
	color: var(--brand-light, #f2efd0);
	font-size: 31px;
	margin-bottom: 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 18px 25px;
	border-radius: 22px;
	background: rgba(242, 239, 208, 0.08);
	border: 1px solid rgba(242, 239, 208, 0.25);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.login-area-title > img {
	max-width: 230px;
	filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.35));
}

.login-area > .login-box {
	background-color: var(--brand-light, #f2efd0);
	height: fit-content;
	max-height: 90%;
	padding: 40px 48px;
	box-shadow: 0 35px 85px rgba(33, 33, 33, 0.28);
	border-radius: 28px;
	border: 1px solid rgba(33, 33, 33, 0.08);
}

.login-box > .login-box-title {
	text-align: center;
	font-size: 28px;
	margin-bottom: 25px;
	text-transform: uppercase;
	color: var(--brand-dark, #212121);
	letter-spacing: 0.12em;
	font-weight: 600;
}

.login-box > .login-form {
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}
.login-box > .auth-login {
	margin-top: 40px;
}
.login-form.hidden {
	display: none;
}
.login-form > .terms-and-conditions {
	margin-top: 25px;
	width: 100%;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}
.terms-and-conditions > .term-option {
	display: flex;
	align-items: flex-start;
	margin-bottom: 19px;
}
.login-form > .login-desc {
	margin-top: 20px;
	font-size: 14px;
	color: rgba(33, 33, 33, 0.75);
	text-align: center;
}
.login-learn-more {
	margin-top: 15px;
	width: 100%;
	display: flex;
	justify-content: center;
}
.login-learn-more .button {
	width: 100%;
	justify-content: center;
}
.login-form > .resend-code {
	margin-top: 40px;
}
.login-form > .age-gate-dropdown {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.age-gate-dropdown > .dropdown {
	margin: 15px 10px;
	min-width: 33%;
}
.legal-disclaimer {
	font-size: 13px;
	color: rgba(33, 33, 33, 0.7);
	margin-top: 20px;
	text-align: center;
}
.confirm-code-form.hidden {
	display: none;
}
.login-area > .login-footnote {
	text-align: center;
	color: rgba(242, 239, 208, 0.85);
	margin-top: 10px;
	font-size: 13px;
}
.challenge-box {
	display: flex;
	justify-content: center;
}

.input.login {
	height: 54px;
	width: 100%;
	background-color: rgba(242, 239, 208, 0.9);
	border: 1px solid rgba(33, 33, 33, 0.15);
	border-radius: 16px;
	padding: 0 18px;
	cursor: text;
	font-size: 16px;
	color: var(--brand-dark, #212121);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.input.login:focus {
	outline: none;
	border-color: var(--brand-primary, #ad3e00);
	background-color: #f2efd0;
	box-shadow: 0 0 0 3px rgba(173, 62, 0, 0.2);
}

.login-form > .login-button {
	margin-top: 25px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.button.login {
	width: 100%;
	height: 56px;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	border: none;
	border-radius: 18px;
	background: linear-gradient(120deg, #ad3e00, #c34a00);
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.05em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	box-shadow: 0 20px 35px rgba(173, 62, 0, 0.35);
}
.button.login:hover,
.button.login:focus {
	outline: none;
	transform: translateY(-2px);
	box-shadow: 0 25px 45px rgba(173, 62, 0, 0.45);
}
.button.login.disabled {
	background: rgba(33, 33, 33, 0.2);
	box-shadow: none;
	opacity: 0.6;
	cursor: not-allowed;
}

/* Guest Account Popup */
#popup {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 100;
	top: 0;
	left: 0;
	padding: 20px;
	background: radial-gradient(circle at top, rgba(33, 33, 33, 0.95), rgba(0, 0, 0, 0.85));
	backdrop-filter: blur(8px);
	align-items: center;
	justify-content: center;
}
#popup.appear {
	display: flex;
}
#create-account {
	position: relative;
	width: 100%;
	max-width: 460px;
	background-color: var(--brand-light, #f2efd0);
	padding: 45px;
	min-height: auto;
	margin: 0 auto;
	border-radius: 32px;
	box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(33, 33, 33, 0.08);
	display: flex;
	flex-direction: column;
	gap: 18px;
	text-align: center;
}
.popup-logo {
	text-align: center;
}
.popup-logo > img {
	max-width: 85%;
	filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.35));
}
.popup-close {
	position: absolute;
	right: 7px;
	top: 5px;
	font-size: 20px;
	cursor: pointer;
	padding: 5px;
	color: var(--brand-dark, #212121);
}
.popup-intro {
	font-size: 18px;
	margin: 5px 0px;
	font-weight: 600;
	color: var(--brand-dark, #212121);
}
.popup-intro.large-center {
	font-size: 22px;
	text-align: center;
}
.popup-body {
	font-size: 16px;
	color: rgba(33, 33, 33, 0.75);
	line-height: 1.5;
}
#create-account .popup-footer {
	margin-top: 10px;
	position: static;
	width: 100%;
	max-width: none;
}
#create-account .popup-footer .button {
	width: 100%;
	border-radius: 18px;
	font-size: 18px;
	border: none;
	background: linear-gradient(120deg, #ad3e00, #c34a00);
	color: #fff;
	padding: 14px;
	box-shadow: 0 20px 35px rgba(173, 62, 0, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#create-account .popup-footer .button:hover,
#create-account .popup-footer .button:focus {
	transform: translateY(-2px);
	box-shadow: 0 25px 45px rgba(173, 62, 0, 0.45);
}
.registration-popup {
	width: 250px;
}
.registration-popup.top-right {
	position: absolute;
	right: 40px;
}

@media (max-width: 480px) {
	.login-box {
		margin: 0px;
		padding: 24px !important;
	}
	.login-area {
		width: 100%;
		padding: 20px 15px;
		max-width: 100%;
		border-radius: 22px;
	}
	#create-account {
		padding: 25px;
		margin-top: 0;
		border-radius: 24px;
	}
}
