/* ===============================
   EldenRO Login Page
================================ */

.eld-login-wrap {
	min-height: 72vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 18px;
	position: relative;
	overflow: hidden;
}

.eld-login-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.45), rgba(0,0,0,.88)),
		url('/themes/eldenro/img/character-view-hero.jpg') center / cover no-repeat;
	filter: saturate(.85);
	z-index: 0;
}

.eld-login-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		url('/themes/eldenro/img/noise.png') center / cover repeat,
		radial-gradient(circle at 50% 20%, rgba(210,160,70,.18), transparent 38%),
		radial-gradient(circle at 50% 90%, rgba(0,0,0,.75), transparent 45%);
	opacity: .10;
	z-index: 1;
	pointer-events: none;
}

.eld-login-card {
	width: min(480px, 100%);
	position: relative;
	z-index: 2;
	padding: 38px;
	border: 1px solid rgba(211,166,82,.38);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(14,10,6,.94), rgba(4,4,3,.96));
	box-shadow:
		inset 0 0 90px rgba(0,0,0,.75),
		0 30px 90px rgba(0,0,0,.62),
		0 0 60px rgba(211,166,82,.1);
}

.eld-login-card::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(211,166,82,.16);
	border-radius: 20px;
	pointer-events: none;
}

.eld-login-card::after {
	content: "✦";
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(211,166,82,.42);
	background: radial-gradient(circle, rgba(73,48,18,.96), rgba(5,4,3,.98));
	color: #f5d98a;
	box-shadow: 0 0 24px rgba(211,166,82,.28);
}

.eld-login-head {
	text-align: center;
	margin-bottom: 26px;
}

.eld-login-kicker {
	color: #a99565;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.eld-login-title {
	margin: 8px 0 10px;
	color: #f7da8b;
	font: 900 38px/1 Cinzel, Georgia, serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	text-shadow: 0 0 30px rgba(247,218,139,.22);
}

.eld-login-sub {
	color: #b8aa8c;
	font-size: 13px;
	line-height: 1.6;
}

.eld-login-alert {
	margin: 0 0 22px;
	padding: 13px 15px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.eld-login-alert.is-error {
	border: 1px solid rgba(220,80,80,.42);
	background: rgba(80,18,18,.34);
	color: #ffaaa0;
}

.eld-login-alert.is-info {
	border: 1px solid rgba(211,166,82,.28);
	background: rgba(45,31,13,.46);
	color: #d9c49a;
}

.eld-login-alert a {
	color: #f5d98a;
	font-weight: 800;
	text-decoration: none;
}

.eld-form {
	position: relative;
	z-index: 2;
}

.eld-fields {
	display: grid;
	gap: 17px;
}

.eld-field {
	position: relative;
}

.eld-label {
	display: block;
	margin-bottom: 8px;
	color: #cba85e;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.eld-input,
.eld-select {
	width: 100%;
	box-sizing: border-box;
	height: 48px;
	padding: 0 15px;
	border: 1px solid rgba(211,166,82,.26);
	border-radius: 14px;
	background:
	linear-gradient(180deg,
		rgba(20,13,7,.95),
		rgba(8,6,4,.98));
	color: #eadfc9;
	outline: none;
	font-size: 14px;
	box-shadow:
		inset 0 0 22px rgba(0,0,0,.55),
		0 0 0 rgba(211,166,82,0);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.eld-input:focus,
.eld-select:focus {
	border-color: rgba(245,217,138,.62);
	background:
		linear-gradient(180deg, rgba(10,8,5,.72), rgba(28,18,8,.82));
	box-shadow:
		inset 0 0 24px rgba(0,0,0,.58),
		0 0 24px rgba(211,166,82,.14);
}

.eld-input::placeholder {
	color: #746b5d;
}

.eld-select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #cba85e 50%),
		linear-gradient(135deg, #cba85e 50%, transparent 50%),
		linear-gradient(180deg,
		rgba(20,13,7,.95),
		rgba(8,6,4,.98));
	background-position:
		calc(100% - 20px) 21px,
		calc(100% - 14px) 21px,
		0 0;
	background-size: 6px 6px, 6px 6px, 100% 100%;
	background-repeat: no-repeat;
}

.eld-captcha {
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(211,166,82,.2);
	background: rgba(0,0,0,.26);
}

.eld-captcha-row {
	display: flex;
	gap: 12px;
	align-items: center;
}

.eld-captcha-img {
	min-width: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid rgba(211,166,82,.24);
	background: rgba(0,0,0,.36);
}

.eld-captcha-img img {
	max-width: 100%;
	height: auto;
}

.eld-captcha-input {
	flex: 1;
}

.eld-captcha-actions {
	margin-top: 10px;
	text-align: right;
}

.eld-link {
	color: #efc76d;
	font-size: 12px;
	text-decoration: none;
}

.eld-link:hover {
	color: #ffe6a3;
	text-shadow: 0 0 12px rgba(239,199,109,.44);
}

.eld-actions {
	margin-top: 26px;
}

.eld-btn {
	width: 100%;
	height: 52px;
	border: 1px solid rgba(245,217,138,.42);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(145,95,28,.95), rgba(58,34,10,.96));
	color: #fff1bd;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .16em;
	cursor: pointer;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.12),
		inset 0 -18px 28px rgba(0,0,0,.24),
		0 16px 35px rgba(0,0,0,.42),
		0 0 24px rgba(211,166,82,.16);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	clip-path: polygon(
	0 12px,
	12px 0,
	calc(100% - 12px) 0,
	100% 12px,
	100% 100%,
	0 100%
);
}

.eld-btn:hover {
	transform: translateY(-1px);
	border-color: rgba(255,230,163,.7);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.16),
		inset 0 -18px 28px rgba(0,0,0,.22),
		0 18px 42px rgba(0,0,0,.48),
		0 0 34px rgba(211,166,82,.26);
}

.eld-btn:active {
	transform: translateY(1px);
}

.eld-login-footer {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(211,166,82,.16);
	color: #9c927f;
	font-size: 12px;
	text-align: center;
	line-height: 1.5;
}

.eld-muted {
	color: #cba85e;
	font-weight: 800;
}

/* Responsive */
@media (max-width: 640px) {
	.eld-login-wrap {
		padding: 30px 12px;
	}

	.eld-login-card {
		padding: 30px 22px;
		border-radius: 22px;
	}

	.eld-login-title {
		font-size: 30px;
	}

	.eld-captcha-row {
		flex-direction: column;
		align-items: stretch;
	}

	.eld-captcha-actions {
		text-align: center;
	}
}
.eld-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(
			180deg,
			rgba(255,255,255,.18),
			transparent 45%
		);
	opacity: .7;
	pointer-events: none;
}
.eld-btn {
	position: relative;
	overflow: hidden;
}
.eld-login-card {
	transform: translateY(-14px);
}
.eld-login-wrap::after {
	mix-blend-mode: soft-light;
}
.eld-login-sub {
	color: #d2c2a3;
}
.eld-login-card::after {
	box-shadow:
		0 40px 90px rgba(0,0,0,.75);
}
#submenu {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	background: rgba(0,0,0,.35);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(211,166,82,.22);
	padding: 10px 18px;
	border-radius: 999px;
}
#submenu a {
	color: #d9bf84;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: .12em;
}