/* ============================================================
   ESTILOS UNIFICADOS - MU ABSOLUT
   Generado automáticamente - no editar manualmente
   Orden de carga correcto para evitar conflictos
   ============================================================ */

/* Fuente Cinzel para perfiles */
@import url('https://fonts.googleapis.com/css?family=Cinzel');



/* ============================================================
   1. ESTILOS BASE PRINCIPALES (style.css)
   ============================================================ */

@font-face {
	font-family: FaceYourFears;
	src: url('../fonts/FaceYourFears.ttf');
}

html {
	min-width: 100%;
	height: 100%;
}

body {
    /* Cambiamos 'center center' por 'top center' */
    background: #000000 url('../img/background.webp') no-repeat top center;
    background-size: cover;
    background-attachment: scroll;

    min-height: 100vh;
    margin: 0;
    padding: 0;
}


a {
	color: #777;
	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(0,0,0,0.4);
	border: 1px solid rgba(180,120,20,0.4);
	color: rgba(210,185,140,0.9);
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
  width: 100%;
  margin: 10px auto;
  text-align: center;
  overflow: visible;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header-fx {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;      /* ancho visual del canvas */
  height: 280px;     /* alto visual del canvas */
  pointer-events: none;
  z-index: 0;
}

#header > a {
  position: relative;
  z-index: 1;
  display: inline-block;
}

#header-fx {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;   /* antes 700px */
  height: 400px;   /* antes 280px */
  pointer-events: none;
  z-index: 0;
}


#container {
  max-width: 1300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}


#content {
  width: 95%;            /* Deja un pequeño margen a los lados */
  max-width: 1200px;     /* Evita que los módulos se separen demasiado en pantallas grandes */
  margin: 0 auto;        /* Esto centra toda la web */
  min-height: 500px;
  padding: 20px 0;
  display: flex;         /* Mantiene las columnas una al lado de la otra */
  gap: 20px;             /* Espacio fijo de 20px entre las columnas */
  align-items: flex-start;
}

/* Esto controla la columna donde está el reloj y los módulos izquierdos */
#sidebar-left {
  flex: 0 0 270px;   /* No deja que mida más ni menos de 270px */
  width: 270px;
}

/* Esto controla la columna de la derecha */
#sidebar-right {
  flex: 0 0 370px;
  width: 270px;
}

/* Esto controla el centro (donde están las noticias) */
#main-col {
  flex: 1;           /* Le dice al centro que use todo el espacio que sobre */
  min-width: 0;      /* Evita que las tablas grandes rompan el diseño */
}


.module-contents {
  flex: 1;
  min-width: 0;
  background: linear-gradient(160deg, #0d0a04 0%, #1c1005 60%, #100a02 100%);
  padding: 15px 15px 30px;
  border-radius: 10px;
  border: 1px solid rgba(180,120,20,0.4);
  box-shadow: 0 0 40px rgba(180,100,0,0.15), inset 0 1px 0 rgba(255,200,80,0.07);
  overflow: auto;
  min-height: 800px;
  color: rgba(210,185,140,0.85);
}


.footer {
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 100%;
	font-size: 14px;
	color: #aaa;
	padding: 60px 0px;
	background: #000000 url('../img/footer_background.webp') no-repeat bottom center;
	overflow: auto;
	border-top: 40px solid #141f2c;
}
.footer > .footer-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

	.footer-time {
		font-size: 45px;
		color: #0368ff;
		font-weight: bold;
		position: relative;
		top: -10px;
	}

#navbar {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	  max-width: 1275px;
  width: 100%;
  margin: 0 auto;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
}

#navbar ul{
	text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;
}

#navbar ul li {
	font-family: 'Lato', sans-serif;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
}

#navbar ul li a {
	display: inline-block;
	color: #fff !important;
	text-decoration: none;
	padding: 20px 25px;
	font-weight: bold;
}

#navbar ul li a:active, #navbar ul li a:focus, #navbar ul li a:hover {
	text-decoration: none;
	background: #0368ff; 
}

#navbar ul li a:hover,
#navbar ul li a:focus,
#navbar ul li a:active {
    background: #0368ff !important; /* el color que quieras */
    color: #ffffff !important;      /* color del texto */
}


/* CASTLE SIEGE BANNER */
.castle-siege-banner {
	width: 100%;
	background: #000 url('../img/castle_siege_banner_bg.jpg') no-repeat center center;
	background-size: cover;
	margin: 0px auto -5px auto;
	padding: 15px;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
	overflow: auto;
	/*font-family: FaceYourFears;*/
	color: #fff;
	-webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    -khtml-border-radius: 5px 5px 0px 0px;
}
.cs-timeleft {
	/*font-family: FaceYourFears;*/
	font-size: 32px;
	color: #fff;
}
.cs-timeleft span {
	color: #ff0000;
}
.castle-siege-banner-guildlogo {
	background: #000000;
	display: inline-block;
	border: 1px solid #555;
	padding: 5px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	-moz-box-shadow: 0 0 5px #000;
	-webkit-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}
.castle-siege-banner-title {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	color: #d4a6ff;
	text-shadow: 1px 1px 2px #000000; 
}
.castle-siege-banner-castleowner, .castle-siege-banner-castleowner a {
	font-family: FaceYourFears;
	font-size: 35px;
	text-shadow: 1px 1px 4px #000000; 
	color: #fff;
}
.castle-siege-banner-countdown {
	font-family: FaceYourFears;
	font-size: 32px;
	text-shadow: 0px 0px 3px #000000; 
}
	.castle-siege-banner-countdown span {
		color: #ba70ff;
	}
/* <-- CASTLE SIEGE BANNER END */


.admincp-button {
	position:absolute;
	top:10px;
	right:10px;
}

.page-title {
	color: #f0c040;
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
	text-shadow: 0 0 15px rgba(255,180,30,0.4);
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #333;
	border: 0px;
	-moz-box-shadow: 0 0 10px #f1f1f1;
	-webkit-box-shadow: 0 0 10px #f1f1f1;
	box-shadow: 0 0 10px #f1f1f1;
}
.panel-news .panel-heading {
	padding-top: 20px;
	padding-bottom: 20px;
	background: linear-gradient(135deg, rgba(40,25,5,0.95), rgba(25,15,3,0.95));
	border-bottom: 1px dotted rgba(200,140,30,0.5);
}
.panel-news .panel-title {
	color: #f0c040;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: bold;
}
.panel-news .panel-footer {
	border-top: 1px dotted rgba(200,140,30,0.5);
	background: rgba(20,10,0,0.6);
	font-style: italic;
	font-size: 11px;
	height: 40px;
	color: rgba(190,160,90,0.7);
}

/* RANKINGS MODULE - MEJORAS BÁSICAS */
/* ========================================
   RANKINGS MODULE - VERSIÓN MEJORADA CON RGB
   ======================================== */

/* =============================================
   RANKINGS - TEMA DORADO OSCURO
   Consistente con el resto de la web
   ============================================= */

/* ── TABLA PRINCIPAL ── */
.rankings-table {
    width: 95%;
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 auto;
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Línea brillante superior */
.rankings-table::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3d93ff, #00c92f);
    z-index: 2;
    pointer-events: none;
}

/* ── IMAGEN DE CLASE ── */
.rankings-class-image {
    width: 40px;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(61, 147, 255, 0.3);
    box-shadow: 0 0 6px rgba(61, 147, 255, 0.2);
    transition: box-shadow 0.3s ease;
}

.rankings-table tr:hover .rankings-class-image {
    box-shadow: 0 0 16px rgba(240, 184, 48, 0.55);
}

/* ── CELDAS GENERALES ── */
.rankings-table tr td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 13px 10px;
    font-size: 16px;
    vertical-align: middle !important;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: #cbd5e1;
    position: relative;
    transition: all 0.25s ease;
    background: transparent;
}

/* ── NÚMERO DE POSICIÓN ── */
.rankings-table-place {
    color: rgba(148, 163, 184, 0.7);
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

/* ── CABECERA ── */
.rankings-table tr:first-child td {
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 10px;
}

/* ── FILAS NORMALES ── */
.rankings-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}
.rankings-table tr:nth-child(odd) {
    background: transparent !important;
}

/* ── HOVER FILAS ── */
.rankings-table tr:hover {
    background: rgba(61, 147, 255, 0.08) !important;
    transition: background 0.2s ease;
    outline: none;
}

/* ── PRIMERA COLUMNA ── */
.rankings-table tr td:first-child {
    width: 70px;
    font-weight: bold;
}

/* ==============================================
   TOP 3 — MEDALLAS PREMIUM
   ============================================== */

/* 🥇 1er LUGAR — ORO */
.rankings-table tr:nth-child(2) {
    background: linear-gradient(90deg,
        rgba(255, 215, 0, 0.07) 0%,
        rgba(255, 180, 0, 0.04) 50%,
        rgba(255, 215, 0, 0.07) 100%
    ) !important;
    border-left: 3px solid rgba(255, 215, 0, 0.6) !important;
    border-right: 3px solid rgba(255, 215, 0, 0.6) !important;
    animation: goldPulse 3s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.06), 0 0 12px rgba(255, 215, 0, 0.15);
        border-left-color: rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.12), 0 0 20px rgba(255, 215, 0, 0.25);
        border-left-color: rgba(255, 215, 0, 0.8);
    }
}

.rankings-table tr:nth-child(2) td {
    background: transparent !important;
}

.rankings-table tr:nth-child(2) td:first-child {
    color: #FFD700 !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.9),
        0 0 25px rgba(255, 165, 0, 0.6);
    animation: goldGlow 2s ease-in-out infinite;
}

@keyframes goldGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 165, 0, 0.5); }
    50%       { text-shadow: 0 0 18px rgba(255, 215, 0, 1),   0 0 35px rgba(255, 165, 0, 0.8); }
}

.rankings-table tr:nth-child(2) td:first-child::before {
    content: '👑';
    position: absolute;
    left: 6px;
    font-size: 20px;
    animation: crownFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-4px) scale(1.1); }
}

/* 🥈 2do LUGAR — PLATA */
.rankings-table tr:nth-child(3) {
    background: linear-gradient(90deg,
        rgba(192, 192, 192, 0.06) 0%,
        rgba(180, 180, 180, 0.03) 50%,
        rgba(192, 192, 192, 0.06) 100%
    ) !important;
    border-left: 3px solid rgba(192, 192, 192, 0.5) !important;
    border-right: 3px solid rgba(192, 192, 192, 0.5) !important;
}

.rankings-table tr:nth-child(3) td { background: transparent !important; }

.rankings-table tr:nth-child(3) td:first-child {
    color: #C0C0C0 !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(200, 200, 200, 0.7), 0 0 20px rgba(160, 160, 160, 0.4);
}

.rankings-table tr:nth-child(3) td:first-child::before {
    content: '🥈';
    position: absolute;
    left: 6px;
    font-size: 17px;
}

/* 🥉 3er LUGAR — BRONCE */
.rankings-table tr:nth-child(4) {
    background: linear-gradient(90deg,
        rgba(205, 127, 50, 0.07) 0%,
        rgba(180, 100, 30, 0.04) 50%,
        rgba(205, 127, 50, 0.07) 100%
    ) !important;
    border-left: 3px solid rgba(205, 127, 50, 0.5) !important;
    border-right: 3px solid rgba(205, 127, 50, 0.5) !important;
}

.rankings-table tr:nth-child(4) td { background: transparent !important; }

.rankings-table tr:nth-child(4) td:first-child {
    color: #CD7F32 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.7), 0 0 18px rgba(160, 80, 20, 0.4);
}

.rankings-table tr:nth-child(4) td:first-child::before {
    content: '🥉';
    position: absolute;
    left: 6px;
    font-size: 17px;
}

/* ── ÚLTIMA ACTUALIZACIÓN ── */
.rankings-update-time {
    text-align: center;
    padding: 10px;
    color: rgba(190, 160, 90, 0.45);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ==============================================
   MENÚ DE RANKINGS (TABS/BOTONES)
   ============================================== */
.rankings_menu {
    width: 95%;
    margin: 20px auto;
    background: linear-gradient(160deg, #0d0a04 0%, #1a1005 100%);
    border: 1px solid rgba(200, 140, 30, 0.35);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(180, 100, 0, 0.12);
}

/* Línea brillante superior del menú */
.rankings_menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, transparent, rgba(255, 180, 30, 0.5), transparent);
}

/* Título del menú */
.rankings_menu span {
    display: block;
    width: 100%;
    text-align: center;
    color: #f0c040;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        0 0 15px rgba(255, 180, 30, 0.5),
        0 0 30px rgba(200, 100, 0, 0.3);
    margin-bottom: 6px;
    position: relative;
}

.rankings_menu span::before {
    content: '⚔';
    margin-right: 12px;
    font-size: 20px;
    color: rgba(240, 184, 48, 0.7);
}

.rankings_menu span::after {
    content: '⚔';
    margin-left: 12px;
    font-size: 20px;
    color: rgba(240, 184, 48, 0.7);
}

/* ── BOTONES DEL MENÚ ── */
.rankings_menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    background: rgba(180, 120, 20, 0.08);
    color: rgba(210, 185, 140, 0.8) !important;
    border: 1px solid rgba(180, 120, 20, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    min-width: 130px;
}

.rankings_menu a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 80, 0.12), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.rankings_menu a:hover::before {
    animation: menuShine 0.6s ease forwards;
}

@keyframes menuShine {
    0%   { left: -100%; }
    100% { left: 200%;  }
}

.rankings_menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(240, 184, 48, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.rankings_menu a:hover::after { opacity: 1; }

.rankings_menu a:hover {
    background: rgba(200, 140, 30, 0.18) !important;
    border-color: rgba(240, 184, 48, 0.55) !important;
    color: #f0c040 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(180, 100, 0, 0.25);
}

/* Botón activo */
.rankings_menu a.active {
    background: linear-gradient(135deg, rgba(200, 130, 20, 0.28), rgba(150, 90, 10, 0.42)) !important;
    color: #f0c040 !important;
    border: 1px solid rgba(220, 160, 30, 0.6) !important;
    box-shadow:
        0 4px 18px rgba(180, 100, 0, 0.35),
        inset 0 1px 0 rgba(255, 210, 80, 0.15);
    pointer-events: none;
    transform: translateY(-1px);
}

.rankings_menu a.active::before {
    content: '▸';
    position: static;
    width: auto; height: auto;
    background: none;
    transform: none;
    margin-right: 6px;
    color: #f0b830;
    font-size: 16px;
    animation: none;
}

.rankings_menu a.active::after {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(240, 184, 48, 0.7), transparent);
}

.rankings_menu a.active:hover {
    transform: translateY(-1px);
}

/* ==============================================
   FILTRO DE CLASES
   ============================================== */
.rankings-class-filter {
    width: 95%;
    margin: 12px auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.rankings-class-filter li {
    cursor: pointer;
    padding: 6px 14px;
    background: rgba(180, 120, 20, 0.08);
    border: 1px solid rgba(180, 120, 20, 0.28);
    border-radius: 6px;
    color: rgba(190, 160, 90, 0.75);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.rankings-class-filter li:hover {
    background: rgba(200, 140, 30, 0.18);
    border-color: rgba(240, 184, 48, 0.5);
    color: #f0c040;
    transform: translateY(-1px);
}

/* Selección de clase */
.rankings-class-filter-selection {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: rgba(180, 120, 20, 0.1);
    border: 1px solid rgba(180, 120, 20, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 6px;
    color: rgba(190, 160, 90, 0.8);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.rankings-class-filter-selection:hover {
    background: rgba(200, 140, 30, 0.2);
    border-color: rgba(240, 184, 48, 0.55);
    color: #f0c040;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 100, 0, 0.2);
}

.rankings-class-filter-selection:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(240, 184, 48, 0.5));
}

.rankings-class-filter-selection img {
    width: 28px;
    height: auto;
    border-radius: 4px;
    transition: all 0.25s ease;
    border: 1px solid rgba(180, 120, 20, 0.3);
}

.rankings-class-filter-grayscale {
    opacity: 0.3;
    filter: grayscale(80%);
}

/* ── RANKING VACÍO ── */
.rankings-empty {
    text-align: center;
    padding: 50px 20px;
    color: rgba(190, 160, 90, 0.45);
    font-size: 16px;
    font-style: italic;
}

.rankings-empty i {
    display: block;
    font-size: 40px;
    margin-bottom: 14px;
    opacity: 0.35;
    color: rgba(200, 150, 40, 0.5);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .rankings_menu {
        width: 95%;
        padding: 16px 12px;
    }
    .rankings_menu span {
        font-size: 17px;
    }
    .rankings_menu a {
        min-width: 110px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .rankings-table { width: 100%; }
    .rankings-table tr td {
        padding: 10px 6px;
        font-size: 13px;
    }
    .rankings-class-image { width: 30px; }
    .rankings-table tr:nth-child(2) td:first-child,
    .rankings-table tr:nth-child(3) td:first-child,
    .rankings-table tr:nth-child(4) td:first-child {
        font-size: 17px !important;
    }
    .rankings-table tr:nth-child(2) td:first-child::before,
    .rankings-table tr:nth-child(3) td:first-child::before,
    .rankings-table tr:nth-child(4) td:first-child::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .rankings_menu span { font-size: 16px; }
    .rankings_menu a {
        min-width: 90px;
        padding: 7px 10px;
        font-size: 12px;
    }
    .rankings-table tr td:nth-child(5),
    .rankings-table tr td:nth-child(6) {
        display: none;
    }
}



/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: transparent;
	border: 1px solid rgba(180,120,20,0.3);
	border-radius: 8px;
	overflow: hidden;
}
.myaccount-table tr td:first-child {
	color: #f0c040;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid rgba(180,120,20,0.15);
	padding: 15px !important;
	color: rgba(210,185,140,0.85);
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: transparent;
	border: 1px solid rgba(180,120,20,0.3);
	border-radius: 8px;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
	color: rgba(210,185,140,0.85);
}
.general-table-ui tr:first-child td {
	color: #f0c040;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: rgba(255,160,20,0.03);
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #000;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #f0c040;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #555;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
}

/* 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: 18px;
}

.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 — dark navy/glass theme */
.panel-sidebar {
	background: rgba(10, 15, 30, 0.88) !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.09) !important;
	border-radius: 12px !important;
	backdrop-filter: blur(12px) !important;
	margin-bottom: 20px !important;
	overflow: hidden !important;
	position: relative !important;
}

.panel-sidebar > .panel-heading {
	background: rgba(15, 23, 42, 0.75) !important;
	background-image: none !important;
	color: #e2e8f0 !important;
	font-family: 'Lato', sans-serif;
	border: 0px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.panel-sidebar > .panel-heading > .panel-title {
	font-weight: bold;
	color: #e2e8f0 !important;
	text-shadow: 0 0 10px rgba(61,147,255,0.4) !important;
}

.panel-usercp {
    background: url('../img/usercp_bg.jpg') no-repeat top center;
    background-size: cover;
    padding: 10px 0; /* Un poco de espacio arriba y abajo del panel */
}

.panel-usercp ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.panel-usercp ul li {
    display: flex;          /* flex en el LI para alinear img y a en fila */
    align-items: center;    /* centra verticalmente icono y texto */
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Una línea divisoria muy sutil */
}

.panel-usercp ul li a {
    display: block;         /* bloque normal, ocupa el espacio restante */
    flex: 1;                /* toma todo el ancho disponible después del icono */
    color: #ccc !important;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.panel-usercp ul li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05); /* Un brillo suave al pasar el mouse */
    padding-left: 20px; /* Efecto de desplazamiento */
}

.panel-usercp ul li img {
    width: 20px; /* Tamaño de icono más elegante */
    height: auto;
    margin-right: 12px; /* Espacio entre icono y texto */
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.5));
}

.sidebar-banner {
	text-align: center;
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
	width: 100%;
	height: auto;
}

/* PANEL SIDEBAR EVENT TIMERS */
.panel-sidebar-events {
	background: #000000 url('../img/panel_events_bg.jpg') no-repeat top center;
	background-size: cover;
	border: 3px solid #444;
}
	.panel-sidebar-events > .panel-heading {
		background: #ffc375 url('../img/navbg_alt.jpg') no-repeat top center;
		color: #95eaff;
		font-family: 'Lato', sans-serif;
		border: 0px;
		border-bottom: 1px solid #444;
	}

	.panel-sidebar-events > .panel-heading > .panel-title {
		font-weight: bold;
	}
	.panel-sidebar-events > .panel-body {
		color: #ccc;
	}
		.panel-sidebar-events > .panel-body > .table {
			margin-bottom: 0px !important;
		}

.event-schedule-open {
	color: #00ff00;
}

.event-schedule-inprogress {
	color: #ffff00;
}

.panel-sidebar-events .smalltext {
	font-size: 11px;
	position: relative;
	top: -5px;
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: linear-gradient(160deg, #0d0a04 0%, #1c1005 60%, #100a02 100%);
	border: 1px solid rgba(180,120,20,0.4);
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: rgba(210,185,140,0.85);
}

.panel-body .panel-title {
	color: #f0c040;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid rgba(180,120,20,0.3);
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: linear-gradient(160deg, #0d0a04 0%, #1c1005 60%, #100a02 100%);
	border: 1px solid rgba(180,120,20,0.4);
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: rgba(210,185,140,0.85);
}
.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: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}
.panel-addstats .character-name {
	color: #f0c040;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid rgba(180,120,20,0.3);
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* HELPER CLASSES */
.rounded_corners_image {
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* DOWNLOADS - ESTILO MODERNO */
.panel-downloads {
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    color: #1a1a1a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.panel-downloads:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
    border-color: #c8d1e0;
}

.download-description {
    font-size: 1.5125rem;
    color: #64748b;
    line-height: 1.5;
    margin: 6px 0 0 0;
    padding: 0;
}

.online-status-indicator {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #475569;
}

/* Estado en línea */
.online-status-indicator.online {
    background: #f0f9ff;
    color: #0369a1;
}

/* Estado offline */
.online-status-indicator.offline {
    background: #fef2f2;
    color: #dc2626;
}

/* WEBENGINE CMS */
.webengine-powered { color: #777 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #ff3214 !important; }

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	overflow: hidden;
	transition: all .3s ease;
}
	.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;
	}

/* 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 li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 75px;
	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: 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;
	-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);
}

.rankings-class-filter-grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

#header img {
  width: 670px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#header img {
  display: block;
  margin: 0 auto;

  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.9));
  transition: transform 0.3s ease, filter 0.3s ease;
}

#header img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.9));
}


@media (max-width: 768px) {
  #header img {
    width: 90%;
    max-width: 380px;
  }
}

#header a {
  display: inline-block;
  width: fit-content;
  height: fit-content;
}

#header a {
  pointer-events: none;
}

#header a img {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  #content {
    flex-direction: column;
  }

  .panel-sidebar {
    width: 100%;
	  flex-shrink: 0;
  }
}


    .donation-link img {
        width: 100%;
        height: 130px; 
        object-fit: contain; 
        background: #1a1a1a; /* Fondo oscuro similar al de PayPal */
        border-radius: 10px;
        margin-bottom: 10px;
        display: block;
    }

	/* ===================================
   DONATION METHODS - Página Principal
   =================================== */
/* ========================================
   DONATIONS / DONACIONES - VERSIÓN MEJORADA
   ======================================== */

/* ===================================
   CONTENEDOR PRINCIPAL DE MÉTODOS DE DONACIÓN
   =================================== */
.donation-methods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 40px 0;
    padding: 20px;
}

/* ===================================
   TARJETAS DE DONACIÓN - DISEÑO MODERNO
   =================================== */
.donation-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 255, 179, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 255, 179, 0.2);
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.01);
    }
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 179, 0.1),
        transparent
    );
    transition: left 0.8s;
    pointer-events: none;
}

.donation-card:hover::before {
    left: 100%;
}

.donation-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 255, 179, 0.4),
        0 0 0 2px rgba(0, 255, 179, 0.4),
        0 0 40px rgba(0, 255, 179, 0.3);
    border-color: rgba(0, 255, 179, 0.5);
}

/* ===================================
   CABECERA DE LA TARJETA
   =================================== */
.donation-card-header {
    background: linear-gradient(135deg, #0f3460, #16213e);
    padding: 50px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 179, 0.1) 0%, transparent 70%);
    animation: headerGlow 4s linear infinite;
}

@keyframes headerGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.donation-card-header img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.donation-card:hover .donation-card-header img {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 30px rgba(0, 255, 179, 0.4));
}

/* ===================================
   CUERPO DE LA TARJETA
   =================================== */
.donation-card-body {
    padding: 30px 25px;
    background: linear-gradient(to bottom, #16213e, #1a1a2e);
}

.donation-card-body h3 {
    color: #00ffb3;
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 
        0 0 10px rgba(0, 255, 179, 0.6),
        0 0 20px rgba(0, 255, 179, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 255, 179, 0.6),
            0 0 20px rgba(0, 255, 179, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(0, 255, 179, 0.8),
            0 0 30px rgba(0, 255, 179, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

.donation-card-body p {
    color: #c8d6e5;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ===================================
   LISTA DE BENEFICIOS
   =================================== */
.donation-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.donation-benefits li {
    padding: 12px 15px 12px 45px;
    color: #dfe6e9;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.donation-benefits li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffb3;
    font-weight: bold;
    font-size: 18px;
    width: 24px;
    height: 24px;
    background: rgba(0, 255, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00ffb3;
}

.donation-benefits li:hover {
    padding-left: 50px;
    background: rgba(0, 255, 179, 0.05);
    color: #ffffff;
}

.donation-benefits li:hover::before {
    background: #00ffb3;
    color: #1a1a2e;
    box-shadow: 0 0 15px rgba(0, 255, 179, 0.6);
}

.donation-benefits li:last-child {
    border-bottom: none;
}

/* ===================================
   PIE DE LA TARJETA CON BOTÓN
   =================================== */
.donation-card-footer {
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-card-footer .btn {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.donation-card-footer .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.donation-card-footer .btn:hover::before {
    width: 400px;
    height: 400px;
}

/* Botón Primary (Azul/Morado) */
.donation-card-footer .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.donation-card-footer .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
}

/* Botón Success (Verde) */
.donation-card-footer .btn-success {
    background: linear-gradient(135deg, #00ffb3, #00c896);
    color: #1a1a2e;
    box-shadow: 0 8px 20px rgba(0, 255, 179, 0.4);
}

.donation-card-footer .btn-success:hover {
    background: linear-gradient(135deg, #00c896, #00ffb3);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 255, 179, 0.6);
}

/* Botón Warning (Dorado - para PayPal) */
.donation-card-footer .btn-warning {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.donation-card-footer .btn-warning:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
}

/* ===================================
   PAYPAL GATEWAY - ESTILO MEJORADO
   =================================== */
.paypal-gateway-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.paypal-gateway-content {
    background: linear-gradient(145deg, #fff9e6, #fef2da);
    border: 3px solid #f79433;
    padding: 30px;
    overflow: auto;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    font-weight: bold;
    box-shadow: 
        0 10px 30px rgba(247, 148, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
}

.paypal-gateway-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
    animation: paypalShine 3s linear infinite;
}

@keyframes paypalShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.paypal-gateway-logo {
    width: 100%;
    height: 120px;
    background: #ffffff url('../img/paypal-logo-200-68.png') no-repeat center;
    background-size: contain;
    margin-bottom: 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f79433;
}

.paypal-gateway-conversion-rate {
    margin: 20px auto;
    text-align: center;
    color: #000;
    font-size: 20px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 2px dashed #f79433;
}

.paypal-gateway-form {
    width: 100%;
    margin: 25px auto;
    text-align: center;
}

.paypal-gateway-form div {
    display: inline-block;
    padding: 0px 15px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.paypal-gateway-form input[type=text] {
    width: 80px;
    font-size: 26px;
    border: 3px solid #f79433;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    color: #f79433;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(247, 148, 51, 0.2);
}

.paypal-gateway-form input[type=text]:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.paypal-gateway-continue {
    margin: 20px auto;
    text-align: center;
}

.paypal-gateway-continue input[type=submit] {
    background: linear-gradient(135deg, #0070ba, #003087);
    width: 220px;
    height: 50px;
    border: 0px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 112, 186, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paypal-gateway-continue input[type=submit]:hover {
    background: linear-gradient(135deg, #003087, #0070ba);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 112, 186, 0.6);
}

/* ===================================
   LINK DE DONACIÓN CON IMAGEN
   =================================== */
.donation-link {
    display: block;
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
    transition: all 0.3s ease;
}

.donation-link img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 15px;
    margin-bottom: 15px;
    display: block;
    padding: 20px;
    border: 2px solid rgba(0, 255, 179, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.donation-link:hover img {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(0, 255, 179, 0.5);
    box-shadow: 0 15px 40px rgba(0, 255, 179, 0.4);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .donation-methods-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px;
    }
    
    .donation-card-header {
        padding: 40px 20px;
    }
    
    .donation-card-header img {
        max-width: 180px;
    }
    
    .donation-card-body {
        padding: 25px 20px;
    }
    
    .donation-card-body h3 {
        font-size: 22px;
    }
    
    .paypal-gateway-container {
        width: 95%;
    }
    
    .paypal-gateway-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .donation-card-body h3 {
        font-size: 20px;
    }
    
    .donation-benefits li {
        font-size: 14px;
        padding: 10px 12px 10px 40px;
    }
    
    .donation-card-footer .btn {
        font-size: 15px;
        padding: 14px;
    }
}

/* ===================================
   ANIMACIÓN ADICIONAL PARA DESTACAR OFERTAS
   =================================== */
.donation-card.featured {
    border: 3px solid #FFD700;
    animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% {
        box-shadow: 
            0 15px 40px rgba(255, 215, 0, 0.4),
            0 0 0 3px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 20px 50px rgba(255, 215, 0, 0.6),
            0 0 0 5px rgba(255, 215, 0, 0.4);
    }
}

.donation-card.featured::after {
    content: '⭐ DESTACADO ⭐';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    padding: 8px 50px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

/* ========================================
   REGISTRO DE CUENTAS - VERSIÓN MEJORADA
   ======================================== */

/* ===================================
   CONTENEDOR PRINCIPAL DEL REGISTRO
   =================================== */
/* ===================================
   REGISTRO - TEMA DORADO OSCURO
   (Consistente con el resto de la web)
   =================================== */
.register-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0;
}

.panel-register {
    background: linear-gradient(160deg, #0d0a04 0%, #1c1005 60%, #100a02 100%);
    border: 1px solid rgba(200, 140, 30, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(180, 100, 0, 0.25),
        inset 0 1px 0 rgba(255, 200, 80, 0.08);
    position: relative;
    animation: panelGlow 4s ease-in-out infinite;
}

@keyframes panelGlow {
    0%, 100% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.7),
            0 0 40px rgba(180, 100, 0, 0.2);
        border-color: rgba(200, 140, 30, 0.5);
    }
    50% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.7),
            0 0 60px rgba(255, 160, 30, 0.35);
        border-color: rgba(240, 184, 48, 0.75);
    }
}

/* Linea brillante superior */
.panel-register::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(200, 140, 20, 0.07),
        transparent
    );
    transform: rotate(45deg);
    animation: registerShine 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes registerShine {
    0%   { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%)  translateY(100%)  rotate(45deg); }
}

/* ===================================
   CABECERA
   =================================== */
.panel-register .panel-heading {
    background: linear-gradient(135deg, #1a0f00, #2a1800);
    color: #f0c040;
    padding: 30px 25px;
    border-bottom: 1px solid rgba(200, 140, 30, 0.4);
    position: relative;
    overflow: hidden;
}

.panel-register .panel-heading::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 180, 30, 0.6), transparent);
    animation: headerSlide 3s linear infinite;
}

@keyframes headerSlide {
    0%   { left: -100%; }
    100% { left: 200%;  }
}

.panel-register .panel-heading .panel-title {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin: 0;
    color: #f0c040 !important;
    text-shadow:
        0 0 15px rgba(255, 180, 30, 0.6),
        0 0 35px rgba(200, 100, 0, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.panel-register .panel-heading .panel-title::before {
    content: '\2694\FE0F';
    margin-right: 14px;
    font-size: 28px;
    animation: iconFloat 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-5px) scale(1.1); }
}

.panel-register .panel-heading .panel-title::after {
    content: '\2694\FE0F';
    margin-left: 14px;
    font-size: 28px;
    animation: iconFloat 2s ease-in-out infinite 0.5s;
    display: inline-block;
}

.panel-register .panel-heading p {
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 13px;
    color: rgba(210, 185, 140, 0.75);
    position: relative;
    z-index: 1;
}

/* ===================================
   CUERPO DEL FORMULARIO
   =================================== */
.panel-register .panel-body {
    padding: 35px 35px;
    background: linear-gradient(to bottom, #120d03, #0d0a04);
    position: relative;
    z-index: 1;
}

/* ===================================
   GRUPOS DE FORMULARIO
   =================================== */
.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    color: rgba(200, 150, 40, 0.8);
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(200, 140, 20, 0.3);
}

.form-group label::before {
    content: '\25B8';
    margin-right: 7px;
    color: #f0b830;
    font-size: 14px;
}

/* ===================================
   INPUTS
   =================================== */
.form-control,
input[type=text],
input[type=password],
input[type=email],
input[type=number] {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(180, 120, 20, 0.35);
    border-radius: 8px;
    color: rgba(220, 200, 160, 0.95);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
}

.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus {
    background: rgba(20, 12, 0, 0.7);
    border-color: rgba(240, 184, 48, 0.65);
    outline: none;
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.4),
        0 0 18px rgba(240, 184, 48, 0.2),
        0 0 0 3px rgba(200, 140, 20, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder,
input[type=text]::placeholder,
input[type=password]::placeholder,
input[type=email]::placeholder,
input[type=number]::placeholder {
    color: rgba(190, 160, 90, 0.4);
    font-style: italic;
}

/* ===================================
   SELECT / DROPDOWN
   =================================== */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b830' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

select.form-control option {
    background: #1a0f00;
    color: rgba(220, 200, 160, 0.95);
}

/* ===================================
   CHECKBOX Y RADIO
   =================================== */
.form-check {
    margin: 18px 0;
    display: flex;
    align-items: center;
}

.form-check input[type=checkbox],
.form-check input[type=radio] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #f0b830;
}

.form-check label {
    color: rgba(210, 185, 140, 0.85);
    font-size: 13px;
    margin: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.form-check label::before { content: none; }

/* ===================================
   BOTON REGISTRARSE
   =================================== */
.btn-register,
.btn-submit,
button[type=submit],
input[type=submit] {
    width: 100%;
    padding: 14px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(200, 130, 20, 0.35), rgba(150, 90, 10, 0.5));
    color: #f0c040;
    border: 1px solid rgba(200, 140, 30, 0.55);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(180, 100, 0, 0.3),
        inset 0 1px 0 rgba(255, 200, 80, 0.15);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-register::before,
.btn-submit::before,
button[type=submit]::before,
input[type=submit]::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 200, 80, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:hover::before,
.btn-submit:hover::before,
button[type=submit]:hover::before,
input[type=submit]:hover::before {
    width: 450px;
    height: 450px;
}

.btn-register:hover,
.btn-submit:hover,
button[type=submit]:hover,
input[type=submit]:hover {
    background: linear-gradient(135deg, rgba(220, 150, 30, 0.45), rgba(170, 110, 15, 0.6));
    color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 10px 28px rgba(200, 120, 0, 0.45),
        0 0 35px rgba(240, 184, 48, 0.25),
        inset 0 1px 0 rgba(255, 220, 100, 0.25);
}

.btn-register:active,
.btn-submit:active,
button[type=submit]:active,
input[type=submit]:active {
    transform: translateY(-1px);
}

/* ===================================
   ALERTAS
   =================================== */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: bold;
    position: relative;
    animation: alertSlideIn 0.5s ease;
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.alert-danger,
.alert-error {
    background: linear-gradient(135deg, rgba(180, 30, 30, 0.35), rgba(120, 20, 20, 0.5));
    color: #ff8080;
    border: 1px solid rgba(200, 60, 60, 0.45);
    box-shadow: 0 4px 15px rgba(180, 30, 30, 0.3);
}

.alert-success {
    background: linear-gradient(135deg, rgba(20, 120, 50, 0.35), rgba(10, 80, 30, 0.5));
    color: #5de87a;
    border: 1px solid rgba(50, 180, 80, 0.4);
    box-shadow: 0 4px 15px rgba(30, 160, 60, 0.25);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(180, 110, 0, 0.3), rgba(120, 70, 0, 0.45));
    color: #f0b830;
    border: 1px solid rgba(200, 140, 20, 0.45);
    box-shadow: 0 4px 15px rgba(180, 100, 0, 0.25);
}

.alert-info {
    background: linear-gradient(135deg, rgba(20, 80, 160, 0.3), rgba(10, 50, 110, 0.4));
    color: #60b8ff;
    border: 1px solid rgba(60, 130, 220, 0.4);
    box-shadow: 0 4px 15px rgba(30, 90, 200, 0.2);
}

.alert::before { margin-right: 10px; font-size: 16px; }
.alert-danger::before, .alert-error::before { content: '\274C'; }
.alert-success::before { content: '\2705'; }
.alert-warning::before { content: '\26A0\FE0F'; }
.alert-info::before    { content: '\2139\FE0F'; }

/* ===================================
   PIE DEL PANEL
   =================================== */
.panel-register .panel-footer {
    background: rgba(0, 0, 0, 0.35);
    padding: 22px 25px;
    text-align: center;
    border-top: 1px solid rgba(200, 140, 30, 0.2);
}

.panel-register .panel-footer p {
    color: rgba(190, 160, 90, 0.7);
    font-size: 13px;
    margin: 0 0 12px 0;
}

.panel-register .panel-footer a {
    color: #f0b830;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(240, 184, 48, 0.3);
}

.panel-register .panel-footer a:hover {
    color: #fff;
    text-shadow: 0 0 14px rgba(255, 180, 30, 0.6);
}

/* ===================================
   REQUISITOS DE CONTRASENA
   =================================== */
.password-requirements {
    margin-top: 14px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(180, 120, 20, 0.3);
}

.password-requirements p {
    color: rgba(200, 150, 40, 0.75);
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: rgba(210, 185, 140, 0.8);
    font-size: 12px;
    padding: 4px 0 4px 24px;
    position: relative;
}

.password-requirements li::before {
    content: '\25CB';
    position: absolute;
    left: 7px;
    color: rgba(180, 120, 20, 0.5);
    font-size: 13px;
}

.password-requirements li.valid::before {
    content: '\2713';
    color: #5de87a;
}

/* ===================================
   DIVISOR CON TEXTO
   =================================== */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 26px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(180, 120, 20, 0.25);
}

.divider span {
    padding: 0 14px;
    color: rgba(190, 160, 90, 0.55);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   BOTONES SECUNDARIOS
   =================================== */
.btn-secondary {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    background: rgba(180, 120, 20, 0.08);
    color: rgba(210, 185, 140, 0.85);
    border: 1px solid rgba(180, 120, 20, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-secondary:hover {
    background: rgba(180, 120, 20, 0.18);
    border-color: rgba(240, 184, 48, 0.5);
    color: #f0c040;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(180, 100, 0, 0.2);
}

/* ===================================
   CAPTCHA
   =================================== */
.captcha-container {
    margin: 22px 0;
    text-align: center;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .register-container {
        max-width: 95%;
        margin: 20px auto;
    }
    .panel-register .panel-heading { padding: 22px 18px; }
    .panel-register .panel-heading .panel-title { font-size: 22px; }
    .panel-register .panel-body { padding: 28px 20px; }
    .form-control,
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=number] { padding: 11px 14px; font-size: 13px; }
    .btn-register, .btn-submit, button[type=submit], input[type=submit] {
        padding: 13px; font-size: 13px;
    }
}

@media (max-width: 480px) {
    .panel-register .panel-heading .panel-title { font-size: 18px; }
    .panel-register .panel-heading .panel-title::before,
    .panel-register .panel-heading .panel-title::after { font-size: 20px; }
    .panel-register .panel-body { padding: 22px 16px; }
}

/* ===================================
   ANIMACION CARGA BOTON
   =================================== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    top: 50%; left: 50%;
    margin-left: -9px; margin-top: -9px;
    border: 2px solid rgba(255, 200, 80, 0.3);
    border-top-color: #f0b830;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}


/* Agrega esto al final de tu style.css */
.btn-xs,
.btn-group-xs > .btn {
    padding: 6px 8px;
    font-size: 8px;
    line-height: 1.5;
    border-radius: 6px;
    background: linear-gradient(135deg, #0368ff, #0048b3);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-xs:hover,
.btn-group-xs > .btn:hover {
    background: linear-gradient(135deg, #0048b3, #0368ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 104, 255, 0.5);
}

.btn-login-rgb {
    background: linear-gradient(
        90deg,
        #ff0000 0%,
        #ff7f00 16%,
        #ffff00 33%,
        #00ff00 50%,
        #0000ff 66%,
        #8b00ff 83%,
        #ff0000 100%
    );
    background-size: 200% 100%;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    padding: 14px 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: rgbRainbow 4s linear infinite;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

@keyframes rgbRainbow {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    100% {
        background-position: 200% 50%;
        filter: hue-rotate(360deg);
    }
}

.btn-login-rgb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: rgbSweep 2s linear infinite;
}

@keyframes rgbSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-login-rgb:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.8),
        0 10px 30px rgba(0, 0, 0, 0.5);
    animation: rgbRainbow 2s linear infinite;
}



/* ===================================
   MEJORAS DE RESPONSIVIDAD
   (Agregar al final del archivo style.css existente)
   =================================== */

/* Asegurar que las imágenes sean responsive */
img {
	max-width: 100%;
	height: auto;
}

/* Wrapper responsive para tablas */
.table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 20px;
}

/* ===================================
   MEDIA QUERIES - TABLETS (992px)
   =================================== */
@media (max-width: 992px) {
	/* Container más estrecho */
	#container {
		padding: 15px;
	}
	
	/* Content en columna */
	#content {
		flex-direction: column;
		gap: 15px;
	}
	
	.module-contents {
		width: 100%;
		min-height: auto;
	}
	
	/* Navbar más compacto */
	#navbar ul li a {
		padding: 15px 18px;
		font-size: 16px;
	}
	
	/* Tablas más pequeñas */
	.rankings-table {
		width: 100%;
	}
	
	.rankings-table tr td {
		padding: 12px 8px;
		font-size: 16px;
	}
	
	.rankings-class-image {
		width: 35px;
	}
	
	/* Footer más compacto */
	.footer {
		padding: 40px 15px;
	}
	
	.footer-time {
		font-size: 32px;
	}
}

/* ===================================
   MEDIA QUERIES - MÓVILES (768px)
   =================================== */
@media (max-width: 768px) {
	body {
		font-size: 14px;
		background-size: cover;
		background-attachment: scroll;
	}
	
	/* Container móvil */
	#container {
		padding: 10px;
	}
	
	/* Header */
	#header {
		margin: 5px auto;
		padding: 0 10px;
	}
	
	/* Navbar en columna */
	#navbar {
		max-width: 100%;
	}
	
	#navbar ul {
		flex-direction: column;
	}
	
	#navbar ul li {
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	
	#navbar ul li a {
		padding: 15px;
		font-size: 15px;
	}
	
	/* Castle Siege Banner */
	.castle-siege-banner {
		padding: 10px;
		margin: 0px auto -5px auto;
	}
	
	.cs-timeleft {
		font-size: 22px;
	}
	
	.castle-siege-banner-castleowner,
	.castle-siege-banner-castleowner a {
		font-size: 24px;
	}
	
	.castle-siege-banner-countdown {
		font-size: 20px;
	}
	
	.castle-siege-banner-guildlogo img {
		max-width: 60px;
	}
	
	/* Page title */
	.page-title {
		font-size: 24px;
		margin-bottom: 15px;
	}
	
	/* News Panel */
	.panel-news .panel-heading {
		padding: 15px;
	}
	
	.panel-news .panel-title {
		font-size: 16px;
	}
	
	.panel-news .panel-body {
		padding: 12px;
	}
	
	/* Rankings Table */
	.rankings-table {
		width: 100%;
		font-size: 12px;
	}
	
	.rankings-table tr td {
		padding: 10px 5px;
		font-size: 12px;
	}
	
	.rankings-table tr:first-child td {
		font-size: 13px;
		padding: 12px 5px;
	}
	
	.rankings-class-image {
		width: 30px;
	}
	
	.rankings-table-place {
		font-size: 16px;
	}
	
	/* TOP 3 ajustes móvil */
	.rankings-table tr:nth-child(2) td:first-child {
		font-size: 20px !important;
	}
	
	.rankings-table tr:nth-child(3) td:first-child {
		font-size: 19px !important;
	}
	
	.rankings-table tr:nth-child(4) td:first-child {
		font-size: 18px !important;
	}
	
	.rankings-table tr:nth-child(2) td:first-child::before {
		font-size: 16px;
		left: 4px;
	}
	
	.rankings-table tr:nth-child(3) td:first-child::before,
	.rankings-table tr:nth-child(4) td:first-child::before {
		font-size: 14px;
		left: 4px;
	}
	
	/* Footer */
	.footer {
		padding: 30px 10px;
		border-top: 20px solid #141f2c;
	}
	
	.footer-time {
		font-size: 28px;
	}
	
	/* Panels Register */
	.register-container {
		max-width: 95%;
		margin: 20px auto;
		padding: 0 10px;
	}
	
	.panel-register .panel-heading {
		padding: 25px 20px;
	}
	
	.panel-register .panel-heading .panel-title {
		font-size: 24px;
	}
	
	.panel-register .panel-body {
		padding: 30px 25px;
	}
	
	.panel-register .form-control,
	.panel-register input[type=text],
	.panel-register input[type=password],
	.panel-register input[type=email],
	.panel-register input[type=number] {
		padding: 12px 15px;
		font-size: 14px;
	}
	
	.panel-register .btn-register,
	.panel-register .btn-submit,
	.panel-register button[type=submit],
	.panel-register input[type=submit] {
		padding: 14px;
		font-size: 16px;
	}
	
	/* Alerts más compactas */
	.alert {
		padding: 12px 15px;
		font-size: 13px;
	}
	
	/* Buttons más pequeños */
	.btn,
	button,
	input[type="submit"] {
		padding: 10px 20px;
		font-size: 14px;
	}
}

/* ===================================
   MEDIA QUERIES - MÓVILES PEQUEÑOS (480px)
   =================================== */
@media (max-width: 480px) {
	/* Navbar aún más compacto */
	#navbar ul li a {
		padding: 12px;
		font-size: 14px;
	}
	
	/* Panel register pequeño */
	.panel-register .panel-heading .panel-title {
		font-size: 20px;
		letter-spacing: 1px;
	}
	
	.panel-register .panel-heading .panel-title::before,
	.panel-register .panel-heading .panel-title::after {
		font-size: 24px;
	}
	
	.panel-register .panel-body {
		padding: 25px 20px;
	}
	
	/* Tablas muy compactas */
	.rankings-table tr td {
		padding: 8px 3px;
		font-size: 11px;
	}
	
	.rankings-table tr:first-child td {
		font-size: 12px;
		padding: 10px 3px;
	}
	
	.rankings-class-image {
		width: 25px;
	}
	
	/* Ocultar columnas menos importantes en móviles muy pequeños */
	.rankings-table tr td:nth-child(5),
	.rankings-table tr td:nth-child(6) {
		display: none;
	}
	
	/* Footer ultra compacto */
	.footer {
		padding: 20px 10px;
	}
	
	.footer-time {
		font-size: 24px;
	}
	
	/* Castle banner pequeño */
	.castle-siege-banner {
		padding: 8px;
	}
	
	.cs-timeleft {
		font-size: 18px;
	}
}

/* ===================================
   PANTALLAS GRANDES (1400px+)
   =================================== */
@media (min-width: 1400px) {
	#container {
		max-width: 1400px;
	}
	
	.footer > .footer-container {
		max-width: 1400px;
	}
	
	#navbar {
		max-width: 1375px;
	}
}

/* ===================================
   UTILIDADES ADICIONALES
   =================================== */

/* Texto responsive con clamp */
@supports (font-size: clamp(1rem, 2vw, 2rem)) {
	.page-title {
		font-size: clamp(24px, 4vw, 32px);
	}
	
	.footer-time {
		font-size: clamp(24px, 5vw, 45px);
	}
	
	.cs-timeleft {
		font-size: clamp(18px, 4vw, 32px);
	}
	
	.castle-siege-banner-castleowner,
	.castle-siege-banner-castleowner a {
		font-size: clamp(20px, 4vw, 35px);
	}
}

/* Mejoras de accesibilidad táctil */
@media (hover: none) and (pointer: coarse) {
	/* Botones y enlaces más grandes en dispositivos táctiles */
	#navbar ul li a {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	button,
	.btn,
	input[type="submit"] {
		min-height: 44px;
	}
	
	/* Evitar hover en dispositivos táctiles */
	.rankings-table tr:hover {
		transform: none;
	}
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
	.castle-siege-banner {
		padding: 8px;
	}
	
	.cs-timeleft {
		font-size: 20px;
	}
	
	#navbar ul {
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	#navbar ul li {
		width: auto;
		flex: 1 1 auto;
	}
}

/* Print styles */
@media print {
	.no-print,
	#navbar,
	.footer,
	.admincp-button,
	.castle-siege-banner {
		display: none !important;
	}
	
	body {
		background: white;
		color: black;
	}
	
	.rankings-table {
		page-break-inside: avoid;
	}
}

@media (max-width: 990px) {
    #content {
        flex-direction: column; /* Pone uno debajo del otro */
        align-items: center;
    }

    #sidebar {
        width: 100%; /* Ahora la barra ocupa todo el ancho */
        max-width: 500px; /* Pero no la dejes gigante */
        margin-top: 20px;
    }
    
    /* Opcional: Si quieres los módulos en dos columnas en tablets */
    #sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================================================
   SOLUCIÓN RESPONSIVE MEJORADA - PROTECCIÓN CONTRA ZOOM Y PANTALLAS GRANDES
   ======================================================================== */

/* ===================================================================
   REGLAS BASE PARA EVITAR DISTORSIÓN EN ZOOM Y PANTALLAS GRANDES
   =================================================================== */

/* Limitar la distancia máxima de los módulos laterales */
.floating-box {
    /* En lugar de solo vw, usamos clamp() para limitar el rango */
    --max-lateral-distance: 40px; /* Distancia máxima desde el borde */
}

/* Módulos del lado IZQUIERDO - con límite máximo */
#guias-box,
#invasiones-box,
#referidos-box {
    left: clamp(10px, 2vw, 40px) !important;
    /* Esto significa:
       - Mínimo: 10px (pantallas muy pequeñas)
       - Preferido: 2vw (pantallas normales)
       - Máximo: 40px (pantallas grandes o zoom reducido)
    */
}

/* Módulos del lado DERECHO - con límite máximo */
#evento-box,
#reloj-box,
#social-box {
    right: clamp(10px, 2vw, 40px) !important;
}

/* ===================================================================
   AJUSTE PARA PANTALLAS MUY GRANDES (más de 2000px)
   =================================================================== */
@media (min-width: 2000px) {
    .floating-box {
        width: 260px;
        padding: 22px;
    }

    .floating-box h3 {
        font-size: 16px;
    }

    .box-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Fijar posición absoluta para evitar que se alejen demasiado */
    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: 30px !important; /* Distancia fija */
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: 30px !important; /* Distancia fija */
    }
}

/* ===================================================================
   PROTECCIÓN CONTRA ZOOM OUT (80%, 75%, 67%, etc.)
   =================================================================== */

/* Cuando el zoom está reducido, el contenido central se agranda
   pero los módulos flotantes deben mantener distancias razonables */
@media (min-width: 1800px) {
    #guias-box {
        top: max(1vh, 10px);
        left: 35px !important;
    }

    #invasiones-box {
        top: max(22vh, 180px);
        left: 35px !important;
    }

    #referidos-box {
        top: max(41vh, 340px);
        left: 35px !important;
    }

    #evento-box {
        top: max(1vh, 10px);
        right: 35px !important;
    }

    #reloj-box {
        top: max(22vh, 180px);
        right: 35px !important;
    }

    #social-box {
        top: max(41vh, 340px);
        right: 35px !important;
    }
}

/* ===================================================================
   MEDIA QUERIES - TABLETS Y PANTALLAS MEDIANAS (768px - 1200px)
   =================================================================== */
@media (max-width: 1200px) and (min-width: 769px) {
    /* Reducir el ancho de los boxes */
    .floating-box {
        width: 200px;
        padding: 15px;
        font-size: 12px;
    }
    
    .floating-box h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .box-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 120px;
    }

    /* Usar distancias fijas más pequeñas */
    #guias-box {
        top: 2vh;
        left: 15px !important;
    }

    #invasiones-box {
        top: 24vh;
        left: 15px !important;
    }

    #referidos-box {
        top: 46vh;
        left: 15px !important;
    }

    #evento-box {
        top: 2vh;
        right: 15px !important;
    }

    #reloj-box {
        top: 24vh;
        right: 15px !important;
    }

    #social-box {
        top: 46vh;
        right: 15px !important;
    }
}

/* ===================================================================
   MEDIA QUERIES - TABLETS PEQUEÑAS (481px - 768px)
   =================================================================== */
@media (max-width: 768px) and (min-width: 481px) {
    /* Cambiar a diseño vertical centrado */
    .floating-box {
        position: relative !important;
        width: 90%;
        max-width: 400px;
        margin: 15px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        display: block;
    }

    /* Ajustar tamaños de fuente */
    .floating-box h3 {
        font-size: 15px;
    }

    .floating-box {
        font-size: 13px;
    }

    .box-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* ===================================================================
   MEDIA QUERIES - MÓVILES (hasta 480px)
   =================================================================== */
@media (max-width: 480px) {
    /* Diseño en columna, uno debajo del otro */
    .floating-box {
        position: relative !important;
        width: 95%;
        max-width: 100%;
        margin: 12px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        padding: 14px;
    }

    .floating-box h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .floating-box {
        font-size: 12px;
    }

    .floating-box .horarios {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .box-btn {
        padding: 9px 16px;
        font-size: 12px;
        min-width: 100px;
    }

    /* Ajustar comportamiento del scroll hide */
    .floating-box.box-hidden {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

/* ===================================================================
   PANTALLAS GRANDES NORMALES (1401px - 1799px)
   =================================================================== */
@media (min-width: 1401px) and (max-width: 1799px) {
    .floating-box {
        width: 240px;
        padding: 20px;
    }

    .floating-box h3 {
        font-size: 15px;
    }

    .box-btn {
        padding: 11px 22px;
        font-size: 14px;
    }

    /* Usar distancias fijas moderadas */
    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: 25px !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: 25px !important;
    }
}

/* ===================================================================
   LANDSCAPE MODE EN TABLETS (orientación horizontal)
   =================================================================== */
@media (max-width: 1024px) and (orientation: landscape) {
    .floating-box {
        width: 180px;
        padding: 12px;
        font-size: 11px;
    }

    .floating-box h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .box-btn {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 100px;
    }

    /* Distancias fijas pequeñas */
    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: 10px !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: 10px !important;
    }

    /* Reducir espacios verticales */
    #guias-box {
        top: 1vh;
    }

    #invasiones-box {
        top: 20vh;
    }

    #referidos-box {
        top: 38vh;
    }

    #evento-box {
        top: 1vh;
    }

    #reloj-box {
        top: 20vh;
    }

    #social-box {
        top: 38vh;
    }
}

/* ===================================================================
   AJUSTES PARA EVITAR SUPERPOSICIÓN CON CONTENIDO
   =================================================================== */
@media (max-width: 990px) {
    .floating-box {
        position: relative !important;
        width: 90%;
        max-width: 450px;
        margin: 15px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        float: none;
    }
}

/* ===================================================================
   OPTIMIZACIÓN PARA ALTURA DE PANTALLA PEQUEÑA
   =================================================================== */
@media (max-height: 700px) and (min-width: 991px) {
    .floating-box {
        padding: 12px;
        width: 190px;
        font-size: 11px;
    }

    .floating-box h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .floating-box .horarios {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .box-btn {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 110px;
    }

    /* Distancias laterales fijas */
    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: 15px !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: 15px !important;
    }

    /* Comprimir verticalmente */
    #guias-box {
        top: 1vh;
    }

    #invasiones-box {
        top: 18vh;
    }

    #referidos-box {
        top: 35vh;
    }

    #evento-box {
        top: 1vh;
    }

    #reloj-box {
        top: 18vh;
    }

    #social-box {
        top: 35vh;
    }
}

/* ===================================================================
   PROTECCIÓN CONTRA ZOOM IN (110%, 125%, 150%, etc.)
   =================================================================== */

/* Zoom 110% - Pantalla "percibida" de ~1745px (1920/1.1) */
@media (max-width: 1745px) and (min-width: 1537px) {
    .floating-box {
        width: 210px;
        padding: 16px;
        font-size: 12px;
    }

    .floating-box h3 {
        font-size: 13px;
    }

    .box-btn {
        padding: 9px 18px;
        font-size: 12px;
    }

    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: max(12px, 1.8vw) !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: max(12px, 1.8vw) !important;
    }
}

/* Zoom 125% - Pantalla "percibida" de ~1536px (1920/1.25) */
@media (max-width: 1536px) and (min-width: 1281px) {
    .floating-box {
        width: 200px;
        padding: 15px;
        font-size: 12px;
    }

    .floating-box h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .box-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 120px;
    }

    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: max(10px, 1.5vw) !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: max(10px, 1.5vw) !important;
    }

    /* Comprimir ligeramente el espaciado vertical */
    #guias-box {
        top: 1vh;
    }

    #invasiones-box {
        top: 21vh;
    }

    #referidos-box {
        top: 40vh;
    }

    #evento-box {
        top: 1vh;
    }

    #reloj-box {
        top: 21vh;
    }

    #social-box {
        top: 40vh;
    }
}

/* Zoom 150% - Pantalla "percibida" de ~1280px (1920/1.5) */
@media (max-width: 1280px) and (min-width: 991px) {
    .floating-box {
        width: 190px;
        padding: 14px;
        font-size: 11px;
    }

    .floating-box h3 {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .floating-box .horarios {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .box-btn {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 110px;
    }

    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: max(8px, 1.2vw) !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: max(8px, 1.2vw) !important;
    }

    /* Comprimir más el espaciado vertical */
    #guias-box {
        top: 1vh;
    }

    #invasiones-box {
        top: 19vh;
    }

    #referidos-box {
        top: 37vh;
    }

    #evento-box {
        top: 1vh;
    }

    #reloj-box {
        top: 19vh;
    }

    #social-box {
        top: 37vh;
    }
}

/* ===================================================================
   PRINT STYLES
   =================================================================== */
@media print {
    .floating-box {
        display: none !important;
    }
}

/* ===================================================================
   HOVER STATES - Desactivar en dispositivos táctiles
   =================================================================== */
@media (hover: none) and (pointer: coarse) {
    .floating-box:hover {
        transform: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .box-btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* ===================================================================
   AJUSTE FINAL: Asegurar que nunca se alejen más de 50px del borde
   =================================================================== */
@media (min-width: 991px) {
    #guias-box,
    #invasiones-box,
    #referidos-box {
        left: min(2vw, 50px) !important;
    }

    #evento-box,
    #reloj-box,
    #social-box {
        right: min(2vw, 50px) !important;
    }
}

/* ═══════════════════════════════════════════
   NAVBAR — ESTILO ÉPICO OSCURO DORADO
═══════════════════════════════════════════ */
#navbar {
  background: linear-gradient(180deg, #120900 0%, #1e0e00 50%, #120900 100%) !important;
  border: 1px solid rgba(180,120,20,0.35) !important;
  box-shadow: 0 0 30px rgba(180,100,0,0.2),
              inset 0 1px 0 rgba(255,200,80,0.08),
              0 4px 20px rgba(0,0,0,0.5) !important;
  position: relative !important;
}

/* Línea brillante superior */
#navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,30,0.55), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Línea inferior sutil */
#navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,140,20,0.2), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Links del navbar */
#navbar ul li a {
  color: rgba(220,195,140,0.85) !important;
  letter-spacing: 0.5px !important;
  transition: color .25s, text-shadow .25s, background .25s !important;
  position: relative !important;
}

/* Línea dorada animada debajo del link */
#navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, #f0b830, #ff8c00);
  transition: left .25s, right .25s;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px rgba(255,160,30,0.6);
}

/* Hover del link */
#navbar ul li a:hover,
#navbar ul li a:focus,
#navbar ul li a:active {
  color: #f0c040 !important;
  text-shadow: 0 0 14px rgba(255,180,30,0.6) !important;
  background: rgba(255,160,30,0.05) !important;
}

/* Línea dorada aparece al hover */
#navbar ul li a:hover::after,
#navbar ul li a:focus::after,
#navbar ul li a:active::after {
  left: 10% !important;
  right: 10% !important;
}

/* Separador vertical entre items */
#navbar ul li + li::before {
  content: '';
  position: absolute;
  left: 0; top: 28%; bottom: 28%;
  width: 1px;
  background: rgba(180,120,20,0.2);
}
#navbar ul li {
  position: relative !important;
}

/* ═══════════════════════════════════════════
   MODULE CONTENTS — ESTILO GLOBAL OSCURO DORADO
   Aplica a TODAS las páginas
═══════════════════════════════════════════ */
.module-contents {
  background: linear-gradient(160deg, #0d0a04 0%, #1c1005 60%, #100a02 100%) !important;
  border: 1px solid rgba(180,120,20,0.4) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 40px rgba(180,100,0,0.15),
              inset 0 1px 0 rgba(255,200,80,0.07) !important;
  color: rgba(210,185,140,0.85) !important;
  position: relative !important;
  overflow: visible !important;
}

/* Línea superior brillante */
.module-contents::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,30,0.4), transparent);
  pointer-events: none;
  border-radius: 10px 10px 0 0;
}

/* Esquina decorativa superior izquierda */
.module-contents::after {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 14px; height: 14px;
  border-top: 2px solid rgba(200,140,30,0.5);
  border-left: 2px solid rgba(200,140,30,0.5);
  pointer-events: none;
}

/* Títulos */
.module-contents h1,
.module-contents h2 {
  color: #f0c040 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 20px rgba(255,180,30,0.6) !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(200,140,30,0.3) !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
}

.module-contents h3,
.module-contents h4 {
  color: rgba(200,150,40,0.65) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

/* Texto general */
.module-contents p,
.module-contents span,
.module-contents li {
  color: rgba(210,185,140,0.85) !important;
}

/* Tablas */
.module-contents table {
  border-collapse: collapse !important;
  width: 100% !important;
}
.module-contents table tr {
  border-bottom: 1px solid rgba(180,120,20,0.12) !important;
  transition: background .2s !important;
}
.module-contents table tr:hover {
  background: rgba(255,170,30,0.05) !important;
}
.module-contents table td,
.module-contents table th {
  padding: 9px 8px !important;
  background: transparent !important;
  border: none !important;
  color: rgba(210,185,140,0.85) !important;
}
.module-contents table th {
  color: rgba(200,150,40,0.6) !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(180,120,20,0.25) !important;
}
.module-contents table td:first-child {
  color: rgba(190,160,90,0.65) !important;
  font-size: 18px !important;
}
.module-contents table td:last-child {
  font-weight: 700 !important;
  color: #f0b830 !important;
  text-align: right !important;
  text-shadow: 0 0 8px rgba(255,180,30,0.3) !important;
}
.module-contents table tr:nth-child(odd) td,
.module-contents table tr:nth-child(even) td {
  background: transparent !important;
}

/* Links */
.module-contents a {
  color: #f0b830 !important;
  text-decoration: none !important;
  transition: color .2s, text-shadow .2s !important;
}
.module-contents a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255,180,30,0.6) !important;
}

/* Separadores */
.module-contents hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(200,140,30,0.4), transparent) !important;
  margin: 14px 0 !important;
}

/* Botones dentro del módulo */
.module-contents .btn,
.module-contents button {
  background: linear-gradient(135deg, rgba(200,130,20,0.25), rgba(150,90,10,0.35)) !important;
  color: #f0c040 !important;
  border: 1px solid rgba(200,140,30,0.45) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  transition: all .2s !important;
}
.module-contents .btn:hover,
.module-contents button:hover {
  background: rgba(200,140,30,0.35) !important;
  box-shadow: 0 0 20px rgba(255,160,30,0.35) !important;
  color: #fff !important;
}

/* ============================================================
   2. CASTLE SIEGE (castle-siege.css)
   ============================================================ */

/*!
    
 =========================================================
 * 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
 
 =========================================================
 
*/
.castle-siege-block .castle-owner-panel {
	background: #000 url('../img/castle_owner_bg.jpg') no-repeat;
	background-size: cover;
	color: #ffffff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 20px;
	text-shadow: 1px 1px 1px #000;
	transition: 0.3s;
}
.castle-siege-block .castle-owner-panel:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}
.castle-siege-block .castle-owner-panel a {
	color: #cccccc;
}
.castle-siege-block .castle-owner-panel a:hover, .castle-siege-block .castle-owner-panel a:active {
	color: #ffffff;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-name, .castle-siege-block .castle-owner-panel .panel-body .castle-owner-name a {
	color: #ffffff;
	display: block;
	padding: 5px;
	font-size: 24px;
	font-weight: bold;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-ally-title {
	margin-top: 20px;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-ally {
	padding: 5px 0px;
}
.castle-siege-block .castle-owner-panel .panel-body h4 {
	color: #ffcc00 !important;
}

.castle-siege-block #siegeTimer {
	font-size: 48px;
	font-weight: bold;
}
.castle-siege-block #siegeTimer span {
	color: #aaaaaa;
	font-size: 26px;
}

.castle-owner-widget {
	background: #000 url('../img/castle_owner_bg.jpg') no-repeat top right;
	background-size: cover;
	color: #cccccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
	padding: 20px;
	text-shadow: 1px 1px 1px #000;
	transition: 0.3s;
}
.castle-owner-widget:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}
	.castle-owner-widget .panel-heading {
		text-align: center;
	}
		.castle-owner-widget .panel-heading .panel-title {
			font-size: 28px;
			font-weight: bold;
		}
	.castle-owner-widget .panel-body span.alt {
		color: #cf7957;
		font-weight: bold;
	}
	.castle-owner-widget .panel-body a {
		color: #ffffff;
	}
	
    .btn-castlewidget {
		color: #ffffff;
		background-color: #333;
		border-color: #ffffff;
		-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;
		text-shadow: none;
	}
	
	.btn-castlewidget:active, .btn-castlewidget:focus, .btn-castlewidget:hover {
		color: #000000 !important;
		background-color: #ffffff !important;
		border-color: #ffffff !important;
	}

/* ============================================================
   3. PERFILES DE JUGADORES Y GUILDS (profiles.css)
   ============================================================ */


/* GUILD PROFILES */
.profiles_guild_card {
	width: 100%;
	background: #000000 url('../img/profiles/guild.jpg') no-repeat;
	background-size: cover;
	overflow: auto;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 40px;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000;
}
	.profiles_guild_card .guild_logo img {
		-moz-box-shadow: 0 0 10px #000;
		-webkit-box-shadow: 0 0 10px #000;
		box-shadow: 0 0 10px #000;
	}
	.profiles_guild_card .guild_name {
		font-family: 'Cinzel', serif;
		font-size: 24px;
		color: #ffffff;
		font-weight: bold;
	}
	.profiles_guild_card table {
		table-layout: fixed;
	}
	.profiles_guild_card hr {
		    border-top: 1px solid #333;
			margin-top: 30px;
			margin-bottom: 30px;
	}
	.profiles_guild_card .guild_members {
		font-family: 'Cinzel', serif;
		font-size: 24px;
		color: #ffffff;
		font-weight: bold;
	}
	.profiles_guild_card .guild_members_list {
		margin-top: 30px;
	}

/* PLAYER PROFILES */
.profiles_player_card {
	width: 100%;
	overflow: auto;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 20px;
}

	.DK.profiles_player_card, .BK.profiles_player_card, .BM.profiles_player_card, .DGK.profiles_player_card { background: url('../img/profiles/knight.jpg') no-repeat; background-size: cover; }
	.DW.profiles_player_card, .SM.profiles_player_card, .GM.profiles_player_card, .SW.profiles_player_card { background: url('../img/profiles/wiz.jpg') no-repeat; background-size: cover; }
	.ELF.profiles_player_card, .ME.profiles_player_card, .HE.profiles_player_card, .NE.profiles_player_card { background: url('../img/profiles/elf.jpg') no-repeat; background-size: cover; }
	.SUM.profiles_player_card, .BS.profiles_player_card, .DSM.profiles_player_card, .DS.profiles_player_card { background: url('../img/profiles/sum.jpg') no-repeat; background-size: cover; }
	.DL.profiles_player_card, .LE.profiles_player_card, .EL.profiles_player_card { background: url('../img/profiles/dl.jpg') no-repeat; background-size: cover; }
	.MG.profiles_player_card, .DM.profiles_player_card, .MK.profiles_player_card { background: url('../img/profiles/mg.jpg') no-repeat; background-size: cover; }
	.RF.profiles_player_card, .FM.profiles_player_card, .FB.profiles_player_card { background: url('../img/profiles/rf.jpg') no-repeat; background-size: cover; }
	.GL.profiles_player_card, .ML.profiles_player_card, .SL.profiles_player_card { background: url('../img/profiles/gl.jpg') no-repeat; background-size: cover; }
	.RW.profiles_player_card, .RSM.profiles_player_card, .GRM.profiles_player_card { background: url('../img/profiles/rw.jpg') no-repeat; background-size: cover; }
	.SLR.profiles_player_card, .SLRR.profiles_player_card, .MSLR.profiles_player_card, .SLTR.profiles_player_card { background: url('../img/profiles/sl.jpg') no-repeat; background-size: cover; }
	.GC.profiles_player_card, .GB.profiles_player_card, .MGB.profiles_player_card, .HGC.profiles_player_card { background: url('../img/profiles/gc.jpg') no-repeat; background-size: cover; }

.profiles_player_content {
	float: right;
	width: 50%;
	color: #fff;
}

.profiles_player_table {
	width: 100%;
}

.profiles_player_table .cname {
	font-family: 'Cinzel', serif;
	text-align: center;
	font-size: 24px;
	color: #fff;
	font-weight: bold;
}

.profiles_player_table .cclass {
	text-align: center;
	font-size: 11px;
	color: #eee;
}

.profiles_player_table .isoffline {
	color: #ff0000;
}

.profiles_player_table .isonline {
	color: #00ff00;
}

.profiles_player_table_info {
	table-layout: fixed;
	margin-top: 10px;
}
.profiles_player_table_info tr td {
	padding: 3px 10px;
}
.profiles_player_table_info tr td:first-child {
	text-align: right;
}

/* ============================================================
   4. PARTICULAS DE FONDO (particles-icons.css)
   ============================================================ */

#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* detrás del contenido */
    pointer-events: none;
}


/* ============================================================
   5. CORRECCIONES RESPONSIVE ADICIONALES (style_responsive_fix.css)
   ============================================================ */

/* ============================================================
   style_responsive_fix.css
   Correcciones responsive para Mu Absolut
   Este archivo es cargado por index.php y cubre estilos
   que no están en style.css ni responsive.css
   ============================================================ */


/* ============================================================
   MOBILE BOXES CONTAINER
   El JS mueve los floating-boxes aquí cuando ancho <= 768px.
   Sin estos estilos el contenedor no tiene forma ni layout.
   ============================================================ */
.mobile-boxes-container {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mobile-boxes-container {
        width: 100%;
        padding: 10px 5px;
    }

    .mobile-boxes-container .floating-box {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 92% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        transform: none !important;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .mobile-boxes-container .floating-box {
        width: 96% !important;
        max-width: 100% !important;
        padding: 14px !important;
    }
}


/* ============================================================
   NAVBAR - Scroll horizontal en mobile si los links no caben
   ============================================================ */
@media (max-width: 768px) {
    #navbar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #navbar ul {
        min-width: max-content;
    }
}


/* ============================================================
   HEADER - Logo no debe desbordar en pantallas chicas
   ============================================================ */
@media (max-width: 768px) {
    #header img {
        max-width: 85vw;
        height: auto;
    }

    #header-fx {
        width: 100% !important;
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    #header img {
        max-width: 90vw;
    }

    #header-fx {
        height: 160px !important;
    }
}


/* ============================================================
   SIDEBAR LEFT / RIGHT - Ancho fijo no aplica en mobile
   ============================================================ */
@media (max-width: 992px) {
    #sidebar-left,
    #sidebar-right {
        flex: none !important;
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
    }
}


/* ============================================================
   TABLAS - Scroll horizontal para tablas anchas en mobile
   ============================================================ */
@media (max-width: 768px) {
    .module-contents {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .module-contents table {
        min-width: 300px;
    }
}


/* ============================================================
   IMAGENES GENERALES - No desbordar nunca
   ============================================================ */
img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   BOTONES - No desbordar en mobile
   ============================================================ */
@media (max-width: 480px) {
    .btn,
    button,
    input[type="submit"],
    input[type="button"] {
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-word;
    }
}


/* ============================================================
   FOOTER - Texto centrado y compacto en mobile
   ============================================================ */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer .footer-container {
        padding: 0 10px;
    }

    .footer-col {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px;
    }
}


/* ============================================================
   PANEL-NEWS / NOTICIAS - Imagenes dentro de noticias
   ============================================================ */
@media (max-width: 768px) {
    .panel-news img,
    .panel-body img,
    .module-contents img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ============================================================
   LANDSCAPE MOBILE - Cuando el celu esta horizontal
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-boxes-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-boxes-container .floating-box {
        width: 45% !important;
        max-width: 280px !important;
    }
}


/* ============================================================
   6. OVERRIDES FINALES - SIEMPRE AL FINAL (override.css)
   ============================================================ */

.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;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: rgba(0,0,0,0.4);
	border: 1px solid rgba(180,120,20,0.4);
	color: rgba(210,185,140,0.9);
}
.form-control:focus {
	border: 1px solid rgba(240,184,48,0.6);
}

/* 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: rgba(20,12,0,0.6);
    border: 1px solid rgba(180,120,20,0.35);
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: rgba(240,184,48,0.6);
}

.btn-primary {
    color: #f0c040;
    background-color: rgba(180,120,20,0.15);
	border-color: rgba(200,140,30,0.5);
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #000 !important;
    background-color: #f0c040 !important;
	border-color: #e0a820 !important;
}

.btn-yellow {
    color: #000;
    background-color: #f8c51c;
    border-color: #d9a800;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}
.btn-yellow:active, .btn-yellow:focus, .btn-yellow:hover {
    color: #64491f !important;
    background-color: #fff4d3 !important;
	border-color: #d9c68d !important;
}

.btn-danger, .btn-danger:active, .btn-danger:focus, .btn-danger:hover {
    color: #ffffff !important;
}

/* Fuerza el color de hover en el menú */
#navbar ul li a {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

#navbar ul li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.4s;
}

#navbar ul li a:hover::before {
    left: 100%;
}

#navbar ul li a:hover,
#navbar ul li a:focus,
#navbar ul li a:active {
    background-color: #910303 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* --- ESTILO PARA INFORMACIÓN Y REFERIDOS --- */

/* Cambia el color de la primera columna (los títulos como 'Nombre:', 'Estado:', 'Información:', etc) */
.usercp-body tr td:first-child, 
.profiles_player_table tr td:first-child,
.account-info-label {
    color: #00f7ff !important; /* El color cian */
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.3);
}

/* Si quieres que los títulos específicos de las tablas de información también cambien */
.panel-heading, .widget-title {
    color: #00f7ff !important;
}

/* ============================================================
   FIX DEFINITIVO: Bootstrap 3 col-xs-* en Bootstrap 5
   
   PROBLEMA: BS5 no tiene col-xs-*, y su regla .row > * { width:100% }
   aplasta el ancho de cada columna a 100% (layout vertical).
   
   SOLUCIÓN EN DOS PARTES:
   1) col-xs-* globales: para el grid de íconos del Panel de Control
   2) #content > col-xs-* : layout principal 3 columnas (usa flex proporcional
      para absorber correctamente el gap:20px sin overflow)
   ============================================================ */

/* --- PARTE 1: grid de íconos (Panel de Control) --- */
.col-xs-1  { flex: 0 0 8.3333%  !important; max-width: 8.3333%  !important; width: 8.3333%  !important; box-sizing: border-box !important; }
.col-xs-2  { flex: 0 0 16.6667% !important; max-width: 16.6667% !important; width: 16.6667% !important; box-sizing: border-box !important; }
.col-xs-3  { flex: 0 0 25%      !important; max-width: 25%       !important; width: 25%       !important; box-sizing: border-box !important; }
.col-xs-4  { flex: 0 0 33.3333% !important; max-width: 33.3333% !important; width: 33.3333% !important; box-sizing: border-box !important; }
.col-xs-6  { flex: 0 0 50%      !important; max-width: 50%       !important; width: 50%       !important; box-sizing: border-box !important; }
.col-xs-12 { flex: 0 0 100%     !important; max-width: 100%      !important; width: 100%      !important; box-sizing: border-box !important; }

/* --- PARTE 2: columnas principales de #content ---
   Usa flex proporcional (3:6:3) con flex-basis:0 para que el gap
   de 20px se absorba automáticamente sin overflow.
   Mayor especificidad (#content > .clase) pisa la PARTE 1. */
#content > .col-xs-3 {
    flex: 3 0 0 !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0;
    box-sizing: border-box !important;
}
#content > .col-xs-6 {
    flex: 6 0 0 !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0;
    box-sizing: border-box !important;
}
#content > .col-xs-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- PARTE 3: arreglos visuales del Panel de Control ---
   El grid de íconos usa .row > .col-xs-3 DENTRO de .module-contents. */
.module-contents .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
.module-contents .row > .col-xs-3,
.module-contents .row > .col-xs-4,
.module-contents .row > .col-xs-6 {
    text-align: center;
    padding: 8px !important;
}
.module-contents .row > .col-xs-3 a,
.module-contents .row > .col-xs-4 a,
.module-contents .row > .col-xs-6 a {
    display: block !important;
    color: rgba(210,185,140,0.9) !important;
    padding: 10px 5px !important;
    border-radius: 8px !important;
    transition: background 0.2s, color 0.2s !important;
    text-align: center !important;
}
.module-contents .row > .col-xs-3 a:hover,
.module-contents .row > .col-xs-4 a:hover,
.module-contents .row > .col-xs-6 a:hover {
    background: rgba(255,160,30,0.08) !important;
    color: #f0c040 !important;
}
.module-contents .row img {
    display: block !important;
    margin: 0 auto 6px !important;
    max-width: 64px !important;
    height: auto !important;
}
/* Neutralizar text-align:right del last-child para el grid de íconos */
.module-contents .row td:last-child,
.module-contents .row .col-xs-3:last-child {
    text-align: center !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-shadow: none !important;
}
/* ============================================================
   FIX: Bootstrap 5 tabla defaults (border #dee2e6 = líneas azules/grises)
   Neutralizar para que las rankings-table y tablas del módulo
   usen la temática dorada oscura en vez del estilo BS5 default.
   ============================================================ */
.module-contents .table,
.module-contents table {
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: rgba(255,160,20,0.03) !important;
    --bs-table-hover-bg: rgba(255,160,20,0.07) !important;
    --bs-table-color: rgba(210,185,140,0.85) !important;
    border-color: rgba(180,120,20,0.2) !important;
    color: rgba(210,185,140,0.85) !important;
}
.module-contents .table > :not(caption) > * > * {
    border-bottom-color: rgba(180,120,20,0.15) !important;
    background-color: transparent !important;
    color: rgba(210,185,140,0.85) !important;
}
.module-contents .table > thead > tr > th,
.module-contents .table > tbody > tr > th {
    color: rgba(200,150,40,0.8) !important;
    border-bottom-color: rgba(180,120,20,0.3) !important;
}

/* Neutralizar fondo blanco del Bootstrap .table en cualquier lugar */
.rankings-table,
.rankings-table > * {
    --bs-table-bg: transparent !important;
    border-color: rgba(180,120,20,0.2) !important;
}