/*
    Intro MU Online Premium – Hoja de Estilos
    Autor: AlmaFuerte - AfDevStudio
    Web: https://afdevstudio.com.ar
    Tel: +54 11 2521-5915
    Prohibida su venta sin autorización y quitar copyright.
*/

:root {
    --bg: #07060a;
    --glass: rgba(255, 255, 255, 0.04);
    --accent1: #6a00ff;
    --accent2: #ff4d9b;
    --accent3: #00e5ff;
    --muted: #b5c6e8;
    --card: rgba(255, 255, 255, 0.03);
    --radius: 14px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, Arial;
    background: linear-gradient(180deg, #03040a 0%, #07060a 100%);
    color: #eaf2ff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 14px 28px;
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(6, 6, 8, 0.28), rgba(6, 6, 8, 0.12));
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand-img {
    height: 46px;
    display: block
}

/* nav links */
.nav-links {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-links .link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all .18s
}

.nav-links .link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.nav-links .special {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    padding: 9px 14px;
    color: #fff;
    border-radius: 999px
}

/* NAV toggler mobile */
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 56px
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: contrast(105%) saturate(110%) brightness(.6)
}

.hero-mask {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 36vh;
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none
}

/* particles canvas */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* hero content */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1080px;
    width: 100%;
    padding: 38px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.kicker {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--accent3);
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.06)
}

/* main title cinematic */
.hero-title {
    font-size: 96px;
    line-height: 0.86;
    font-weight: 800;
    letter-spacing: 4px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center
}

.hero-title .g {
    color: transparent;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text
}

.hero-title .bold {
    color: #fff;
    text-shadow: 0 6px 40px rgba(106, 0, 255, 0.12)
}

/* subtitle */
.hero-sub {
    max-width: 900px;
    color: var(--muted);
    font-size: 18px
}

/* buttons */
.hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 6px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #fff;
    box-shadow: 0 14px 50px rgba(106, 0, 255, 0.12)
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.btn.download {
    background: linear-gradient(90deg, var(--accent3), var(--accent1));
    color: #001
}

/* server info card (floating) */
.server-card {
    position: absolute;
    right: clamp(12px, 3vw, 36px);
    bottom: clamp(36px, 6vh, 80px);
    width: clamp(260px, 18vw, 360px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 18px;
    z-index: 6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
}

/* server card inner */
.server-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.status-dot.online {
    background: linear-gradient(90deg, #6fff99, #00e5ff)
}

.server-top h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 800
}

.tag {
    margin-left: auto;
    font-size: 12px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 999px;
    color: var(--muted)
}

.server-stats {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 6px 0 12px
}

.server-stats li {
    flex: 1;
    background: rgba(255, 255, 255, 0.01);
    padding: 8px;
    border-radius: 10px;
    text-align: center
}

.server-stats li strong {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.server-stats li span {
    display: block;
    margin-top: 6px;
    font-weight: 800;
    color: #fff
}

.server-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 8px
}

.server-actions .small {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 10px
}

.server-actions .outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted)
}

.server-footer {
    font-size: 12px;
    color: var(--muted);
    text-align: center
}

/* hero edge shading */
.hero-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 3, 6, 0.9));
    z-index: 4
}

/* SECTION wrapper: connected visuals */
.section {
    padding: 80px 22px;
}

.connected {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent)
}

/* wrapper central */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
}

/* titles */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 8px;
    color: #fff
}

.lede {
    text-align: center;
    color: var(--muted);
    margin-bottom: 24px
}

/* features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 22px
}

.card {
    background: var(--card);
    padding: 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.feature .icon {
    font-size: 28px;
    margin-bottom: 8px
}

/* faq grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px
}

.faq-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.faq-card summary {
    cursor: pointer;
    font-weight: 700;
    color: #fff
}

.faq-card p {
    color: var(--muted);
    margin-top: 10px
}

/* portfolio row */
.portfolio-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 22px;
    flex-wrap: wrap
}

.pf {
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6)
}

.pf img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block
}

/* footer */
.footer {
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.02)
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center
}

/* RESPONSIVE */
@media (max-width:980px) {
    .hero-title {
        font-size: 56px
    }

    .nav-links {
        display: none
    }

    .nav-toggle {
        display: block
    }

    .server-card {
        position: static;
        margin: 20px auto 0;
        transform: translateY(-40px);
        width: 92%
    }

    .hero-content {
        padding: 18px
    }

    .hero-sub {
        font-size: 16px
    }
}

@media (max-width:600px) {
    .hero-title {
        font-size: 40px;
        letter-spacing: 1px
    }

    .hero-sub {
        font-size: 14px
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .faq-grid {
        grid-template-columns: 1fr
    }

    .portfolio-row {
        flex-direction: column;
        align-items: center
    }
}

/* REUBICACIÓN Y MEJORA DEL SERVER CARD */
.center-card {
    position: absolute;
    bottom: -70px;
    /* la hace flotar debajo del hero */
    left: 50%;
    transform: translateX(-50%);
    width: 340px;

    background: rgba(15, 15, 30, 0.82);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow:
        0 0 22px rgba(0, 255, 255, 0.45),
        0 0 48px rgba(0, 140, 255, 0.35);

    padding: 18px 24px;
    border-radius: 14px;
    text-align: center;

    z-index: 30;
}

/* Hero extra spacing to avoid overlap */
.hero {
    padding-bottom: 160px;
}

/* --- FIXES & NEW SERVER SECTION STYLE --- */

.server-section {
    width: 100% !important;
    padding: 90px 0 120px !important;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.6)) !important;
    backdrop-filter: blur(6px) !important;
    position: relative !important;
    margin-top: -40px !important;
}

.server-wrap {
    max-width: 1050px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.center-card {
    transform: translateY(-40px) !important;
}

.server-card {
    z-index: 5 !important;
}

/* smoother transition between sections */
#features.section {
    padding-top: 120px !important;
}

/* Ensure hero edge does not overlap */
.hero-edge {
    position: relative !important;
    z-index: 2 !important;
}

/* ————————————————
   SERVER PANEL INTEGRADO
——————————————— */
.server-panel {
    position: absolute !important;
    bottom: 7vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    gap: 40px !important;

    padding: 25px 40px !important;
    backdrop-filter: blur(14px) !important;
    background: rgba(0, 0, 0, 0.35) !important;

    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 18px !important;

    box-shadow: 0 0 40px rgba(0, 0, 0, .45), 0 0 12px rgba(255, 0, 255, .25) !important;
    z-index: 12 !important;
}

/* left */
.sp-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.sp-status {
    font-size: 14px !important;
    color: #0f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    opacity: 0.85 !important;
}

.sp-status .dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #00ff6a !important;
}

.sp-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: .5px !important;
}

.sp-sub {
    font-size: 15px !important;
    opacity: .8 !important;
}

.sp-stats {
    display: flex !important;
    gap: 20px !important;
    margin-top: 8px !important;
    font-size: 15px !important;
    opacity: .9 !important;
}

/* right buttons */
.sp-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.sp-btn {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    text-align: center !important;
}

.sp-btn.neon {
    border: 1px solid #00eaff !important;
    color: #00eaff !important;
    box-shadow: 0 0 12px #00eaff99 !important;
}

.sp-btn.outline {
    border: 1px solid #fff !important;
    color: #fff !important;
}

/* mobile */
@media (max-width: 760px) {
    .server-panel {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px 22px !important;
        bottom: 3vh !important;
    }
}

/* --- MENU SUPERIOR (NAVBAR) --- */

/* Estilo base idéntico para los tres botones de arriba */
.nav-links a.link {
  display: inline-block !important;
  padding: 10px 24px !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 50px !important;
  margin: 0 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
  border: none !important;
}

/* 1. Color para el PRIMER botón (Descargar) */
.nav-links a.link:nth-of-type(1) {
  background: linear-gradient(135deg, #4a00e0, #8a2be2) !important;
}

/* 2. Color para el SEGUNDO botón (Registrarse) */
.nav-links a.link:nth-of-type(2) {
  background: linear-gradient(135deg, #da22ff, #9733ee) !important;
}

/* 3. Color para el TERCER botón (Acceder) */
.nav-links a.link:nth-of-type(3),
.nav-links a.link.special {
  background: linear-gradient(135deg, #ff007f, #ff007f) !important;
}

/* Efecto hover al pasar el cursor */
.nav-links a.link:hover {
  transform: scale(1.05) !important;
  filter: brightness(1.2) !important;
}


/* =======================================================
   ESTILO DEFINITIVO: CUADRO DE ESTADÍSTICAS ORIGINAL
   ======================================================= */

.bloque-derecho-mu {
  width: 420px !important;
  background: rgba(22, 28, 36, 0.70) !important; /* Tono grisáceo azulado traslúcido exacto */
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important; /* Bordes un poco más suavizados */
  padding: 30px 25px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Ajustes de los textos principales */
.datos-servidor-mu {
  width: 100% !important;
  text-align: left !important;
  margin-bottom: 15px !important;
}
.estado-online-mu {
  color: #00ff88 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}
.panel-server-name {
  font-family: 'Inter', sans-serif !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
.panel-server-desc {
  font-family: 'Inter', sans-serif !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 2px 0 0 0 !important;
}
.panel-server-season {
  color: #ffcc00 !important;
  font-size: 13px !important;
  margin: 6px 0 0 0 !important;
}

/* --- FILA DE BADGES (EXP, DROP, STATUS) --- */
.fila-media-badges {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 25px !important;
}

/* Cuadritos grises de EXP y DROP */
.badge-mini-gray {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.badge-mini-gray strong {
  color: #aaaaaa !important;
  font-size: 11px !important;
}

/* Cuadrito verde de Status Online */
.badge-mini-green {
  background: rgba(0, 255, 136, 0.08) !important;
  border: 1px solid rgba(0, 255, 136, 0.2) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  color: #00ff88 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.badge-mini-green span {
  color: #888888 !important;
  font-size: 10px !important;
}

/* --- CUADRITOS DE CONTADORES INFERIORES --- */
.cuadritos-contadores-mu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  width: 100% !important;
}
.celda-contador-mu {
  flex: 1 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  padding: 15px 5px !important;
  margin: 0 4px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.celda-contador-mu strong {
  display: block !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}
.celda-contador-mu span {
  display: block !important;
  font-size: 10px !important;
  color: #999999 !important;
  margin-top: 5px !important;
  line-height: 1.2 !important;
}


/* =======================================================
   REUBICACIÓN Y VISIBILIDAD FORZADA DEL PANEL GLOBAL MU
   ======================================================= */

.panel-global-mu {
  position: absolute !important;
  top: 55% !important;           /* Lo centra verticalmente en la pantalla */
  left: 6% !important;            /* Lo alinea al borde izquierdo */
  right: 6% !important;           /* Lo alinea al borde derecho */
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: row !important; /* Coloca el logo/texto a la izq y el cuadro a la der */
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 999999 !important;     /* Máxima prioridad para que pase al frente del video */
  width: auto !important;
  box-sizing: border-box !important;
}

/* =======================================================
   INTERFAZ OSCURA PREMIUM (FONDO ATENUADO)
   ======================================================= */

/* Aplicamos un filtro oscuro de fondo sobre el contenedor principal */
.hero, 
#home, 
section:has(.panel-global-mu),
div:has(> .panel-global-mu) {
  position: relative !important;
  background-color: #080a10 !important; /* Base negra azulada muy profunda */
}

/* Creamos una capa superpuesta para oscurecer el video o imagen de fondo */
.hero::before, 
#home::before,
div:has(> .panel-global-mu)::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  /* Degradado que oscurece los bordes y el centro para dar profundidad */
  background: radial-gradient(circle, rgba(10, 12, 18, 0.4) 0%, rgba(5, 6, 10, 0.85) 80%),
              linear-gradient(to bottom, rgba(5, 6, 10, 0.6), rgba(5, 6, 10, 0.9)) !important;
  z-index: 1 !important; /* Se coloca justo detrás de tus letras y paneles */
  pointer-events: none !important;
}

/* Aseguramos que el contenedor de tus textos y cuadro quede por encima de la capa oscura */
.panel-global-mu {
  z-index: 10 !important;
}

/* =======================================================
   ALINEACIÓN HORIZONTAL ESTRICTA Y MÁXIMO BRILLO
   ======================================================= */

/* Forzamos al contenedor global a usar Flexbox estricto de izquierda a derecha */
.panel-global-mu, 
div[class*="panel-global"] {
  position: absolute !important;
  top: 55% !important;           
  left: 6% !important;            
  right: 6% !important;           
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: row !important; /* Fuerza a colocar el logo/texto a la izq y el cuadro a la der */
  justify-content: space-between !important;
  align-items: center !important;
  width: auto !important;
  z-index: 999999 !important;     
  box-sizing: border-box !important;
}

/* Forzamos al bloque izquierdo a meter el logo y el texto en la misma fila */
.bloque-izquierdo-mu, 
div[class*="bloque-izquierdo"] {
  display: flex !important;
  flex-direction: row !important; /* Logo y textos uno al lado del otro en horizontal */
  align-items: center !important;
  width: auto !important;
}

/* Control estricto del tamaño del escudo */
img.imagen-logo-mu {
  display: inline-block !important;
  width: 170px !important;        
  height: auto !important;
  margin-right: 25px !important;  
  flex-shrink: 0 !important;      
  filter: brightness(1.4) contrast(1.15) drop-shadow(0px 0px 20px rgba(0, 198, 255, 0.6)) !important; /* Brillo y resplandor */
}

/* Bloque contenedor del título y etiquetas */
.textos-centrales-mu {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* Forzar que todos los textos internos se mantengan alineados a la izquierda de su bloque */
.sub-celeste-mu, .titulo-gigante-mu, .descripcion-season-mu, .etiquetas-azules-mu {
  text-align: left !important;
  margin-left: 0 !important;
}

/* =======================================================
   ESTILOS PARA LA CUADRÍCULA DE INFORMACIÓN DEL SERVIDOR
   ======================================================= */

.seccion-info-mu {
  background-color: #06080c !important; /* Fondo negro profundo */
  padding: 60px 4% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Contenedor Grid que organiza los cuadros automáticamente */
.contenedor-columnas-mu {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* 4 cuadros por fila */
  gap: 20px !important; /* Espaciado entre cuadros */
}

/* Estilo base para cada cuadro individual */
.tarjeta-info-mu {
  background: rgba(255, 255, 255, 0.02) !important; /* Fondo gris casi invisible */
  border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Borde sutil por defecto */
  border-radius: 12px !important;
  padding: 25px 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

/* Efecto al pasar el cursor sobre los cuadros */
.tarjeta-info-mu:hover {
  transform: translateY(-5px) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* El cuadro destacado (el tercero en la referencia con borde brillante) */
.tarjeta-info-mu.destacado {
  border: 1px solid rgba(0, 198, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.1) !important;
}

/* Títulos internos de los cuadros */
.titulo-tarjeta-mu {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
}

/* Estilos de las líneas de texto dentro de cada cuadro */
.tarjeta-info-mu p {
  color: #aaaaaa !important;
  font-size: 13px !important;
  margin: 8px 0 !important;
  line-height: 1.4 !important;
}

/* --- COLORES PERSONALIZADOS PARA LOS TÍTULOS --- */
.titulo-tarjeta-mu.naranja { color: #ff9f43 !important; }
.titulo-tarjeta-mu.amarillo { color: #f1c40f !important; }
.titulo-tarjeta-mu.verde { color: #2ecc71 !important; }
.titulo-tarjeta-mu.celeste { color: #00d2ff !important; }
.titulo-tarjeta-mu.rosa { color: #ff007f !important; }
.titulo-tarjeta-mu.menta { color: #1abc9c !important; }

/* Adaptación para pantallas de celulares (Se apilan en una sola columna) */
@media (max-width: 992px) {
  .contenedor-columnas-mu {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 por fila en tabletas */
  }
}
@media (max-width: 600px) {
  .contenedor-columnas-mu {
    grid-template-columns: 1fr !important; /* 1 por fila en celulares */
  }
}

/* =======================================================
   ESTILOS PREMIUM PARA LA SECCIÓN DE RANKINGS (TOP 10)
   ======================================================= */

.seccion-rankings-mu {
  background-color: #06080c !important; /* Mantiene la estética negra de fondo */
  padding: 40px 4% 80px 4% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Encabezado del Ranking */
.header-rankings-mu {
  text-align: center !important;
  margin-bottom: 40px !important;
}
.header-rankings-mu h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #00c6ff !important; /* Título celeste brillante */
  margin: 0 0 5px 0 !important;
}
.header-rankings-mu p {
  color: #888888 !important;
  font-size: 13px !important;
  margin: 0 !important;
}

/* Contenedor de las cajas en rejilla */
.contenedor-rankings-mu {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 3 tablas por fila */
  gap: 25px !important;
}

/* Cajas contenedoras de cada tabla */
.tabla-ranking-box {
  background: rgba(20, 24, 33, 0.6) !important; /* Vidrio traslúcido oscuro */
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* Fila del título de la caja */
.title-ranking-box {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 10px !important;
}
.title-ranking-box h3 {
  font-size: 15px !important;
  color: #ffffff !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

/* Etiquetas (Badges) de PvP y Event */
.badge-ranking {
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
}
.badge-ranking.pvp {
  background: rgba(218, 34, 255, 0.15) !important;
  color: #da22ff !important;
  border: 1px solid rgba(218, 34, 255, 0.3) !important;
}
.badge-ranking.event {
  background: rgba(0, 198, 255, 0.15) !important;
  color: #00c6ff !important;
  border: 1px solid rgba(0, 198, 255, 0.3) !important;
}

/* Estilo nativo para las tablas */
.table-mu {
  width: 100% !important;
  border-collapse: collapse !important;
}
.table-mu th {
  font-size: 11px !important;
  color: #666666 !important;
  text-align: left !important;
  padding-bottom: 8px !important;
  text-transform: uppercase !important;
}
.table-mu td {
  font-size: 13px !important;
  color: #cccccc !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
}

/* Resaltar números de ranking y primer puesto */
.table-mu tr td:first-child {
  font-weight: bold !important;
  color: #888888 !important;
  width: 30px !important;
}
.table-mu tr:nth-of-type(1) td:first-child {
  color: #ffbb00 !important; /* Número 1 en dorado */
}
.name-gold {
  color: #ffbb00 !important; /* Nombre del Top 1 en dorado */
  font-weight: 700 !important;
}

/* Adaptabilidad a dispositivos móviles */
@media (max-width: 1024px) {
  .contenedor-rankings-mu { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 680px) {
  .contenedor-rankings-mu { grid-template-columns: 1fr !important; }
}

/* =======================================================
   ESTILOS PARA LA TABLA GENERAL DE PERSONAJES (MÓDULO)
   ======================================================= */

.seccion-personajes-global {
  background-color: #06080c !important;
  padding: 40px 4% 80px 4% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Título de la sección */
.header-personajes-mu {
  text-align: center !important;
  margin-bottom: 30px !important;
}
.header-personajes-mu h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #00c6ff !important;
  margin: 0 0 6px 0 !important;
}
.header-personajes-mu p {
  color: #888888 !important;
  font-size: 13px !important;
  margin: 0 !important;
}

/* Caja del buscador */
.buscador-personajes-mu {
  max-width: 1200px !important;
  margin: 0 auto 25px auto !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}

/* Campo de texto para escribir el nombre */
.input-buscar-mu {
  background: rgba(20, 24, 33, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 10px 15px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  width: 280px !important;
}
.input-buscar-mu:focus {
  outline: none !important;
  border-color: #00c6ff !important;
}

/* Botón celeste para ejecutar la búsqueda */
.btn-buscar-mu {
  background: #0072ff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.btn-buscar-mu:hover {
  background: #00c6ff !important;
}

/* Contenedor adaptivo para la gran tabla */
.contenedor-tabla-global {
  max-width: 1200px !important;
  margin: 0 auto !important;
  background: rgba(20, 24, 33, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  padding: 15px 25px !important;
  box-sizing: border-box !important;
  overflow-x: auto !important; /* Permite deslizar si la pantalla es chica */
}

/* Estilo para las líneas y títulos de la tabla expansiva */
.tabla-completa-mu {
  width: 100% !important;
  border-collapse: collapse !important;
}
.tabla-completa-mu th {
  font-size: 12px !important;
  color: #666666 !important;
  padding: 12px 10px !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.tabla-completa-mu td {
  font-size: 13px !important;
  color: #dddddd !important;
  padding: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

/* Resaltado del nivel en color celeste brillante */
.lv-cyan {
  color: #00d2ff !important;
  font-weight: bold !important;
}

/* Color gris para el número de posición */
.tabla-completa-mu tbody tr td:first-child {
  color: #777777 !important;
  font-weight: bold !important;
  width: 35px !important;
}

/* =======================================================
   ESTILOS DE PAGINACIÓN PREMIUM PARA LA LISTA GLOBAL
   ======================================================= */

/* Contenedor centrado para la paginación */
.paginacion-container-mu {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 30px auto 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Fila que agrupa los botones numéricos */
.paginas-numeros-mu {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Estilo base para cada botón numérico cuadrado */
.btn-page-mu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  background: rgba(255, 255, 255, 0.04) !important; /* Fondo gris oscuro traslúcido */
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px !important;
  color: #888888 !important; /* Texto gris de los números inactivos */
  font-size: 13px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Efecto al pasar el cursor sobre cualquier número */
.btn-page-mu:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* El botón de la página donde está parado el usuario (Azul Brillante) */
.btn-page-mu.activo {
  background: #0072ff !important;
  color: #ffffff !important;
  border-color: #00c6ff !important;
  box-shadow: 0 0 10px rgba(0, 114, 255, 0.3) !important;
}

/* Los tres puntos suspensivos de separación */
.puntos-separador-mu {
  color: #555555 !important;
  padding: 0 4px !important;
  font-weight: bold !important;
}

/* Estilo para el texto inferior descriptivo */
.texto-paginas-mu {
  font-size: 12px !important;
  color: #666666 !important; /* Gris suave para que no compita visualmente */
  letter-spacing: 0.5px !important;
}

/* =======================================================
   ESTILOS PARA EL BLOQUE INTERMEDIO (BOTONES Y TÍTULOS)
   ======================================================= */

.contenedor-intermedio-mu {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 35px auto !important;
  text-align: center !important;
}

/* Contenedor de la fila de botones centrado */
.menu-social-medio {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 45px !important;
  width: 100% !important;
}

/* Estilo ovalado idéntico al menú superior */
.menu-social-medio a {
  display: inline-block !important;
  padding: 10px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  border: none !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}
.menu-social-medio a:hover {
  transform: scale(1.05) !important;
  filter: brightness(1.2) !important;
}

/* Asignación de colores degradados exactos */
.btn-medio-morado   { background: linear-gradient(135deg, #da22ff, #9733ee) !important; }
.btn-medio-azul     { background: linear-gradient(135deg, #4a00e0, #8a2be2) !important; }
.btn-medio-rosa     { background: linear-gradient(135deg, #ff007f, #ff007f) !important; }
.btn-medio-discord  { background: linear-gradient(135deg, #5865F2, #404eed) !important; }
.btn-medio-facebook { background: linear-gradient(135deg, #ff007f, #da22ff) !important; }

/* --- SECCIÓN DEL TÍTULO AZÚL GIGANTE --- */
.titulos-seccion-info {
  margin-bottom: 40px !important;
}
.texto-azul-gigante {
  font-family: 'Inter', sans-serif !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #0072ff !important; /* Tono azul/celeste eléctrico de la marca */
  margin: 0 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  letter-spacing: -0.5px !important;
}
.icono-titulo {
  font-size: 28px !important;
  display: inline-block !important;
}
.sub-texto-gris {
  color: #888888 !important;
  font-size: 14px !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

/* Responsivo para celulares (se acomodan en columnas si no entran) */
@media (max-width: 768px) {
  .texto-azul-gigante { font-size: 24px !important; flex-direction: column !important; }
  .menu-social-medio { gap: 8px !important; }
  .menu-social-medio a { padding: 8px 18px !important; font-size: 12px !important; }
}

/* =======================================================
   SELECTOR DE IDIOMAS DESPLEGABLE (DROPDOWN PREMIUM)
   ======================================================= */

.dropdown-idioma {
  position: relative !important;
  display: inline-block !important;
  margin-left: 15px !important;
  vertical-align: middle !important;
}

/* Botón principal que muestra el idioma activo */
.btn-idioma-actual {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 50px !important; /* Ovalado como los demás botones */
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-idioma-actual:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Caja flotante oculta que contiene las opciones de idioma */
.lista-idiomas-flotante {
  display: none !important;
  position: absolute !important;
  top: 110% !important;
  right: 0 !important;
  background: rgba(15, 15, 25, 0.90) !important; /* Fondo oscuro traslúcido */
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  width: 130px !important;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5) !important;
  z-index: 9999999 !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
}

/* Enlaces internos de cada idioma dentro del menú flotante */
.lista-idiomas-flotante a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #cccccc !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

/* Efecto al pasar el mouse por encima de un idioma de la lista */
.lista-idiomas-flotante a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

/* Muestra la lista flotante automáticamente al pasar el mouse sobre el botón */
.dropdown-idioma:hover .lista-idiomas-flotante {
  display: block !important;
}

/* =======================================================
   REAJUSTE PERFECTO DEL MENÚ SUPERIOR (TODO EN UNA LÍNEA)
   ======================================================= */

/* Forzamos a todo el contenedor de enlaces a alinearse en una fila recta */
.nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important; /* Evita por completo que los botones se bajen */
  gap: 6px !important; /* Espaciado ajustado entre cada botón */
  width: auto !important;
}

/* Reducimos el tamaño de los dos primeros enlaces de texto plano */
.link-texto-mu {
  display: inline-block !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important; /* Un poco más pequeña para que entre en una línea */
  font-weight: 700 !important;
  white-space: nowrap !important; /* Forzar a que el texto tailandés no se parta en dos */
  margin: 0 4px !important;
}

/* Ajustamos el acolchado (padding) de todos los botones ovalados para encogerlos un poco */
.nav-links a.link {
  display: inline-block !important;
  padding: 8px 14px !important; /* Reducimos el ancho interno para que respiren */
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important; /* Fuente unificada ligeramente más pequeña */
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* --- SOLUCIÓN AL IDIOMA DUPLICADO --- */
/* Si hay dos selectores de idioma juntos, ocultamos automáticamente el segundo */
.nav-links .dropdown-idioma ~ .dropdown-idioma {
  display: none !important;
}

/* Reajuste de colores en degradé por orden físico estricto */
.nav-links a.link:nth-of-type(3) { background: linear-gradient(135deg, #da22ff, #9733ee) !important; } /* สมัครสมาชิก */
.nav-links a.link:nth-of-type(4) { background: linear-gradient(135deg, #4a00e0, #8a2be2) !important; } /* ดาวน์โหลด */
.nav-links a.link:nth-of-type(5) { background: linear-gradient(135deg, #ff007f, #ff007f) !important; } /* เติมเงิน */

/* --- ELIMINACIÓN DEFINITIVA DEL IDIOMA DUPLICADO --- */

/* Forzamos a que solo se dibuje el PRIMER selector de idioma y borre el resto */
.nav-links .dropdown-idioma:nth-of-type(1) {
  display: inline-block !important;
}

/* Ocultamos cualquier otro clon o bloque de idioma que aparezca después */
.nav-links .dropdown-idioma ~ .dropdown-idioma,
.nav-links div[class*="lang"]:nth-of-type(2),
.nav-links .dropdown-idioma:nth-of-type(2),
.nav-links div:has(> .btn-idioma-actual) ~ div:has(> .btn-idioma-actual) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
