/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2020 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
/*Fuentes*/
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Freckle+Face&display=swap');

* {
    padding: 0;
    margin: 0;
    /* position: relative; REMOVED - breaks absolutely positioned tooltips */
    outline: none;
    list-style: none;
}

:root {
    /* Final Palette - Vulk Fire Gold Theme */
    --bg-color: #050201; 
    --bg-gradient: radial-gradient(circle at center, #1a0700 0%, #050201 100%);
    --text-main: #ffffff; 
    --text-muted: #c8a95c;
    
    /* Accent Colors */
    --base-blue: #07f9fb;
    --magic-glow: #07f9fb;
    --soft-glow: #ffb347;
    --turquoise: #ff6a00;
    
    /* Glowing accents */
    --accent-glow: 0 0 15px rgba(251,133,7,.60);
    --panel-glow: 0 10px 40px rgba(0, 0, 0, 0.8);
    --text-glow: 0 0 10px rgba(251,133,7,.50);
    
    /* Typography - Varied & Striking */
    --font-primary: 'Orbitron', sans-serif; 
    --font-secondary: 'Michroma', sans-serif;
    --font-condensed: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Cards/Widgets Styles */
    --glass-bg: rgba(0,0,0,.72);
    --glass-border: 1px solid rgba(251,133,7,.30);
    --glass-border-hover: 1px solid #07f9fb;
    --backdrop-blur: blur(15px);
    
    /* Gradients */
    --btn-gradient: linear-gradient(135deg, #07f9fb, #ff6a00);
    --btn-hover-gradient: linear-gradient(135deg, #ffb347, #07f9fb);
}

body {
    background: linear-gradient(rgba(5, 7, 13, 0.8), rgba(5,2,1,.92)), #050201 url('../img/background.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
}

#particles-js {
    z-index: -1 !important;
}

/* Force tooltip to be absolutely positioned */
#custom-tooltip {
    position: absolute !important;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: none !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: transparent !important;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
}

a:focus,
a:hover {
    /*color: inherit !important;*/
    text-decoration: none !important;
}

.form-control {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    color: #666;
}

.form-control:focus {
    border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: #ff0000;
}

.btn-primary {
    color: #8e867e;
    background-color: transparent;
    border-color: #55444e;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #fff !important;
    background-color: #1b1718 !important;
    border-color: #734f63 !important
}

/* CONTENEDOR MENU CENTRADO */
#cssmenu {
    text-align: center;
    margin: 20px auto;
}

/* UL COMO MARCO */
#cssmenu>ul {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    margin: 0;
    list-style: none;

    background: linear-gradient(180deg,
            #2b1c10 0%,
            #1f140b 100%);

    border: 1px solid #a8792c;
    border-radius: 8px;

    box-shadow:
        inset 0 1px 0 rgba(255, 215, 130, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.85);
}

/* LI */
#cssmenu>ul>li {
    margin: 0;
}

/* LINKS (REEMPLAZA TU CODIGO) */
#cssmenu>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;
    height: 62px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    color: #e7d3a0;
    letter-spacing: 0.5px;

    background: none;
    /* elimina imagen */

    border-left: 1px solid rgba(255, 215, 130, 0.15);

    transition: all 0.25s ease;
    position: relative;
}

/* QUITAR BORDE IZQ PRIMER ITEM */
#cssmenu>ul>li:first-child>a {
    border-left: none;
}

/* HOVER DORADO */
#cssmenu>ul>li>a:hover {
    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 50%,
            #b7832f 100%);
    color: #3a2612;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* LINEA DORADA INFERIOR */
#cssmenu>ul>li>a::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 10px;
    height: 1px;

    background: linear-gradient(to right,
            transparent,
            rgba(255, 215, 130, 0.8),
            transparent);

    opacity: 0;
    transition: opacity 0.25s ease;
}

#cssmenu>ul>li>a:hover::after {
    opacity: 1;
}


.languages {
    display: flex;
    align-items: stretch;
    margin: 18px 40px 0px 0px;
    width: 100px;
}

#ServerTime {
    color: #ab9f9c;
}

/*Menu Lenguaje*/
#langmenu,
#langmenu ul,
#langmenu ul li,
#langmenu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#langmenu {
    font-variant: small-caps;
    margin: 0px 0px 0px 20px;
}

#langmenu>ul>li {
    float: left;
}

#langmenu>ul>li>a {
    /*padding: 0px 17px 0px 17px;
    font-size: 15px;*/
    text-decoration: none;
    color: #ab9f9c;
    font-weight: 400;
    /*height: 52px;*/
    /*line-height: 52px;*/
    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;
}

#langmenu>ul>li:hover>a {
    color: #ffffff;
}

#langmenu>ul>li.has-sub>a {
    /*padding-right: 30px;*/
}

#langmenu ul ul {
    position: absolute;
    left: -9999px;
}

#langmenu li:hover>ul {
    left: auto;
}

#langmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

#langmenu li:hover>ul>li {
    height: 35px;
}

#langmenu ul ul li a {
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    padding: 13px 15px;
    width: 80px;
    font-size: 14px;
    text-decoration: none;
    color: #ab9f9c;
    font-weight: 400;
    letter-spacing: 0.3px;
    background: #27190e;
    font-family: "Times New Roman";
}

#langmenu ul ul li:hover>a,
#langmenu ul ul li a:hover {
    color: #ffffff;
}

#body {
    /* Removed legacy background */
}


/*Barra Register*/
.top-files-panel {
    height: 58px;
    max-width: 650px;
    width: auto;
    background: url(../img/files.png) no-repeat bottom right;
    bottom: -85px;
    position: absolute;
    padding: 0px 30px 0px 0px;
    z-index: 7000;
    display: flex;
    text-align: initial;
}

.start-game a {
    display: block;
    width: 256px;
    height: 58px;
    background: url(../img/startgame.png) no-repeat bottom right;
    margin: 0px 0px 0px -10px;
    line-height: 65px;
    text-indent: 60px;
    letter-spacing: 0.7px;
    color: #fff;
    text-decoration: none;
    font-family: "Georgia";
    font-variant: small-caps;
    font-size: 15px;
    font-weight: 100;
}

.start-game a:hover {
    background: url(../img/startgame-hover.png) no-repeat bottom right;
}

.panelDownBlock {
    display: flex;
}

.torrent,
.cloud {
    /* height: 33px; */
    margin: 17px 10px 0px 10px;
    padding: 7px 10px 0px 50px;
}

.torrent span,
.cloud span {
    display: block;
    height: 14px;
}

.torrent {
    background: url(../img/torrent.png?v4) no-repeat left center;
}

.download-title a {
    font-family: "Georgia";
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 100;
    color: #ada0a2;
    text-decoration: none;
}

.download-title a:hover {
    color: rgb(255, 255, 255);
}

.file-title {
    font-size: 10px;
    color: #746264;
}

.cloud {
    background: url(../img/cloud.png) no-repeat left center;
}

/*Fix Header*/
#header {
    /*max-width: 1040px;*/
    max-width: 1200px;
    /*height: 45vh;*/
    position: relative;
}

/*Container*/
#container {}

/*Panel sidebar*/
.panel-sidebar .panel-title {
    font-size: 13px;
    margin-top: 5px;
}

.panel-sidebar .panel-body {
    color: #dddddd;
    font-family: "Times New Roman";
}

/* ESTILOS PARA EL RECUADRO DE ADMIN */
.admin-card {
    width: 300px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    color: #fff;
}

.admin-title {
    background: #07f9fb;
    /* fondo ligeramente más claro */
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
}

.admin-avatar img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #000;
}

.admin-name {
    background: #000;
    /* recuadro negro */
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #FFD700;
    /* letras legibles doradas */
}


.table>thead>tr>th {
    /*background: url(../img/hr.jpg) repeat-x bottom;*/
    border: 0px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding-top: 5px;
    padding-bottom: 5px;
}

.btnreg {
    position: absolute;
    width: 121px;
    height: 27px;
    line-height: 27px !important;

    display: block;
    text-align: center;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;

    color: #3a2612;

    /* FONDO DORADO */
    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 45%,
            #b7832f 100%);

    border-radius: 4px;
    border: 1px solid #3a2612;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.8);

    transition: all 0.25s ease;
}

/* HOVER */
.btnreg:hover {
    color: #2b1a0d;
    filter: brightness(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 10px rgba(0, 0, 0, 0.9);
}

/* CLICK */
.btnreg:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

/*Divisiones Sidebar*/
.sidebar {
    /*width: 311px;
    max-width: 311px;*/
    padding: 0px 5px 0px 5px;
    float: left;
}

.sidebar:first-child {
    /*padding-left: 12px;*/
}

.main_side {
    width: calc(100% - 292px - 292px);
    max-width: calc(100% - 292px - 292px);
    float: left;
    /*border-radius: 5px;
    padding: 10px;*/
}

.modules_cont {
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(0,0,0,.72);
    width: 100%;
    float: left;
    border-radius: 5px;
    padding: 10px;
}

.modules_cont_full {
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(0,0,0,.72);
}

/* ===============================
   WIDGET ONLINE - BOTON DORADO
================================ */

.server-info {
    text-align: center;
    /* centra el número y el texto */
}

.online-count {
    font-size: 36px;
    /* número grande */
    font-weight: bold;
    color: #a1998f;
    /* puedes cambiar el color */
}

.online-text {
    font-size: 14px;
    /* texto más pequeño */
    color: #a1998f;
    margin-top: 5px;
    /* separación entre número y texto */
}

/* CONTENEDOR PRINCIPAL */
.server-info {
    display: block;
    position: relative;

    padding: 48px 10px;
    text-align: center;

    border-radius: 6px;

    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 40%,
            #b7832f 100%);

    border: 1px solid #3a2612;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.85);

    overflow: hidden;
    transition: all 0.25s ease;
}

/* TEXTO BASE */
.server-info span {
    display: block;
    font-family: Tahoma, Arial, sans-serif;
}

/* TEXTO "USUARIOS EN LINEA" */
.server-info span {
    font-size: 17px;
    font-weight: bold;
    color: #3a2612;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 0 6px rgba(255, 215, 120, 0.4);
}

/* NUMERO (DESTACADO) */
.server-info span::after {
    display: block;

    margin-top: 6px;

    font-size: 36px;
    font-weight: 900;
    letter-spacing: 1px;

    color: #fff9dc;

    text-shadow:
        0 0 6px rgba(255, 246, 200, 1),
        0 0 16px rgba(247, 224, 155, 1),
        0 0 32px rgba(247, 224, 155, 0.9),
        0 4px 0 rgba(0, 0, 0, 0.9);
}

/* BRILLO ANIMADO */
.server-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.75),
            transparent);

    transition: left 0.6s ease;
}

/* HOVER */
.server-info:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 7px 16px rgba(0, 0, 0, 0.95);
}

.server-info:hover::before {
    left: 130%;
}

/* CLICK */
.server-info:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* OCULTAR ELEMENTOS VIEJOS */
.status,
.box-1,
.progress2,
.progress-1 {
    display: none !important;
}




.castle-siege-banner .guild_owner,
.castle-siege-banner .guild_owner a {
    color: #ffffff;
    font-size: 30px;
    font-family: 'Special Elite', cursive;
    /*font-family: 'Freckle Face', cursive;*/
}

.castle-siege-banner .guild_master,
.castle-siege-banner .guild_master a {
    color: #ffffff;
    font-size: 16px;
}

.castle-siege-banner .guild_countdown {
    color: #ffffff;
    font-size: 28px;
    font-family: 'Special Elite', cursive;
}

.castle-siege-banner .guild_countdown span {
    color: #f39c12;
}

.cstitle1 {
    line-height: 25px;
    margin-bottom: 5px;
}

.cstitle2 {
    line-height: 20px;
}

/*Eventos*/
#events dt {
    display: block;
    height: 42px;
    text-align: left;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 45%);
    font-size: 14px;
    color: #a1998f;
}

#events .event_status {
    color: #dddddd;
}

#events .event_next {
    color: #dddddd;
}

#events .event_timeleft {
    color: #ffffff;
}

#events .rightfloat {
    float: right;
}

#events span {
    display: block;
    font-size: 12px;
}

#events dt.eventActive {
    color: #009600;
}
.modal-content {
  position: relative;
  background-color: #111; /* reemplazo de @modal-content-bg */
  border: 1px solid #444; /* fallback */
  border: 1px solid rgba(255,255,255,0.1); /* borde moderno */
  border-radius: 10px; /* reemplazo de @border-radius-large */
  box-shadow: 0 3px 9px rgba(0,0,0,0.5); /* reemplazo de .box-shadow */
  background-clip: padding-box;
  outline: 0;
}
/* Butcher & Kill Log equal sizing */
.butcher-widget, .kill-log-widget {
    min-height: 420px !important;
    height: 420px !important;
    display: flex;
    flex-direction: column;
}

.butcher-widget {
    justify-content: center;
}

.kill-log-body {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 320px;
}

/* Scrollbar for kill log */
.kill-log-body::-webkit-scrollbar {
    width: 4px;
}
.kill-log-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.kill-log-body::-webkit-scrollbar-thumb {
    background: var(--gold-main);
    border-radius: 2px;
}

/* ===============================
   IMPACTFUL VISUAL RANKINGS (TOP 5)
================================ */
/* Estilo base para las tablas de ranking */
.glass-panel table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.glass-panel table thead tr th {
    color: #07f9fb;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(0 255 243 / 40%) !important;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(251,133,7,.60);
}

.glass-panel table tbody tr td {
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(7 181 251 / 12%) !important;
    padding: 12px 8px;
    vertical-align: middle;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

/* Efecto Hover Impactante */
.glass-panel table tbody tr:hover td {
    background: rgba(7 181 251 / 12%);
    border-color: rgba(251,133,7,.50) !important;
    color: #ffffff;
    box-shadow: inset 0 0 15px rgba(251,133,7,.30);
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

/* Corona para el Rank 1 */
.rank-1-crown {
    color: #ffd700;
    font-size: 16px;
    margin-right: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
    animation: crownFloat 2s infinite alternate ease-in-out;
}

@keyframes crownFloat {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6)); }
    100% { transform: translateY(-3px) scale(1.1); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1)); }
}

/* Estilo de Ranking Numero */
.glass-panel table tbody tr td:first-child {
    font-weight: 800;
    font-size: 16px;
    border-top-left-radius: 8px;
    color: #fff9dc;

    text-shadow:
        0 0 6px rgba(255, 246, 200, 1),
        0 0 16px rgba(247, 224, 155, 1),
        0 0 32px rgba(247, 224, 155, 0.9),
        0 4px 0 rgba(0, 0, 0, 0.9);
}

/* BRILLO ANIMADO */
.server-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.75),
            transparent);

    transition: left 0.6s ease;
}

/* HOVER */
.server-info:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 7px 16px rgba(0, 0, 0, 0.95);
}

.server-info:hover::before {
    left: 130%;
}

/* CLICK */
.server-info:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* OCULTAR ELEMENTOS VIEJOS */
.status,
.box-1,
.progress2,
.progress-1 {
    display: none !important;
}




.castle-siege-banner .guild_owner,
.castle-siege-banner .guild_owner a {
    color: #ffffff;
    font-size: 30px;
    font-family: 'Special Elite', cursive;
    /*font-family: 'Freckle Face', cursive;*/
}

.castle-siege-banner .guild_master,
.castle-siege-banner .guild_master a {
    color: #ffffff;
    font-size: 16px;
}

.castle-siege-banner .guild_countdown {
    color: #ffffff;
    font-size: 28px;
    font-family: 'Special Elite', cursive;
}

.castle-siege-banner .guild_countdown span {
    color: #f39c12;
}

.cstitle1 {
    line-height: 25px;
    margin-bottom: 5px;
}

.cstitle2 {
    line-height: 20px;
}

/*Eventos*/
#events dt {
    display: block;
    height: 42px;
    text-align: left;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 45%);
    font-size: 14px;
    color: #a1998f;
}

#events .event_status {
    color: #dddddd;
}

#events .event_next {
    color: #dddddd;
}

#events .event_timeleft {
    color: #ffffff;
}

#events .rightfloat {
    float: right;
}

#events span {
    display: block;
    font-size: 12px;
}

#events dt.eventActive {
    color: #009600;
}
.modal-content {
  position: relative;
  background-color: #111; /* reemplazo de @modal-content-bg */
  border: 1px solid #444; /* fallback */
  border: 1px solid rgba(255,255,255,0.1); /* borde moderno */
  border-radius: 10px; /* reemplazo de @border-radius-large */
  box-shadow: 0 3px 9px rgba(0,0,0,0.5); /* reemplazo de .box-shadow */
  background-clip: padding-box;
  outline: 0;
}
/* Butcher Widget styles removed to rely purely on style.css */

/* ===============================
   IMPACTFUL VISUAL RANKINGS (TOP 5)
================================ */
/* Estilo base para las tablas de ranking */
.glass-panel table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.glass-panel table thead tr th {
    color: #07f9fb;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(0 255 243 / 40%) !important;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(251,133,7,.60);
}

.glass-panel table tbody tr td {
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(7 181 251 / 12%) !important;
    padding: 12px 8px;
    vertical-align: middle;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

/* Efecto Hover Impactante */
.glass-panel table tbody tr:hover td {
    background: rgba(7 181 251 / 12%);
    border-color: rgba(251,133,7,.50) !important;
    color: #ffffff;
    box-shadow: inset 0 0 15px rgba(251,133,7,.30);
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

/* Corona para el Rank 1 */
.rank-1-crown {
    color: #ffd700;
    font-size: 16px;
    margin-right: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
    animation: crownFloat 2s infinite alternate ease-in-out;
}

@keyframes crownFloat {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6)); }
    100% { transform: translateY(-3px) scale(1.1); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1)); }
}

/* Estilo de Ranking Numero */
.glass-panel table tbody tr td:first-child {
    font-weight: 800;
    font-size: 16px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    color: #ff3366;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.5);
}

.glass-panel table tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: bold;
}

.text-neon {
    color: #ffd36a !important;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
}

/* Mejoras Globales de Ranking para las páginas internas */
.content-rankings table.table,
.dataTableChar,
.general-rank {
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
}

.content-rankings table.table thead th,
.dataTableChar thead th,
.general-rank thead th {
    background: linear-gradient(90deg, rgba(7 181 251 / 12%), rgba(251,133,7,.08)) !important;
    color: #07f9fb !important;
    border: none !important;
    text-transform: uppercase !important;
    padding: 15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.content-rankings table.table tbody tr td,
.dataTableChar tbody tr td,
.general-rank tbody tr td {
    background: rgba(12,5,0,.82) !important;
    border: 1px solid rgba(251,133,7,.08) !important;
    color: #d1d1d1 !important;
    transition: all 0.2s ease !important;
}

.content-rankings table.table tbody tr:hover td,
.dataTableChar tbody tr:hover td,
.general-rank tbody tr:hover td {
  background: linear-gradient(135deg, rgb(0 231 255 / 18%), rgba(255, 179, 0, .10)) !important;
  border-color: rgb(106 255 223 / 52%) !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgb(7 251 226 / 20%), inset 0 0 16px rgba(255, 106, 0, .12) !important;
}

/* ===============================
   ALINEACIÓN EXACTA DE COLUMNAS Y PANELES
================================ */
.row-flex {
    display: flex;
    flex-wrap: wrap;
}
.row-flex > .col-md-8 {
    display: flex;
    flex-direction: column;
}
.row-flex > .col-md-8 .modules_cont {
    flex: 1; /* Se estira hasta igualar la altura del sidebar (ahora solo Castle Siege) */
    display: flex;
    flex-direction: column;
}

.equal-height-panels {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-panels > .col-md-6 {
    display: flex;
}
.equal-height-panels .glass-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.equal-height-panels .glass-panel .panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Forzar alto de filas idénticas para Top Guilds y Top Players */
.equal-height-panels table tbody tr {
    height: 55px !important;
}

/* Permitir comportamiento estándar para noticias */
.row-flex > .col-md-8 {
    display: block;
}

.row-flex > .col-md-8 > .modules_cont {
    flex-grow: 0;
}

/* Hacer que el Sidebar (Castle Siege) llene el 100% de la altura de la fila */
.row-flex > .sidebar {
    display: flex;
    flex-direction: column;
}

.row-flex > .sidebar > .glass-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar el contenido de Castle Siege verticalmente */
}

/* ===============================
   SCROLL DE NOTICIAS (MODULES CONT)
================================ */
.news-scrollable {
    max-height: 600px !important; /* Limite no tan extenso como pidió el usuario */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}

/* Estilo del scrollbar para la rueda de noticias */
.news-scrollable::-webkit-scrollbar {
    width: 8px;
}

.news-scrollable::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(7 181 251 / 12%);
}

.news-scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #07f9fb, #ff3c00);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3);
}

.news-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #07f9fb, #ff3c00);
    box-shadow: 0 0 10px rgba(255,179,0,.70);
}

/* ===============================
   RANKINGS MENU WIDGETS
================================ */
.rankings_menu,
.rankings_menu ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(251,133,7,.20) !important;
    width: 100% !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.rankings_menu li {
    display: flex !important;
    flex: 1 1 calc(33.333% - 20px) !important;
    min-width: 130px !important;
    max-width: 200px !important;
}

.rankings_menu a,
.rankings_menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgb(0 0 0 / 72%), rgb(0 53 70 / 60%)) !important;
    border: 1px solid rgb(7 251 226 / 30%) !important;
    color: #07f9fb !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    flex: 1;
    text-align: center !important;
}

.rankings_menu a:hover,
.rankings_menu a.active,
.rankings_menu li a:hover,
.rankings_menu li.active a {
    background: linear-gradient(135deg, rgb(7 195 251 / 20%), rgb(0 22 255 / 32%)) !important;
    border-color: #6ae1ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* --- New Theme Overrides --- */
.glass-panel {
    background: var(--glass-bg) !important;
    border: var(--glass-border) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    box-shadow: var(--panel-glow) !important;
}

.panel-heading {
    background: rgba(7 159 251 / 12%)) !important;
    border-bottom: 1px solid rgba(7 251 222 / 28%) !important;
}

.panel-title {
    color: var(--gold-main) !important;
    text-shadow: var(--text-glow) !important;
}

.table>thead>tr>th {
    color: var(--gold-main) !important;
    text-transform: uppercase !important;
    padding: 15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.content-rankings table.table tbody tr td,
.dataTableChar tbody tr td,
.general-rank tbody tr td {
    background: rgba(12,5,0,.82) !important;
    border: 1px solid rgba(251,133,7,.08) !important;
    color: #d1d1d1 !important;
    transition: all 0.2s ease !important;
}

.content-rankings table.table tbody tr:hover td,
.dataTableChar tbody tr:hover td,
.general-rank tbody tr:hover td {
  background: linear-gradient(135deg, rgb(0 231 255 / 18%), rgba(255, 179, 0, .10)) !important;
  border-color: rgb(106 255 223 / 52%) !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgb(7 251 226 / 20%), inset 0 0 16px rgba(255, 106, 0, .12) !important;
}

/* ===============================
   ALINEACIÓN EXACTA DE COLUMNAS Y PANELES
================================ */
.row-flex {
    display: flex;
    flex-wrap: wrap;
}
.row-flex > .col-md-8 {
    display: flex;
    flex-direction: column;
}
.row-flex > .col-md-8 .modules_cont {
    flex: 1; /* Se estira hasta igualar la altura del sidebar (ahora solo Castle Siege) */
    display: flex;
    flex-direction: column;
}

.equal-height-panels {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-panels > .col-md-6 {
    display: flex;
}
.equal-height-panels .glass-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.equal-height-panels .glass-panel .panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Forzar alto de filas idénticas para Top Guilds y Top Players */
.equal-height-panels table tbody tr {
    height: 55px !important;
}

/* Permitir comportamiento estándar para noticias */
.row-flex > .col-md-8 {
    display: block;
}

.row-flex > .col-md-8 > .modules_cont {
    flex-grow: 0;
}

/* Hacer que el Sidebar (Castle Siege) llene el 100% de la altura de la fila */
.row-flex > .sidebar {
    display: flex;
    flex-direction: column;
}

.row-flex > .sidebar > .glass-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar el contenido de Castle Siege verticalmente */
}

/* ===============================
   SCROLL DE NOTICIAS (MODULES CONT)
================================ */
.news-scrollable {
    max-height: 600px !important; /* Limite no tan extenso como pidió el usuario */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}

/* Estilo del scrollbar para la rueda de noticias */
.news-scrollable::-webkit-scrollbar {
    width: 8px;
}

.news-scrollable::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(7 181 251 / 12%);
}

.news-scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #07f9fb, #ff3c00);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3);
}

.news-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #07f9fb, #ff3c00);
    box-shadow: 0 0 10px rgba(255,179,0,.70);
}

/* ===============================
   RANKINGS MENU WIDGETS
================================ */
.rankings_menu,
.rankings_menu ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(251,133,7,.20) !important;
    width: 100% !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.rankings_menu li {
    display: flex !important;
    flex: 1 1 calc(33.333% - 20px) !important;
    min-width: 130px !important;
    max-width: 200px !important;
}

.rankings_menu a,
.rankings_menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgb(0 0 0 / 72%), rgb(0 53 70 / 60%)) !important;
    border: 1px solid rgb(7 251 226 / 30%) !important;
    color: #07f9fb !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    flex: 1;
    text-align: center !important;
}

.rankings_menu a:hover,
.rankings_menu a.active,
.rankings_menu li a:hover,
.rankings_menu li.active a {
    background: linear-gradient(135deg, rgb(7 195 251 / 20%), rgb(0 22 255 / 32%)) !important;
    border-color: #6ae1ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* --- New Theme Overrides --- */
.glass-panel {
    background: var(--glass-bg) !important;
    border: var(--glass-border) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    box-shadow: var(--panel-glow) !important;
}

.panel-heading {
    background: rgba(7 181 251 / 12%) !important;
    border-bottom: 1px solid rgb(7 251 195 / 28%) !important;
}

.panel-title {
    color: var(--gold-main) !important;
    text-shadow: var(--text-glow) !important;
}

.table>thead>tr>th {
    color: var(--gold-main) !important;
    border-bottom: 2px solid var(--gold-main) !important;
}

.vulk-fps-engine{

position:absolute !important;

left:calc(50% - 759px)!important;

top:76%!important;

transform:translateY(-50%)!important;

width:410px;

max-width:95%;

padding:35px;

border-radius:35px;

/* SIN FONDO */
background:transparent;

overflow:hidden;

border:1px solid rgba(255,110,0,.20);

backdrop-filter:blur(15px);

box-shadow:

0 0 50px rgba(255,70,0,.15),
0 0 150px rgba(255,50,0,.08),
inset 0 0 70px rgba(255,100,0,.05);

transition:.5s;

z-index:999;

}

/* linea superior */

.vulk-fps-engine:after{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:2px;

background:
linear-gradient(
90deg,
transparent,
#ff5a00,
#ffc65b,
#ff5a00,
transparent
);

}

/* efecto scan */

.vulk-fps-engine:before{

content:"";

position:absolute;

top:-100%;
left:-50%;

width:60%;
height:300%;

transform:rotate(25deg);

background:
linear-gradient(
90deg,
transparent,
rgba(255,180,60,.09),
transparent
);

animation:vulkscan 4s linear infinite;

}

@keyframes vulkscan{

100%{
left:160%;
}

}

.fps-top{

display:flex;

justify-content:center;
align-items:center;

gap:10px;

font-size:13px;

font-weight:900;

letter-spacing:3px;

color:#ffb05a;

text-transform:uppercase;

margin-bottom:20px;

text-shadow:
0 0 20px rgba(255,90,0,.8);

}

.fps-dot{

width:10px;
height:10px;

border-radius:100%;

background:#00ff4d;

box-shadow:
0 0 15px #00ff4d,
0 0 30px #00ff4d;

animation:fpslive .8s infinite alternate;

}

@keyframes fpslive{

from{

opacity:.5;
transform:scale(.8)

}

to{

opacity:1;
transform:scale(1.5)

}

}

.fps-number{

font-size:120px;

font-weight:900;

line-height:1;

text-align:center;

background:
linear-gradient(
180deg,
#fff,
#ffc85a
);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

text-shadow:

0 0 35px rgba(255,190,50,.9),

0 0 90px rgba(255,70,0,.5);

animation:fpspulse 2s infinite alternate;

}

@keyframes fpspulse{

from{
transform:scale(1);
}

to{
transform:scale(1.04);
}

}

.fps-number span{

font-size:32px;

}

.fps-text{

margin-top:12px;

font-size:20px;

font-weight:900;

letter-spacing:4px;

text-align:center;

background:
linear-gradient(
90deg,
#fff,
#ffbd5a,
#ff5a00
);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

}

.fps-subtext{

margin-top:15px;

font-size:11px;

line-height:1.8;

text-align:center;

letter-spacing:2px;

font-weight:700;

color:
rgba(255,255,255,.70);

}



