/*!
    
 =========================================================
 * 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
 
 =========================================================
 
*/

/* ========================= */
/* NAVBAR SIN FLASH */
/* ========================= */

.header-info-container,
.header-info,
.headersito,
#navbar {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
html {
	min-height: 100%;  /* Cambiado de height a min-height */
	width: 100%;       /* Ancho completo, sin mínimo forzado */
}

body {
	background: #071233;
	background-image:
		radial-gradient(circle at center, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 85%, rgba(0,0,0,0.75) 100%),
		linear-gradient(to bottom, rgba(15,30,90,0.65) 0%, rgba(10,20,60,0.35) 40%, rgba(0,0,0,0.7) 100%),
		radial-gradient(circle at center, rgba(150,200,255,0.6) 0%, rgba(80,140,255,0.3) 35%, rgba(0,0,0,0) 65%),
		url('../img/background.jpg');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
	color: #dce9ff;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 14px;
	margin: 0;
	min-height: 100vh;  /* Cambiado de height a min-height */
}

a {
	color: #4da3ff;
	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: #ffda8a;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: rgba(10, 25, 47, 0.8);
	border: 1px solid rgba(77, 163, 255, 0.25);
	color: #ccd6f6;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #4da3ff;
	box-shadow: 0 0 10px rgba(77, 163, 255, 0.3);
}
#header {
	width: 100%;
	margin: 0px auto;
	padding: 70px 0px 50px 0px;
	text-align: center;
	color: rgba(77, 163, 255, 0.25);
}

#container {
	width: 1040px;
	margin: 0px auto 50px auto;
	padding: 45px 40px 50px 40px;

	background: linear-gradient(
		180deg,
		#162e57 0%,
		#0f2447 100%
	);

	border-radius: 16px 16px 0 0;

	box-shadow:
		0 40px 90px rgba(0,0,0,0.65),
		inset 0 0 40px rgba(80,140,255,0.05);

	border: 1px solid rgba(120,170,255,0.18);

	position: relative;
	overflow: hidden;
}

#container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;

	background: linear-gradient(
		to right,
		transparent,
		#c9a227,
		#d4af37,
		#c9a227,
		transparent
	);

	box-shadow: 0 2px 10px rgba(201, 162, 39, 0.4);

	transform: scaleX(0);
	transform-origin: center;
	animation: goldenLoad 1.4s ease-out forwards;
}

/* Animación expansión desde el centro */
@keyframes goldenLoad {
	0% {
		transform: scaleX(0);
	}
	100% {
		transform: scaleX(1);
	}
}

#content {
	width: 100%;
	min-height: 500px;
	padding: 0;
}

.footer {
	width: 1040px;
	margin: 0 auto;
	border-radius: 0 0 16px 16px;
}

.footer::before {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(120,170,255,0.6), transparent);
	margin-bottom: 20px;
}

.footer > .footer-container {
	width: 100%;
	margin: 0px auto;
}

.footer > .footer-container a:hover {
	text-decoration: underline !important;
}

.footer a {
	color: rgba(120,170,255,0.9);
	text-decoration: none;
	transition: all .3s ease;
}

.footer a:hover {
	color: #ffffff;
	text-decoration: underline !important;
}

.footer .footer-social-link {
	filter: grayscale(100%);
	transition: all .3s ease;
}

.footer .footer-social-link:hover {
	filter: grayscale(0%);
}

/* ============================= */
/* NAVBAR COMPLETO ESTILO DORADO */
/* ============================= */

/* NAVBAR - Sin fondo */
#navbar {
	width: 100%;
	position: relative;
	z-index: 1000;
	background: #142c55;
	border-bottom: none;
	box-shadow: none;
	margin: 0;
	padding: 20px 0;
}

/* UL */
#navbar ul {
	text-align: center;
	margin: 0;
	padding: 0;
}

/* LI */
#navbar ul li {
	list-style: none;
	display: inline-block;
	margin: 0 10px;
}

/* ============================= */
/* BOTONES */
/* ============================= */

#navbar ul li a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;

	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;

	padding: 20px 34px;

	color: #f1d27a !important;

	/* FONDO COMPLETAMENTE SÓLIDO */
	background-color: #142c55 !important;
	background-image: none !important;

	border: 2px solid #d4af37 !important;
	border-radius: 10px;

	box-shadow:
		0 4px 15px rgba(0,0,0,0.4),
		0 0 10px rgba(212,175,55,0.3),
		inset 0 0 6px rgba(212,175,55,0.15);

	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;

	opacity: 1 !important;

	transition: all .3s ease;
}
/* ============================= */
/* HOVER */
/* ============================= */

#navbar ul li a:hover {
	background: rgba(212,175,55,0.15) !important;
	border-color: #ffd773 !important;

	box-shadow:
		0 6px 20px rgba(212,175,55,0.5),
		0 0 25px rgba(255,215,120,0.6);

	transform: translateY(-3px);
	color: #ffffff !important;
}

/* ============================= */
/* ICONOS */
/* ============================= */

#navbar ul li a i,
#navbar ul li a svg {
	font-size: 18px;
	font-weight: 900;
	color: #d4af37 !important;
	transition: all 0.3s ease;
	filter: drop-shadow(0 0 6px rgba(212,175,55,0.7));
}

#navbar ul li a:hover i,
#navbar ul li a:hover svg {
	color: #ffd773 !important;
	filter: drop-shadow(0 0 12px rgba(255,215,120,1));
	transform: scale(1.1);
}
.admincp-button {
	position: absolute;
	top: 0px;
	right: 10px;
	font-size: 10px;
	background: var(--ColorTemplate) !important;
	border: 2px solid #000000 !important;
	color: var(--bs-light) !important;
	font-weight: bold !important;
}

.page-title {
	background: linear-gradient(135deg, #0f2747, #1b3f75);
	color: #ffffff;

	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;

	padding: 14px 28px;
	border-radius: 14px;

	display: inline-block;
	margin-bottom: 20px;

	position: relative;
	overflow: hidden;

	box-shadow: 
		0 6px 18px rgba(0,0,0,0.45),
		inset 0 1px 0 rgba(255,255,255,0.08);
}

/* L赤nea inferior elegante */
.page-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #64b5ff, transparent);
	opacity: 0.6;
}

/* Efecto brillo animado sutil */
.page-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255,255,255,0.15),
		transparent
	);
	transform: skewX(-20deg);
	animation: shine 4s infinite;
}

@keyframes shine {
	0% { left: -75%; }
	100% { left: 125%; }
}

/* NEWS MODULE - Estilo stat-card futurista */
.panel-news {
	margin-top: 0;
	position: relative;
	z-index: 5;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(8,25,50,0.95), rgba(4,15,35,0.95));
	border: 1px solid rgba(0,200,255,0.15);
	box-shadow:
		inset 0 0 15px rgba(0,200,255,0.08),
		0 8px 25px rgba(0,0,0,0.5);
	transition: all 0.35s ease;
}

/* Efecto de brillo diagonal al hover (igual que stat-card) */
.panel-news::after {
	content: "";
	position: absolute;
	width: 120%;
	height: 120%;
	top: -110%;
	left: -10%;
	background: linear-gradient(120deg, transparent, rgba(0,255,255,0.15), transparent);
	transform: rotate(25deg);
	transition: 0.6s;
	pointer-events: none;
	z-index: 10;
}

.panel-news:hover::after {
	top: 110%;
}

.panel-news:hover {
	transform: translateY(-6px);
	box-shadow:
		inset 0 0 20px rgba(0,255,255,0.15),
		0 12px 35px rgba(0,0,0,0.7);
	border-color: rgba(0,200,255,0.3);
}

/* Header del panel */
.panel-news .panel-heading {
	padding: 14px 20px;
	background: linear-gradient(145deg, rgba(0,40,80,0.9), rgba(0,20,40,0.95));
	border-bottom: 1px solid rgba(0,200,255,0.15);
	border-radius: 16px 16px 0 0;
	position: relative;
	z-index: 5;
}

.panel-news .panel-heading a {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0.5px;
	background: linear-gradient(90deg, #00f2ff, #00c3ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all 0.3s ease;
}

.panel-news .panel-heading a:hover {
	background: linear-gradient(90deg, #80f0ff, #00f2ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.panel-news .panel-title {
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #7fdfff;
	opacity: 0.8;
	margin-bottom: 8px;
	position: relative;
	display: inline-block;
	z-index: 5;
}
body {
	position: relative;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0,0,0,0.65) 0%,
		rgba(0,0,0,0.45) 20%,
		rgba(0,0,0,0.2) 40%,
		transparent 60%
	);
	pointer-events: none;
	z-index: 1;
}

/* Aseguramos que todo el contenido esté arriba */
#container,
#navbar,
.header-info-container,
.global-top-bar {
	position: relative;
	z-index: 2;
}
/* Body del panel */
.panel-news .panel-body {
	padding: 1.3rem;
	background: linear-gradient(145deg, rgba(8,25,50,0.98), rgba(4,15,35,0.98));
	border: none;
	border-top: 1px solid rgba(0,200,255,0.1);
	color: #dce9ff;
	font-size: 15px;
	line-height: 1.7;
	position: relative;
	z-index: 5;
}


/* Footer del panel */
.panel-news .panel-footer {
	padding: 0.9rem 1.2rem;
	background: linear-gradient(145deg, rgba(0,30,60,0.9), rgba(0,15,30,0.95));
	font-style: italic;
	font-size: 13px;
	color: #7fdfff;
	border-top: 1px solid rgba(0,200,255,0.15);
	border-radius: 0 0 16px 16px;
	position: relative;
	z-index: 5;
}

.panel-news .panel-footer strong {
	color: #00f2ff;
	font-weight: 600;
}
/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	padding: 1rem 1rem;

	background: linear-gradient(
		to bottom,
		rgba(12,28,55,0.96),
		rgba(8,18,38,0.96)
	);

	border: 1px solid rgba(120,170,255,0.15);
	border-radius: 0.6rem;

	box-shadow:
		0 0 30px rgba(0,0,0,0.6),
		inset 0 0 20px rgba(40,90,160,0.15);
}

/* im芍genes */
.rankings-class-image-sidebar {
	width: 25px;
	height: auto;
	box-shadow: 0 0 8px rgba(0,0,0,0.7);
	border-radius: 4px;
}

.rankings-class-image {
	width: 40px;
	height: auto;
	border-radius: 6px;
	transition: transform 0.2s ease, filter 0.2s ease;

	box-shadow:
		0 0 15px rgba(0,0,0,0.8),
		0 0 8px rgba(100,170,255,0.2);
}

.rankings-class-image:hover {
	transform: scale(1.06);
	filter: brightness(110%);
}

/* filas */
.rankings-table tr td {
	border-bottom: 1px solid rgba(120,170,255,0.08);
	padding: 12px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
	color: #d6e6ff;
	transition: all 0.25s ease;
}

.rankings-table tr:hover td {
	background: rgba(120,170,255,0.06);
	color: #ffffff;
}

/* posici車n */
.rankings-table-place {
	color: #7ec8ff;
	font-weight: bold;
	text-shadow: 0 0 8px rgba(120,170,255,0.4);
	text-align: center;
}

/* estado */
.default-char-offline {
	border: 3px solid #5c6f8a;
	box-shadow: 0 0 8px rgba(120,170,255,0.2);
	vertical-align: middle;
}

.default-char-online {
	border: 3px solid #5ecbff;
	box-shadow: 0 0 12px rgba(94,203,255,0.6);
	vertical-align: middle;
}

/* paginaci車n */
.page-item.active .page-link {
	z-index: 3;
	color: #ffffff !important;
	background-color: #3f7cff;
	border-color: #3f7cff;
	box-shadow: 0 0 10px rgba(120,170,255,0.6);
}

/* header tabla */
.rankings-table tr:first-child td {
	color: #ffffff;
	border-bottom: 3px solid #3f7cff;

	background: linear-gradient(
		to right,
		#2f5fa8,
		#1c3f7a
	);

	text-shadow: 0 0 6px rgba(120,170,255,0.3);
	letter-spacing: 1px;
}

/* update time */
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #9fb4d6;
	padding: 10px 0px;
}

/* men迆 rankings */
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 15px;
}

.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #bcd4ff;
	font-size: 24px;
	text-shadow: 0 0 6px rgba(120,170,255,0.3);
}

.rankings_menu a {
	display: inline-block;
	width: 160px;
	border: 1px solid #3f7cff;
	border-left: 6px solid #3f7cff;
	text-align: center;
	padding: 6px 0px;
	margin: 4px;
	border-radius: 6px;
	color: #7ec8ff;

	background: linear-gradient(
		to left,
		transparent 50%,
		rgba(63,124,255,0.8) 50%
	);

	background-size: 200%;
	background-position: right;
	transition: all 0.35s ease;
}

.rankings_menu a.active {
	color: #ffffff;
	background: #3f7cff;
	box-shadow: 0 0 12px rgba(120,170,255,0.5);
}

.rankings_menu a:hover {
	color: #ffffff !important;
	text-decoration: none !important;
	background-position: left;
	box-shadow: 0 0 10px rgba(120,170,255,0.35);
}

/* guild logo */
.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;
	box-shadow: none !important;
	border-radius: 0px !important;
}
/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: linear-gradient(135deg, #001133, #0033CC 50%, #0066FF);
	border: 1px solid #00BFFF;
	color: #ffffff;
}

.myaccount-table tr td:first-child {
	color: #BFDFFF;
	font-weight: bold;
}

.myaccount-table tr td {
	border-bottom: 1px solid rgba(0, 191, 255, 0.3);
	padding: 15px !important;
}

.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 10px 0px;
}

.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}

.general-table-ui tr:first-child td {
	color: var(--ColorTemplate);
}

.general-table-ui tr:nth-child(2n+2) td {
	background: #fafafa;
}

.general-table-ui tr td {
	text-align: center;
}

.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: var(--ColorTemplate);
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
}

.tos_list li p {
	color: #444;
	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: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec 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;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	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: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.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;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: #f1f1f1;
	border: 1px solid;
	border-color: rgba(0,0,0,0.125);
	-moz-border-radius: 0.375rem;
	border-radius: 0.375rem;
	-moz-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
	-webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
	box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
}

.panel-sidebar > .panel-heading {
	background: linear-gradient(135deg, #001133, #0033CC 50%, #0066FF);
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	border: 0px;
	border-radius: 0px;
	border-bottom: 2px solid #00BFFF;
	padding: 15px;
	font-size: 22px;
	text-align: center;
}

.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: #444 !important;
	font-weight: bold;
}

.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: var(--ColorTemplate) !important;
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	padding-right: 10px;
}

.sidebar-banner {
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	-moz-box-shadow: 0 0 10px #e3e3e3;
	-webkit-box-shadow: 0 0 10px #e3e3e3;
	box-shadow: 0 0 10px #e3e3e3;
	border: 0px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-khtml-border-radius: 5px;
	border: 2px solid var(--ColorTemplate);
	border-left: 7px solid var(--ColorTemplate);
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-body {
	padding: 10px;
}

.panel-body .panel-title {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 20px !important;
	font-weight: 500;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.panel-addstats .character-name {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: 500;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.download-description {
	font-size: 11px;
	position: relative;
	top: -7px;
	color: #777;
}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { 
	color: var(--ColorTemplate) !important; 
	text-transform: uppercase;
}

.webengine-powered:active, .webengine-powered:hover { 
	color: var(--ColorTemplate) !important; 
}

/* GLOBAL TOP BAR */
.global-top-bar {
	width: 100%;
	background: rgba(15, 42, 102, 0.95);
	color: #777777;
	padding: 7px 0px 2px 0px;
	text-transform: uppercase;
	font-size: 12px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	height: 40px;
	transition: top 0.4s ease;
	animation: hideBar 0.8s ease forwards;
	animation-delay: 5s;
}

@keyframes hideBar {
	to { top: -35px; }
}

.global-top-bar:hover {
	top: 0 !important;
}

.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: var(--ColorTemplate) !important;
}

.global-top-bar a {
	color: #999999 !important;
}

.global-top-bar a:hover {
	color: #ffffff !important;
}

.global-top-bar-nopadding {
	padding: 0px !important;
}

.global-top-bar-separator {
	padding: 0px 5px;
}

/* 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: #333333;
	padding: 0px 5px 2px 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-khtml-border-radius: 3px;
	transition: all .3s ease;
}

.webengine-language-switcher li:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

.webengine-language-switcher li a {
	color: #999999;
}

.webengine-language-switcher li a:hover {
	color: #ffffff !important;
}

/* WEBSITE LOGO */
.webengine-mu-logo {
	position: relative;
	display: inline-block;
	transform-style: preserve-3d;
	
	/* Timing corregido */
	animation: 
		logoDropIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
		logoHeartbeat 2s ease-in-out 1.2s infinite;
	
	/* Estado inicial para evitar flash */
	opacity: 0;
}

@keyframes logoDropIn {
	0% {
		opacity: 0;
		transform: translateY(-250px) rotateX(65deg) rotateY(-25deg) scale(0.9);
		filter: brightness(0.6) contrast(1.1);
	}
	40% {
		opacity: 1;
		filter: brightness(0.85) contrast(1.05);
	}
	70% {
		transform: translateY(15px) rotateX(15deg) rotateY(-5deg) scale(1.02);
		filter: brightness(1.05) contrast(1);
	}
	100% {
		transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
		filter: brightness(1) contrast(1);
		opacity: 1;
	}
}

@keyframes logoHeartbeat {
	0%, 100% {
		/* Solo escala, sin tocar translateY ni rotaciones */
		transform: scale(1);
		filter: brightness(1);
	}
	50% {
		transform: scale(1.08);
		filter: brightness(1.06);
	}
}

.webengine-mu-logo::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: 
		linear-gradient(180deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 50% 0% / 3px 200px no-repeat,
		linear-gradient(135deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 100% 0% / 200px 3px no-repeat,
		linear-gradient(90deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 100% 50% / 200px 3px no-repeat,
		linear-gradient(45deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 100% 100% / 200px 3px no-repeat,
		linear-gradient(0deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 50% 100% / 3px 200px no-repeat,
		linear-gradient(-45deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 0% 100% / 200px 3px no-repeat,
		linear-gradient(-90deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 0% 50% / 200px 3px no-repeat,
		linear-gradient(-135deg, transparent 48%, #fff 49%, #4da3ff 50%, #00ffff 51%, transparent 52%) 0% 0% / 200px 3px no-repeat;
	animation: lightningBurst 1.5s ease-out 1s infinite;
	opacity: 0;
	z-index: -1;
}

.webengine-mu-logo::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background:
		linear-gradient(157.5deg, transparent 48.5%, #4da3ff 49%, #00ffff 50%, #4da3ff 51%, transparent 51.5%) 15% 15% / 150px 2px no-repeat,
		linear-gradient(112.5deg, transparent 48.5%, #4da3ff 49%, #00ffff 50%, #4da3ff 51%, transparent 51.5%) 85% 15% / 150px 2px no-repeat,
		linear-gradient(67.5deg, transparent 48.5%, #4da3ff 49%, #00ffff 50%, #4da3ff 51%, transparent 51.5%) 85% 85% / 150px 2px no-repeat,
		linear-gradient(22.5deg, transparent 48.5%, #4da3ff 49%, #00ffff 50%, #4da3ff 51%, transparent 51.5%) 15% 85% / 150px 2px no-repeat,
		linear-gradient(170deg, transparent 49%, #00ffff 50%, transparent 51%) 25% 5% / 100px 2px no-repeat,
		linear-gradient(10deg, transparent 49%, #00ffff 50%, transparent 51%) 75% 5% / 100px 2px no-repeat,
		linear-gradient(-170deg, transparent 49%, #00ffff 50%, transparent 51%) 25% 95% / 100px 2px no-repeat,
		linear-gradient(-10deg, transparent 49%, #00ffff 50%, transparent 51%) 75% 95% / 100px 2px no-repeat;
	animation: lightningBurst 1.5s ease-out 1.3s infinite;
	opacity: 0;
	z-index: -1;
}

@keyframes logoDropIn {
	0% {
		opacity: 0;
		transform: translateY(-250px) rotateX(65deg) rotateY(-25deg) scale(0.9);
		filter: brightness(0.6) contrast(1.1);
	}
	40% {
		opacity: 1;
		filter: brightness(0.85) contrast(1.05);
	}
	70% {
		transform: translateY(15px) rotateX(15deg) rotateY(-5deg) scale(1.02);
		filter: brightness(1.05) contrast(1);
	}
	100% {
		transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
		filter: brightness(1) contrast(1);
		opacity: 1;
	}
}

@keyframes logoHeartbeat {
	0%, 100% {
		/* Mantenemos la base del drop-in, solo variamos escala */
		transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
		filter: brightness(1);
	}
	50% {
		transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1.08);
		filter: brightness(1.06);
	}
}

@keyframes lightningBurst {
	0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
	10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	20% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
	30% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	40% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
	50% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.3); }
	60%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.webengine-mu-logo img {
	position: relative;
	z-index: 1;
	display: block; /* ← AÑADIDO: evita espacio fantasma */
	
	animation:
		logoDropIn 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
		logoHeartbeat 4.5s ease-in-out 2.6s infinite;
	
	will-change: transform, filter;
	backface-visibility: hidden; /* ← AÑADIDO: suaviza 3D */
}

/* ========================= */
/* HEADER INFO */
/* ========================= */

.header-info-container {
	width: 1040px;
	margin: 0px auto;
	text-align: right;
}

.header-info-container .header-info {
	display: inline-block;
	width: 100%;
	background: rgba(30, 95, 168, 0.3);
	backdrop-filter: blur(5px);
	margin: 0px;
	padding: 20px;
	overflow: auto;
	box-shadow: 0 0 15px rgba(0,0,0,0.7);
	border-radius: 5px;
	text-shadow: 1px 1px 3px #000000;
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.1);
	font-size: 12px;
}

/* LISTA */
.header-info ul {
	text-align: center;
	margin: 0;
	padding: 0;
}

.header-info ul li {
	list-style: none;
	display: inline-block;
	margin: 0 8px;
}

/* ========================= */
/* BOTONES BLANCOS + HOVER AMARILLO */
/* ========================= */

.header-info ul li a {
	display: inline-block;

	color: #ffffff !important;
	text-decoration: none;
	padding: 12px 26px;

	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
	font-weight: 600;

	/* Fondo blanco translúcido */
	background: rgba(255, 255, 255, 0.10);

	border: none;
	border-radius: 12px;

	/* Más blur que antes */
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	box-shadow:
		0 4px 14px rgba(0,0,0,0.35),
		inset 0 0 10px rgba(255,255,255,0.08);

	transition: all 0.3s ease;
}

/* ========================= */
/* BOTONES VIDRIO PREMIUM */
/* ========================= */

.header-info ul li a {
	display: inline-block;

	color: #ffffff !important;
	text-decoration: none;
	padding: 12px 26px;

	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
	font-weight: 600;

	/* MISMO AZUL QUE EL CONTAINER */
	background: #142c55;

	border-radius: 12px;
	border: 1px solid rgba(120,170,255,0.45);

	box-shadow:
		0 4px 14px rgba(0,0,0,0.35),
		inset 0 0 10px rgba(255,255,255,0.05);

	position: relative;
	overflow: hidden;

	transition: all 0.3s ease;
}
/* Línea inferior dorada desde el centro */
.header-info ul li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);

	width: 0%;
	height: 3px;

	background: linear-gradient(90deg, #a67c00, #d4af37, #f5d77a);

	transition: width 0.35s ease;

	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

/* Expandir desde el centro */
.header-info ul li a:hover::after,
.header-info ul li a.active::after {
	width: 100%;
}

.header-info ul li a {
	position: relative;
	overflow: hidden; /* ESTA LÍNEA ES CLAVE */
}

/* Hover */
.header-info ul li a:hover {
	transform: translateY(-2px);

	/* Texto dorado metal */
	color: #d4af37 !important;

	/* brillo sutil */
	text-shadow:
		0 0 6px rgba(212,175,55,0.35);

	box-shadow:
		0 8px 22px rgba(0,0,0,0.45),
		inset 0 0 14px rgba(255,255,255,0.08);
}

/* Icono también dorado */
.header-info ul li a:hover i,
.header-info ul li a:hover svg {
	color: #d4af37 !important;
	filter: drop-shadow(0 0 4px rgba(212,175,55,0.4));
}

/* Expandir línea */
.header-info ul li a:hover::after {
	width: 100%;
}

/* Activo */
.header-info ul li a.active {
	color: #d4af37 !important;
}

.header-info ul li a.active::after {
	width: 100%;
}
/* ONLINE BAR */
.webengine-online-bar {
	width: 100%;
	background: #000000;
	border: 1px solid #555555;
	height: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;
	overflow: hidden;
	transition: all .3s ease;
}

.webengine-online-bar .webengine-online-bar-progress {
	height: 8px;
	background: #00ff00 url('../img/online_progress_bar.jpg') no-repeat left center;
	-webkit-border-radius: 0px 1px 1px 0px;
	-moz-border-radius: 0px 1px 1px 0px;
	-khtml-border-radius: 0px 1px 1px 0px;
	border-radius: 0px 1px 1px 0px;
}

.webengine-online-bar:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	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.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.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 #000;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.myaccount-character-block img:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

.myaccount-character-block-location {
	font-size: 12px;
	color: #000;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}

.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}

.myaccount-character-name a {
	font-weight: bold;
	color: #000;
	font-size: 16px;
}

/* 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;
}

.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-selection {
	display: inline-block;
	text-align: center;
	color: #000000;
	font-size: 11px;
	cursor: pointer;
}

.rankings-class-filter-selection:hover {
	color: #000000 !important;
}

.rankings-class-filter-selection:hover img {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

.rankings-class-filter-selection img {
	width: 80px;
	height: auto;
	-moz-border-radius: 5%;
	-webkit-border-radius: 5%;
	border-radius: 5%;
	-khtml-border-radius: 5%;
	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;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
}

/* Colores Market Char */
.RazaSM {
	background-color: rgba(47, 125, 204, 0.1);
	border: 1px solid #2f7dcc;
}

.RazaDK {
	background-color: rgba(204, 47, 47, 0.1);
	border: 1px solid #cc2f2f;
}

.RazaELF {
	background-color: rgba(51, 204, 47, 0.1);
	border: 1px solid #33cc2f;
}

.RazaMG {
	background-color: rgba(113, 47, 204, 0.1);
	border: 1px solid #712fcc;
}

.RazaDL {
	background-color: rgba(204, 158, 47, 0.1);
	border: 1px solid #cc9e2f;
}

.RazaSUM {
	background-color: rgba(191, 47, 204, 0.1);
	border: 1px solid #bf2fcc;
}

.RazaRF {
	background-color: rgba(204, 84, 47, 0.1);
	border: 1px solid #cc542f;
}

.BtnSM {
	background-color: #2f7dcc;
	color: #f1f1f1;
	border: 1px solid #2f7dcc;
}

.BtnSM:hover {
	background-color: rgba(47, 125, 204, 0.1);
	color: #2f7dcc;
	border: 1px solid #2f7dcc;
}

.BtnDK {
	background-color: #cc2f2f;
	color: #f1f1f1;
	border: 1px solid #cc2f2f;
}

.BtnDK:hover {
	background-color: rgba(204, 47, 47, 0.1);
	color: #cc2f2f;
	border: 1px solid #cc2f2f;
}

.BtnELF {
	background-color: #33cc2f;
	color: #f1f1f1;
	border: 1px solid #33cc2f;
}

.BtnELF:hover {
	background-color: rgba(51, 204, 47, 0.1);
	color: #33cc2f;
	border: 1px solid #33cc2f;
}

.BtnMG {
	background-color: #712fcc;
	color: #f1f1f1;
	border: 1px solid #712fcc;
}

.BtnMG:hover {
	background-color: rgba(113, 47, 204, 0.1);
	color: #712fcc;
	border: 1px solid #712fcc;
}

.BtnDL {
	background-color: #cc9e2f;
	color: #f1f1f1;
	border: 1px solid #cc9e2f;
}

.BtnDL:hover {
	background-color: rgba(204, 158, 47, 0.1);
	color: #cc9e2f;
	border: 1px solid #cc9e2f;
}

.BtnSUM {
	background-color: #bf2fcc;
	color: #f1f1f1;
	border: 1px solid #bf2fcc;
}

.BtnSUM:hover {
	background-color: rgba(191, 47, 204, 0.1);
	color: #bf2fcc;
	border: 1px solid #bf2fcc;
}

.BtnRF {
	background-color: #cc542f;
	color: #f1f1f1;
	border: 1px solid #cc542f;
}

.BtnRF:hover {
	background-color: rgba(204, 84, 47, 0.1);
	color: #cc542f;
	border: 1px solid #cc542f;
}

div.dataTables_wrapper div.dataTables_filter label {
	display: block;
}

div.dataTables_wrapper div.dataTables_filter input {
	width: 100%;
	margin: 0;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
	color: var(--ColorTemplate) !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.active .page-link {
	color: var(--bs-light) !important;
}

#FBSlideLikeBox_left {
	background: url(../img/iconds.png) 365px 0 no-repeat;
	float: left;
	height: 42px;
	position: fixed;
	left: -365px;
	padding-right: 63px;
	top: 15%;
	width: 428px;
	z-index: 2000;
}

#FBSlideLikeBox_left #FBSlideLikeBox3_left {
	height: 690px;
	right: 0;
	position: absolute;
	border: 3px solid #597bca;
	width: 400px;
	background: #f8f8f8;
}

#FBSlideLikeBox_right {
	background: url(../img/iconds.png) 0 0 no-repeat;
	float: right;
	height: 42px;
	position: fixed;
	right: -400px;
	padding-left: 42px;
	top: 15%;
	width: 400px;
	z-index: 2000;
}

#FBSlideLikeBox_right #FBSlideLikeBox3_right {
	height: 690px;
	left: 0;
	position: absolute;
	border: 3px solid #3B5998;
	width: 400px;
	background: #f8f8f8;
}

#FBSlideLikeBox_left #FBSlideLikeBox2_left {
	position: relative;
	clear: both;
	width: auto;
/* Ajuste recomendado de variables base */
}

/* Castle Siege */
.castle-siege-buttons a {
	color: #d6e6ff !important;
	transition: color 0.3s ease;
}

.castle-siege-buttons a:hover {
	color: #7ec8ff !important;
}

/* Banners */
.banners-sidebar img {
	border: 1px solid rgba(120,170,255,0.4);
	box-shadow: 0 0 12px rgba(120,170,255,0.25);
	border-radius: 6px;
	transition: all 0.3s ease;
}

.banners-sidebar img:hover {
	box-shadow: 0 0 18px rgba(120,170,255,0.45);
	transform: translateY(-2px);
}

/* BOTONES PRIMARY */
.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, #3f7cff, #2f5fa8);
	border: 1px solid #3f7cff;
	box-shadow: 0 4px 12px rgba(63,124,255,0.25);
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: linear-gradient(135deg, #4c8dff, #3f7cff);
	box-shadow: 0 6px 18px rgba(63,124,255,0.4);
	transform: translateY(-2px);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
	box-shadow: 0 0 0 0.25rem var(--ColorTemplateAlpha);
}

/* Outline */
.btn-outline-primary {
	color: #7ec8ff;
	border-color: #3f7cff;
	background: transparent;
	transition: all 0.3s ease;
}

.btn-outline-primary:hover {
	color: #ffffff;
	background: #3f7cff;
	box-shadow: 0 0 12px rgba(120,170,255,0.35);
}

/* Text / BG / Border helpers */
.text-primary {
	color: #7ec8ff !important;
}

.bg-primary {
	background: linear-gradient(135deg, #3f7cff, #2f5fa8) !important;
}

.border-primary {
	border-color: #3f7cff !important;
}

/* Guild table */
.table-guild {
	color: #e4f0ff;
	background: linear-gradient(
		to bottom,
		rgba(12,28,55,0.95),
		rgba(8,18,38,0.95)
	);
	border: 1px solid rgba(120,170,255,0.15);
	box-shadow: inset 0 0 12px rgba(40,90,160,0.15);
	border-radius: 6px;
}

