/**
 * mu_angel-overrides.css
 * Neutraliza conflictos entre gabodev.css y style.css en template Mu Angel.
 * Carga al final para que estas reglas tengan prioridad.
 */

/* === Menú lateral: restaurar estilo Mu Angel (gabodev lo sobrescribe) === */
.sidebar .menu,
.sidebar .menu ul {
	padding: 0 !important;
	padding-left: 0 !important;
	padding-top: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

.sidebar .menu-left .menu {
	width: 120px !important;
	margin: 0 auto !important;
}

.sidebar .menu li {
	list-style: none !important;
}

.sidebar .menu li a {
	display: block !important;
	color: #cbc8bb !important;
	font-size: 9px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	padding: 6px 0 !important;
	border-bottom: 1px solid #3a3116 !important;
	background: transparent !important;
	transition: all 0.5s ease !important;
}

.sidebar .menu li a:hover {
	color: #ffffff !important;
	text-decoration: none !important;
	background: url(../images/menu-hover.png) repeat-y !important;
}

.content-menu ul {
	padding-left: 0 !important;
	padding-top: 18px !important;
	padding-bottom: 17px !important;
}

/* Enlaces del menú superior: prioridad sobre gabodev */
.content-menu ul a {
	color: #cbc8bb !important;
}
.content-menu ul a:hover {
	color: #fff !important;
	text-decoration: none !important;
}

/* Bloque de noticias: evitar padding extra de gabodev */
.block-news .news ul,
.block-news ul {
	padding: 0 !important;
	padding-left: 0 !important;
}

/* Footer y copyright: mantener estilo Mu Angel */
.footer .copyright {
	padding-left: 156px !important;
}
.footer .banners {
	padding-left: 154px !important;
}

/* Footer: crédito Development by Gabo dev */
.footer-dev {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 0.05em;
    margin-left: 10rem;
}
.footer-dev__label {
	color: rgba(203, 200, 187, 0.7);
	font-weight: 500;
	text-transform: uppercase;
}
.footer-dev__name {
	display: inline-block;
	color: #cbc8bb;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: 0 0 12px rgba(61, 139, 92, 0.5);
	position: relative;
	transition: color 0.2s, text-shadow 0.2s;
}
.footer-dev__name:focus {
	outline: 1px dotted rgba(61, 139, 92, 0.6);
	outline-offset: 2px;
}
.footer-dev__name::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(61, 139, 92, 0.6), transparent);
	border-radius: 1px;
}
.footer-dev:hover .footer-dev__name {
	text-shadow: 0 0 16px rgba(61, 139, 92, 0.7);
	color: #e0ddcf;
}

/* === Sección Shop (Market): estructura original Mu Angel === */
.sidebar .shop {
	margin-top: 15px;
	width: 246px;
}

.sidebar .shop .shop-text {
	width: 100%;
	max-width: 135px;
	margin: 0 auto;
	padding: 0 12px 15px;
	overflow-x: hidden;
}

.sidebar .shop #lattest_items {
	text-align: left;
	min-height: 40px;
	overflow: hidden;
}

/* Items del Market: nombre + precio dentro del contenedor */
.sidebar .shop #lattest_items ul.style3 {
	max-width: 100%;
}

.sidebar .shop #lattest_items ul.style3 li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 0 10px 0;
	overflow: hidden;
}

.sidebar .shop #lattest_items ul.style3 li > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.sidebar .shop #lattest_items ul.style3 li > div:last-child {
	flex: 0 0 auto;
	max-width: 70px;
	color: #ebe9e2;
	font-size: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: right;
}

.sidebar .shop #lattest_items ul.style3 a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #9b9a89 !important;
	font-size: 10px !important;
}

.sidebar .shop #lattest_items ul.style3 a:hover {
	color: #ebe9e2 !important;
}

.sidebar .shop #lattest_items .i_note {
	font-size: 10px;
	color: #9b9a89;
}

.sidebar .shop .shop-server-switch {
	display: block;
	text-align: right;
	margin-top: 8px;
	font-size: 10px;
}

.sidebar .shop .shop-server-switch a {
	color: #9b9a89;
	text-decoration: none;
	margin-left: 8px;
}

.sidebar .shop .shop-server-switch a:hover {
	color: #ebe9e2;
}

/* === Sección Events: diseño original Mu Angel (vertical, separadores, tonos verde/crema) === */
.sidebar .events {
	margin-top: 15px;
	width: 246px;
}

.sidebar #events {
	padding: 0 12px 15px;
	max-width: 122px;
	overflow: hidden;
	margin-left: 3rem;
}

/* Cada evento: layout vertical centrado, como el diseño original */
.sidebar #events > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 0;
	border-bottom: 1px solid #3a3116;
	transition: background 0.3s ease;
}

.sidebar #events > div:last-child {
	border-bottom: none;
}

.sidebar #events > div:hover {
	background: rgba(0, 0, 0, 0.2);
}

/* Nombre del evento: crema, bold */
.sidebar #events > div span {
	color: #ebe9e2 !important;
	font-size: 11px !important;
	font-weight: bold !important;
	line-height: 1.4;
	margin-bottom: 4px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* "Will start in" + cuenta regresiva (como diseño original) */
.sidebar #events > div small {
	display: block;
	color: #5d9953 !important;
	font-size: 12px !important;
	font-weight: bold !important;
	line-height: 1.4;
}

.sidebar #events > div small::before {
	content: "Will start in ";
	font-size: 10px;
	font-weight: normal;
	color: #9b9a89;
}

/* === Módulo Login: diseño Mu Angel, moderno y animado === */
.box-style1--login .entry--login {
	padding-bottom: 40px;
}

.title--login {
	font-size: 18px !important;
	color: #9b9a89 !important;
	text-transform: none !important;
	letter-spacing: 0.3px !important;
	margin-top: 1rem;
}

/* Alertas: estilo acento lateral, más integradas */
.login-alerts {
	margin-bottom: 28px;
}

.login-alert {
	position: relative;
	padding: 14px 18px 14px 20px;
	margin-bottom: 10px;
	border-radius: 0 6px 6px 0;
	border: none;
	border-left: 4px solid;
	background: rgba(0, 0, 0, 0.2);
	transition: all 0.35s ease;
	animation: loginAlertIn 0.4s ease backwards;
}

.login-alert:first-child { animation-delay: 0.1s; }
.login-alert:nth-child(2) { animation-delay: 0.2s; }

@keyframes loginAlertIn {
	from {
		opacity: 0;
		transform: translateX(-12px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.login-alert:hover {
	background: rgba(0, 0, 0, 0.28);
	transform: translateX(6px);
}

.login-alert p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
}

.login-alert--info {
	border-left-color: #4a7ab8;
	color: #b8d0f0;
}

.login-alert--warning {
	border-left-color: #8d7b3d;
	color: #d4c89a;
}

.login-alert__link {
	color: #e86a6a;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.25s ease, text-decoration 0.25s ease;
}

.login-alert__link:hover {
	color: #ff8888;
	text-decoration: underline;
}

/* Contenedor del formulario con animación de entrada */
.login-form-wrap {
	max-width: 380px;
	margin: 0 auto;
	padding-top: 8px;
	animation: loginFormIn 0.5s ease 0.25s backwards;
}

@keyframes loginFormIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-form {
	margin: 0;
}

.login-form__group {
	margin-bottom: 20px;
	animation: loginGroupIn 0.4s ease backwards;
}

.login-form__group:nth-child(1) { animation-delay: 0.35s; }
.login-form__group:nth-child(2) { animation-delay: 0.42s; }
.login-form__group:nth-child(3) { animation-delay: 0.49s; }
.login-form__group:nth-child(4) { animation-delay: 0.56s; }
.login-form__group:nth-child(5) { animation-delay: 0.63s; }
.login-form__group:nth-child(6) { animation-delay: 0.7s; }

@keyframes loginGroupIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-form__label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: bold;
	color: #9b9a89;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	transition: color 0.3s ease;
}

/* Label se resalta cuando el input tiene foco */
.login-form__group:focus-within .login-form__label {
	color: #c4b896;
}

.login-form__input {
	width: 100%;
	padding: 13px 16px;
	font-size: 13px;
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid #3a3116;
	border-radius: 6px;
	outline: none;
	transition: all 0.3s ease;
	font-family: inherit;
	box-sizing: border-box;
}

.login-form__input::placeholder {
	color: #6b6a5e;
}

.login-form__input:hover {
	border-color: #4a4218;
	background: rgba(0, 0, 0, 0.4);
}

.login-form__input:focus {
	border-color: #6d9953;
	box-shadow: 0 0 0 3px rgba(109, 153, 83, 0.2);
	background: rgba(0, 0, 0, 0.45);
}

.login-form__captcha {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.login-form__captcha-img {
	border: 1px solid #3a3116;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.login-form__captcha-img:hover {
	border-color: #5c521d;
	opacity: 0.95;
}

.login-form__captcha .login-form__input {
	max-width: 160px;
	text-align: center;
}

.login-form__submit {
	margin-top: 28px;
	text-align: center;
	animation: loginGroupIn 0.4s ease 0.77s backwards;
}

/* Botón Submit: estilo premium fantasía (metálico dorado + glow) */
.login-form__btn {
	position: relative;
	display: inline-block;
	padding: 16px 48px !important;
	font-size: 13px !important;
	font-weight: bold !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 20px rgba(255,220,150,0.3) !important;
	background: linear-gradient(180deg, #8b6914 0%, #6b4f0f 40%, #4a3809 100%) !important;
	border: 1px solid #b8962e !important;
	border-radius: 6px !important;
	box-shadow:
		inset 0 1px 0 rgba(255,235,180,0.35),
		inset 0 -1px 0 rgba(0,0,0,0.4),
		0 4px 15px rgba(0,0,0,0.4),
		0 0 25px rgba(184,150,46,0.2) !important;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.35s ease !important;
	animation: btnGlowPulse 3s ease-in-out infinite;
}

/* Brillo superior del botón */
.login-form__btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
	border-radius: 6px 6px 0 0;
	pointer-events: none;
}

.login-form__btn:hover {
	transform: translateY(-4px) scale(1.03) !important;
	color: #fff !important;
	background: linear-gradient(180deg, #a07a18 0%, #7d5d12 40%, #5a420c 100%) !important;
	border-color: #d4b03c !important;
	box-shadow:
		inset 0 1px 0 rgba(255,245,200,0.4),
		inset 0 -1px 0 rgba(0,0,0,0.3),
		0 8px 25px rgba(0,0,0,0.5),
		0 0 40px rgba(212,176,60,0.35),
		0 0 60px rgba(184,150,46,0.2) !important;
	animation: none;
}

.login-form__btn:active {
	transform: translateY(-2px) scale(1.01) !important;
	box-shadow:
		inset 0 2px 8px rgba(0,0,0,0.4),
		0 2px 10px rgba(0,0,0,0.3) !important;
}

@keyframes btnGlowPulse {
	0%, 100% { box-shadow: inset 0 1px 0 rgba(255,235,180,0.35), inset 0 -1px 0 rgba(0,0,0,0.4), 0 4px 15px rgba(0,0,0,0.4), 0 0 25px rgba(184,150,46,0.2); }
	50%  { box-shadow: inset 0 1px 0 rgba(255,235,180,0.35), inset 0 -1px 0 rgba(0,0,0,0.4), 0 4px 15px rgba(0,0,0,0.4), 0 0 35px rgba(184,150,46,0.3); }
}

/* === Loading overlay: bloqueador de página (login, ajax, etc.) === */
/* Oculto por defecto; visible solo cuando jQuery hace fadeIn (display: block) */
#loading.page-loader-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100vh !important;
	background: rgba(10, 9, 8, 0.88) !important;
	background-image: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	z-index: 99999 !important;
	display: none !important;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	cursor: wait;
	pointer-events: auto;
}

/* Cuando jQuery muestra el loader (fadeIn pone display: block), usar flex para centrar */
#loading.page-loader-overlay[style*="display: block"] {
	display: flex !important;
}

#loading.page-loader-overlay[style*="display: none"] {
	display: none !important;
}

.page-loader-box {
	text-align: center;
	padding: 32px 40px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid #3a3116;
	border-radius: 12px;
	box-shadow: 0 0 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,150,46,0.1);
}

.page-loader-spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	border: 3px solid #3a3116;
	border-top-color: #b8962e;
	border-radius: 50%;
	animation: pageLoaderSpin 0.9s linear infinite;
}

.page-loader-text {
	margin: 0;
	font-size: 13px;
	color: #cbc8bb;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

@keyframes pageLoaderSpin {
	to { transform: rotate(360deg); }
}

/* === Módulo Registration: formularios y mensajes === */
.box-style1--registration .entry--registration {
	padding-bottom: 40px;
}

.box-style1--registration .title--sub {
	font-size: 18px !important;
	color: #9b9a89 !important;
	text-transform: none !important;
	letter-spacing: 0.3px !important;
}

.registration-form-wrap,
.registration-result {
	max-width: 420px;
	margin: 0 auto;
	padding-top: 8px;
	animation: loginFormIn 0.5s ease 0.25s backwards;
}

.registration-form .registration-form__group {
	margin-bottom: 20px;
	animation: loginGroupIn 0.4s ease backwards;
}

.registration-form .registration-form__group:nth-child(1) { animation-delay: 0.35s; }
.registration-form .registration-form__group:nth-child(2) { animation-delay: 0.42s; }
.registration-form .registration-form__group:nth-child(3) { animation-delay: 0.49s; }
.registration-form .registration-form__group:nth-child(4) { animation-delay: 0.56s; }
.registration-form .registration-form__group:nth-child(5) { animation-delay: 0.63s; }
.registration-form .registration-form__group:nth-child(6) { animation-delay: 0.7s; }
.registration-form .registration-form__group:nth-child(7) { animation-delay: 0.77s; }
.registration-form .registration-form__group:nth-child(8) { animation-delay: 0.84s; }
.registration-form .registration-form__group:nth-child(9) { animation-delay: 0.91s; }
.registration-form .registration-form__group:nth-child(10) { animation-delay: 0.98s; }
.registration-form .registration-form__group:nth-child(11) { animation-delay: 1.05s; }
.registration-form .registration-form__group:nth-child(12) { animation-delay: 1.12s; }

/* Select: mismo aspecto que input */
.login-form__select,
.mu-angel-form select.login-form__input {
	width: 100%;
	padding: 13px 16px;
	font-size: 13px;
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid #3a3116;
	border-radius: 6px;
	outline: none;
	transition: all 0.3s ease;
	font-family: inherit;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239b9a89' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.login-form__select:hover,
.mu-angel-form select.login-form__input:hover {
	border-color: #4a4218;
	background-color: rgba(0, 0, 0, 0.4);
}

.login-form__select:focus,
.mu-angel-form select.login-form__input:focus {
	border-color: #6d9953;
	box-shadow: 0 0 0 3px rgba(109, 153, 83, 0.2);
}

.registration-form__rules {
	margin-bottom: 24px;
}

.registration-form__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.5;
	color: #9b9a89;
}

.registration-form__checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	accent-color: #6d9953;
	cursor: pointer;
}

.registration-form__checkbox-label a {
	color: #b8962e;
	text-decoration: none;
	transition: color 0.25s ease;
}

.registration-form__checkbox-label a:hover {
	color: #d4b03c;
}

.registration-form__submit {
	margin-top: 28px;
	text-align: center;
	animation: loginGroupIn 0.4s ease 1.15s backwards;
}

.registration-alerts {
	margin-bottom: 24px;
}

.registration-result .login-alert {
	margin-bottom: 0;
}

/* === Modal de términos y condiciones (registro) === */
.terms-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0);
	backdrop-filter: blur(0);
	-webkit-backdrop-filter: blur(0);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
	padding: 20px;
	box-sizing: border-box;
}

.terms-modal-backdrop--visible {
	opacity: 1;
	visibility: visible;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.terms-modal-box {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, rgba(28, 26, 22, 0.98) 0%, rgba(18, 16, 14, 0.99) 100%);
	border: 1px solid #3a3116;
	border-radius: 12px;
	box-shadow:
		0 0 0 1px rgba(184, 150, 46, 0.15),
		0 25px 60px rgba(0, 0, 0, 0.6),
		0 0 80px rgba(184, 150, 46, 0.08);
	transform: scale(0.95);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	overflow: hidden;
}

.terms-modal-backdrop--visible .terms-modal-box {
	transform: scale(1);
	opacity: 1;
}

.terms-modal-header {
	padding: 24px 28px 16px;
	border-bottom: 1px solid #3a3116;
	flex-shrink: 0;
}

.terms-modal-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: bold;
	color: #ebe9e2;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	text-shadow: 0 0 20px rgba(184, 150, 46, 0.2);
}

.terms-modal-subtitle {
	margin: 0;
	font-size: 12px;
	color: #9b9a89;
	line-height: 1.4;
}

.terms-modal-body {
	flex: 1;
	min-height: 200px;
	max-height: 45vh;
	overflow-y: auto;
	padding: 20px 28px;
	background: rgba(0, 0, 0, 0.25);
}

.terms-modal-body-inner {
	font-size: 13px;
	line-height: 1.65;
	color: #cbc8bb;
}

.terms-modal-body-inner p {
	margin: 0 0 12px;
}

.terms-modal-body-inner p:last-child {
	margin-bottom: 0;
}

.terms-modal-body-inner ul,
.terms-modal-body-inner ol {
	margin: 0 0 12px;
	padding-left: 24px;
}

.terms-modal-loading {
	color: #9b9a89;
	font-style: italic;
}

.terms-modal-error {
	color: #c75a5a;
	margin: 0;
}

.terms-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
	padding: 20px 28px 24px;
	border-top: 1px solid #3a3116;
	background: rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
}

.terms-modal-btn {
	padding: 14px 32px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	border: 1px solid;
}

.terms-modal-btn--decline {
	color: #9b9a89;
	background: rgba(0, 0, 0, 0.4);
	border-color: #3a3116;
}

.terms-modal-btn--decline:hover {
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.5);
	border-color: #4a4218;
}

.terms-modal-btn--accept {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	background: linear-gradient(180deg, #8b6914 0%, #6b4f0f 40%, #4a3809 100%);
	border-color: #b8962e;
	box-shadow: inset 0 1px 0 rgba(255, 235, 180, 0.25), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.terms-modal-btn--accept:hover:not(:disabled) {
	background: linear-gradient(180deg, #a07a18 0%, #7d5d12 40%, #5a420c 100%);
	border-color: #d4b03c;
	box-shadow: inset 0 1px 0 rgba(255, 245, 200, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
	transform: translateY(-2px);
}

.terms-modal-btn--accept:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	color: #6b6a5e;
	background: rgba(40, 38, 32, 0.8);
	border-color: #3a3116;
	box-shadow: none;
}

/* === Módulo Downloads: cards, info y botón === */
.downloads-section {
	padding-bottom: 40px;
	max-width: 720px;
	margin-left: 5rem;
	margin-right: auto;
	margin-top: 1rem;
}

.downloads-intro {
	margin: 0 0 24px;
	font-size: 14px;
	color: #9b9a89;
	line-height: 1.5;
	text-align: center;
	animation: loginGroupIn 0.4s ease 0.2s backwards;
}

.downloads-empty {
	max-width: 480px;
	margin: 0 auto;
	animation: loginFormIn 0.5s ease 0.2s backwards;
}

.downloads-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.download-card {
	margin: 0;
	padding: 0;
	animation: downloadCardIn 0.5s ease backwards;
}

@keyframes downloadCardIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.download-card__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 24px 28px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid #3a3116;
	border-radius: 10px;
	transition: all 0.35s ease;
}

.download-card__inner:hover {
	background: rgba(0, 0, 0, 0.35);
	border-color: #4a4218;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(184, 150, 46, 0.08);
}

.download-card__info {
	flex: 1;
	min-width: 0;
}

.download-card__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: bold;
	color: #ebe9e2;
	text-transform: none;
	letter-spacing: 0.5px;
	line-height: 1.3;
}

.download-card__meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #9b9a89;
}

.download-card__meta dt {
	margin: 0;
	font-weight: normal;
	color: #6b6a5e;
}

.download-card__meta dd {
	margin: 0;
	color: #cbc8bb;
	font-weight: 500;
}

.download-card__action {
	flex-shrink: 0;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 40%, #153a2a 100%);
	border: 1px solid #3d8b5c;
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.download-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
	border-radius: 8px 8px 0 0;
	pointer-events: none;
}

.download-btn:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 40%, #1a4535 100%);
	border-color: #4da070;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 22px rgba(0, 0, 0, 0.4);
	transform: translateY(-3px);
	color: #fff !important;
}

.download-btn:active {
	transform: translateY(-1px);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.download-btn__icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
}

.download-btn__label {
	position: relative;
	z-index: 1;
}

/* === About Server: hero, intro y botones === */
.about-section {
	max-width: 720px;
	margin: 0 auto;
	padding-bottom: 50px;
	margin-top: 1rem;
	margin-left: 5rem;
}

.about-hero {
	text-align: center;
	padding: 32px 28px 28px;
	background: linear-gradient(180deg, rgba(28, 26, 22, 0.6) 0%, rgba(18, 16, 14, 0.85) 100%);
	border: 1px solid #3a3116;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(184, 150, 46, 0.08), 0 20px 50px rgba(0, 0, 0, 0.4);
	margin-bottom: 24px;
	animation: aboutHeroIn 0.6s ease backwards;
}

@keyframes aboutHeroIn {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.about-hero__title {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: bold;
	color: #ebe9e2;
	text-transform: none;
	letter-spacing: 0.8px;
	line-height: 1.3;
	text-shadow: 0 0 30px rgba(184, 150, 46, 0.15);
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.about-stats-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	background: linear-gradient(180deg, #8b6914 0%, #6b4f0f 40%, #4a3809 100%);
	border: 1px solid #b8962e;
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 235, 180, 0.3), 0 4px 14px rgba(0, 0, 0, 0.35);
	transition: all 0.35s ease;
	position: relative;
	overflow: hidden;
	animation: aboutBtnIn 0.5s ease backwards;
}

.about-stats-btn:nth-child(1) { animation-delay: 0.15s; }
.about-stats-btn:nth-child(2) { animation-delay: 0.22s; }
.about-stats-btn:nth-child(3) { animation-delay: 0.29s; }
.about-stats-btn:nth-child(4) { animation-delay: 0.36s; }
.about-stats-btn:nth-child(5) { animation-delay: 0.43s; }

.about-stats-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
	border-radius: 8px 8px 0 0;
	pointer-events: none;
}

.about-stats-btn:hover {
	transform: translateY(-3px) scale(1.02);
	color: #fff !important;
	background: linear-gradient(180deg, #a07a18 0%, #7d5d12 40%, #5a420c 100%);
	border-color: #d4b03c;
	box-shadow: inset 0 1px 0 rgba(255, 245, 200, 0.35), 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 30px rgba(184, 150, 46, 0.2);
}

.about-stats-btn--active {
	background: linear-gradient(180deg, #6d9953 0%, #4a7a3a 40%, #2d5a28 100%);
	border-color: #8bb86d;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 18px rgba(109, 153, 83, 0.35);
}

.about-stats-btn--active:hover {
	background: linear-gradient(180deg, #7da85c 0%, #558a42 40%, #356830 100%);
	border-color: #9bc97a;
}

.about-intro {
	padding: 28px 32px 32px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid #3a3116;
	border-radius: 12px;
	animation: aboutIntroIn 0.6s ease 0.2s backwards;
}

@keyframes aboutIntroIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes aboutBtnIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.about-intro__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #cbc8bb;
}

/* === Stats (About Server): cards, filas y empty states === */
.stats-page {
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: 50px;
	margin-top: 1rem;
	margin-left: 5rem;
}

.stats-page__header {
	margin-bottom: 28px;
	animation: statsHeaderIn 0.5s ease backwards;
}

@keyframes statsHeaderIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stats-page__title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: bold;
	color: #ebe9e2;
	text-transform: none;
	letter-spacing: 0.5px;
}

.stats-server-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.stats-server-pills .about-stats-btn {
	animation: none;
}

.stats-cards {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.stats-card {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid #3a3116;
	border-radius: 12px;
	overflow: hidden;
	animation: statsCardIn 0.5s ease backwards;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
	border-color: #4a4218;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(184, 150, 46, 0.06);
}

@keyframes statsCardIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stats-card__header {
	padding: 16px 24px;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid #3a3116;
}

.stats-card__body {
	padding: 0;
}

.stats-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 24px;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
	transition: background 0.25s ease;
}

.stats-card__row:last-child,
.stats-card__row--last {
	border-bottom: none;
}

.stats-card__row:hover {
	background: rgba(255, 255, 255, 0.03);
}

.stats-card__label {
	font-size: 13px;
	color: #9b9a89;
}

.stats-card__value {
	font-size: 13px;
	font-weight: 600;
	color: #ebe9e2;
}

.stats-card__value--highlight {
	color: #6d9953;
	text-shadow: 0 0 12px rgba(109, 153, 83, 0.3);
}

.stats-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 32px 24px;
	text-align: center;
	background: rgba(74, 122, 184, 0.08);
	border-top: 1px solid rgba(74, 122, 184, 0.2);
}

.stats-empty__icon {
	width: 32px;
	height: 32px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7ab8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
}

.stats-empty__text {
	margin: 0;
	font-size: 13px;
	color: #8ba8c9;
}

/* Tabla de guilds en stats */
.stats-card--table .stats-card__body {
	padding: 0;
}

.stats-table {
	width: 100%;
}

.stats-table__head {
	display: grid;
	grid-template-columns: 50px 1fr 1fr 80px;
	gap: 12px;
	padding: 14px 24px;
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid #3a3116;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #9b9a89;
}

.stats-table__row {
	display: grid;
	grid-template-columns: 50px 1fr 1fr 80px;
	gap: 12px;
	padding: 12px 24px;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
	align-items: center;
	transition: background 0.25s ease;
}

.stats-table__row:hover {
	background: rgba(255, 255, 255, 0.04);
}

.stats-table__row:last-child {
	border-bottom: none;
}

.stats-table__cell {
	font-size: 13px;
	color: #cbc8bb;
}

.stats-table__link {
	color: #b8962e !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.stats-table__link:hover {
	color: #d4b03c !important;
}

.stats-table__link--master {
	color: #8b9aab !important;
}

.stats-table__link--master:hover {
	color: #a8b8cc !important;
}

/* === Rankings: servidores, pills, tablas y búsqueda === */
.rankings-page {
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 50px;
	margin-top: 1rem;
	margin-left: 5rem;
}

.rankings-page__intro {
	margin: 0 0 20px;
	font-size: 15px;
	color: #9b9a89;
	line-height: 1.5;
	text-align: center;
	animation: statsHeaderIn 0.4s ease backwards;
}

.rank-server-pills.tabrow {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.rank-server-pills.tabrow li {
	margin: 0;
	padding: 0;
}

.rank-server-pill {
	display: inline-block;
	padding: 12px 24px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #9b9a89 !important;
	text-decoration: none !important;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid #3a3116;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.rank-server-pill:hover {
	color: #ebe9e2 !important;
	background: rgba(0, 0, 0, 0.5);
	border-color: #4a4218;
}

.rank-server-pills__item--active .rank-server-pill {
	color: #fff !important;
	background: linear-gradient(180deg, #8b6914 0%, #6b4f0f 40%, #4a3809 100%);
	border-color: #b8962e;
	box-shadow: inset 0 1px 0 rgba(255, 235, 180, 0.25), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.rank-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
	padding: 20px 0;
	border-bottom: 1px solid #3a3116;
	animation: statsHeaderIn 0.4s ease 0.1s backwards;
}

.rank-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 10px 18px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #ebe9e2 !important;
	text-decoration: none !important;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid #3a3116;
	border-radius: 6px;
	transition: all 0.3s ease;
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
}

.rank-pill:hover {
	color: #fff !important;
	background: rgba(0, 0, 0, 0.55);
	border-color: #b8962e;
	box-shadow: 0 0 20px rgba(184, 150, 46, 0.15);
}

.rank-content {
	min-height: 120px;
	padding: 20px 0;
	animation: statsCardIn 0.4s ease backwards;
}

/* Tablas de ranking (EJS) */
.rank-content .ranking-table,
.rank-content .rank-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid #3a3116;
	margin-bottom: 20px;
}

.rank-content .ranking-table thead tr,
.rank-content .rank-table thead tr,
.rank-content .ranking-table .main-tr,
.rank-content .rank-table .main-tr {
	background: rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #3a3116;
}

.rank-content .ranking-table th,
.rank-content .rank-table th {
	padding: 14px 16px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #9b9a89;
	text-align: center;
}

.rank-content .ranking-table tbody tr,
.rank-content .rank-table tbody tr {
	transition: background 0.2s ease;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
}

.rank-content .ranking-table tbody tr:last-child,
.rank-content .rank-table tbody tr:last-child {
	border-bottom: none;
}

.rank-content .ranking-table tbody tr:hover,
.rank-content .rank-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.rank-content .ranking-table td,
.rank-content .rank-table td {
	padding: 12px 16px;
	font-size: 13px;
	color: #cbc8bb;
}

.rank-content .ranking-table a,
.rank-content .rank-table a {
	color: #b8962e !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.rank-content .ranking-table a:hover,
.rank-content .rank-table a:hover {
	color: #d4b03c !important;
}

.rank-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px 24px;
	text-align: center;
	background: rgba(74, 122, 184, 0.08);
	border: 1px solid rgba(74, 122, 184, 0.2);
	border-radius: 10px;
	margin-bottom: 20px;
}

.rank-empty .rank-empty__icon {
	width: 28px;
	height: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7ab8' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
}

.rank-empty .rank-empty__text,
.rank-empty .i_note {
	margin: 0;
	font-size: 13px;
	color: #8ba8c9;
}

.rank-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
}

.rank-filters .rank-pill {
	min-height: 36px;
	padding: 10px 14px;
	font-size: 11px;
	line-height: 1.35;
	white-space: normal;
	max-width: 140px;
}

.rank-search {
	margin-top: 28px;
	padding: 24px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid #3a3116;
	border-radius: 10px;
	animation: statsCardIn 0.4s ease backwards;
}

.rank-search__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.5px;
	color: #ebe9e2;
}

.rank-search form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.rank-search .rank-search__input {
	width: 100%;
	max-width: 280px;
	padding: 12px 16px;
	font-size: 13px;
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid #3a3116;
	border-radius: 6px;
	outline: none;
	transition: all 0.3s ease;
	font-family: inherit;
	box-sizing: border-box;
}

.rank-search .rank-search__input:focus {
	border-color: #6d9953;
	box-shadow: 0 0 0 3px rgba(109, 153, 83, 0.2);
}

.rank-search .rank-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 28px;
	font-size: 12px;
	line-height: 1.3;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff !important;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 40%, #153a2a 100%);
	border: 1px solid #3d8b5c;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.rank-search .rank-search__btn:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 40%, #1a4535 100%);
	border-color: #4da070;
	transform: translateY(-2px);
}

.rank-cache {
	text-align: right;
	padding-top: 12px;
	font-size: 11px;
	color: #6b6a5e;
}

.rank-gens-hero {
    margin-bottom: 24px;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

/* === Info pages (Character, Guild) === */
.info-page {
	padding: 0 0 20px;
}

.info-page .stats-card {
	margin-bottom: 20px;
}

.info-page .stats-card:last-child {
	margin-bottom: 0;
}

.info-hero {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 20px 24px;
	flex-wrap: wrap;
}

.info-hero__portrait {
	width: 70px;
	height: auto;
	flex-shrink: 0;
	border-radius: 8px;
}

.info-hero__rows {
	flex: 1;
	min-width: 200px;
}

.info-page .ranking-table,
.info-page .rank-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 0;
	background: transparent;
}

.info-page .ranking-table thead tr,
.info-page .rank-table thead tr,
.info-page .ranking-table .main-tr,
.info-page .rank-table .main-tr {
	background: rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #3a3116;
}

.info-page .ranking-table th,
.info-page .rank-table th {
	padding: 14px 16px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #9b9a89;
	text-align: left;
}

.info-page .ranking-table tbody tr,
.info-page .rank-table tbody tr {
	transition: background 0.2s ease;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
}

.info-page .ranking-table tbody tr:last-child,
.info-page .rank-table tbody tr:last-child {
	border-bottom: none;
}

.info-page .ranking-table tbody tr:hover,
.info-page .rank-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.info-page .ranking-table td,
.info-page .rank-table td {
	padding: 12px 16px;
	font-size: 13px;
	color: #cbc8bb;
}

.info-page .ranking-table a,
.info-page .rank-table a {
	color: #b8962e !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.info-page .ranking-table a:hover,
.info-page .rank-table a:hover {
	color: #d4b03c !important;
}

.info-page .char-equipment {
	text-align: center;
	padding: 20px;
}

.info-page #inventory {
	display: inline-block;
	position: relative;
	height: 407px;
	width: 400px;
	border-radius: 8px;
}

/* Lost password / Set new password: formularios al estilo login */
.box-style1--lost-password .title--sub,
.box-style1--set-password .title--sub {
	font-size: 16px !important;
	color: #9b9a89 !important;
	text-transform: none !important;
}

.lost-password-form .registration-form__group,
.set-password-form .registration-form__group {
	margin-bottom: 18px;
}

.lost-password-form .login-form__btn,
.set-password-form .login-form__btn {
	min-height: 44px;
	padding: 12px 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.login-alert--success {
	border-left-color: #4d8a4d;
	color: #b8e0b8;
}

.login-alert--error {
	border-left-color: #8a4d4d;
	color: #e0b8b8;
}

/* === Account Panel: steps navigation (tabs on same page) === */
.account-panel-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 24px 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid #3a3116;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}

.account-panel-step-wrap {
	display: inline-block;
}

.account-panel-step {
	display: inline-block;
	padding: 14px 20px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #9b9a89 !important;
	text-decoration: none !important;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.account-panel-step:hover {
	color: #ebe9e2 !important;
	background: rgba(255, 255, 255, 0.05);
}

.account-panel-step.active,
.account-panel-step--active {
	color: #d4b03c !important;
	background: rgba(0, 0, 0, 0.35);
	border-bottom-color: #b8962e;
}

/* Account Panel: back button (sub-pages) – estilo dorado profesional */
.account-panel-back-wrap {
	margin-bottom: 24px;
	margin-left: 3rem;
    margin-top: 1rem;
}

.account-panel-back-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0px 28px;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 20px rgba(255,220,150,0.25);
	background: linear-gradient(180deg, #8b6914 0%, #6b4f0f 40%, #4a3809 100%);
	border: 1px solid #b8962e;
	border-radius: 8px;
	box-shadow:
		inset 0 1px 0 rgba(255,235,180,0.35),
		inset 0 -1px 0 rgba(0,0,0,0.4),
		0 4px 15px rgba(0,0,0,0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	overflow: hidden;
}

.account-panel-back-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
	border-radius: 8px 8px 0 0;
	pointer-events: none;
}

.account-panel-back-btn:hover {
	transform: translateY(-3px) scale(1.02);
	color: #fff !important;
	background: linear-gradient(180deg, #a07a18 0%, #7d5d12 40%, #5a420c 100%);
	border-color: #d4b03c;
	box-shadow:
		inset 0 1px 0 rgba(255,245,200,0.4),
		inset 0 -1px 0 rgba(0,0,0,0.3),
		0 8px 25px rgba(0,0,0,0.45),
		0 0 35px rgba(212,176,60,0.3),
		0 0 50px rgba(184,150,46,0.15);
}

.account-panel-back-btn:active {
	transform: translateY(-1px) scale(1.01);
	box-shadow:
		inset 0 2px 8px rgba(0,0,0,0.4),
		0 2px 10px rgba(0,0,0,0.3);
}

.account-panel-back-btn__icon {
	display: inline-block;
	font-size: 1.1em;
	line-height: 1;
	opacity: 0.95;
}

.account-panel-back-btn__text {
	letter-spacing: 2px;
}

/* Account Panel: tab content (show/hide panes) */
.account-panel-page .tab-content {
	margin-top: 0;
}

.account-panel-page .tab-pane {
	display: none;
	padding: 0;
}

.account-panel-page .tab-pane.active {
	display: block;
}

/* Account Panel: page wrapper */
#content .account-panel-page .box-style1,
#content .account-panel-page .box-style4 {
	margin-bottom: 20px;
}

.account-panel-page .stats-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

/* Account Panel: Account Information table (two-column like screenshot) */
.ucp-info-table {
	width: 100%;
	border-collapse: collapse;
}

.ucp-info-table tr {
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
	transition: background 0.2s ease;
}

.ucp-info-table tr:last-child {
	border-bottom: none;
}

.ucp-info-table tr:hover {
	background: rgba(255, 255, 255, 0.03);
}

.ucp-info-table th {
	width: 35%;
	max-width: 220px;
	padding: 14px 20px;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: #9b9a89;
	vertical-align: middle;
}

.ucp-info-table td {
	padding: 14px 20px;
	font-size: 13px;
	color: #ebe9e2;
	vertical-align: middle;
}

.ucp-info-table td a {
	color: #b8962e !important;
	text-decoration: none !important;
}

.ucp-info-table td a:hover {
	color: #d4b03c !important;
}

.ucp-info-table__value {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.ucp-info-table__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0px 18px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(180deg, #8d5a2e 0%, #6b4020 50%, #4d2e18 100%);
	border: 1px solid #a66b38;
	border-radius: 6px;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.ucp-info-table__action:hover {
	background: linear-gradient(180deg, #a66b38 0%, #8d5a2e 50%, #6b4020 100%);
	border-color: #c07a40;
	color: #fff !important;
}

/* Account Panel: services table (Name, Description, USE SERVICE) */
.ucp-services-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid #3a3116;
	border-radius: 10px;
	overflow: hidden;
}

.ucp-services-table thead tr {
	border-bottom: 2px solid #8d5a2e;
	background: rgba(0, 0, 0, 0.35);
}

.ucp-services-table th {
	padding: 14px 20px;
	text-align: left;
	font-size: 13px;
	font-weight: bold;
	color: #d4b03c;
}

.ucp-services-table th:last-child {
	width: 140px;
	text-align: center;
}

.ucp-services-table tbody tr {
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
	transition: background 0.2s ease;
}

.ucp-services-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}

.ucp-services-table tbody tr:last-child {
	border-bottom: none;
}

.ucp-services-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.ucp-services-table td {
	padding: 14px 20px;
	font-size: 13px;
	color: #ebe9e2;
	vertical-align: middle;
}

.ucp-services-table__action {
	text-align: center;
	white-space: nowrap;
}

.ucp-use-service-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0px 18px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(180deg, #8d5a2e 0%, #6b4020 50%, #4d2e18 100%);
	border: 1px solid #a66b38;
	border-radius: 6px;
	transition: all 0.25s ease;
}

.ucp-use-service-btn:hover {
	background: linear-gradient(180deg, #a66b38 0%, #8d5a2e 50%, #6b4020 100%);
	border-color: #c07a40;
	color: #fff !important;
}

#content .account-panel-page .box-style1:last-child,
#content .account-panel-page .box-style4:last-child {
	margin-bottom: 0;
}

/* Account Panel: option cards grid (index) */
.ucp-options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.ucp-option-card {
	display: block;
	padding: 18px 20px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid #3a3116;
	border-radius: 10px;
	text-decoration: none !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ucp-option-card:hover {
	border-color: #4a4218;
	background: rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.ucp-option-card__title {
	display: block;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.5px;
	color: #d4b03c !important;
	margin-bottom: 6px;
}

.ucp-option-card__desc {
	font-size: 12px;
	line-height: 1.4;
	color: #9b9a89;
}

/* Account Panel: forms (reuse registration-form) */
.account-panel-page .registration-form__group {
	margin-bottom: 18px;
}

.account-panel-page .login-form__btn {
	min-height: 44px;
	padding: 12px 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.account-panel-page .custom_button,
.account-panel-page .button-style {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 28px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #fff !important;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 40%, #153a2a 100%);
	border: 1px solid #3d8b5c;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none !important;
}

.account-panel-page .custom_button:hover,
.account-panel-page .button-style:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 40%, #1a4535 100%);
	border-color: #4da070;
}

/* Account Panel: tables inside .info-page style */
.account-panel-page .info-page .ranking-table {
	width: 100%;
}

/* === Warehouse & Web Warehouse: layout moderno === */
.warehouse-page .box-style1--warehouse {
	margin-bottom: 20px;
}

.warehouse-page .title--sub {
	font-size: 15px;
	color: #9b9a89;
	font-weight: normal;
	margin-bottom: 0;
}

.warehouse-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: flex-end;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
}

.warehouse-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 600;
	color: #cbc8bb;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.warehouse-nav__btn:hover {
	color: #fff;
	background: rgba(42, 107, 74, 0.45);
	border-color: rgba(93, 139, 92, 0.5);
}

.warehouse-nav__btn--active {
	color: #fff;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border-color: #3d8b5c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.warehouse-nav__btn--active:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
}

/* Web Warehouse: alerts compactas */
.warehouse-alerts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.warehouse-alerts .login-alert {
	margin-bottom: 0;
}

/* Tabla Web Warehouse */
.warehouse-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
	border-radius: 8px;
	border: 1px solid rgba(58, 49, 22, 0.5);
	background: rgba(0, 0, 0, 0.2);
}

.warehouse-page .warehouse-table {
	width: 100%;
	border-collapse: collapse;
}

.warehouse-page .warehouse-table thead tr,
.warehouse-page .warehouse-table .main-tr {
	background: rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #3a3116;
}

.warehouse-page .warehouse-table th,
.warehouse-page .warehouse-table .main-tr td {
	padding: 14px 18px;
	font-size: 12px;
	color: #cbc8bb;
	text-align: left;
}

.warehouse-page .warehouse-table tbody tr {
	transition: background 0.2s ease;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
}

.warehouse-page .warehouse-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.warehouse-page .warehouse-table tbody tr:last-child {
	border-bottom: none;
}

.warehouse-page .warehouse-table tbody td {
	padding: 14px 18px;
	font-size: 13px;
}

.warehouse-page .warehouse-table a {
	color: #b8962e !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.warehouse-page .warehouse-table a:hover {
	color: #d4b03c !important;
}

/* Estado vacío */
.warehouse-empty {
	margin-top: 24px;
	padding: 24px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px dashed rgba(255, 255, 255, 0.1);
}

.warehouse-empty .login-alert {
	margin-bottom: 0;
}

/* Grids del Warehouse (game + extended slots) */
.warehouse-grids {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	align-items: flex-start;
	margin-top: 20px;
	padding-top: 16px;
	clear: both;
}

.warehouse-grids .wh_items {
	float: none;
	margin: 0;
}

.wh_items--game,
.wh_items--extended {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(58, 49, 22, 0.5);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Slots de items: hover más moderno */
.warehouse-page .square {
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.warehouse-page .square:hover {
	opacity: 1;
	transform: scale(1.02);
}

/* Formulario vender item: layout más limpio */
.warehouse-page .registration-form-wrap.form table {
	width: 100%;
	max-width: 480px;
}

.warehouse-page .registration-form-wrap.form td {
	padding: 8px 0;
}

.warehouse-page .registration-form-wrap.form td:first-child {
	width: 160px;
	color: #9b9a89;
	font-size: 12px;
}

.warehouse-page .login-form__btn {
	margin-top: 12px;
}

/* Paginación en Web Warehouse */
.warehouse-page table[style*="width: 100%"] + table {
	margin-top: 16px;
}

/* Responsive: grids se apilan en pantallas pequeñas */
@media (max-width: 700px) {
	.warehouse-grids {
		flex-direction: column;
		align-items: center;
	}
	.warehouse-nav {
		justify-content: center;
	}
}

/* === Market: layout moderno === */
.market-page .box-style1--market {
	margin-bottom: 24px;
}

.market-page .title--sub {
	font-size: 15px;
	color: #9b9a89;
	font-weight: normal;
	margin-bottom: 0;
}

.market-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: flex-end;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
}

.market-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 600;
	color: #cbc8bb;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.market-nav__btn:hover {
	color: #fff;
	background: rgba(42, 107, 74, 0.45);
	border-color: rgba(93, 139, 92, 0.5);
}

.market-nav__btn--active {
	color: #fff;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border-color: #3d8b5c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.market-nav__btn--active:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
}

.market-nav__btn--server {
	font-size: 11px;
	padding: 8px 14px;
}

/* Market: tablas */
.market-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
	border-radius: 8px;
	border: 1px solid rgba(58, 49, 22, 0.5);
	background: rgba(0, 0, 0, 0.25);
}

.market-page .market-table {
	width: 100%;
	border-collapse: collapse;
}

.market-page .market-table thead tr,
.market-page .market-table .main-tr {
	background: rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #3a3116;
}

.market-page .market-table th,
.market-page .market-table .main-tr td {
	padding: 14px 18px;
	font-size: 12px;
	color: #cbc8bb;
	text-align: left;
}

.market-page .market-table tbody tr {
	transition: background 0.2s ease;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
}

.market-page .market-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.market-page .market-table tbody td {
	padding: 14px 18px;
	font-size: 13px;
	color: #ebe9e2;
}

.market-page .market-table .market-table__row--highlight {
	background: rgba(255, 51, 51, 0.15);
}

.market-page .market-table a {
	color: #b8962e !important;
	text-decoration: none !important;
}

.market-page .market-table a:hover {
	color: #d4b03c !important;
}

/* Market Buy: formulario de compra */
.market-buy-form .market-item-preview {
	margin-bottom: 24px;
	text-align: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px solid rgba(58, 49, 22, 0.4);
}

.market-buy-form .market-item-icon img {
	display: block;
	margin: 0 auto 10px;
}

.market-buy-form .market-item-name {
	font-size: 14px;
	color: #ebe9e2;
}

.market-page .market-buy-table {
	max-width: 480px;
	margin: 0 auto 20px;
}

.market-page .market-buy-table td {
	padding: 12px 16px;
}

.market-page .market-buy-table .market-table__label {
	width: 40%;
	color: #9b9a89;
	font-size: 12px;
}

.market-buy-actions {
	text-align: center;
	padding-top: 8px;
}

.market-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff !important;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	border: none;
	text-decoration: none;
}

.market-btn--primary {
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border: 1px solid #3d8b5c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.market-btn--primary:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
}

.market-btn--secondary {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.market-btn--secondary:hover {
	background: rgba(42, 107, 74, 0.35);
	border-color: rgba(93, 139, 92, 0.5);
}

/* Market Filter overlay */
.market-filter-overlay {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(58, 49, 22, 0.6);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.market-filter .item_filter_content {
	padding: 16px;
}

.market-filter__actions {
	margin: 16px 0;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Market empty state */
.market-empty {
	margin-top: 24px;
	padding: 24px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px dashed rgba(255, 255, 255, 0.1);
	color: #9b9a89;
}

/* Paginación Market */
.market-page table[style*="width: 100%"] {
	margin-top: 16px;
}

.market-page table[style*="width: 100%"] td {
	padding: 12px 0;
	text-align: center;
}

/* === Shop (Change Name, Change Class, Buy GM, etc.): layout moderno === */
.shop-page .box-style1--shop {
	margin-bottom: 24px;
}

.shop-page .title--sub {
	font-size: 15px;
	color: #9b9a89;
	font-weight: normal;
	margin-bottom: 0;
}

.shop-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.shop-form-table {
	width: 100%;
	max-width: 480px;
	border-collapse: collapse;
}

.shop-form-table td {
	padding: 10px 0;
	vertical-align: middle;
}

.shop-form-table__label {
	width: 160px;
	color: #9b9a89;
	font-size: 13px;
}

.shop-form__input,
.shop-form__select {
	width: 100%;
	max-width: 280px;
	padding: 10px 12px;
	font-size: 13px;
	color: #ebe9e2;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(58, 49, 22, 0.5);
	border-radius: 6px;
}

.shop-form__input:focus,
.shop-form__select:focus {
	outline: none;
	border-color: rgba(42, 107, 74, 0.6);
}

.shop-form__actions {
	margin-top: 20px;
	padding-top: 8px;
}

.shop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff !important;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	border: none;
	text-decoration: none;
}

.shop-btn--primary {
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border: 1px solid #3d8b5c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shop-btn--primary:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
}

.shop-btn--secondary {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.shop-btn--secondary:hover {
	background: rgba(42, 107, 74, 0.35);
	border-color: rgba(93, 139, 92, 0.5);
}

.shop-info {
	margin-top: 24px;
	padding: 20px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px solid rgba(58, 49, 22, 0.4);
}

.shop-info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.shop-info li {
	padding: 8px 0;
	font-size: 13px;
	color: #cbc8bb;
	line-height: 1.5;
	border-bottom: 1px solid rgba(58, 49, 22, 0.3);
}

.shop-info li:last-child {
	border-bottom: none;
}

.shop-info__price {
	color: #e74c3c;
	font-weight: 600;
}

.shop-page .registration-form-wrap.form {
	max-width: 520px;
}

/* === Support: layout moderno === */
.support-page .box-style1--support {
	margin-bottom: 30px;
}

.support-page .title--sub {
	font-size: 15px;
	color: #9b9a89;
	font-weight: normal;
	margin-bottom: 0;
}

/* Centrar formulario Support (Send ticket) */
.support-page .box-style1--support .entry {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.support-page .registration-form-wrap.form {
	margin: 0 auto;
	max-width: 640px;
	width: 100%;
}

.support-page .support-form-table {
	margin: 0 auto;
}

.support-page .support-table-wrap {
	margin: 0 auto;
	max-width: 800px;
}

.support-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: flex-end;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
}

.support-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 600;
	color: #cbc8bb;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.support-nav__btn:hover {
	color: #fff;
	background: rgba(42, 107, 74, 0.45);
	border-color: rgba(93, 139, 92, 0.5);
}

.support-nav__btn--active {
	color: #fff;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border-color: #3d8b5c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.support-nav__btn--active:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
}

/* Formulario Support */
.support-page .support-form-table {
	width: 100%;
	max-width: 640px;
}

.support-page .support-form-table td {
	padding: 10px 0;
	vertical-align: top;
}

.support-page .support-form-table td:first-child {
	width: 180px;
	color: #9b9a89;
	font-size: 12px;
	padding-right: 16px;
}

.support-page .support-form-table input[type="text"],
.support-page .support-form-table select {
	width: 100%;
	max-width: 400px;
}

/* CLEditor: celda del mensaje - espacio suficiente (no sobrescribir cleditorMain/cleditorButton) */
.support-page .support-form-table td[colspan="2"] {
	width: 100%;
	min-height: 220px;
}

.support-page .support-form-table #fileList {
	margin-top: 8px;
}

.support-page .support-form-table tr:last-child td {
	text-align: center;
	padding-top: 16px;
}

.support-page .support-form-table #fileList .style3 {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 11px;
	color: #9b9a89;
}

/* Botones Submit: estilo moderno acorde al tema Mu Angel */
.support-page .button-style,
.support-page .button-style2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff !important;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border: 1px solid #3d8b5c;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-page .button-style:hover,
.support-page .button-style2:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
	border-color: #4da070;
	box-shadow: 0 3px 12px rgba(42, 107, 74, 0.4);
}

/* Read Ticket: Mark As Resolved y formulario de respuesta */
.support-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.support-btn--secondary {
	color: #ebe9e2 !important;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-btn--secondary:hover {
	background: rgba(42, 107, 74, 0.45);
	border-color: rgba(93, 139, 92, 0.5);
	color: #fff !important;
}

.support-meta-action {
	text-align: center;
	padding: 16px 14px !important;
}

.support-reply-form {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(58, 49, 22, 0.5);
}

.support-reply-editor {
	margin-bottom: 16px;
}

.support-reply-actions {
	text-align: center;
}

.support-attachments-cell {
	text-align: center;
	padding: 14px !important;
}

.support-attachments-label {
	font-weight: 600;
	color: #9b9a89;
	margin-bottom: 8px;
}

.support-attachments-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.support-attachments-list li {
	display: inline-block;
	margin: 4px 8px 4px 0;
}

.support-ticket-reply {
	width: 100%;
}

.support-ticket-message thead th:last-child,
.support-ticket-reply thead th:last-child {
	text-align: right;
}

/* Tabla My Tickets */
.support-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
	border-radius: 8px;
	border: 1px solid rgba(58, 49, 22, 0.5);
	background: rgba(0, 0, 0, 0.2);
}

.support-page .support-table {
	width: 100%;
	border-collapse: collapse;
}

.support-page .support-table thead tr,
.support-page .support-table .main-tr {
	background: rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #3a3116;
}

.support-page .support-table th,
.support-page .support-table .main-tr td {
	padding: 14px 18px;
	font-size: 12px;
	color: #cbc8bb;
	text-align: left;
}

.support-page .support-table tbody tr {
	transition: background 0.2s ease;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4);
}

.support-page .support-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.05);
}

.support-page .support-table a {
	color: #b8962e !important;
	text-decoration: none !important;
}

.support-page .support-table a:hover {
	color: #d4b03c !important;
}

/* Read Ticket: layout mensaje + meta */
.support-ticket-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
	margin-top: 16px;
}

/* Read ticket: cuadros con tema oscuro (sobrescribe gabodev .ticket) */
.support-ticket-message {
	min-width: 300px;
	flex: 1 1 400px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(58, 49, 22, 0.6);
	background: rgba(0, 0, 0, 0.35) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.support-ticket-message thead th {
	background: rgba(42, 107, 74, 0.4) !important;
	border-bottom: 1px solid rgba(58, 49, 22, 0.6) !important;
	color: #cbc8bb !important;
	padding: 14px 16px !important;
	font-size: 12px !important;
}

.support-ticket-message tbody td {
	background: rgba(0, 0, 0, 0.25) !important;
	border: none !important;
	border-top: 1px solid rgba(58, 49, 22, 0.3) !important;
	color: #ebe9e2 !important;
	padding: 16px !important;
	font-size: 13px !important;
	line-height: 1.5;
}

.support-ticket-message tbody td a {
	color: #b8962e !important;
}

.support-ticket-meta {
	flex: 0 0 220px;
}

.support-ticket-meta-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(58, 49, 22, 0.6);
	background: rgba(0, 0, 0, 0.35) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.support-ticket-meta-table td {
	padding: 12px 14px !important;
	font-size: 12px !important;
	border-bottom: 1px solid rgba(58, 49, 22, 0.4) !important;
	background: transparent !important;
	color: #ebe9e2 !important;
}

.support-ticket-meta-table tr:last-child td {
	border-bottom: none;
}

.support-ticket-meta-table td:first-child {
	color: #9b9a89 !important;
	width: 45%;
}

/* Replies del ticket: tema oscuro */
.support-page .ticket.ticket,
.support-page .support-ticket-reply {
	margin-bottom: 16px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(58, 49, 22, 0.6);
	background: rgba(0, 0, 0, 0.3) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.support-page .ticket thead th,
.support-page .support-ticket-reply thead th {
	padding: 12px 16px !important;
	font-size: 12px !important;
	color: #cbc8bb !important;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5) !important;
}

.support-page .ticket tbody td,
.support-page .support-ticket-reply tbody td {
	padding: 14px 16px !important;
	font-size: 13px !important;
	color: #ebe9e2 !important;
	background: rgba(0, 0, 0, 0.2) !important;
	border-top: 1px solid rgba(58, 49, 22, 0.3) !important;
}

.support-page .ticket tbody td a,
.support-page .support-ticket-reply tbody td a {
	color: #b8962e !important;
}

/* Estado vacío Support (login requerido) */
.support-empty {
	margin-top: 24px;
	padding: 24px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px dashed rgba(255, 255, 255, 0.1);
}

.support-empty .login-alert {
	margin-bottom: 0;
}

/* CLEditor en Support: tema oscuro integrado */
.support-page .cleditorMain {
	background: rgba(0, 0, 0, 0.4) !important;
	border: 1px solid rgba(58, 49, 22, 0.6) !important;
	border-radius: 6px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.support-page .cleditorToolbar {
	background: rgba(0, 0, 0, 0.5) !important;
	border-bottom: 1px solid rgba(58, 49, 22, 0.5);
}

.support-page .cleditorDivider {
	background: rgba(255, 255, 255, 0.2) !important;
}

/* Área de texto: fondo oscuro (el iframe body hereda del contenedor) */
.support-page .cleditorMain iframe {
	background: #1e1e1e !important;
}

.support-page .support-reply-editor {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 12px;
	border: 1px solid rgba(58, 49, 22, 0.4);
}

/* Responsive Support */
@media (max-width: 600px) {
	.support-ticket-layout {
		flex-direction: column;
	}
	.support-ticket-meta {
		flex: 1 1 auto;
	}
	.support-nav {
		justify-content: center;
	}
}

/* === Shop View Items: categorías, grid y paginación === */
#content_center.shop-view {
	width: 100%;
	max-width: 100%;
}
#content_center .shop-categories-wrap {
	margin-bottom: 16px;
}
#content_center .shop-categories-wrap .shop-categories-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	padding: 12px 10px;
	text-align: center;
	font-size: 0;
}
#content_center .shop-categories-wrap .shop-categories-inner a {
	display: inline-block;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #cbc8bb;
	background: rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
#content_center .shop-categories-wrap .shop-categories-inner a:hover {
	color: #fff;
	background: rgba(42, 107, 74, 0.5);
	border-color: #3d8b5c;
}
#content_center .shop-categories-wrap .shop-categories-inner a.active {
	color: #fff;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border-color: #3d8b5c;
	box-shadow: 0 0 0 1px rgba(61, 139, 92, 0.5);
}
#content_center .item_table {
	width: 100%;
	max-width: 100%;
	margin-top: 12px;
}
#content_center .item_table td {
	vertical-align: top;
	padding: 10px;
}
#content_center .item_table .each_item {
	width: 136px;
	min-width: 136px;
	margin: 0 auto;
	padding: 10px;
	background: rgba(0,0,0,0.2);
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.06);
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#content_center .item_table td:hover .each_item {
	background: rgba(42, 107, 74, 0.15);
	border-color: rgba(61, 139, 92, 0.4);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#content_center .items a {
	display: block;
	min-height: 2.4em;
	white-space: normal;
	word-break: break-word;
	line-height: 1.3;
}
#content_center .items a:hover {
	color: #fff !important;
}
/* Paginación Shop */
#content_center .shop-pagination-wrap {
	padding: 16px 0;
	margin-top: 16px;
	text-align: center;
	border-top: 1px solid rgba(255,255,255,0.08);
}
#content_center .shop-pagination-wrap #pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
}
#content_center .shop-pagination-wrap #pagination ul,
#content_center .shop-pagination-wrap #pagination li {
	list-style: none;
	margin: 0;
	padding: 0;
	float: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
#content_center .shop-pagination-wrap #pagination a {
	display: inline-block;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #cbc8bb;
	background: rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 6px;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
#content_center .shop-pagination-wrap #pagination a:hover {
	color: #fff;
	background: rgba(42, 107, 74, 0.5);
	border-color: #3d8b5c;
}
#content_center .shop-pagination-wrap #pagination a.on {
	color: #fff;
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border-color: #3d8b5c;
}
#content_center .shop-pagination-wrap #pagination a.on:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 100%);
}

/* === Shop Buy Modal: estilo mu_angel === */
.ui-dialog.shop-buy-modal {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0,0,0,0.5);
	border: 1px solid rgba(61, 139, 92, 0.4);
}
.ui-dialog.shop-buy-modal .ui-dialog-titlebar {
	background: linear-gradient(180deg, #1e4d38 0%, #153a2a 100%);
	border: none;
	border-bottom: 1px solid #3d8b5c;
	color: #fff;
	font-weight: 600;
	padding: 12px 16px;
	border-radius: 8px 8px 0 0;
}
.ui-dialog.shop-buy-modal .ui-dialog-titlebar-close {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 4px;
	color: #fff;
	top: 50%;
	transform: translateY(-50%);
	right: 12px;
}
.ui-dialog.shop-buy-modal .ui-dialog-titlebar-close:hover {
	background: rgba(255,255,255,0.15);
	border-color: rgba(255,255,255,0.5);
}
.ui-dialog.shop-buy-modal .ui-dialog-content {
	background: #1a1f1c;
	padding: 20px;
	border: none;
	color: #cbc8bb;
}
.ui-dialog.shop-buy-modal #item_buy {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 20px;
	margin: 0;
}
.ui-dialog.shop-buy-modal #item_buy_left {
	flex-shrink: 0;
	padding-right: 0;
}
.ui-dialog.shop-buy-modal #item_buy_right {
	flex: 1;
	min-width: 280px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	align-items: center;
	background: rgba(0,0,0,0.25);
	border-radius: 6px;
	padding: 12px;
	width: auto;
	min-width: 300px;
	border: 1px solid rgba(255,255,255,0.08);
}
.ui-dialog.shop-buy-modal #item_buy_right .full {
	grid-column: 1 / -1;
	background: rgba(42, 107, 74, 0.3);
	border-radius: 4px;
	padding: 8px 10px;
	width: auto;
	border: 1px solid rgba(61, 139, 92, 0.3);
}
.ui-dialog.shop-buy-modal #item_buy_right .opt_title {
	background: rgba(42, 107, 74, 0.25);
	border-radius: 4px;
	padding: 6px 10px;
	margin: 0;
	width: auto;
	float: none;
	height: auto;
	line-height: 1.4;
	border: 1px solid rgba(61, 139, 92, 0.2);
}
.ui-dialog.shop-buy-modal #item_buy_right .opt {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	background: rgba(42, 107, 74, 0.2);
	border-radius: 4px;
	padding: 6px 10px;
	margin: 0;
	width: auto;
	float: none;
	height: auto;
	line-height: 1.4;
	border: 1px solid rgba(61, 139, 92, 0.2);
}
.ui-dialog.shop-buy-modal #item_buy_right .opt select {
	background: #0f1412;
	border: 1px solid #3d8b5c;
	border-radius: 4px;
	color: #cbc8bb;
	padding: 4px 8px;
}
.ui-dialog.shop-buy-modal #item_buy_right .opt input[type="number"],
.ui-dialog.shop-buy-modal #item_buy_right .opt input[type="checkbox"] {
	background: #0f1412;
	border: 1px solid #3d8b5c;
	border-radius: 4px;
	color: #cbc8bb;
}
.ui-dialog.shop-buy-modal #item_image_bg {
	background: rgba(0,0,0,0.3);
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.1);
}
.ui-dialog.shop-buy-modal .item_info {
	background: rgba(42, 107, 74, 0.25);
	border-radius: 4px;
	margin-top: 6px;
	padding: 6px 10px;
	height: auto;
	line-height: 1.4;
	border: 1px solid rgba(61, 139, 92, 0.2);
}
.ui-dialog.shop-buy-modal .item_info .info {
	color: #cbc8bb;
	text-shadow: none;
}
.ui-dialog.shop-buy-modal .item_info .info .btimes { color: #ffaf04; }
.ui-dialog.shop-buy-modal .item_info .info .goldcr { color: #ffd966; }
.ui-dialog.shop-buy-modal .item_info .info .normalcr { color: #d9a08a; }
.ui-dialog.shop-buy-modal #buy_buttons {
	margin: 16px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	flex-wrap: wrap;
}
.ui-dialog.shop-buy-modal #buy_buttons .buy_button {
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 40%, #153a2a 100%) !important;
	border: 1px solid #3d8b5c;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-shadow: none;
	float: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.ui-dialog.shop-buy-modal #buy_buttons .buy_button:hover {
	background: linear-gradient(180deg, #33855c 0%, #25604a 40%, #1a4535 100%);
	border-color: #4da070;
}
.ui-widget-overlay {
	background: rgba(0,0,0,0.7) !important;
}
/* Submodales de método de pago dentro del buy modal */
.ui-dialog.shop-buy-modal #buy_windows .modal-header,
.ui-dialog.shop-buy-modal #add_to_card_windows .modal-header {
	background: linear-gradient(180deg, #1e4d38 0%, #153a2a 100%);
	color: #fff;
	padding: 10px 14px;
	border-radius: 6px 6px 0 0;
	border-bottom: 1px solid #3d8b5c;
}
.ui-dialog.shop-buy-modal .payment-method-button {
	background: rgba(42, 107, 74, 0.2);
	border: 1px solid rgba(61, 139, 92, 0.3);
	border-radius: 6px;
	color: #cbc8bb;
}
.ui-dialog.shop-buy-modal .payment-method-button label span {
	color: #cbc8bb;
}
.ui-dialog.shop-buy-modal .btn-fld .buttonn {
	background: linear-gradient(180deg, #2a6b4a 0%, #1e4d38 100%);
	border: 1px solid #3d8b5c;
	border-radius: 6px;
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
}

/* === Home: lectura de noticia (view.read_news) === */
.home-page--read #content_center {
	max-width: 100%;
}
.home-page--read .login-alert {
	margin-bottom: 20px;
}
.home-page--read .news-article {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(58, 49, 22, 0.5);
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 24px;
	margin-left: 3rem;
    margin-top: 2rem;
}
.home-page--read .news-article__content {
	max-width: 100%;
	line-height: 1.6;
	color: #cbc8bb;
}
.home-page--read .news-article__content p {
	margin: 0 0 12px;
}
.home-page--read .news-article__meta {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(58, 49, 22, 0.4);
}
.home-page--read .news-article__meta-text {
	margin: 0;
	font-size: 12px;
	color: rgba(203, 200, 187, 0.75);
}

#timer_div_title {/* position: absolute; */height: 16px;width:210px;top: 10px;left:560px;font-size: 16px;text-align:center;color: rgba(255,255,255,0.95);text-shadow: 0 1px 3px rgba(0,0,0,0.7);}
#timer_div_time {/* position: absolute; */height: 70px;width:290px;top: 30px;left:560px;}

/* Countdown: efecto glass (glassmorphism) para buena legibilidad */
.timmer_inner_block {
	width: 50px;
	height: 65px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	margin: 2px;
	float: left;
}

#timer_div_time .timmer_inner_block .title {
	text-align: center;
	font-size: 10px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	padding-top: 6px;
}

#timer_div_time .timmer_inner_block .count {
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	padding-top: 8px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.timer-opening {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}