/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2022 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
html {
	min-width: 1040px;
	height: 100%;
}

/* =========================================================
   BLOQUE UNIFICADO DE BODY, ENLACES E INPUTS CON CAPA OSCURA
   ========================================================= */

/* --- CONFIGURACIÓN GLOBAL Y FONDO --- */
html { min-width: 1040px; height: 100%; }

body {
    background: linear-gradient(to bottom, rgba(13, 12, 29, 0.4) 0%, rgba(13, 12, 29, 0.65) 40%, rgba(13, 12, 29, 0.85) 100%), 
                url('../img/background.jpg') no-repeat top center fixed;
    background-size: cover;
    color: #7668a9;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    margin: 0;
    height: 100%;
}

/* Optimización para monitores Ultra-Wide */
@media only screen and (min-width: 2000px) {
    body {
        background-image: linear-gradient(to bottom, rgba(13, 12, 29, 0.4) 0%, rgba(13, 12, 29, 0.65) 40%, rgba(13, 12, 29, 0.85) 100%), 
                          url('../img/background-2600.jpg');
    }
}

/* ENLACES - ESTILOS Y ANIMACIONES */
a {
	color: #827cc8;
	text-decoration: none;
	-moz-transition: all .2s ease-in;
	-o-transition: all .2s ease-in;
	-webkit-transition: all .2s ease-in;
	transition: all .2s ease-in;
}

a:hover {
	color: #bfccf0;
	text-shadow: 0 0 5px #827cc8, 0 0 10px #827cc8;
}

/* IMÁGENES */
img {
	border: 0px;
}

/* CAMPOS DE TEXTO / INPUTS OPTIMIZADOS */
input[type=text], input[type=password], input[type=number] {
	background: rgba(25, 22, 58, 0.85); /* Un toque de transparencia para integrar el fondo */
	border: 1px solid #554f96;
	color: #bfccf0;
	border-radius: 6px; /* Bordes sutilmente suavizados */
	padding: 6px 10px;
	transition: all 0.3s ease; /* Suaviza el cambio visual al hacer foco */
}

input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #827cc8;
	outline: none;
	box-shadow: 0 0 12px rgba(130, 124, 200, 0.6);
	background: #19163a;
}

#header {
	width: 100%;
	margin: 0px auto;
	padding: 20px 0px 5px 0px;
	text-align: center;
	color: #fff;
	position: relative; /* Permite posicionar las capas internas correctamente */
	overflow: hidden;   /* Evita que los rayos agranden la pantalla */
}

/* Capa de destellos y polvo cósmico basados en particulas_2.jpg */
#header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../img/particulas.jpg');
	background-repeat: repeat;
	background-size: 450px 450px; 
	mix-blend-mode: screen; 
	opacity: 0.35; 
	pointer-events: none; 
	z-index: 1; 
	
	/* TRUCO DE COMPOSICIÓN: Combinamos degradado vertical y radial para limpiar los costados y el borde inferior */
	-webkit-mask-image: 
		linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%),
		radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.2) 85%);
	-webkit-mask-composite: source-in; /* Une ambas máscaras en navegadores basados en Webkit */
	
	mask-image: 
		linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%),
		radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.2) 85%);
	mask-composite: intersect; /* Une ambas máscaras de forma estándar */
	
	/* Animación que hace ascender las partículas de forma continua y suave */
	animation: polvoFlotante 25s linear infinite;
}

/* ANIMACIÓN DE FLOTACIÓN CÓSMICA (Suave pulsación y sutil vaivén) */
@keyframes polvoFlotante {
	0% {
		background-position: 0px 0px;
		opacity: 0.25;
	}
	50% {
		opacity: 0.45; /* Pulsación armónica de iluminación a mitad de ciclo */
	}
	100% {
		/* Desplazamiento perfecto coordinado con el tamaño del background-size */
		background-position: 0px -450px; 
		opacity: 0.25;
	}
}

#container {
	background: rgba(40, 36, 90, 0.92); /* Base sólida MMORPG premium utilizando #28245a */
	width: 1040px;
	height: auto;
	margin: 0px auto;
	padding: 20px 0px;
	border-radius: 20px 20px 0px 0px;
	border: 1px solid rgba(130, 124, 200, 0.4);
	box-shadow: 0 0 25px rgba(81, 64, 123, 0.6);
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding: 10px 20px 0px 20px;
}

.footer {
	background: rgba(51, 48, 91, 0.95); /* Tono oscuro #51407b adaptado */
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 1040px;
	font-size: 12px;
	color: #7668a9;
	padding: 40px;
	overflow: auto;
	margin: 0px auto 100px auto;
	border-radius: 0px 0px 20px 20px;
	border: 1px solid rgba(130, 124, 200, 0.4);
	border-top: none;
	box-shadow: 0 12px 25px rgba(40, 36, 90, 0.6);
}
	.footer > .footer-container {
		width: 100%;
		margin: 0px auto;
	}
		.footer > .footer-container a:hover {
			text-decoration: underline !important;
			color: #bfccf0;
		}
	.footer hr {
		border-top: 1px solid rgba(191, 204, 240, 0.1);
	}
	.footer .footer-social-link {
		opacity: 0.5;
		transition: all .3s ease;
	}
	.footer .footer-social-link:hover {
		opacity: 1;
		filter: drop-shadow(0 0 5px #827cc8);
	}

/* --- NAVBAR UNIFICADO --- */
#navbar {
    width: 100%;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #827cc8;
    background: rgba(13, 12, 29, 0.85);
    box-shadow: 0 4px 15px rgba(130, 124, 200, 0.25);
}
#navbar ul { text-align: center; margin: 0; padding: 0; }
#navbar ul li { list-style: none; display: inline-block; font-size: 16px; }
#navbar ul li a {
    display: inline-block;
    color: rgba(191, 204, 240, 0.9) !important;
    text-decoration: none;
    padding: 20px 30px;
    transition: all .3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#navbar ul li a:hover, #navbar ul li a.active-nav {
    color: #bfccf0 !important;
    text-shadow: 0 0 8px #827cc8, 0 0 15px rgba(130, 124, 200, 0.6);
}
#navbar ul li a.active-nav {
    background: rgba(130, 124, 200, 0.15) !important;
    border-bottom: 3px solid #827cc8;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.admincp-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #bfccf0 !important;
	border: 2px solid #28245a !important;
	color: #28245a !important;
	font-weight: bold !important;
	box-shadow: 0 0 10px rgba(191, 204, 240, 0.5);
}
.admincp-button:hover {
	background: #ffffff !important;
	box-shadow: 0 0 15px #bfccf0;
}

.page-title {
	color: #bfccf0;
	font-family: 'PT Sans', sans-serif;
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: bold;
	text-shadow: 0 0 12px rgba(130, 124, 200, 0.6);
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #7668a9;
	border: 1px solid rgba(130, 124, 200, 0.3);
	border-radius: 15px;
	background: rgba(81, 64, 123, 0.25);
	transition: all 0.3s ease-in-out;
	overflow: hidden;
}
.panel-news:hover {
	box-shadow: 0px 0px 20px rgba(130, 124, 200, 0.45);
	border-color: #827cc8;
}
.panel-news .panel-heading {
	padding: 15px;
	background: rgba(130, 124, 200, 0.08);
	border-bottom: 1px solid rgba(130, 124, 200, 0.25);
}
.panel-news .panel-title {
	color: #bfccf0;
	font-size: 24px;
	font-weight: bold;
	text-shadow: 0 0 6px rgba(130, 124, 200, 0.6);
}
.panel-news .panel-body {
	padding: 15px;
	color: rgba(255, 255, 255, 0.85);
}
.panel-news .panel-footer {
	border-top: 0px solid #000000;
	background: #1d1a42;
	font-style: italic;
	font-size: 11px;
	height: 40px;
	color: #7668a9;
}

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.rankings-class-image {
	width: 30px;
	height: auto;
	-moz-box-shadow: 0 0 5px #827cc8;
	-webkit-box-shadow: 0 0 5px #827cc8;
	box-shadow: 0 0 8px rgba(130, 124, 200, 0.5);
	-moz-border-radius: 0px;
	border-radius: 50%;
}
.rankings-table tr td {
	border-bottom: 1px solid rgba(130, 124, 200, 0.15);
	padding: 10px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
	color: rgba(255, 255, 255, 0.85);
}
.rankings-table-place {
	font-weight: bold;
	font-size: 24px;
	text-align: center;
	color: #bfccf0;
	text-shadow: 0 0 5px rgba(130, 124, 200, 0.5);
}
.rankings-table tr:first-child td {
	color: #bfccf0;
	border-bottom: 3px solid #827cc8;
	font-weight: bold;
	background: rgba(130, 124, 200, 0.1);
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #7668a9;
	padding: 10px 0px;
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 10px;
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #bfccf0;
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 150px;
	border: 1px solid #554f96;
	text-align: center;
	padding: 5px 0px;
	margin: 2px;
	background: #1d1a42;
	-moz-border-radius: 2px;
	border-radius: 4px;
	color: #7668a9;
}
.rankings_menu a:hover {
	background: #28245a;
	color: #bfccf0;
	border-color: #827cc8;
}
.rankings_menu a.active {
	color: #bfccf0;
	border-color: #827cc8;
	background: #28245a;
	box-shadow: 0 0 10px rgba(130, 124, 200, 0.3);
}
.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 30px !important;
	border: 0 !important;
	-moz-box-shadow: 0 0 0px #000 !important;
	-webkit-box-shadow: 0 0 0px #000 !important;
	box-shadow: 0 0 0px #000 !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: rgba(40, 36, 90, 0.5);
	border: 1px solid #554f96;
}
.myaccount-table tr td:first-child {
	color: #bfccf0;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid #554f96;
	padding: 15px !important;
	color: rgba(255, 255, 255, 0.85);
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: rgba(81, 64, 123, 0.2);
	border: 1px solid #554f96;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 8px;
	vertical-align: middle !important;
	color: rgba(255, 255, 255, 0.85);
}
.general-table-ui tr:first-child td {
	color: #bfccf0;
	font-weight: bold;
	background: rgba(130, 124, 200, 0.15);
}
.general-table-ui tr:nth-child(2n+2) td {
	background: rgba(40, 36, 90, 0.4);
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #827cc8;
	-webkit-box-shadow: 0 0 5px #827cc8;
	box-shadow: 0 0 5px rgba(130, 124, 200, 0.5);
	-moz-border-radius: 0px;
	border-radius: 50%;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #bfccf0;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
	text-shadow: 0 0 5px rgba(130, 124, 200, 0.3);
}
.tos_list li p {
	color: rgba(255, 255, 255, 0.75);
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
	font-size: 14px;
	font-weight: normal;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #1d1a42;
	border: 3px solid #827cc8;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
	color: #bfccf0;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #28245a url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #554f96;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #bfccf0;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #bfccf0;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #827cc8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #bfccf0;
	background: #0d0c1d;
	text-align: center;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
	cursor: pointer;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
	color: #7668a9;
}

/* SIDEBAR */
.panel-sidebar {
	background: rgba(29, 26, 66, 0.9); /* #1d1a42 adaptado a la oscuridad de fantasía */
	border: 1px solid rgba(130, 124, 200, 0.3);
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
	overflow: hidden;
}

.panel-sidebar > .panel-heading {
	background: rgba(130, 124, 200, 0.15);
	color: #bfccf0;
	font-family: 'PT Sans', sans-serif;
	border: 0px;
	border-radius: 0px;
	border-bottom: 2px solid #827cc8;
	text-shadow: 0 0 5px rgba(130, 124, 200, 0.5);
}

.panel-usercp {
}

.panel-usercp ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.panel-usercp ul li {
	display: table;
	width: 100%;
	vertical-align: middle;
	line-height: 30px;
}

.panel-usercp ul li a {
	color: #7668a9 !important;
	font-weight: bold;
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: #bfccf0 !important;
	text-shadow: 0 0 5px rgba(130, 124, 200, 0.5);
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	width: 25px;
	height: 25px;
	margin-right: 5px;
}

.sidebar-banner {
	margin: 30px 0px;
	border: 0px;
	padding: 10px;
}

.sidebar-banner img {
	-moz-box-shadow: 0 0 10px rgba(130, 124, 200, 0.3);
	-webkit-box-shadow: 0 0 10px rgba(130, 124, 200, 0.3);
	box-shadow: 0 0 12px rgba(130, 124, 200, 0.3);
	border: 1px solid rgba(130, 124, 200, 0.2);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-khtml-border-radius: 5px;
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #1d1a42;
	border: 1px solid #554f96;
	-moz-border-radius: 0px;
	border-radius: 4px;
}

.panel-body .panel-title {
	color: #bfccf0;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #554f96;
	margin-bottom: 20px !important;
	font-weight: bold;
	padding: 0px 0px 10px 0px;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #1d1a42;
	border: 1px solid #554f96;
	-moz-border-radius: 0px;
	border-radius: 4px;
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #827cc8;
	-webkit-box-shadow: 0 0 5px #827cc8;
	box-shadow: 0 0 20px rgba(130, 124, 200, 0.4);
	-moz-border-radius: 0px;
	border-radius: 50%;
	border: 2px solid #827cc8;
}
.panel-addstats .character-name {
	color: #bfccf0;
	font-family: 'PT Sans', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid rgba(191, 204, 240, 0.2);
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #1d1a42;
	border: 1px solid #554f96;
	-moz-border-radius: 0px;
	border-radius: 4px;
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #7668a9;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: #827cc8 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #bfccf0 !important; text-shadow: 0 0 5px #827cc8; }

/* GLOBAL TOP BAR */
.global-top-bar {
	width: 100%;
	background: rgba(13, 12, 29, 0.95);
	color: #7668a9;
	padding: 7px 0px 2px 0px;
	text-transform: uppercase;
	font-size: 12px;
	border-bottom: 1px solid rgba(130, 124, 200, 0.3);
}
	.global-top-bar .global-top-bar-content {
		width: 1040px;
		margin: 0px auto;
	}
		.global-top-bar .global-top-bar-content .row {
			margin: 0px;
			padding: 0px;
		}
	.global-top-bar a.logout {
		color: #ff5555 !important; /* Rojo suavizado y estético */
	}
	.global-top-bar a.logout:hover {
		text-shadow: 0 0 8px #ff5555;
	}
	.global-top-bar a {
		color: #7668a9 !important;
	}
	.global-top-bar a:hover {
		color: #bfccf0 !important;
	}
.global-top-bar-nopadding {
	padding: 0px !important;
}
.global-top-bar-separator {
	padding: 0px 5px;
	color: #554f96;
}

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	width: 46px;
	height: 19px;
	overflow: hidden;
	transition: all .3s ease;
}
.webengine-language-switcher:hover {
	width: 400px;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #28245a;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
		border: 1px solid #554f96;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
		border-color: #827cc8;
	}
	.webengine-language-switcher li a {
		color: #7668a9;
	}
	.webengine-language-switcher li a:hover {
		color: #bfccf0 !important;
	}

/* =========================================================
   WEBSITE LOGO - Ajuste de tamaño sugerido
   ========================================================= */
.webengine-mu-logo {
    display: block;
    margin: 20px auto;
    max-width: 280px;
    height: auto;
    transition: all .3s ease;
}
.webengine-mu-logo:hover {
    filter: brightness(130%) drop-shadow(0 0 15px rgba(130, 124, 200, 0.5));
}

/* =========================================================
   HEADER INFO (VALMYRA MU - PREMIUM EDITION)
   ========================================================= */
.header-info-container {
	width: 1040px;
	margin: 0px auto;
	text-align: center; /* Cambiado de right a center para centrar por completo el widget debajo del logo */
	position: relative;
	top: -20px; /* Suavizado para que respire mejor con el logo más pequeño */
	z-index: 10;
}
	.header-info-container .header-info {
		display: inline-block;
		width: 480px; /* Un poco más ancho para albergar una distribución horizontal moderna */
		background: rgba(13, 12, 29, 0.75); /* Más translúcido para fundirse con las partículas de fondo */
		backdrop-filter: blur(12px); /* Mayor desenfoque de fondo estilo iOS/Win11 */
		-webkit-backdrop-filter: blur(12px);
		margin: 0px auto; 
		padding: 15px 25px; 
		box-shadow: 0 8px 32px rgba(13, 12, 29, 0.5), 
		            0 0 15px rgba(130, 124, 200, 0.2); /* Sutil resplandor místico */
		border-radius: 30px; /* Bordes notablemente más redondos y modernos */
		text-shadow: 1px 1px 2px #000000;
		color: rgba(255, 255, 255, 0.9);
		border: 1px solid rgba(130, 124, 200, 0.25);
		font-size: 13px;
	}
		/* Estructuración interna en un formato de grilla flexible (flexbox) */
		.header-info-container .header-info .header-info-block {
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-wrap: wrap;
			padding: 0px;
			color: #7668a9;
		}
		
		/* Contenedores para agrupar los datos en columnas bonitas */
		.header-info-container .header-info .header-info-block .info-group {
			display: flex;
			flex-direction: column;
			align-items: center;
			flex: 1;
		}

		/* Línea divisoria minimalista entre la cantidad de usuarios y las horas */
		.header-info-container .header-info .header-info-block .info-group:not(:last-child) {
			border-right: 1px solid rgba(130, 124, 200, 0.2);
		}

		.header-info-container .header-info .header-info-block #tServerTime, 
		.header-info-container .header-info .header-info-block #tLocalTime {
			color: #bfccf0;
			font-weight: bold;
			font-size: 14px; /* Un punto más grande para destacar el tiempo */
		}
		.header-info-container .header-info .header-info-block #tServerDate, 
		.header-info-container .header-info .header-info-block #tLocalDate {
			color: rgba(191, 204, 240, 0.6);
			font-size: 11px;
			text-transform: uppercase;
			margin-top: 2px;
		}
		.header-info-container .header-info .header-info-block .online-count {
			color: #bfccf0;
			font-weight: bold;
			font-size: 20px; /* Número imponente de usuarios en línea */
			text-shadow: 0 0 10px rgba(130, 124, 200, 0.8);
		}

/* --- CONTENEDOR PRINCIPAL (CORREGIDO) --- */
#container {
    background: rgba(40, 36, 90, 0.92);
    width: 1040px;
    margin: 20px auto; /* CORREGIDO: Eliminado el margen negativo */
    padding: 20px 0px;
    border-radius: 20px;
    border: 1px solid rgba(130, 124, 200, 0.4);
    box-shadow: 0 0 25px rgba(81, 64, 123, 0.6);
}
	
/* --- ONLINE BAR PREMIUM --- */
.webengine-online-bar {
	width: 95%;              /* Un poco más corta que el ancho total para que respire */
	margin: 15px auto 10px auto; /* Más espacio arriba y abajo */
	background: #0d0c1d;
	border: 1px solid rgba(130, 124, 200, 0.4);
	height: 12px;            /* Aumentamos de 6px a 12px para que sea más visible */
	border-radius: 20px;     /* Bordes más redondeados */
	overflow: hidden;
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 0 10px rgba(130, 124, 200, 0.2);
	transition: all 0.3s ease;
}

.webengine-online-bar .webengine-online-bar-progress {
	height: 100%;            /* Se ajusta automáticamente a la altura del contenedor */
	background: linear-gradient(90deg, #827cc8, #bfccf0);
	box-shadow: 0 0 15px #bfccf0; /* Mayor resplandor */
	border-radius: 20px;     /* Bordes redondeados para el interior también */
	transition: width 1s ease-out; /* Animación suave al cargar la cantidad de usuarios */
}

.webengine-online-bar:hover {
	border-color: #bfccf0;
	box-shadow: 0 0 15px rgba(191, 204, 240, 0.3);
}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #1d1a42;
	border: 1px solid #554f96;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
	box-shadow: 0 0 10px rgba(0,0,0,0.6);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px rgba(0,0,0,0.8);
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		border: 1px solid #554f96;
	}
		.myaccount-character-block img:hover {
			border-color: #827cc8;
			filter: brightness(110%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
	color: #7668a9;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(13, 12, 29, 0.75);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #bfccf0;
	font-size: 10px;
	border: 1px solid rgba(130, 124, 200, 0.3);
}
.myaccount-character-name a {
	font-weight: bold;
	font-size: 16px;
	color: #bfccf0;
}

/* RANKINGS FILTER BY CLASS */
.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 20px auto;
	padding: 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	background: rgba(40, 36, 90, 0.3);
	border: 1px solid rgba(130, 124, 200, 0.2);
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin-bottom: 10px;
	}
	
	.rankings-class-filter li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 75px;
	text-align: center;
	color: #7668a9;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #bfccf0 !important;
		opacity: 1;
	}

	.rankings-class-filter-selection:hover img {
		border-color: #827cc8;
		box-shadow: 0 0 10px rgba(130, 124, 200, 0.6);
	}

.rankings-class-filter-selection img {
	width: 40px;
	height: auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	margin-bottom: 5px;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	border: 1px solid #554f96;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.6);
}

.rankings-class-filter-grayscale {opacity: 0.4;}

/* Home - News List */
.home-news-block {
	
}

.home-news-block .home-news-block-header h2 {
	padding: 0px !important;
	margin: 0px 0px 20px 0px !important;
	font-style: italic;
	color: #bfccf0;
	text-shadow: 0 0 8px rgba(130, 124, 200, 0.5);
}

.home-news-block .home-news-block-header a {
	display: inline-block;
	padding-top: 5px;
	font-style: italic;
	font-size: 16px;
	color: #827cc8;
}
.home-news-block .home-news-block-header a:hover {
	color: #bfccf0;
}

.home-news-block-article {
	margin-top: 10px;
}

.home-news-block-article .home-news-block-article-type {
	display: block;
	border: 1px solid #827cc8;
	padding: 5px;
	text-align: center;
	color: #bfccf0;
	background: rgba(130, 124, 200, 0.15);
	border-radius: 4px;
}

.home-news-block-article .home-news-block-article-title-container {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-block-article .home-news-block-article-title, .home-news-block-article .home-news-block-article-date {
	line-height: 30px;
}

/* Floating Social Bar */
.social-floating-bar {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.social-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: white !important;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	background: #1d1a42;
	border: 2px solid #827cc8;
	box-shadow: 0 0 12px rgba(130, 124, 200, 0.5);
}

.social-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 0 20px #bfccf0;
	border-color: #bfccf0;
}

.social-btn.discord:hover { background: #5865F2; }
.social-btn.whatsapp:hover { background: #25D366; }
.social-btn.facebook:hover { background: #1877F2; }
.social-btn.tiktok:hover { background: #000000; }

.social-btn.tiktok span {
	position: absolute;
	bottom: -5px;
	background: #ff0050;
	font-size: 8px;
	padding: 2px 4px;
	border-radius: 4px;
	font-weight: bold;
}

/* SIDEBAR NEON BUTTONS - REVISADOS PREMIUM */
.sidebar-neon-btn {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding: 20px 15px;
    text-align: center;
    background: #0d0c1d;
    color: #bfccf0 !important;
    border: 3px solid #827cc8;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(130, 124, 200, 0.4), 
                inset 0 0 15px rgba(130, 124, 200, 0.2),
                0 0 5px rgba(191, 204, 240, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
}

.sidebar-neon-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 204, 240, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.sidebar-neon-btn:hover::after {
    transform: translateX(100%);
}

.sidebar-neon-btn:hover {
    box-shadow: 0 0 30px #827cc8, 
                inset 0 0 20px #827cc8;
    text-shadow: 0 0 15px #bfccf0;
    transform: scale(1.03);
    border-color: #bfccf0;
}

.sidebar-neon-btn i {
    margin-right: 15px;
    font-size: 24px;
    vertical-align: middle;
}

/* Event Timer Block */
.event-schedule-open {
	color: #bfccf0;
	font-weight: bold;
	text-shadow: 0 0 5px rgba(191, 204, 240, 0.8);
}

.event-schedule-inprogress {
	color: #827cc8;
	font-weight: bold;
	text-shadow: 0 0 5px rgba(130, 124, 200, 0.8);
}

.panel-sidebar-events .smalltext {
	font-size: 11px;
	position: relative;
	top: -5px;
	color: #7668a9;
}
/* =========================================================
   OPTIMIZACIÓN DEL NAVBAR (VALMYRA MU)
   ========================================================= */

/* Estilo para los botones inactivos (Mejoramos la opacidad a 0.9 para que se lea perfecto) */
#navbar ul li a {
    color: rgba(191, 204, 240, 0.9) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
}

/* Efecto al pasar el mouse por encima (Hover) */
#navbar ul li a:hover {
    color: #bfccf0 !important;
    text-shadow: 0 0 8px #827cc8, 0 0 15px rgba(130, 124, 200, 0.6);
}

/* Estilo premium para el botón de la página donde está el usuario actualmente */
#navbar ul li a.active-nav {
    color: #bfccf0 !important;
    text-decoration: none;
    text-shadow: 0 0 8px #827cc8, 0 0 15px rgba(130, 124, 200, 0.6);
    background: rgba(130, 124, 200, 0.15) !important;
    border-bottom: 3px solid #827cc8;
    /* AJUSTE DE PRECISIÓN: Empuja el borde activo 1px abajo para fundirse con la línea guía */
    margin-bottom: -1px;
    
    /* SUAVIZADO: Redondea solo las esquinas superiores para que fluya con el diseño */
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}


/* CTA VALMYRA */  

/* --- CONTENEDOR --- */
.cta-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    padding-bottom: 10px;
    width: 100%;
}

/* --- BOTONES FORZADOS A TAMAÑO PREMIUM --- */
.btn-valmyra {
    display: inline-block !important; /* Forzamos el bloque */
    padding: 15px 50px !important;    /* Padding más generoso */
    font-family: 'PT Sans', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 50px !important;  /* Mantenemos redondez */
    transition: all 0.4s ease !important;
    cursor: pointer;
    font-size: 15px !important;      /* Un poco más grande */
    line-height: 1;
    text-align: center;
    border: 1px solid rgba(191, 204, 240, 0.3);
}

/* Botón Descargar */
.btn-download {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(55, 48, 163, 0.5) !important;
}

/* Botón Registro */
.btn-register {
    background: rgba(13, 12, 29, 0.5) !important;
    color: #bfccf0 !important;
    border: 1px solid #7668a9 !important;
}

/* Efecto hover uniforme */
.btn-valmyra:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(130, 124, 200, 0.6) !important;
}