@import url('https://fonts.googleapis.com/css2?family=New+Amsterdam&display=swap');

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

.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: #fafafa;
  border: 1px solid #e3e3e3;
  color: #666;
}
.form-control:focus {
  border: 1px solid #ccc;
}

/* remove padding columns */
.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

/* vertical align helper */
.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.thumbnail {
  background-color: #f1f1f1;
  border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

/* =========================================================
   FONDO FIJO - fondo1.jpg (contenido scrollea encima)
   ========================================================= */

/* Desktop */
body {
  background-attachment: fixed !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  overflow-x: hidden;
}

/* Mobile (evita lag) */
@media (max-width: 768px) {
  body {
    background-attachment: scroll !important;
  }
}

/* =========================================================
   RESPONSIVE CORE (quita anclas 1040px y permite mobile)
   ========================================================= */

html {
  min-width: 0 !important;
  font-size:14px !important;
}

#container,
.footer,
.global-top-bar .global-top-bar-content,
.header-info-container {
  width: 100% !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#content,
.global-top-bar .global-top-bar-content,
.header-info-container {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* =========================================================
   TABLAS + DATATABLES RESPONSIVE
   ========================================================= */

.table-responsive,
.dataTables_wrapper {
  width: 100% !important;
}

.rankings-table,
.general-table-ui,
.table {
  width: 100% !important;
  max-width: 100% !important;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#content {
  overflow-x: hidden;
}
#content table {
  max-width: 100%;
}

div.dataTables_wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

div.dataTables_wrapper div.dataTables_filter {
  width: 100%;
}
div.dataTables_wrapper div.dataTables_filter label {
  width: 100%;
  margin: 0;
}
div.dataTables_wrapper div.dataTables_filter input {
  width: 100% !important;
  box-sizing: border-box;
}

.rankings-table td,
.general-table-ui td,
.table td {
  word-break: break-word;
  font-size: 14px !important;
      text-align: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
  .rankings-table tr td {
    padding: 8px !important;
    font-size: 14px !important;
  }

  .rankings-class-image {
    width: 28px !important;
  }
  .rankings-class-image-sidebar {
    width: 20px !important;
  }

  .general-table-ui {
    table-layout: auto !important;
  }
}

/* =========================================================
   NAVBAR RESPONSIVE (MENÚ sin fondo + hamburguesa)
   ========================================================= */

.nav-mobile-bar{
  display: none; /* desktop */
}

@media (max-width: 768px){

  .header-info{
    overflow: hidden !important;
    padding: 10px 12px !important;
  }

  .headersito{
    padding: 0 !important;
  }

  .nav-mobile-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 4px 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
    color: #fff;
    box-sizing: border-box;
  }

  .nav-toggle-text{
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
  }

  .nav-icon-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 36px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    background: rgba(0,0,0,0.15);
    color: #fff;

    cursor: pointer;
    position: relative;
    z-index: 99999;

    transition: transform .25s ease, background .25s ease, border-color .25s ease;
  }

  .nav-icon-btn i{
    font-size: 18px;
    pointer-events: none;
  }

  .nav-icon-btn:active{
    transform: scale(0.95);
  }

  .navbar-responsive.nav-open .nav-icon-btn{
    transform: rotate(90deg) scale(1.08);
    background: rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.35);
  }

  .navbar-responsive.nav-open .nav-icon-btn i::before{
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .navbar-responsive ul{
    display: block !important;  /* necesario para animar */
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;

    transition: max-height .35s ease, opacity .25s ease;

    max-width: 100% !important;
  }

  .navbar-responsive.nav-open ul{
    max-height: 900px;
    opacity: 1;
  }

  .navbar-responsive ul li{
    display: block !important;
    width: 100% !important;
  }

  .navbar-responsive ul li a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;

    padding: 12px 14px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    background: rgba(0,0,0,0.25) !important;

    max-width: 100% !important;
  }

  .navbar-responsive ul li a i{
    width: auto !important;
    margin: 0 !important;
  }

  .navbar-responsive ul li a br{
    display: none !important;
  }
}

@media (min-width: 769px){

  .headersito ul{
    display: flex;
    flex-wrap: nowrap;          
    justify-content: center;    
  }

  .headersito ul li{
    margin: 0 15px !important;    
  }

  .headersito ul li a{
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* =========================================================
   DISCORD BANNER
   ========================================================= */


.discord-banner-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;

  display: flex;
  align-items: center;
  gap: 14px;

  position: relative;
  justify-content: center;
}

.discord-banner-left{
  display: flex;
  align-items: center;
  gap: 10px;

  flex: 0 1 auto;
  min-width: 0;
}

/* Campana (tama�0�9o + animaci��n) */
.discord-banner-bell{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  opacity: .95;

  transform-origin: 50% 0%;
  animation: bellPop .35s ease-out both, bellRing 2.6s ease-in-out .6s infinite;
}

@keyframes bellPop{
  0%   { opacity: 0; transform: scale(.6); }
  60%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes bellRing{
  0%   { transform: rotate(0deg); }
  2%   { transform: rotate(10deg); }
  4%   { transform: rotate(-10deg); }
  6%   { transform: rotate(8deg); }
  8%   { transform: rotate(-8deg); }
  10%  { transform: rotate(6deg); }
  12%  { transform: rotate(-6deg); }
  14%  { transform: rotate(3deg); }
  16%  { transform: rotate(-3deg); }
  18%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce){
  .discord-banner-bell{ animation: none; }
}

.discord-banner-text{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bot��n (compacto + hover invertido) */
.discord-banner-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;
  border-radius: 8px;

  border: 2px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.10);

  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  text-decoration: none;

  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.discord-banner-btn:hover{
  background: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.95);
  color: #173a8a !important;
}

.discord-banner-btn:hover i{
  color: #173a8a !important;
}

/* Online */
.discord-banner-online{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* X */
.discord-banner-close{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);

  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: .15s ease;
}

.discord-banner-close:hover{
  background: rgba(255,255,255,.15);
}

@media (max-width: 768px){
  .discord-banner-inner{
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-right: 44px; /* espacio para la X */
  }

  .discord-banner-left{
    width: 100%;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .discord-banner-btn{
    width: 100%;
    justify-content: center;
  }

  .discord-banner-online{
    width: 100%;
    text-align: center;
  }

  .discord-banner-close{
    right: 12px;
    top: 10px;
    transform: none;
  }
}


/* =========================================================
   BOT�0�7N WHATSAPP
   ========================================================= */

.whatsapp-container{
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
}

.whatsapp-float{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background-color: #25D366;
  color: #fff;
  font-size: 32px;

  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.30);
  text-decoration: none;

  transition: transform .30s ease, background-color .30s ease;
}

.whatsapp-float:hover{
  background-color: #1ebe5d;
  transform: scale(1.10);
}

.whatsapp-bubble{
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) scale(0.80);

  background-color: #25D366;
  color: #fff;

  padding: 8px 14px;
  border-radius: 25px;
  font-size: 16px;
  white-space: nowrap;

  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;

  transition: opacity .25s ease-out, transform .25s ease-out;
}

.whatsapp-float:hover .whatsapp-bubble{
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.whatsapp-bubble::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #25D366;
}

@media (max-width: 640px){
  .whatsapp-container{
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float{
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .whatsapp-bubble{
    right: 60px;
    font-size: 14px;
    padding: 6px 10px;
  }
}

.webengine-mu-logo{
  transition: transform .25s ease, filter .25s ease;
}

.webengine-mu-logo:hover{
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(79,140,255,.6));
}

th.th-level {
  vertical-align: middle !important;
  padding-top: .75rem !important;
  padding-bottom: .75rem !important;
}

th.th-level i,
th.th-level svg {
  vertical-align: middle !important;
  line-height: 1 !important;
  display: inline-block !important;
  transform: translateY(0) !important;
}

/* =========================
   MU EXODUS - SERVER INFO
========================= */

.mu-section {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 22px;
  overflow: hidden;
}

.mu-section-header {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(90deg, rgba(23,58,138,.10), rgba(23,58,138,.04));
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mu-section-body {
  padding: 14px;
}

.mu-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(23,58,138,.10);
  color: #173A8A;
  border: 1px solid rgba(23,58,138,.18);
}

.mu-badge.green {
  background: rgba(16,185,129,.12);
  color: #0f7a57;
  border-color: rgba(16,185,129,.22);
}

.mu-note {
  border-left: 4px solid #5bc0de;
  background: rgba(91,192,222,.12);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 15px;
}

.mu-section .table thead th {
  background: rgba(0,0,0,.03);
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-responsive:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.card-body .table td,
.card-body .table th{
padding:8px !important;
font-size:14px;
}

.card-body .table{
margin-bottom:0;
font-size:14px;
}

.table thead td{
font-weight:500 !important;
}














/* HUD JARVIS VINO - COMPACTO Y ANIMADO */
.rank-tooltip {
    position: absolute;
    z-index: 999999;
    display: none;
    pointer-events: none;
    min-width: 160px;
    padding: 6px;
    background: rgba(15, 0, 0, 0.95);
    border: 1px solid #4f0501;
    border-radius: 4px;
    box-shadow: 0 0 20px rgb(211 39 11), inset 0 0 10px rgba(0, 0, 0, 0.8);
    clip-path: polygon(0 0, 100% 0, 100% 83%, 93% 100%, 0 100%);
    /* font-family: monospace; */
    color: #fff;
}

/* 1. Marco de Avatar (Cambio 5) */
.hud-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(128, 0, 0, 0.5);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.hud-avatar-frame {
    width: 50px;
    height: 50px;
    border: 1px solid #000000;
    background: #000;
    padding: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1.5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-avatar-frame img {
    width: 100%;
    height: 100%;
    /* CAMBIO CLAVE: 'cover' en lugar de 'contain' para carga instantánea */
    object-fit: cover; 
    /* Elimina el suavizado progresivo que causa la lentitud */

    display: block;
    transition: none !important; 

    filter: none !important;

}

.hud-title {
    font-weight: bold;
    color: #ff3333;
    font-size: 15px;
    font-family: orbitron !important;
}

.hud-alias {
    color: #ffb900 !important; 
    font-size: 11px;
    text-transform: uppercase;
    /* Resplandor en el mismo tono dorado/naranja */
    text-shadow: 0 0 5px rgba(255, 185, 0, 0.7); 

    display: block;
    margin-top: 2px;

    letter-spacing: 1px;
}

/* 2. Estadísticas con Iconos (Cambio 4) */
.hud-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
    color: #ddd;
}

.hud-val { font-family: 'Segoe UI', Arial, sans-serif; color: #fff; font-weight: bold;}

.hud-eff-row { margin-top: 10px; font-family: 'Segoe UI', Arial, sans-serif;}
.eff-text { font-size: 11px; color: #ff3333; margin-bottom: 4px;}
.hud-mini-bar { width: 100%; height: 5px; background: #200; border: 1px solid #400; }
.hud-mini-bar div { height: 100%; background: #800000; box-shadow: 0 0 8px #ff0000; }

/* 3. Animaciones Extra (Cambio 3) */
.hud-footer-anim {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    border-top: 1px solid rgba(128, 0, 0, 0.3);
    padding-top: 8px;
}

.hud-circle-small {
    width: 18px;
    height: 18px;
    border: 2px dashed #800000;
    border-radius: 50%;
    animation: rotateHUD 4s linear infinite;
}

.hud-bars-mini { display: flex; gap: 3px; align-items: flex-end; height: 15px; }
.hud-bars-mini span { width: 3px; background: #ff3333; animation: barUp 0.6s infinite alternate; }
.m1 { height: 30%; }
.m2 { height: 100%; animation-delay: 0.1s; }
.m3 { height: 60%; animation-delay: 0.2s; }
.m4 { height: 80%; animation-delay: 0.3s; }

@keyframes rotateHUD { to { transform: rotate(360deg); } }
@keyframes barUp { from { height: 20%; } to { height: 100%; } }

.hud-scanner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 10px #f00;
    animation: scanLine 2.5s linear infinite;
}

@keyframes scanLine { 0% { top: 0; opacity: 0; } 50% { opacity: 1; } 100% { top: 100%; opacity: 0; } }









/* --- ESTO ES LO QUE FALTA PARA LA MANITO --- */
.clickable-exp { 
    cursor: pointer !important; 
    transition: all 0.2s ease-in-out;
}

/* Efecto visual opcional para que el usuario sepa que puede clickear */
.clickable-exp:hover { 
    background: rgba(255, 0, 60, 0.1) !important; 
    box-shadow: inset 4px 0 0 #ff003c;
}










/* --- SISTEMA DE AUDITORÍA: VINO FUTURISTA (AUDITADO) --- */



/* 1. INTERACCIÓN DEL RANKING */

.clickable-exp { 

    cursor: pointer; 

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

}



.clickable-exp:hover { 

    background: linear-gradient(90deg, rgba(128, 0, 32, 0.3) 0%, rgba(0,0,0,0) 100%) !important; 

    box-shadow: inset 4px 0 0 #ff003c;

}



/* 2. EL CONTENEDOR MODAL */

.jelly-modal { 

    display: none; 

    position: fixed; 

    z-index: 10000; 

    left: 0; top: 0; 

    width: 100%; height: 100%; 

    background: rgba(7, 0, 2, 0.92); 

    backdrop-filter: blur(10px); 

}



/* 3. CAJA DE CONTENIDO */

.jelly-modal-content { 

    background: radial-gradient(circle at top left, #1d0006, #070707); 

    /* padding: 20px;*/ 

    border: 1px solid #4a0012; 

    width: 780px; /* Aumentado ligeramente para la nueva columna */

    border-radius: 12px; 

    border-top: 4px solid #ff003c; 

    box-shadow: 0 0 40px rgba(0, 0, 0, 1), 0 0 20px rgba(255, 0, 60, 0.15);

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;

    overflow: hidden; 

}



/* 4. BOTÓN CERRAR */

.close-jelly { 

    color: #ff003c; 

    float: right; 

    font-size: 26px; 

    font-weight: bold;

    cursor: pointer; 

    line-height: 1;

    transition: 0.2s;

}

.close-jelly:hover { color: #fff; transform: rotate(90deg); }



/* 5. HEADER Y NOMBRE */



.exp-name { 

    font-size: 30px; 

    font-weight: 900; 

    color: #fff; 


    letter-spacing: 4px;

    text-shadow: 0 0 15px rgba(255, 0, 60, 0.4);

}



/* 6. RADIOGRAFÍA */

.radiografia-box { 

    background: rgba(0, 0, 0, 0.5); 

    padding: 15px; 

    border-radius: 6px; 

    margin-bottom: 15px; 

    border: 1px solid #2a000a;

}



.grid-exp { 

    display: grid; 

    grid-template-columns: 1fr 1fr; 

    gap: 10px; 

    font-size: 12px; 

}



.grid-exp p { 

    margin: 0;  

    color: #ff8fa3; 



}



.grid-exp span { 

    float: right; 

    font-weight: bold; 

    color: #fff; 

}



/* 7. TABLA CON 17 FILAS VISIBLES Y SCROLL */

.historial-tabla { 

    max-height: 445px; 

    overflow-y: auto; 

    border: 1px solid #1a1a1a; 

    border-radius: 4px;

    background: rgba(0, 0, 0, 0.2);

}



/* Encabezado fijo de la tabla */

.historial-tabla thead th {

    position: sticky;

    top: 0;

    background: #111;

    z-index: 10;

    color: #ff8fa3;

    border-bottom: 2px solid #4a0012; /* Un poco más grueso para separar */

    padding: 10px 5px;

    text-align: center; /* ESTO CENTRA LOS TÍTULOS */

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* Estilo del Scrollbar */

.historial-tabla::-webkit-scrollbar { width: 4px; }

.historial-tabla::-webkit-scrollbar-track { background: #070707; }

.historial-tabla::-webkit-scrollbar-thumb { 

    background: #5a0016; 

    border-radius: 10px; 

}

.historial-tabla::-webkit-scrollbar-thumb:hover { 

    background: #ff003c; 

    box-shadow: 0 0 10px #ff003c;

}



/* Altura de filas */

.historial-tabla table tr {

    height: 32px;

}



.historial-tabla td {

    padding: 5px;

    border-bottom: 1px solid #3d2121

}



















/* --- CONTENEDOR Y TIPOGRAFÍA --- */

.exp-wrapper {

    font-family: 'Segoe UI', sans-serif;



    color: #eee;

    padding: 10px;

    

    /* EL CAMBIO CLAVE: */

    width: 100%;           /* Un poco más del 50% para que no se vea tan apretado en PC */

    max-width: 800px;     /* Pero que no crezca infinito */

    /* margin: 20px auto;     Centrado */

    max-height: 900px;    /* Altura fija: aprox 10-12 filas visibles */



    position: relative;

    

    border-radius: 12px;



    box-shadow: 0 0 30px rgba(0,0,0,0.9);
    background: #0a0a0a;

}



.exp-header {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color:#ff0000;
font-family: 'Orbitron', sans-serif;
}



/* --- GRID SUPERIOR --- */

.exp-grid-top {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 10px;

    margin-bottom: 20px;

}







.exp-card-sub {

    color: #ff8fa3;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    border-bottom: 2px solid #4a0012;

    padding-bottom: 5px;

    margin-bottom: 10px;

    display: block;

}



.exp-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Asegura que iconos y texto estén nivelados */
    margin-bottom: 6px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding: 2px 0;
}


/* --- NUEVA ESTRUCTURA VERIFICADOS (FOTO 1) --- */

.verified-stats {
    display: flex;
    align-items: center;
    gap: 20px; /* Espacio entre Ganados y Perdidos */
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.label-sub {
    color: #666; /* Gris tenue para el texto "Ganados:" */
}

.val-num {
    font-weight: bold;
    color: #fff;
}

.icon-arrow {
    font-size: 10px;
    font-weight: bold;
}

/* Colores Neón para las flechas y números */
.win-group .val-num, 
.win-group .icon-arrow { 
    color: #2ecc71; 
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.4); 
}

.lose-group .val-num, 
.lose-group .icon-arrow { 
    color: #f3ca2d; 
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.4); 
}

/* El número total verde a la derecha del todo */
.val-total.val-real {
    margin-left: 10px;
    font-size: 14px;
}


.exp-label { color: #888; }

.exp-val { color: #fff; font-weight: bold; }



/* --- COLORES TÁCTICOS --- */

.val-real { color: #2ecc71; font-weight: bold; text-shadow: 0 0 5px rgba(46, 204, 113, 0.3); }

.val-fake { color: #ff4d4d; font-weight: bold; text-shadow: 0 0 5px rgba(255, 77, 77, 0.3); }

.val-honestidad { color: #f1c40f; font-weight: bold; }

.val-survival { color: #00f2ff; font-weight: bold; }

.val-nemesis { color: #ff4d4d; font-weight: bold; text-transform: uppercase; }



/* --- ESTADOS DE ACTIVIDAD --- */

.act-demente { color: #ff00ff; font-weight: bold; text-shadow: 0 0 8px #ff00ff; }

.act-muyactivo { color: #00f2ff; font-weight: bold; }

.act-moderado { color: #2ecc71; font-weight: bold; }

.act-ocasional { color: #95a5a6; font-weight: bold; }



/* --- TABLA VINO FUTURISTA --- */

.historial-title {

    color: #00f2ff;

    font-size: 11px;

    margin-bottom: 10px;

    text-transform: uppercase;

    font-weight: bold;

}



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



.table-v2 thead th {

    background: #111;

    color: #ff8fa3;

    border-bottom: 2px solid #4a0012;
    text-align: center;

    font-size: 12px;

    text-transform: uppercase;

}



.row-log { border-bottom: 1px solid #1a1a1a; transition: background 0.2s; }

.row-log:hover { background: rgba(255, 0, 60, 0.05); }



.table-v2 td { padding: 8px 4px; font-size: 11px; text-align: center; vertical-align: middle; }



.td-id { color: #ff8fa3; font-weight: bold; }

.td-rival { text-align: left !important; padding-left: 15px !important; color: #fff; font-weight: bold; }

.td-fecha { color: #fff; }

.res-win { color: #2ecc71 !important; font-weight: bold; }



/* --- TAGS --- */

.tag-mula { color: #ff4d4d; border: 1px solid rgba(255, 77, 77, 0.3); padding: 2px 5px; border-radius: 3px; background: rgba(255, 77, 77, 0.05); font-weight: bold; }

.tag-real { color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); padding: 2px 5px; border-radius: 3px; background: rgba(46, 204, 113, 0.05); font-weight: bold; }

.tag-sv { color: #FFD32C; border: 1px solid rgba(247, 211, 31, 0.3); padding: 2px 5px; border-radius: 3px; font-weight: bold; }



.col-id { width: 40px; }

.col-filtro { width: 80px; }









/* Bloqueo del fondo cuando el modal está activo */

body.modal-open {

    overflow: hidden !important;

}



/* Personalización del Scrollbar (Estilo Vino) */

.exp-wrapper::-webkit-scrollbar {

    width: 8px;

}

.exp-wrapper::-webkit-scrollbar-thumb {

    background: #4a0012; /* Color vino oscuro */

    border-radius: 10px;

    border: 1px solid #111;

}

.exp-wrapper::-webkit-scrollbar-track {

    background: #050505;

}



/* Fijar el encabezado de la tabla para que no se pierda al bajar */

.table-v2 thead th {

    position: sticky;

    top: 0;

    z-index: 999;

    background: #111; /* Color sólido para que no se transparente el texto de abajo */

}

.exp-box-title {
    color: #ff8fa3;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #4a0012;
    padding-bottom: 2px;
    padding-left: 11px;
    padding-top: 4px;
    text-align: center;
    display: block;
    background: #cd111130;
}

/* Aseguramos que los spans dentro de la fila se vean bien */
.exp-row span:first-child { color: #fff; } /* El label (Totales, Verificados...) */
.exp-row span:last-child { font-weight: bold; } /* El valor numérico */











/* --- HUD REVISADO: EFECTO PUNTA Y NEÓN --- */

.hud-container {
    display: flex;
    align-items: center;
    background: rgba(0, 10, 20, 0.9);
   border-radius: 4px;
    gap: 25px;
    margin: 6px 0;
    /*box-shadow: inset 0 0 15px rgba(0, 242, 255, 0.05);*/
}

/* 1. Engranaje Giratorio */
.hud-gear {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gear-ring {

    position: absolute;
    width: 100%; height: 100%;
    border: 3px dashed #00f2ff;
    border-radius: 50%;
    animation: rotate-gear 12s linear infinite;
    opacity: 0.6;
}

/* Contenedor de los datos dentro del círculo */
.gear-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.gear-num {
    font-size: 18px; /* Ajusta según tu diseño */
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

/* La nueva descripción debajo del número */
.gear-label-honor {
    font-size: 8px;
    color: #f3ca2d;
    font-family: sans-serif;
    letter-spacing: 1px;
    margin-top: 2px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.5);
}

/* 2. Barra con Punta de Flecha */
.hud-content { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }

.hud-bar-bg {
    height: 22px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    clip-path: polygon(0% 0%, 97% 0%, 100% 50%, 97% 100%, 0% 100%); /* Forma del contenedor */
}

.hud-bar-fill {
    height: 100%;
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* La punta de la barra */
.bar-arrow {
    position: absolute;
    right: -8px; top: 0;
    width: 16px; height: 100%;
    background: inherit;
    clip-path: polygon(0% 0%, 50% 0%, 100% 50%, 50% 100%, 0% 100%);
}

/* 3. Colores y Brillo Neón */
.fill-stark { background: #36b402; box-shadow: 0 0 15px #36b402; }
.fill-good  { background: #b9c866; box-shadow: 0 0 15px #b9c866; }
.fill-mid   { background: #f0c527; box-shadow: 0 0 15px #f0c527; }
.fill-alert { background: #d28282; box-shadow: 0 0 15px #d28282; }
.fill-bad   { background: #ee1212; box-shadow: 0 0 15px #ee1212; }

/* 4. Textos de Estado */
.hud-footer { display: flex; justify-content: space-between; align-items: center; }
.hud-loading { font-size: 9px; color: #555; letter-spacing: 2px; }

.status-stark { color: #00f2ff; text-shadow: 0 0 12px #00f2ff; font-weight: 900; letter-spacing: 1px; }
.status-bad   { color: #ff003c; text-shadow: 0 0 12px #ff003c; font-weight: 900; animation: blink 0.5s infinite alternate; }

/* Animaciones */
@keyframes rotate-gear { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { from { opacity: 1; } to { opacity: 0.4; } }





/* Estilos para la columna de Lastre en el Ranking */
.td-lastre-ranking {
    vertical-align: middle !important;
    text-align: center !important;
}

.td-lastre-ranking span {
    display: inline-block;
    padding: 4px 10px;
    background-color: #800000; /* Rojo Vino / Bordeaux */
    color: #ffffff !important;   /* Texto Blanco */
    font-weight: bold !important;
    border-radius: 3px;
    min-width: 35px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5); /* Efecto de profundidad */
    text-shadow: 1px 1px 2px #000; /* Mejora la lectura del blanco */
    border: 1px solid #4a0000;
    
    
}

/* Ajuste para el spinner de carga inicial */
.td-lastre-ranking .fa-spinner {
    color: #ffffff;
}





/* --- DISEÑO BOTÓN 3D CON FLECHA --- */
.rango-3d-wrapper {
    display: inline-flex;
    align-items: center;
    height: 24px;
    min-width: 155px;
    border-radius: 4px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 10px;
    color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.4);
}

/* Parte Gris (Flecha) */
.rango-3d-wrapper::before {
    content: attr(data-pericia);
    background-color: #3a3a3a;
    height: 100%;
    padding: 0 9px 0 8px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #1a1a1a;
    clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
    z-index: 2;
    text-transform: uppercase;
}

/* Parte Derecha (Color) */
.rango-3d-infamia {
    flex-grow: 1;
    height: 100%;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
    padding-right: 8px;
    text-transform: uppercase;
}

/* Colores 3D */
.rank-3d-verde    { background-color: #7ac943; border-bottom: 3px solid #5a9632; }
.rank-3d-azul     { background-color: #3fa9f5; border-bottom: 3px solid #2a7eb8; }
.rank-3d-amarillo { background-color: #ffc107; border-bottom: 3px solid #c79400; color: #222; }
.rank-3d-naranja  { background-color: #f7931e; border-bottom: 3px solid #b16611; }
.rank-3d-rojo     { background-color: #c1272d; border-bottom: 3px solid #861b1f; }

/* Caja de Lastre */
.lastre-box {
    background: #9a0700;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #9a0700;
    font-weight: bold;
}






/* Animación de Alerta para el Top 1 */
.lastre-alerta {
    background-color: #c1272d !important; /* Rojo base */
    /*border-color: #ff4d4d !important;*/
    animation: pulso-alerta 1.5s infinite;
    box-shadow: 0 0 0 rgba(193, 39, 45, 0.7);
}

@keyframes pulso-alerta {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(193, 39, 45, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0);
    }
}


/* Efecto de selección y cursor para todas las filas */
.rank-row {
    cursor: pointer; /* Esto recupera la "manito" */
    transition: background-color 0.2s ease, box-shadow 0.2s ease; /* Transición suave */
}

/* Sombreado al pasar el mouse (Hover) */
.rank-row:hover {
    /* Un color gris/oscuro suave para resaltar la fila */
    background-color: rgba(255, 255, 0, 0.05) !important; 
    
    /* Sombra sutil para dar relieve */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Ajuste especial para el Top 1 para que no pierda su esencia roja al hacer hover */
.top1-futuristic-row:hover {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.2)) !important;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3) !important;
}


.gear-label {
    display: block;
    font-size: 9px;
    color: #00f2ff;
    text-transform: uppercase;
    margin-top: -5px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.7);
    letter-spacing: 1px;
}



/* Color Verde Hoja Claro para el Local (Ganador) */
.vencedor-local {
    color: #4aff00 !important; /* Verde hoja claro */
    font-weight: bold;
}

/* Color Rojo para el Rival (Ganador) */
.vencedor-rival {
    color: #7f2929 !important; /* Rojo táctico */
    font-weight: bold;

}

/* Ajuste opcional para que los nombres en la tabla no se vean amontonados */
.td-resultado {
    font-family: 'Monospace', sans-serif;
    font-size: 11px;
    text-transform: none;
}












/* --- Tabla y Filas de Ranking --- */
.top1-futuristic-row {
    background: rgba(0, 255, 204, 0.08) !important;

}

.rankings-table .rank-row {
    cursor: pointer;
    transition: background 0.3s ease;
}

.rankings-table .rank-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- Estados 3D (Botones de Rango) --- */
.rango-3d-infamia {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
    min-width: 85px;
}

.rank-3d-cian { 
    background: linear-gradient(135deg, #00d2ff, #3a7bd5); 
    border-bottom: 3px solid #004e92; 
}

.rank-3d-verde-neon { 
    background: linear-gradient(135deg, #00b09b, #96c93d); 
    border-bottom: 3px solid #2d5a27; 
}

.rank-3d-gris { 
    background: #555; 
    border-bottom: 3px solid #333; 
}



.hud-inner { padding: 3px; 
            color: #fff;
            display: -webkit-inline-box;
            font-family: math;
            }

.hud-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.hud-avatar-frame {
    width: 40px;
    height: 40px;
    border: 1px solid #00ffcc;
    margin-right: 10px;
    overflow: hidden;
}

/*.hud-avatar-frame img { width: 100%; height: auto; }*/


.hud-alias { font-size: 10px; color: #ccc; }

.hud-stats { 
    display: flex; 
    justify-content: space-between; 
    font-size: 11px; 
    margin-bottom: 3px; 
}

.hud-val { font-weight: bold; font-family: monospace; }

.hud-eff-row { margin-top: 10px; }
.eff-text { font-size: 10px; margin-bottom: 4px; font-weight: bold; }

.hud-mini-bar { 
    width: 100%; 
    height: 4px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 2px; 
    overflow: hidden; 
}

.hud-mini-bar div { 
    height: 100%; 
    background: #00ffcc !important; 
    box-shadow: 0 0 8px #00ffcc;
    transition: width 0.4s ease;
}

/* Animación Footer HUD */
.hud-footer-anim { display: flex; align-items: center; margin-top: 10px; justify-content: flex-end; }
.hud-bars-mini span {
    display: inline-block;
    width: 2px;
    height: 8px;
    background: #00ffcc;
    margin-left: 2px;
    opacity: 0.6;
}