/*
======================================================================================

    @ stylesheet.css
    @ STYLESHEET
    @ CSS by Nicow - wb x dsg - http://www.wbxdsg.com/

======================================================================================
*/

/* @import rules must be at the top of the stylesheet */
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td,p,figure,figcaption,button{padding:0;margin:0;font-size:inherit;color:inherit;background:transparent;}
h1,h2,h3,h4,h5,h6{font-weight:normal;}
a{text-decoration:none;}
table{border-spacing:0;}
fieldset,img,button,textarea{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-weight:normal;font-style:normal;}
strong{font-weight:bold;}
ol, ul{list-style:none;margin:0;padding:0;}
caption,th{text-align:left;}
q:before, q:after{content:'';}
abbr, acronym{border:0;}
input{border:0;margin:0;}
i{font-style:italic;font-weight:200;}
textarea{resize:none;}
a,button,input[type=submit]{cursor:pointer;}
.clear{clear:both;}
.clear-right{clear:right;}
.clear-left{clear:left;}

*::selection{background:rgba(29,38,43,.9);color:#ffffff;}
*::-moz-selection{background:rgba(29,38,43,.9);color:#ffffff;}
*::-webkit-selection{background:rgba(29,38,43,.9);color:#ffffff;}
*::-khtml-selection{background:rgba(29,38,43,.9);color:#ffffff;}

@font-face {font-family: 'FontAwesome';
src: url('../fonts/fontawesome/fontawesome-webfont.eot?v=4.4.0');src: url('../fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('../fonts/fontawesome/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('../fonts/fontawesome/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('../fonts/fontawesome/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../fonts/fontawesome/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');font-weight: normal;font-style: normal;}

@font-face {font-family: 'proxima-nova_regular';
src: url('../fonts/ProximaNova-Regular.eot');src: url('../fonts/ProximaNova-Regular.eot') format('embedded-opentype'),url('../fonts/ProximaNova-Regular.woff') format('woff'),url('../fonts/ProximaNova-Regular.ttf') format('truetype'),url('../fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Montserrat';
src:url('../fonts/Montserrat-Regular.ttf') format('truetype');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Montserrat Italic';
src:url('../fonts/Montserrat-Italic.ttf') format('truetype');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Bebas Neue';
src:url('../fonts/BebasNeue-Regular.ttf') format('truetype');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Bebas';
src:url('../fonts/Bebas-Regular.ttf') format('truetype');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Bebas Neue Cyrillic';
src:url('../fonts/Bebas Neue Cyrillic.ttf') format('truetype');font-weight: normal;font-style: normal;}
@font-face {font-family: 'Montserrat_bold';
src: url('../fonts/montserrat.eot');src: url('../fonts/montserrat.eot') format('embedded-opentype'),url('../fonts/ProximaNova-Regular.woff') format('woff'),url('../fonts/Montserrat-Bold.ttf') format('truetype'),url('../fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');font-weight: normal;font-style: normal;}
@font-face {font-family: 'proxima-nova_bold';
src: url('../fonts/ProximaNova-Bold.eot');src: url('../fonts/ProximaNova-Bold.eot') format('embedded-opentype'),url('../fonts/ProximaNova-Bold.woff') format('woff'),url('../fonts/ProximaNova-Bold.ttf') format('truetype'),url('../fonts/ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');font-weight: normal;font-style: normal;}

#logotype{
    width: auto;
    position: relative;
    height: auto;
    transition-duration: 0.2s;
    margin-left: auto;
font-size: 28px;
    display: block;
    -webkit-transition: all .2s;
    transition: .2s ease-in;
    top: -186px;
    position: relative;
}

*{position:relative;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:white;}
*:focus{outline-style:none;}

strong{font-family:montserrat;font-weight:bolder;}
a{color:inherit;}

    /********** E **********/

    /* TRANSITION */
        header nav ul li.sub span{
            -webkit-transition:0.3s;
            -moz-transition:0.3s;
            -ms-transition:0.3s;
            transition:0.3s;
        }
    
    /* USER-SELECT */
        main aside .butt, header nav{
            -khtml-user-select:none;
            -webkit-user-select:none;
            -moz-user-select:-moz-none;
            -ms-user-select:none;
            user-select:none;
        }

    /* FLEX MODE */
        main aside .item .illu{
            display:-webkit-box;
            display:-moz-box;
            display:-ms-flexbox;
            display:-webkit-flex;
            display:flex;
            -ms-flex-wrap:wrap;
            -webkit-flex-wrap:wrap;
            flex-wrap:wrap;
        }

/********** * **********/

    html, body{font-family:'proxima-nova_regular', Bebas, Bebas Neue, sans-serif;width:100%;min-height:100%;}
    
    /* Fondo anclado al viewport (evita que cover se estire con la altura del documento en móvil) */
    html{
      background-color:#031f08;
      overflow-x:hidden;
    }
    html::before{
      content:"";
      position:fixed;
      top:0;
      left:0;
      right:0;
      bottom:0;
      z-index:-1;
      pointer-events:none;
      background:url(../img/Backgroud2.jpg) no-repeat center top #031f08;
      background-size:cover;
    }
    body{padding-top:400px; overflow-x:hidden; max-width:100vw; background:transparent;}
  
    .ct{width:1100px;max-width:100%;padding:0 25px;margin:auto; box-sizing: border-box;}
        
        @media screen and (max-width:1000px){
            body{padding-top:180px;}
            .ct{width:100%; padding:0 14px;}
        }
        @media screen and (max-width:415px){
            body{padding-top:140px;}
            .ct{padding:0 10px;}
        }

    .alert{color:#f4f8d7;padding:10px 14px!important;margin-top:10px;}
        .alert.infos{background:#3e7da9;}
        .alert.error{background:#c05151;}
        .alert.valid{background:#2a5c35;}
        .alert.warning{background:#e29a44;}
     .alertimby{color:#f4f8d7;padding:9px 14px!important;font-size: 13.9;font-family: 'Montserrat';font-weight: bolder;letter-spacing: 0.5px;margin-bottom: 10px;}
     .alertimby.cuentas{background:#276d70;margin-bottom:9px;}
     .alertimby.conectados{background:#2a5c35;}
     .alertimby.personajes{background:#5e3d33;}

  .alertimby2{color:#f4f8d7;padding:9px 14px!important;font-size: 13.9;font-family: 'Montserrat';font-weight: bolder;letter-spacing: 0.5px;margin-bottom: 10px;margin-left: 708px;margin-top: -46px;margin-right: 18px;text-align: center;z-index: 90;position: absolute;display: inline-block;}
 .alertimby2.desconectar{background:#a52a2a;margin-bottom:9px;width: 150;}

   .alertimby3{color:#f4f8d7;padding:9px 14px!important;font-size: 13.9;font-family: 'Montserrat';font-weight: bolder;letter-spacing: 0.5px;margin-bottom: 10px;margin-left: 467px;margin-top: -46px;margin-right: 18px;text-align: center;z-index: 90;position: absolute;display: inline-block;}

 .alertimby3.puntos{background:#276d70;margin-bottom:9px;width: 232;}


/********** HEADER **********/
  
    header{
        z-index: 900;
        background: linear-gradient(135deg, rgba(16, 40, 39, 0.98) 0%, rgba(34, 42, 40, 0.98) 100%);
        width: 100%;
        height: 65px;
        position: fixed;
        top: 0; /* pegado al top de la ventana */
        overflow: visible;
        box-shadow: 0 4px 20px rgba(0,0,0,.6), 0 0 1px rgba(255,255,255,.1) inset;
        border-top: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    /* Franja celeste del top (pegada) */
    header::before{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 4px;
        background: #38a9a5;
        z-index: 1;
        pointer-events: none;
    }
    header .ct{
        height: 100%;
        max-width: 1400px;
        margin: 0 auto;
        position: relative;
        overflow: visible;
        z-index: 2;
    }

    header #logotype{
        left: 50%;
        margin-left: -90px;
        text-align: center;
        z-index: 10;
        position: absolute;
        width: 180px;
        height: 96px;
        top: 0;
        color: white;
        transition: all 0.3s ease;
        overflow: visible;
        pointer-events: auto;
    }
    /* Triángulo detrás del logo, arranca en la franja y queda bajo las hojas */
    header #logotype::before{
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 70px solid transparent;
        border-right: 70px solid transparent;
        border-top: 40px solid #38a9a5;
        z-index: 0;
        pointer-events: none;
    }
 
    header #logotype img{
        width: 170px;
        height: auto;
        max-height: 88px;
        object-fit: contain;
        overflow: visible;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
        transition: all 0.3s ease;
        top: 0;
        position: relative;
        z-index: 2;
        display: block;
        margin: 0 auto;
    }
    
    header #logotype:hover{
        transform: translateY(-2px);
    }
.staff {
background-image: url(../img/av1.png);
}
/* Evitar forzar 200px en todas las imgs (rompía logos/móvil). Solo artículos/news usan altura fija vía selectores propios. */
img{max-width:100%; height:auto;}
main article .header img,
main article img.news-cover{height:200px; overflow:hidden; object-fit:cover;}

staff:hover{
background-image: url(../img/av2.png);
 -webkit-transform:scale(1.3);transform:scale(1.1);;
}

@keyframes tiembla{
  0%  { transform:rotateZ(-5deg); }
  50% { transform:rotateZ( 0deg) scale(.8); }
  100%{ transform:rotateZ( 5deg); }
}
@-webkit-keyframes tiembla{
  0%  { -webkit-transform:rotateZ(-5deg); }
  50% { -webkit-transform:rotateZ( 0deg) scale(.8); }
  100%{ -webkit-transform:rotateZ( 5deg); }
}
.buttonPlay { z-index: 900;
    background: rgba(42, 34, 34, 0.9);
    width: 100%;
    height: 65px;
    position: fixed;
    bottom: 0;
    box-shadow: 0 1px 0 rgba(255,255,255,.15), 0 0 10px rgba(0,0,0,.5) inset;
}
/* CTA Jugar: sobre el paisaje (no fixed sobre el contenido) */
a.play-cta {
    position: absolute;
    z-index: 850;
    top: 300px;
    right: max(24px, calc((100vw - 1100px) / 2 + 40px));
    left: auto;
    width: 170px;
    height: 70px;
    display: block;
    text-decoration: none;
}
a.play-cta .boton1,
.boton1 {
    background-image: url(../img/jugar11.png);
    width: 100%;
    height: 100%;
    position: static;
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}
a.play-cta:hover .boton1,
.boton1:hover {
    background-image: url(../img/jugar12.png);
    transform: translateY(-2px) scale(1.03);
}
@media screen and (max-width: 1200px) {
    a.play-cta {
        right: 28px;
        top: 290px;
    }
}
@media screen and (max-width: 1000px) {
    a.play-cta {
        top: 138px;
        left: 50%;
        right: auto;
        width: 132px;
        height: 54px;
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 480px) {
    a.play-cta {
        top: 124px;
        left: 50%;
        right: auto;
        width: 118px;
        height: 48px;
        transform: translateX(-50%);
    }
}
	.boton {
    background-image: url(../img/play.png);
    width: 170px;
    position: relative;
    height: 70px;
    transition-duration: 0.2s;
    margin-left: 0;
font-size: 28px;
    display: none; /* legacy; el CTA activo es .boton1 */
    -webkit-transition: all .2s;
    transition: .2s ease-in;
    top: 0;
}
 .boton:hover {
 background-image: url(../img/play_hover.png);
}
.ak-fixedbar {
      height: 84px;
    position: static;
    width: 100%;
    max-width: 100%;
    display: none; /* barra legacy que forzaba overflow (width 3200%) */
    background: rgba(0,0,0,0.8);
    bottom: 0;
    z-index: 0;
    margin-left: 0;
}
	.buttonDescargar {      
	left: 45%;
    margin-left: -75px;
    z-index: 900;
    top: -30px;}
	.espacio { height: 100px;}
    header nav{
        height: 100%;
        font-family: "bebas_neueregular", sans-serif;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding: 0 64px; /* simétrico para que el hueco del logo quede centrado */
        box-sizing: border-box;
        position: relative;
        z-index: 3;
    }
    
    header nav .nav{
        height: 100%;
        width: 100%;
        border-left: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    header nav .nav > li.nav-cluster{
        flex: 1 1 0;
        min-width: 0;
        height: 100%;
        border-right: 0;
        padding: 0;
        display: flex;
        align-items: center;
        overflow: visible;
    }
    header nav .nav > li.nav-cluster-left{
        justify-content: flex-end;
        padding-right: 0;
    }
    header nav .nav > li.nav-cluster-right{
        justify-content: flex-start;
        padding-left: 0;
    }
    header nav .nav .nav-cluster-list{
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
        max-width: 100%;
        gap: 0;
    }
    
    header nav .nav .nav-cluster-list > li{
        color: #f4f8d7;
        float: none;
        /* Todos los botones del menú: mismo tamaño */
        flex: 0 0 138px;
        width: 138px;
        min-width: 138px;
        max-width: 138px;
        height: 100%;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow: hidden;
        padding: 0 8px;
        line-height: 1;
    }
    /* Divisor limpio: sin línea al final de cada grupo; borde izquierdo en el primer ítem derecho */
    header nav .nav .nav-cluster-list > li:last-child{
        border-right: 0;
    }
    header nav .nav > li.nav-cluster-right .nav-cluster-list > li:first-child{
        border-left: 1px solid rgba(255, 255, 255, 0.14);
    }
    header nav .nav > li.logotype{
        /* Hueco central simétrico */
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        height: 100%;
        border-right: 0;
        pointer-events: none;
        padding: 0;
    }
    header .panel{
        color: #f4f8d7;
        width: auto;
        height: 100%;
        float: none;
        border-right: 0;
        transition: all 0.3s ease;
    }
    
    /* Mantener border-left del panel cuando hay account-menu para conectarlo visualmente */
    /* border-left se define  abajo para mantener  visual con account-menu */
    
    header nav .nav > li.nav-cluster:hover,
    header nav .nav > li.logotype:hover{
        background: transparent;
    }
    header nav .nav .nav-cluster-list > li:hover{
        z-index: 150;
        background: linear-gradient(180deg, rgba(5, 239, 215, 0.15) 0%, transparent 100%);
    }
    
    header nav .nav li a, 
    header .panel a{
        color: #f4f8d7;
        float: none;
        text-align: center;
        width: 100%;
        height: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2px;
        transition: all 0.3s ease;
        white-space: nowrap;
        line-height: 1.15;
        padding: 0 4px;
        box-sizing: border-box;
    }
    
    header nav .nav li.sub{    
        padding-top: 0;
        text-align: center;
        text-transform: uppercase;
        font-weight: 700;
        cursor: pointer;
        position: relative;
        z-index: 201;
        pointer-events: auto;
        white-space: nowrap;
        font-size: 11px;
        letter-spacing: 0.2px;
        line-height: 1.15;
        width: 138px;
        height: 100%;
    }

    header nav .nav li.sub.sub-link{
        padding: 0;
    }

    header nav .nav li.sub.sub-link > a{
        display: inline-flex;
        width: 100%;
        height: 100%;
        padding-top: 0;
        box-sizing: border-box;
        float: none;
    }
    
    header nav .nav li.sub:hover{
        background: linear-gradient(180deg, rgba(5, 239, 215, 0.2) 0%, transparent 100%);
        color: #05efd7;
    }
    
    header nav .nav li.sub:hover .ico_caret-down{
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }
    
    header nav .nav li.sub:hover ul.submenu{
        max-height: 500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 8px !important;
    }
    
    header nav .nav li.sub .ico_caret-down{
        transition: transform 0.3s ease;
        display: inline-block;
        margin-left: 5px;
        font-size: 10px;
    }
    
    header nav .nav li a:hover, 
    header nav ul li.sub:hover, 
    header .panel a:hover{
        color: #05efd7;
        text-shadow: 0 0 8px rgba(5, 239, 215, 0.5);
    }
    
    header nav .nav li span:not(.ico_caret-down):not(.ico_star):not(.ico_close):not(.ico_home):not(.ico_user){
        position: absolute;
        text-align: center;
        left: 0;
        display: block;
        margin: auto;
        width: 100%;
        color: rgba(5, 239, 215, 0.7) !important;
        font-size: 12px;
        transition: all 0.3s ease;
    }
    
    header nav .nav li.sub:hover span:not(.ico_caret-down):not(.ico_star):not(.ico_close):not(.ico_home):not(.ico_user){
        bottom: -20px;
        color: #05efd7 !important;
    }
    
    /* Iconos en submenu deben ser relativos */
    header nav .nav li ul.submenu li a span{
        position: relative !important;
        display: inline-block !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        margin: 0 !important;
        font-size: 14px;
        color: #05efd7 !important;
    }
    
    header nav .nav > li.logotype{
        width: 280px;
        height: 100%;
    }

    /* Dropdown solo CSS: oculto por defecto, visible con :hover o :focus-within */
    header nav .nav li ul.submenu{
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,.6), 0 0 1px rgba(255,255,255,.1) inset;
        padding: 0;
        width: 220px;
        background: linear-gradient(135deg, rgba(16, 40, 39, 0.98) 0%, rgba(34, 42, 40, 0.98) 100%);
        position: absolute;
        left: 50%;
        margin-left: -110px;
        top: 100%;           /* Pegado al , sin hueco */
        margin-top: -2px;     /* 2px de solape para no perder hover al bajar */
        border: 2px solid rgba(5, 239, 215, 0.3);
        border-top: none;
        border-radius: 0 0 8px 8px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 202;
    }
    
    /* Ajustar  del dropdown para el  de cuenta ( elemento) */
    header nav .nav li.account-menu ul.submenu{
        left: auto;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        /* Asegurar que el dropdown se alinee con el borde derecho del li */
        transform: translateX(0);
    }
    
    /* Ajustar el dropdown cuando abierto para que se alinee correctamente */
    header nav .nav li.account-menu:hover ul.submenu{
        right: 0;
        left: auto;
    }
    
    /* Visible solo con :hover o :focus-within (puro CSS) */
    header nav .nav li.sub:hover ul.submenu,
    header nav .nav li.sub:focus-within ul.submenu{
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 8px;
        pointer-events: auto;
        overflow: visible;
    }
    
    header nav .nav li.sub:hover,
    header nav .nav li.sub:focus-within{
        z-index: 203;
    }
    
    header nav .nav li.sub:hover ul.submenu,
    header nav .nav li.sub:focus-within ul.submenu{
        z-index: 204;
    }
    
    header nav .nav li ul.submenu li{
        width: 100%;
        float: none;
        height: auto;
        min-height: 42px;
        border-right: 0;
        text-shadow: 0 2px 4px rgba(0,0,0,.4);
        margin-bottom: 4px;
    }
    
    header nav .nav li ul.submenu li:first-child{
        margin-top: 0;
    }
    
    header nav .nav li ul.submenu li:last-child{
        margin-bottom: 0;
    }
    
    /* Asegurar que las banderas de idioma NO aparezcan dentro del dropdown */
    header nav .nav li ul.submenu .lang,
    header nav .nav li ul.submenu ul.lang,
    header nav .nav li ul.submenu li .lang {
        display: none !important;
    }
    
    header nav .nav li ul.submenu li a{
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,.2) inset;
        font-size: 13px;
        font-weight: 600;
        background: rgba(0,0,0,.3);
        margin: 0;
        padding: 12px 15px;
        min-height: 42px;
        font-family: 'Montserrat', sans-serif;
        border-radius: 6px;
        transition: all 0.3s ease;
        color: #f4f8d7;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255,255,255,.05);
    }
    
    header nav .nav li ul.submenu li a:hover{
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.9) 0%, rgba(5, 200, 180, 0.9) 100%);
        color: #1a1a1a;
        transform: translateX(8px);
        box-shadow: 0 4px 12px rgba(5, 239, 215, 0.5), 0 0 1px rgba(255,255,255,.2) inset;
        border-color: rgba(5, 239, 215, 0.6);
        font-weight: 700;
    }
    header nav .nav li ul.submenu li input{box-shadow: 0 0 5px rgba(0,0,0,.1) inset;background: rgba(0,0,0,.1);margin-bottom: 7px;padding-top: 0;height: 100%;color: #f4f8d7;float: left;text-align: center;width: 100%;display: inline-block;font-size: 16px;font-weight: 0;}
    header nav .nav li ul.submenu li input:hover{background:rgba(0,0,0,.2);}

    header .panel{position:absolute;right:5px;height:100%;top:0;z-index:902;display:flex;align-items:center;gap:10px;border-left:1px solid rgba(255, 255, 255, 0.08);}
    
    /* Language Dropdown Container - Fuera del panel a la derecha */
    .lang-dropdown-container{
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 905;
    }
    
    /* Language Dropdown */
    .lang-dropdown-container .lang-dropdown,
    header .panel .lang-dropdown{
        position: relative;
    }
    
    .lang-dropdown-container .lang-dropdown-toggle,
    header .panel .lang-dropdown-toggle{
        background: rgba(0,0,0,.3);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 4px;
        padding: 6px 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
    }
    
    .lang-dropdown-container .lang-dropdown-toggle:hover,
    header .panel .lang-dropdown-toggle:hover{
        background: rgba(5, 239, 215, 0.2);
        border-color: rgba(5, 239, 215, 0.4);
    }
    
    .lang-dropdown-container .lang-dropdown-toggle img,
    header .panel .lang-dropdown-toggle img{
        width: 24px;
        height: 18px;
        object-fit: cover;
        border-radius: 2px;
    }
    
    .lang-dropdown-container .lang-dropdown-toggle .ico_caret-down,
    header .panel .lang-dropdown-toggle .ico_caret-down{
        font-size: 10px;
        color: rgba(5, 239, 215, 0.7);
        transition: transform 0.3s ease;
    }
    
    .lang-dropdown-container .lang-dropdown-toggle.active .ico_caret-down,
    header .panel .lang-dropdown-toggle.active .ico_caret-down{
        transform: rotate(180deg);
    }
    
    .lang-dropdown-container .lang-dropdown-menu,
    header .panel .lang-dropdown-menu{
        position: absolute;
        right: 0;
        top: calc(100% + 5px);
        background: linear-gradient(135deg, rgba(16, 40, 39, 0.98) 0%, rgba(34, 42, 40, 0.98) 100%);
        border: 2px solid rgba(5, 239, 215, 0.3);
        border-radius: 6px;
        box-shadow: 0 6px 20px rgba(0,0,0,.6), 0 0 1px rgba(255,255,255,.1) inset;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 6px;
        min-width: 150px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        z-index: 904;
        margin: 0;
        list-style: none;
    }
    
    .lang-dropdown-container .lang-dropdown-menu.active,
    header .panel .lang-dropdown-menu.active{
        max-height: 200px;
        opacity: 1;
        visibility: visible;
        padding: 6px;
    }
    
    .lang-dropdown-container .lang-dropdown-menu li,
    header .panel .lang-dropdown-menu li{
        margin: 0;
        padding: 0;
    }
    
    .lang-dropdown-container .lang-dropdown-menu li a,
    header .panel .lang-dropdown-menu li a{
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        color: #f4f8d7;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        border-radius: 4px;
        transition: all 0.2s ease;
        opacity: 0.8;
    }
    
    .lang-dropdown-container .lang-dropdown-menu li a:hover,
    .lang-dropdown-container .lang-dropdown-menu li.active a,
    header .panel .lang-dropdown-menu li a:hover,
    header .panel .lang-dropdown-menu li.active a{
        background: rgba(5, 239, 215, 0.2);
        color: #05efd7;
        opacity: 1;
    }
    
    .lang-dropdown-container .lang-dropdown-menu li a img,
    header .panel .lang-dropdown-menu li a img{
        width: 24px;
        height: 18px;
        object-fit: cover;
        border-radius: 2px;
    }
    header .panel .link{cursor:pointer;width:48px;font-size:20px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;padding:0;margin:0;color:inherit;font-family:inherit;line-height:1;top:0;}
    header .panel .link.menu{display:none;}
    header .panel .link div,
    header .panel .link .ico_user,
    header .panel .link .ico_navicon{position:relative;top:0;left:0;}

    /* Auth dropdown (login / registro) */
    header .panel .auth-dropdown{
        position:relative;
        display:inline-flex;
        align-items:center;
        height:100%;
    }
    header .panel .auth-dropdown-toggle{
        width:48px;
        height:48px;
        border-radius:6px;
        transition:background .2s ease, color .2s ease;
    }
    header .panel .auth-dropdown-toggle:hover,
    header .panel .auth-dropdown-toggle.active{
        background:rgba(5, 239, 215, 0.15);
        color:#05efd7;
    }
    header .panel .auth-dropdown-toggle .ico_user{
        font-size:20px;
        display:inline-block;
    }
    header .panel .auth-dropdown-menu{
        display:none;
        position:absolute;
        top:calc(100% + 6px);
        right:0;
        min-width:190px;
        margin:0;
        padding:6px;
        list-style:none;
        background:rgba(32, 38, 36, 0.98);
        border:1px solid rgba(255, 255, 255, 0.12);
        border-radius:8px;
        box-shadow:0 10px 28px rgba(0, 0, 0, 0.45);
        z-index:960;
    }
    header .panel .auth-dropdown-menu.active{
        display:block;
    }
    header .panel .auth-dropdown-menu li{
        width:100%;
        float:none;
        border:0;
        height:auto;
    }
    header .panel .auth-dropdown-menu li a{
        float:none;
        display:flex;
        align-items:center;
        gap:10px;
        width:100%;
        padding:11px 12px;
        text-align:left;
        text-transform:none;
        font-size:13px;
        font-weight:600;
        letter-spacing:0.2px;
        color:#f4f8d7;
        border-radius:6px;
        opacity:0.9;
        box-sizing:border-box;
    }
    header .panel .auth-dropdown-menu li a span{
        width:18px;
        text-align:center;
        opacity:0.85;
        font-size:14px;
    }
    header .panel .auth-dropdown-menu li a:hover{
        background:rgba(5, 239, 215, 0.2);
        color:#05efd7;
        opacity:1;
    }
        
        @media screen and (min-width:1000px){
            header nav{left:0!important;}
        }
        @media screen and (max-width:1000px){
            header nav{overflow-y:auto;overflow-x:hidden;padding:16px 0 40px;position:fixed;height:calc(100vh - 65px);width:220px;max-width:80vw;background:rgba(32,38,36,.97);top:65px;left:-220px;z-index:850;box-shadow:1px 0 0 rgba(255,255,255,.15), 0 0 10px rgba(0,0,0,.5) inset;}
            header nav .nav{flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;border-left:0;}
            header nav .nav > li.nav-cluster{width:100%;flex:none;height:auto;justify-content:flex-start;}
            header nav .nav .nav-cluster-list{flex-direction:column;width:100%;height:auto;}
            header nav .nav .nav-cluster-list > li{width:100%;flex:none;max-width:none;height:auto;min-height:44px;border-right:0;justify-content:flex-start;}
            header nav .nav li a, header nav .nav li.sub{text-align:left!important;justify-content:flex-start!important;padding-left:20px;white-space:normal;}
            header nav .nav li.sub{padding-top:12px;padding-bottom:12px;}
            header nav .nav li a:hover, header nav .nav li.sub:hover{background:transparent;}
            header nav .nav li.logotype{display:none;}
            header nav .nav li.sub .ico_caret-down,
            header nav .nav li.sub .ico_user{display:inline-block;}
            header nav .nav li ul.submenu{padding-top:8px;top:0;height:auto!important;position:relative;background:transparent;box-shadow:0 0 0;width:100%!important;margin-left:0;left:0;}
            header nav .nav li ul.submenu li{height:auto;padding:0;width:100%;}
            header nav .nav li ul.submenu li a{line-height:15px;padding-left:0;font-size:11px!important;font-weight:300;background:transparent;box-shadow:0 0 0;height:auto!important;justify-content:flex-start;}
            header nav .nav li ul.submenu li a:hover{background:transparent;box-shadow:0 0 0;height:auto!important;}
            header nav .nav li a:hover{color:#b9ca39!important;}

            header #logotype{
                left: 50%;
                margin-left: -70px;
                width: 140px;
                height: 78px;
                top: 0;
            }
            header #logotype::before{
                border-left-width: 58px;
                border-right-width: 58px;
                border-top-width: 34px;
            }
            header #logotype img{
                width: 140px;
                max-height: 78px;
                top: 4px;
            }

            header .panel{width:auto;min-width:120px;padding:0 8px;border-left:1px solid rgba(255,255,255,.15);gap:4px;}
            header .panel .link{width:48px;}
            header .panel .link.menu{display:inline-flex;}
        }
        @media screen and (max-width:415px){
            header #logotype{
                margin-left: -60px;
                width: 120px;
                height: 68px;
                top: 0;
            }
            header #logotype::before{
                border-left-width: 48px;
                border-right-width: 48px;
                border-top-width: 28px;
            }
            header #logotype img{
                width: 120px;
                max-height: 68px;
                top: 4px;
            }

            header .panel{right:5px;width:auto;}
            header .panel .link{width:44px;}
            header .panel .link.menu{display:inline-flex;}
        }
        @media screen and (max-width:378px){
            header #logotype{
                margin-left: -55px;
                width: 110px;
                height: 66px;
            }
            header #logotype img{
                width: 110px;
                max-height: 66px;
            }

            header .panel{width:auto;max-width:calc(100% - 120px);padding-right:8px;gap:2px;}
            header .panel .link{width:40px;font-size:16px;}
            header .panel .auth-dropdown-toggle{width:40px;height:40px;}
            header .panel .auth-dropdown-menu{min-width:170px;right:-4px;}
        }

/********** MAIN **********/

    /* Logo grande del paisaje eliminado: marca unificada en nav + hero Descargas */
    #logo{ display: none !important; }

@-webkit-keyframes swing
{
15%
{
-webkit-transform: translateX(5px);
transform: translateX(5px);
}
30%
{
-webkit-transform: translateX(-5px);
transform: translateX(-5px);
}
50%
{
-webkit-transform: translateX(3px);
transform: translateX(3px);
}
65%
{
-webkit-transform: translateX(-3px);
transform: translateX(-3px);
}
80%
{
-webkit-transform: translateX(2px);
transform: translateX(2px);
}
100%
{
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
@keyframes swing
{
15%
{
-webkit-transform: translateX(5px);
transform: translateX(5px);
}
30%
{
-webkit-transform: translateX(-5px);
transform: translateX(-5px);
}
50%
{
-webkit-transform: translateX(3px);
transform: translateX(3px);
}
65%
{
-webkit-transform: translateX(-3px);
transform: translateX(-3px);
}
80%
{
-webkit-transform: translateX(2px);
transform: translateX(2px);
}
100%
{
-webkit-transform: translateX(0);
transform: translateX(0);
}
}

        @media screen and (max-width:620px){
            #logo{position:absolute;right:0;width:100%;display:inline-block;text-align:center;}
            #logo img{max-width:80%;}
        }
  
    main{
        background: rgb(16 40 39 / 65%);
        width: 100%;
        box-shadow: 0 0 1px rgba(255,255,255,.25);
        margin-top: 75px;
        padding-top: 20px;
        position: relative;
        z-index: 1;
        min-height: calc(100vh - 75px);
    }
    
    main aside{padding:10px;background:#102827;position:absolute;top:0;right:0;width:250px;height:100%;border-left:1px solid rgba(255,255,255,.1);box-shadow:0 0 10px rgba(0,0,0,.1) inset;overflow-y:auto;overflow-x:hidden;}
    main aside .panel{padding:8px;background:#585951;color:#f4f8d7;margin-bottom:8px;box-shadow:0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.4) inset, 0 -3px 0 rgba(0,0,0,.15) inset;}
    main aside .panel li{width:100%;padding-bottom:4px;}
    main aside .panel li:last-child{padding-bottom:0;}
    main aside .panel li a{opacity:.8;overflow:hidden;display:inline-block;box-shadow:0 0 1px rgba(0,0,0,.3);background:rgba(255,255,255,.08);width:100%;padding:7px 12px;}
    main aside .panel li a:hover{opacity:1;}
    main aside .panel li a.blue{background:#04485B;}
    main aside .panel li a.red{background:#ea6262;}
    main aside .panel li.og a{padding-left:28px;}
    main aside .panel li.og a img{width:70px;position:absolute;left:-20px;top:-22px;}
    main aside .butt{text-shadow:0 1px 3px rgba(0,0,0,.15);margin-bottom:10px;padding:14px 0 0 58px;height:60px;width:100%;line-height:16px;color:#f4f8d7;font-size:16px;font-family:'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;text-transform:uppercase;font-weight:800;display:inline-block;box-shadow:0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.4) inset, 0 -3px 0 rgba(0,0,0,.15) inset;}
    main aside .butt:hover{box-shadow:0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(255,255,255,.15) inset, 0 -2px 0 rgba(0,0,0,.1) inset;}
    main aside .butt small{display:block;width:100%;font-size:14px;font-weight:700;text-transform:initial;font-family:Montserrat;}
    main aside .butt .illu{position:absolute;top:0;left:4px;display:inline-block;width:50px;height:50px;background:url(../img/sprite.png) top center no-repeat;background-size:92% auto;}
        main aside .butt.discord{
  background: linear-gradient(90deg, #a8adf0, #1f8ca5, #a5aaf0, #a8adf0);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.discord:hover{
  animation: animate 8s linear infinite;

}
main aside .butt.staff{
  background: linear-gradient(90deg, #7e229a, #52529f, #712a96, #7e229a);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.staff:hover{
  animation: animate 8s linear infinite;

}
@keyframes animate {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}
    main aside .butt.twitter{
  background: linear-gradient(90deg, #3a8a4b, #53a264, #388c4b, #388c4b);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.twitter:hover{
  animation: animate 8s linear infinite;

}
main aside .butt.joins{
  background: linear-gradient(90deg, #aa1c19, #a91d1a, #d23a26, #aa1c19);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.joins:hover{
  animation: animate 8s linear infinite;

}
 main aside .butt.ladder{
  background:linear-gradient(90deg, #a79560, #a79560, #a1672f, #a79560);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.ladder:hover{
  animation: animate 8s linear infinite;

}
 main aside .butt.vote{
  background: linear-gradient(90deg, #33abae, #368d95, #33a9ac, #33a9ac);
  background-size: 400%;
  border-radius: 0px;
  z-index: 1;
  box-sizing: border-box;

}
main aside .butt.vote:hover{
  animation: animate 8s linear infinite;

}
@keyframes animate {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}
        main aside .butt.discord .illu{background-position:center -2508px;}
     
        main aside .butt.twitter .illu{background-position:center -2555px;}
        main aside .butt.facebook{background:#2379c5;}
        main aside .butt.facebook .illu{background-position:center -2600px;}
        
        main aside .butt.joins .illu{background-position:center -302px;margin-bottom:-5px;}
        main aside .butt.vote .illu{background-position:center -2239px;}
       
        main aside .butt.ladder .illu{background-position:center -964px;}
        main aside .butt.shop{background:#2fc9d3;}
        main aside .butt.shop .illu{background-position:center -2050px;}
        main aside .butt.forum{background:#7aa506;}
        main aside .butt.forum .illu{background-position:center -482px;}
    main aside .item{text-align:center;background:#204346;height:55px;margin:-10px 0 10px;box-shadow:0 0 1px rgba(0,0,0,.7);}
    main aside .item .illu{float:left;width:25%;height:100%;background:#0a9daa;box-shadow:0 0 15px rgba(0,0,0,.4) inset;border-right:1px solid #20565b;border-top:1px solid #20565b;}
    main aside .item .illu:last-child{border-right:0;}
    main aside .item .illu:hover{background:#35abb5;}
    main aside .item .illu img{margin:auto;width:40px;}
    main aside .price{width:100%;background:#ffffff;}
    
    /* Estado del Servidor */
    .server-status-header {
        margin-bottom: 10px;
        background: #204346;
        padding: 10px;
        border-radius: 3px;
        box-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.4) inset;
    }
    .server-status-header h3 {
        color: #f4f8d7;
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 8px 0;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
    }
    .server-status-dropdown {
        position: relative;
    }
    .server-status-toggle {
        width: 100%;
        background: #102827;
        border: 1px solid rgba(255,255,255,.1);
        padding: 8px 12px;
        color: #f4f8d7;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 3px;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s;
    }
    .server-status-toggle:hover {
        background: #153332;
        border-color: rgba(255,255,255,.2);
    }
    .status-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 8px;
        box-shadow: 0 0 5px currentColor;
    }
    .status-dot.online {
        background: #4ade80;
        color: #4ade80;
    }
    .status-dot.offline {
        background: #ef4444;
        color: #ef4444;
    }
    .status-text {
        flex: 1;
        text-align: left;
    }
    .dropdown-arrow {
        font-size: 10px;
        transition: transform 0.2s;
    }
    .server-status-toggle.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    .server-status-details {
        display: none;
        background: #0d1f1e;
        margin-top: 8px;
        padding: 10px;
        border-radius: 3px;
        border: 1px solid rgba(255,255,255,.05);
    }
    .server-status-details.show {
        display: block;
    }
    .status-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .status-item:last-child {
        border-bottom: none;
    }
    .status-label {
        color: #9ca3af;
        font-size: 12px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
    }
    .status-value {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
    }
    .status-value.online {
        color: #4ade80;
    }
    .status-value.offline {
        color: #ef4444;
    }
    .status-dot-small {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        display: inline-block;
    }
    .status-dot-small.online {
        background: #4ade80;
        box-shadow: 0 0 4px #4ade80;
    }
    .status-dot-small.offline {
        background: #ef4444;
        box-shadow: 0 0 4px #ef4444;
    }
    .server-status-box {
        margin-bottom: 10px;
    }
    .server-status-box .alertimby {
        background: #204346;
        padding: 10px 12px;
        margin-bottom: 6px;
        border-radius: 3px;
        color: #f4f8d7;
        font-size: 13px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        box-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.4) inset;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .server-status-box .alertimby:last-child {
        margin-bottom: 0;
    }
    .server-status-box .alertimby.conectados {
        background: #0a9daa;
    }
    .server-status-box .alertimby.personajes {
        background: #7e5c3f;
    }
    .server-status-box .alertimby.cuentas {
        background: #0a9daa;
    }
    .server-status-box .alertimby.gremios {
        background: #7e229a;
    }

    /* ============================================
       ADMIN PANEL - Refactor completo profesional
       Tema oscuro coherente, sin solapamientos
       ============================================ */
    /* Override estilos globales main #content form que rompen el admin */
    main #content.admin-dashboard form {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    main #content.admin-dashboard .admin-form-modern .btn {
        width: auto !important;
        display: inline-flex !important;
    }
    main #content.admin-dashboard {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 24px 40px;
        width: 100%;
        min-height: 0;
    }
    .admin-dashboard .admin-header {
        margin-bottom: 28px;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .admin-dashboard .admin-header-content h1 {
        margin-bottom: 8px;
        font-size: 22px;
    }
    .admin-dashboard .admin-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        width: 100%;
    }
    .admin-dashboard .admin-tabs {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }
    .admin-dashboard .admin-tabs .btn {
        padding: 12px 24px;
        font-size: 14px;
        text-decoration: none;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    .admin-dashboard .admin-tabs .btn-primary {
        background: #38a9a5;
        color: #fff;
    }
    .admin-dashboard .admin-tabs .btn-primary:hover {
        background: #0eafa9;
    }
    .admin-dashboard .admin-tabs .btn-secondary {
        background: rgba(255,255,255,0.08);
        color: #c7cab3;
        border: 1px solid rgba(255,255,255,0.15);
    }
    .admin-dashboard .admin-tabs .btn-secondary:hover {
        background: rgba(255,255,255,0.12);
    }
    .admin-dashboard .admin-cards-row {
        display: flex;
        flex-direction: row;
        gap: 28px;
        width: 100%;
        align-items: stretch;
        min-height: 0;
    }
    .admin-dashboard .admin-cards-row .admin-card {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .admin-dashboard .admin-cards-row .admin-card:first-child {
        flex: 0 0 400px;
    }
    .admin-dashboard .admin-card {
        background: rgba(20, 35, 36, 0.9);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .admin-dashboard .admin-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px;
        background: rgba(0,0,0,0.35);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .admin-dashboard .admin-card-title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #e8ebe0;
    }
    .admin-dashboard .admin-card-title .card-icon {
        font-size: 18px;
        opacity: 0.9;
    }
    .admin-dashboard .admin-badge {
        background: rgba(56,169,165,0.3);
        color: #7ee8e3;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
    }
    .admin-dashboard .admin-card-body {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .admin-dashboard .admin-form-modern .form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 18px;
    }
    .admin-dashboard .admin-form-modern .form-row .form-group {
        flex: 1;
    }
    .admin-dashboard .admin-form-modern .form-group {
        margin-bottom: 18px;
    }
    .admin-dashboard .admin-form-modern .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #a8b5a8;
    }
    .admin-dashboard .admin-form-modern .form-control {
        width: 100%;
        padding: 12px 16px;
        background: rgba(15, 28, 28, 0.8);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        color: #e8ebe0;
        font-size: 15px;
        font-family: inherit;
        box-sizing: border-box;
    }
    .admin-dashboard .admin-form-modern .form-control::placeholder {
        color: rgba(255,255,255,0.35);
    }
    .admin-dashboard .admin-form-modern .form-control:focus {
        border-color: #38a9a5;
        outline: none;
        box-shadow: 0 0 0 2px rgba(56,169,165,0.2);
    }
    .admin-dashboard .admin-form-modern .form-textarea {
        min-height: 160px;
        resize: vertical;
    }
    .admin-dashboard .admin-form-modern .form-control-small {
        max-width: 100px;
    }
    .admin-dashboard .admin-form-modern .form-help {
        display: block;
        margin-top: 8px;
        font-size: 12px;
        color: #7a8a7a;
    }
    .admin-dashboard .admin-form-modern .form-actions {
        display: flex;
        gap: 12px;
        margin-top: 24px;
    }
    .admin-dashboard .admin-form-modern .btn {
        padding: 12px 24px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        transition: all 0.2s;
    }
    .admin-dashboard .admin-form-modern .btn-primary {
        background: #38a9a5;
        color: white;
    }
    .admin-dashboard .admin-form-modern .btn-primary:hover {
        background: #0eafa9;
    }
    .admin-dashboard .admin-form-modern .btn-secondary {
        background: rgba(255,255,255,0.1);
        color: #e8ebe0;
        border: 1px solid rgba(255,255,255,0.2);
    }
    .admin-dashboard .admin-form-modern .btn-secondary:hover {
        background: rgba(255,255,255,0.15);
    }
    .admin-dashboard .admin-table-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: 420px;
        overflow-y: auto;
        padding-right: 4px;
    }
    .admin-dashboard .admin-table-container::-webkit-scrollbar {
        width: 8px;
    }
    .admin-dashboard .admin-table-container::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }
    .admin-dashboard .admin-table-container::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.15);
        border-radius: 4px;
    }
    .admin-dashboard .news-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px 18px;
        background: rgba(0,0,0,0.25);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        transition: background 0.2s;
    }
    .admin-dashboard .news-card:hover {
        background: rgba(0,0,0,0.35);
    }
    .admin-dashboard .news-card-id {
        font-size: 11px;
        color: #6b7a6b;
        font-weight: 600;
    }
    .admin-dashboard .news-card-content {
        flex: 1;
        min-width: 160px;
    }
    .admin-dashboard .news-card-title {
        margin: 0 0 6px 0;
        font-size: 15px;
        font-weight: 600;
        color: #e8ebe0;
        line-height: 1.3;
    }
    .admin-dashboard .news-card-meta {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        font-size: 12px;
        color: #8a9a8a;
    }
    .admin-dashboard .news-card-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .admin-dashboard .news-card-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-shrink: 0;
    }
    .admin-dashboard .news-card-actions form {
        margin: 0;
        padding: 0;
        background: transparent;
    }
    .admin-dashboard .btn-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        font-size: 14px;
        border-radius: 6px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    .admin-dashboard .btn-action-edit {
        background: rgba(56,169,165,0.25);
        color: #7ee8e3;
    }
    .admin-dashboard .btn-action-edit:hover {
        background: rgba(56,169,165,0.4);
        color: #fff;
    }
    .admin-dashboard .btn-action-delete {
        background: rgba(234,98,98,0.3);
        color: #ffb3b3;
    }
    .admin-dashboard .btn-action-delete:hover {
        background: #ea6262;
        color: white;
    }
    .admin-dashboard .admin-empty-state {
        text-align: center;
        padding: 48px 24px;
        color: #7a8a7a;
    }
    .admin-dashboard .admin-empty-state .empty-icon {
        font-size: 40px;
        display: block;
        margin-bottom: 16px;
        opacity: 0.6;
    }
    @media screen and (max-width: 900px) {
        .admin-dashboard .admin-cards-row {
            flex-direction: column;
        }
        .admin-dashboard .admin-cards-row .admin-card:first-child {
            flex: 1 1 auto;
        }
        .admin-dashboard .admin-table-container {
            max-height: 320px;
        }
    }
    @media screen and (max-width: 768px) {
        main #content.admin-dashboard {
            padding: 16px 16px 32px;
            max-width: 100%;
        }
    }

    /* ============================================
       ACCOUNT / USER PANEL (Gestion de cuenta)
       ============================================ */
    #content.account-panel {
        max-width: 900px;
    }
    .account-panel .account-header {
        margin-bottom: 20px;
    }
    .account-panel .account-header h1 {
        margin-bottom: 8px;
    }
    .account-panel .account-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .account-panel .account-card {
        background: rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 6px;
        overflow: hidden;
    }
    .account-panel .account-card-header {
        padding: 16px 20px;
        background: rgba(0,0,0,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .account-panel .account-card-title {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .account-panel .account-card-title .card-icon {
        font-size: 20px;
    }
    .account-panel .account-card-body {
        padding: 24px;
    }
    .account-panel .account-data-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .account-panel .account-data-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .account-panel .account-data-row:last-child {
        border-bottom: none;
    }
    .account-panel .account-data-row dt {
        margin: 0;
        font-weight: 700;
        font-size: 13px;
        color: #c7cab3;
        text-transform: uppercase;
    }
    .account-panel .account-data-row dd {
        margin: 0;
        font-size: 15px;
        color: #f4f8d7;
    }
    .account-panel .account-vip-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 16px 24px;
        background: linear-gradient(90deg, rgba(167,149,96,0.4), rgba(161,103,47,0.4));
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        color: #f4f8d7;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.2s;
    }
    .account-panel .account-vip-bar:hover {
        background: linear-gradient(90deg, rgba(167,149,96,0.6), rgba(161,103,47,0.6));
        color: #fff;
    }
    .account-panel .account-vip-bar .vip-icon {
        font-size: 18px;
        color: #f7c849;
    }
    .account-panel .account-form .form-group {
        margin-bottom: 20px;
    }
    .account-panel .account-form .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        color: #c7cab3;
    }
    .account-panel .account-form .form-label-inline {
        margin-top: 12px;
        margin-bottom: 8px;
    }
    .account-panel .account-form .form-control {
        width: 100%;
        max-width: 400px;
        padding: 12px 14px;
        background: #f4f8d7;
        border: 2px solid #c7cab3;
        border-radius: 4px;
        color: #333;
        font-size: 15px;
    }
    .account-panel .account-form .form-control:focus {
        border-color: #38a9a5;
        outline: none;
    }
    .account-panel .account-secret-question {
        margin: 8px 0 0 0;
        padding: 10px 14px;
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
        color: #f4f8d7;
        font-size: 14px;
    }
    .account-panel .account-form .form-actions {
        margin-top: 24px;
    }
    .account-panel .account-form .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        background: #38a9a5;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.2s;
    }
    .account-panel .account-form .btn-primary:hover {
        background: #0eafa9;
    }
    .account-panel .account-characters-table-wrap {
        overflow-x: auto;
    }
    .account-panel .account-characters-table {
        width: 100%;
        border-collapse: collapse;
    }
    .account-panel .account-characters-table th,
    .account-panel .account-characters-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .account-panel .account-characters-table th {
        background: rgba(0,0,0,0.2);
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        color: #c7cab3;
    }
    .account-panel .account-characters-table td {
        color: #f4f8d7;
        font-size: 14px;
    }
    .account-panel .account-characters-table .col-num { width: 50px; }
    .account-panel .account-characters-table .col-avatar { width: 60px; }
    .account-panel .account-characters-table .col-avatar img { max-height: 40px; }
    .account-panel .account-empty {
        text-align: center;
        padding: 24px;
        color: #9ca3af;
    }
    .account-panel .account-alert {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border-radius: 6px;
    }
    .account-panel .account-alert-error {
        background: rgba(234,98,98,0.2);
        border: 1px solid rgba(234,98,98,0.5);
        color: #f4f8d7;
    }

    main #content{min-height:502px;width:calc(100% - 250px);padding:10px;box-shadow:0 0 10px rgba(0,0,0,.3) inset;}
    main #content h1{text-transform:uppercase;color:#ffffff;line-height:22px;padding:13px 15px;text-shadow:0 1px 3px rgba(0,0,0,.15);background:#0000003d;font-size:20px;font-family:'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;font-weight:800;}
    main #content #breadcrump{line-height:14px;margin-bottom:10px;background:#00000070;padding:9px 15px 10px;color:#00ffc6;font-family:'proxima-nova_bold', Helvetica, Arial, sans-serif;}
    main #content #breadcrump li{display:inline;font-size:12px;line-height:15px;}
    main #content #breadcrump li:after{color:#ffffff !important;margin:0 2px 0 6px;position:relative;top:1px;}
    main #content #breadcrump li:last-child:after{display:none;}
    main #content #breadcrump li:last-child{font-family:'proxima-nova_regular', Helvetica, Arial, sans-serif;}
    main #content #breadcrump li a:hover{text-decoration:underline;}
    /* ============================================
       REGISTER FORM
       ============================================ */
    .register-header {
        margin-bottom: 20px;
    }
    .register-header h2 {
        margin-bottom: 8px;
    }
    .register-description {
        font-size: 14px;
        color: #c7cab3;
        line-height: 1.5;
    }
    .register-warning {
        background: rgba(234,98,98,0.15);
        border: 1px solid rgba(234,98,98,0.4);
        border-radius: 6px;
        padding: 16px 20px;
        margin-bottom: 24px;
    }
    .register-warning .warning-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    .register-warning h3 {
        margin: 0;
        font-size: 15px;
        color: #f4f8d7;
    }
    .register-warning p {
        margin: 0;
        font-size: 14px;
        color: #e0e3c9;
    }
    .register-form-container {
        background: rgba(224,227,201,0.95);
        border: 1px solid rgba(199,202,179,0.8);
        border-radius: 8px;
        padding: 28px;
        margin-top: 20px;
    }
    .register-form-container .form-title {
        margin: 0 0 24px 0;
        font-size: 18px;
        color: #433838;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .register-form .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 30px;
        margin-bottom: 24px;
    }
    .register-form .form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .register-form .form-label {
        display: block;
        color: #433838;
        font-weight: 800;
        font-size: 13px;
        text-transform: uppercase;
    }
    .register-form .form-label .required {
        color: #e66045;
    }
    .register-form .form-input {
        width: 100%;
        max-width: 100%;
        padding: 12px 14px;
        background: #f4f8d7;
        border: 2px solid #c7cab3;
        border-radius: 6px;
        font-size: 15px;
        font-family: inherit;
        color: #333;
        box-sizing: border-box;
    }
    .register-form .form-input:focus {
        border-color: #38a9a5;
        outline: none;
    }
    .register-form .form-hint {
        display: block;
        font-size: 12px;
        color: #6b7280;
        margin-top: 2px;
        line-height: 1.4;
    }
    .register-form .captcha-group {
        margin-bottom: 20px;
    }
    .register-form .custom-captcha-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin: 10px 0;
    }
    .register-form .captcha-image {
        height: 50px;
        width: 140px;
        border: 1px solid #3d4152;
        border-radius: 4px;
        vertical-align: middle;
    }
    .register-form .captcha-refresh {
        padding: 8px 12px;
        background: #3d4152;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
    }
    .register-form .captcha-refresh:hover {
        background: #4a4e61;
    }
    .register-form .captcha-input {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
    }
    .register-form .form-submit {
        margin-top: 24px;
        text-align: center;
    }
    .register-form .btn-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 40px;
        background: #38a9a5;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.2s;
    }
    .register-form .btn-register:hover {
        background: #0eafa9;
    }
    @media (max-width: 700px) {
        .register-form .form-grid {
            grid-template-columns: 1fr;
        }
    }

    main #content #middle{overflow:hidden;background:#00000054;padding:1px 10px 10px;color:white;}
    main #content #middle h2{margin-top:10px;background:#275e52;color:white;line-height:18px;padding:13px 15px;font-size:16px;text-transform:uppercase;font-family:'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;font-weight:800;}
    main #content #middle h2 a:hover{color:#b7f314;}
    main #content #middle p{font-size:15px;line-height:22px;padding:10px 15px 5px;font-family:montserrat;font-weight:700;}
    main #content form{left:0px;width:100%;background:#e0e3c9;padding:22px;margin:-8px auto 0;}
    main #content form label{display:block;color:#433838;line-height:16px;font-family:'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;font-size:14px;text-transform:uppercase;font-weight:800;}
    main #content form label small{padding-bottom:10px;display:block;font-size:14px;text-transform:initial;font-weight:normal;font-family:'proxima-nova_regular', Helvetica, Arial, sans-serif;}
    main #content form label span{color:#e66045;}
    main #content form textarea,
    main #content form input[type=text],
    main #content form input[type=password]{background:#f4f8d7;color:black;border:2px solid #c7cab3;font-size:16px;width:300px;height:45px;margin-bottom:15px;padding:0 12px;font-family:'proxima-nova_regular', Helvetica, Arial, sans-serif;}
    main #content form textarea:focus,
    main #content form input[type=text]:focus,
    main #content form input[type=password]:focus{border-color:#929487;}
    main #content .btn{font-size:18px!important;text-align:center;padding:8px!important;width:100%!important;}
    main #content .btn,
    main #content form button{text-shadow:0 1px 3px rgb(0 0 0);background:#38a9a5;display:block;text-transform:uppercase;color:white;font-family:bebas neue;padding:15px 20px;font-weight:0;font-size:27px;}
    main #content .btn:hover,
    main #content form button:hover{background:#0eafa9;}
    main #content form textarea{width:100%;height:125px;resize:none;padding-top:10px;padding-bottom:10px;}
    main #content .principal{color:#b9ca39;}

        @media screen and (max-width:764px){
            main aside{width:100%;position:relative;border-left:0px;}
            main #content{width:100%;min-height:auto;}
        }
        @media screen and (max-width:400px){
            main #content form label{text-align:center;}
            main #content form button,
            main #content form input[type=text],
            main #content form input[type=password]{width:100%;}
        }
  
    /* ============================================
       LADDER HEADER Y TABS
       ============================================ */
    
    .ladder-header {
        margin-bottom: 20px;
    }
    
    .ladder-title {
        font-size: 32px;
        font-weight: 800;
        color: #f4f8d7;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .ladder-title .ico_trophy {
        color: #05efd7;
        margin-right: 10px;
    }
    
    .ladder-tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
        padding-bottom: 0;
    }
    
    .ladder-tab {
        padding: 12px 24px;
        background: rgba(16, 40, 39, 0.6);
        color: #c7cab3;
        text-decoration: none;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 6px 6px 0 0;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        border-bottom: none;
        font-family: 'Montserrat', sans-serif;
    }
    
    .ladder-tab:hover {
        background: rgba(5, 239, 215, 0.15);
        color: #f4f8d7;
    }
    
    .ladder-tab.active {
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.3) 0%, rgba(5, 200, 180, 0.2) 100%);
        color: #05efd7;
        border-color: rgba(5, 239, 215, 0.4);
        box-shadow: 0 -2px 8px rgba(5, 239, 215, 0.2);
    }
    
    .ladder-container {
        background: linear-gradient(135deg, rgba(35, 74, 69, 0.95) 0%, rgba(16, 40, 39, 0.95) 100%);
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 0 1px rgba(255,255,255,.1) inset;
        border: 1px solid rgba(5, 239, 215, 0.2);
    }
    
    main table.ladder,
    main table.ladder-modern{
        width:100%;
        margin-bottom:20px;
        background: transparent;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        border: none;
    }
    main table.ladder.carac{margin-bottom:0;width:calc(50% - 5px);float:left;background:#e0e3c9;}
    main table.ladder.carac.primaire{margin-right:10px;}
    main table.ladder.carac span{top:-2px;margin-right:5px;vertical-align:middle;}
    main table.ladder-modern thead{
        background: transparent;
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    main table.ladder-modern th{
        background: transparent;
        padding: 15px 10px;
        font-size: 13px;
        font-weight: 800;
        text-align: left;
        color: #f4f8d7;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
        border: none;
    }
    
    main table.ladder-modern tbody tr.ladder-row{
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(255,255,255,.05);
        background: rgba(0,0,0,.2);
    }
    
    main table.ladder-modern tbody tr.ladder-row:hover{
        background: rgba(5, 239, 215, 0.1);
        transform: translateX(2px);
    }
    
    main table.ladder-modern tbody tr.ladder-row:first-child{
        background: rgba(227, 182, 58, 0.1);
    }
    
    main table.ladder-modern tbody tr.ladder-row:last-child{
        border-bottom: none;
    }
    
    main table.ladder-modern td{
        height: 70px;
        border-bottom: 1px solid rgba(255,255,255,.05);
        padding: 12px 15px;
        border: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        color: #f4f8d7;
        vertical-align: middle;
    }
    
    /* Rank Number Styles */
    .rank-cell {
        position: relative;
    }
    
    .rank-number {
        display: inline-block;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-weight: 800;
        font-size: 18px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,.4), 0 0 1px rgba(255,255,255,.1) inset;
        font-family: 'Montserrat', sans-serif;
    }
    
    .rank-number.rank-1 {
        background: linear-gradient(135deg, #e3b63a 0%, #d4a529 100%);
        color: #1a1a1a;
        box-shadow: 0 2px 12px rgba(227, 182, 58, 0.6), 0 0 1px rgba(0,0,0,.5) inset;
    }
    
    .rank-number.rank-2 {
        background: linear-gradient(135deg, #ada99c 0%, #9d9990 100%);
        color: #1a1a1a;
        box-shadow: 0 2px 8px rgba(173, 169, 156, 0.5), 0 0 1px rgba(0,0,0,.5) inset;
    }
    
    .rank-number.rank-3 {
        background: linear-gradient(135deg, #cd805a 0%, #bd704a 100%);
        color: #1a1a1a;
        box-shadow: 0 2px 8px rgba(205, 128, 90, 0.5), 0 0 1px rgba(0,0,0,.5) inset;
    }
    
    .rank-number.rank-4,
    .rank-number.rank-5,
    .rank-number.rank-6,
    .rank-number.rank-7,
    .rank-number.rank-8,
    .rank-number.rank-9,
    .rank-number.rank-10 {
        background: rgba(42, 42, 42, 0.8);
        color: #c7cab3;
        border: 1px solid rgba(255,255,255,.1);
    }
    
    .rank-crown {
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
        filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
    }
    
    /* Player Info Styles */
    .player-cell {
        padding-left: 20px !important;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .player-avatar {
        flex-shrink: 0;
    }
    
    .player-avatar img.class {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,.4);
        border: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .player-details {
        flex: 1;
    }
    
    .player-name-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 5px;
    }
    
    .player-name {
        font-size: 16px;
        font-weight: 700;
        color: #f4f8d7;
        font-family: 'Montserrat', sans-serif;
    }
    
    .reset-tag {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .reset-tag.tag-wr {
        background: linear-gradient(135deg, #59d7ff 0%, #4ac7ef 100%);
        color: #1a1a1a;
        box-shadow: 0 2px 4px rgba(89, 215, 255, 0.4);
    }
    
    .reset-tag.tag-r9 {
        background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        color: #f4f8d7;
        box-shadow: 0 2px 4px rgba(168, 85, 247, 0.4);
    }
    
    .reset-tag.tag-r8 {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #f4f8d7;
        box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
    }
    
    .reset-tag.tag-r7 {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: #f4f8d7;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.4);
    }
    
    .player-class {
        font-size: 13px;
        color: #c7cab3;
        font-style: italic;
        font-family: 'Montserrat', sans-serif;
    }
    
    /* Level/XP Cell */
    .level-xp-cell {
        text-align: center !important;
    }
    
    .level-xp-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .level-text {
        font-size: 15px;
        font-weight: 700;
        color: #f4f8d7;
        font-family: 'Montserrat', sans-serif;
    }
    
    .xp-text {
        font-size: 12px;
        color: #c7cab3;
        font-family: 'Montserrat', sans-serif;
    }
    
    /* Reset Circle */
    .resets-cell {
        text-align: center !important;
    }
    
    .reset-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: #f4f8d7;
        font-size: 16px;
        font-weight: 800;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4), 0 0 1px rgba(255,255,255,.1) inset;
        font-family: 'Montserrat', sans-serif;
    }
    
    main table.ladder thead{
        background: linear-gradient(135deg, #234a45 0%, #1a2f2c 100%);
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    main table.ladder th{
        background: transparent;
        padding: 12px 10px;
        font-size: 13px;
        font-weight: 800;
        text-align: left;
        color: #f4f8d7;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
        border-right: 1px solid rgba(255,255,255,.05);
    }
    main table.ladder th:last-child{
        border-right: none;
    }
    main table.ladder tbody tr{
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }
    main table.ladder tbody tr:hover{
        background: rgba(5, 239, 215, 0.1);
        transform: translateX(2px);
    }
    main table.ladder tbody tr:last-child{
        border-bottom: none;
    }
    main table.ladder td{
        height: 50px;
        border-bottom: 1px solid rgba(255,255,255,.05);
        padding: 10px;
        border-right: 1px solid rgba(255,255,255,.03);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        color: #f4f8d7;
        vertical-align: middle;
    }
    main table.ladder td:last-child{
        border-right: none;
    }
    main table.ladder.carac th, main table.ladder.carac td{font-size:12px;}
    main table.ladder.carac td{height:30px;padding-top:7px;}
    main table.ladder tr td .rang{
        display: inline-block;
        width: 36px;
        height: 36px;
        box-shadow: 0 2px 4px rgba(0,0,0,.4) inset, 0 1px 2px rgba(255,255,255,.1);
        vertical-align: middle;
        line-height: 36px;
        text-align: center;
        font-weight: 800;
        font-size: 13px;
        border-radius: 4px;
        color: #1a1a1a;
        font-family: 'Montserrat', sans-serif;
    }
    main table.ladder tbody tr:nth-child(1) .rang{
        background: linear-gradient(135deg, #e3b63a 0%, #d4a529 100%);
        box-shadow: 0 2px 8px rgba(227, 182, 58, 0.5), 0 0 1px rgba(0,0,0,.5) inset;
        color: #1a1a1a;
    }
    main table.ladder tbody tr:nth-child(2) .rang{
        background: linear-gradient(135deg, #ada99c 0%, #9d9990 100%);
        box-shadow: 0 2px 6px rgba(173, 169, 156, 0.4), 0 0 1px rgba(0,0,0,.5) inset;
        color: #1a1a1a;
    }
    main table.ladder tbody tr:nth-child(3) .rang{
        background: linear-gradient(135deg, #cd805a 0%, #bd704a 100%);
        box-shadow: 0 2px 6px rgba(205, 128, 90, 0.4), 0 0 1px rgba(0,0,0,.5) inset;
        color: #1a1a1a;
    }
    main table.ladder tbody tr:nth-child(n+4) .rang{
        background: rgba(42, 42, 42, 0.6);
        color: #c7cab3;
        border: 1px solid rgba(255,255,255,.1);
    }
    main table.ladder .l{text-align:left;}
    main table.ladder .r{
        text-align:right;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
    }
    main table.ladder .c{text-align:center;}
    main table.ladder td.i{width:40px;}
    main table.ladder td .class{
        width: 40px;
        height: 40px;
        vertical-align: middle;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,.3);
    }

        @media screen and (max-width:875px){
            main table.ladder.carac{width:100%;margin-right:0;}
        }

    main #news{margin-bottom:-10px;}

    main article{box-shadow:0 0 1px rgba(0,0,0,.7), 0 0 1px rgba(255,255,255,.5) inset;font-size:14px;width:calc(50% - 5px);background:#0e485663;float:left;margin-bottom:10px;}
    main article:nth-child(odd){margin-right:10px;}
    main article .header{color:#eae9de;height:230px;background-size:cover;background-position:center center;}
    main article .header time{display:inline-block;background:#202c24;left:12px;width:55px;text-align:center;font-size:22px;padding:13px 0 8px;line-height:14px;text-transform:uppercase;font-weight:600;border-bottom-left-radius:3px;border-bottom-right-radius:3px;}
    main article .header time span{width:100%;display:inline-block;font-weight:300;font-size:14px;}
    main article .header h2{font-family:'proxima-nova_bold', Helvetica, Arial, sans-serif;width:100%;position:absolute;bottom:0;font-weight:400;letter-spacing:0.5px;text-shadow:0 0 5px #000000, 0 0 3px #000000, 0 0 1px #000000;font-size:20px;line-height:22px;padding:15px;background:linear-gradient(to top, #202c24 15%, rgba(0,0,0,0));}
    main article .header h2 img{vertical-align:-40%;margin:0 -2px 0 -6px;width: 28px;height: 28px;}
    main article p{line-height:19px;padding:12px 15px;height:150px;overflow:hidden;font-family:montserrat;font-size:15px;font-weight:700;}
    main article .footer{background:#2f6d7a;padding-left:12px;line-height:40px;font-size:11px;height:40px;}
    main article .footer time{font-weight:600;}

    /* ============================================
       SHOP PAGE STYLES
       ============================================ */
    
    .shop-header {
        margin-bottom: 20px;
    }
    
    .shop-title {
        font-size: 32px;
        font-weight: 800;
        color: #f4f8d7;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .shop-title .ico_shop {
        color: #2fc9d3;
        margin-right: 10px;
    }
    
    .shop-container {
        background: linear-gradient(135deg, rgba(35, 74, 69, 0.95) 0%, rgba(16, 40, 39, 0.95) 100%);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 0 1px rgba(255,255,255,.1) inset;
        border: 1px solid rgba(5, 239, 215, 0.2);
    }
    
    .shop-info {
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .shop-info h2 {
        font-size: 24px;
        font-weight: 700;
        color: #05efd7;
        margin-bottom: 15px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .shop-info .shop-message {
        font-size: 16px;
        color: #c7cab3;
        line-height: 1.6;
        font-family: 'Montserrat', sans-serif;
    }
    
    .shop-items-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .shop-item {
        background: linear-gradient(135deg, rgba(16, 40, 39, 0.8) 0%, rgba(34, 42, 40, 0.8) 100%);
        border-radius: 8px;
        padding: 15px;
        border: 2px solid rgba(5, 239, 215, 0.2);
        box-shadow: 0 2px 8px rgba(0,0,0,.3), 0 0 1px rgba(255,255,255,.1) inset;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .shop-item:hover {
        transform: translateY(-5px);
        border-color: rgba(5, 239, 215, 0.5);
        box-shadow: 0 4px 16px rgba(5, 239, 215, 0.3), 0 0 1px rgba(255,255,255,.2) inset;
    }
    
    .shop-item-image {
        width: 100%;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 6px;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .shop-item-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        image-rendering: pixelated;
        image-rendering: -moz-crisp-edges;
        image-rendering: crisp-edges;
    }
    
    .shop-item-info {
        color: #f4f8d7;
    }
    
    .shop-item-type {
        font-size: 16px;
        font-weight: 700;
        color: #05efd7;
        margin-bottom: 8px;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .shop-item-id {
        font-size: 12px;
        color: #c7cab3;
        font-family: 'Montserrat', sans-serif;
    }
    
    .shop-empty,
    .shop-error {
        text-align: center;
        padding: 40px 20px;
    }
    
    .shop-footer-message {
        text-align: center;
        padding-top: 20px;
        border-top: 2px solid rgba(5, 239, 215, 0.3);
        margin-top: 20px;
    }
    
    .shop-footer-message p {
        font-size: 14px;
        color: #c7cab3;
        font-style: italic;
        font-family: 'Montserrat', sans-serif;
    }
    
    @media screen and (max-width: 768px) {
        .shop-items-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }
        
        .shop-item-image {
            height: 150px;
        }
        
        .shop-container {
            padding: 20px;
        }
    }

    /* ============================================
       ARMORY PAGE STYLES
       ============================================ */
    
    .armory-header {
        margin-bottom: 20px;
    }
    
    .armory-title {
        font-size: 32px;
        font-weight: 800;
        color: #f4f8d7;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-title .ico_shield {
        color: #05efd7;
        margin-right: 10px;
    }
    
    .armory-container {
        background: linear-gradient(135deg, rgba(35, 74, 69, 0.95) 0%, rgba(16, 40, 39, 0.95) 100%);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 0 1px rgba(255,255,255,.1) inset;
        border: 1px solid rgba(5, 239, 215, 0.2);
    }
    
    .armory-search {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .armory-search h2 {
        font-size: 24px;
        font-weight: 700;
        color: #05efd7;
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-info {
        font-size: 14px;
        color: #c7cab3;
        margin-bottom: 20px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-search-form {
        display: flex;
        gap: 15px;
        align-items: flex-end;
    }
    
    .armory-search-form .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .armory-search-form label {
        font-size: 14px;
        font-weight: 700;
        color: #f4f8d7;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-search-form input[type="text"] {
        padding: 12px 15px;
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(5, 239, 215, 0.3);
        border-radius: 6px;
        color: #f4f8d7;
        font-size: 14px;
        font-family: 'Montserrat', sans-serif;
        transition: all 0.3s ease;
    }
    
    .armory-search-form input[type="text"]:focus {
        outline: none;
        border-color: rgba(5, 239, 215, 0.6);
        box-shadow: 0 0 8px rgba(5, 239, 215, 0.3);
    }
    
    .search-button {
        padding: 12px 24px;
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.3) 0%, rgba(5, 200, 180, 0.2) 100%);
        border: 2px solid rgba(5, 239, 215, 0.4);
        border-radius: 6px;
        color: #05efd7;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Montserrat', sans-serif;
        white-space: nowrap;
    }
    
    .search-button:hover {
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.5) 0%, rgba(5, 200, 180, 0.4) 100%);
        box-shadow: 0 0 12px rgba(5, 239, 215, 0.4);
    }
    
    .armory-results {
        margin-top: 30px;
    }
    
    .armory-results h3 {
        font-size: 20px;
        font-weight: 700;
        color: #f4f8d7;
        margin-bottom: 20px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-results-table {
        width: 100%;
        background: transparent;
        border-collapse: collapse;
    }
    
    .armory-results-table thead {
        background: linear-gradient(135deg, #234a45 0%, #1a2f2c 100%);
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .armory-results-table th {
        padding: 12px 10px;
        font-size: 13px;
        font-weight: 800;
        color: #f4f8d7;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
        text-align: left;
    }
    
    .armory-results-table tbody tr {
        border-bottom: 1px solid rgba(255,255,255,.05);
        transition: all 0.2s ease;
    }
    
    .armory-results-table tbody tr:hover {
        background: rgba(5, 239, 215, 0.1);
    }
    
    .armory-results-table td {
        padding: 12px 10px;
        color: #f4f8d7;
        font-family: 'Montserrat', sans-serif;
        vertical-align: middle;
    }
    
    .armory-results-table td img.class {
        width: 50px;
        height: 50px;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,.3);
    }
    
    .armory-view-btn {
        display: inline-block;
        padding: 8px 16px;
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.3) 0%, rgba(5, 200, 180, 0.2) 100%);
        border: 1px solid rgba(5, 239, 215, 0.4);
        border-radius: 4px;
        color: #05efd7;
        text-decoration: none;
        font-weight: 700;
        font-size: 12px;
        transition: all 0.3s ease;
        font-family: 'Montserrat', sans-serif;
    }
    
    .armory-view-btn:hover {
        background: linear-gradient(135deg, rgba(5, 239, 215, 0.5) 0%, rgba(5, 200, 180, 0.4) 100%);
        box-shadow: 0 0 8px rgba(5, 239, 215, 0.3);
    }
    
    .armory-no-results,
    .armory-error {
        text-align: center;
        padding: 40px 20px;
    }
    
    /* Character Profile Styles */
    .armory-character-header {
        margin-bottom: 20px;
    }
    
    .armory-character-container {
        background: linear-gradient(135deg, rgba(35, 74, 69, 0.95) 0%, rgba(16, 40, 39, 0.95) 100%);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 0 1px rgba(255,255,255,.1) inset;
        border: 1px solid rgba(5, 239, 215, 0.2);
    }
    
    .character-profile {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .character-avatar-section {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .character-avatar img.class {
        width: 120px;
        height: 120px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,.4);
        border: 3px solid rgba(5, 239, 215, 0.4);
    }
    
    .character-basic-info {
        flex: 1;
    }
    
    .character-name {
        font-size: 28px;
        font-weight: 800;
        color: #05efd7;
        margin-bottom: 8px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .character-class-level {
        font-size: 18px;
        color: #c7cab3;
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .character-alignment {
        font-size: 14px;
        color: #f4f8d7;
    }
    
    .character-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }
    
    .stat-box {
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(5, 239, 215, 0.2);
        border-radius: 6px;
        padding: 15px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .stat-box:hover {
        border-color: rgba(5, 239, 215, 0.5);
        box-shadow: 0 0 8px rgba(5, 239, 215, 0.2);
    }
    
    .stat-label {
        font-size: 12px;
        color: #c7cab3;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
    }
    
    .stat-value {
        font-size: 20px;
        font-weight: 800;
        color: #05efd7;
        font-family: 'Montserrat', sans-serif;
    }
    
    .character-details {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .details-section {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        padding: 20px;
        border: 1px solid rgba(5, 239, 215, 0.2);
    }
    
    .details-section h3 {
        font-size: 20px;
        font-weight: 700;
        color: #05efd7;
        margin-bottom: 20px;
        font-family: 'Montserrat', sans-serif;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .characteristics-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .characteristics-table thead {
        background: linear-gradient(135deg, #234a45 0%, #1a2f2c 100%);
        border-bottom: 2px solid rgba(5, 239, 215, 0.3);
    }
    
    .characteristics-table th {
        padding: 12px 15px;
        font-size: 13px;
        font-weight: 800;
        color: #f4f8d7;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Montserrat', sans-serif;
        text-align: left;
    }
    
    .characteristics-table tbody tr {
        border-bottom: 1px solid rgba(255,255,255,.05);
        transition: all 0.2s ease;
    }
    
    .characteristics-table tbody tr:hover {
        background: rgba(5, 239, 215, 0.1);
    }
    
    .characteristics-table td {
        padding: 12px 15px;
        color: #f4f8d7;
        font-family: 'Montserrat', sans-serif;
    }
    
    .characteristics-table td strong {
        color: #05efd7;
        font-size: 16px;
    }
    
    .other-characters-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .other-character-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(5, 239, 215, 0.2);
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .other-character-item:hover {
        border-color: rgba(5, 239, 215, 0.5);
        background: rgba(5, 239, 215, 0.1);
    }
    
    .other-char-avatar img.class {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,.3);
    }
    
    .other-char-info {
        flex: 1;
    }
    
    .other-char-name {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #05efd7;
        text-decoration: none;
        margin-bottom: 5px;
        font-family: 'Montserrat', sans-serif;
        transition: color 0.3s ease;
    }
    
    .other-char-name:hover {
        color: #f4f8d7;
    }
    
    .other-char-details {
        font-size: 13px;
        color: #c7cab3;
        font-family: 'Montserrat', sans-serif;
    }
    
    @media screen and (max-width: 768px) {
        .armory-search-form {
            flex-direction: column;
        }
        
        .character-avatar-section {
            flex-direction: column;
            text-align: center;
        }
        
        .character-stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .armory-container,
        .armory-character-container {
            padding: 20px;
        }
    }
    main article .footer a{float:right;background:#398d9f;height:40px;font-weight:600;font-size:16px;padding:0 10px;}
    main article .footer a:hover{background:#22393ea1;}
    main article .footer a img{height: 28px;vertical-align:-20%;width: 28px;}
    main article .header time{
display:inline-block;
background:#194e54;
left:12px;
width:55px;
text-align:center;
font-size:17px;
padding:13px 0 8px;
line-height:14px;
text-transform:uppercase;
font-weight:600;
border-bottom-left-radius:3px;
border-bottom-right-radius:3px;
font-family: montserrat;
}
    main article .header time span{width:100%;display:inline-block;font-weight:300;font-size:14px;}
    main #news.read{margin-bottom:0;}
    main #news.read article{width:100%;}
    main #news.read article p{height:auto;}

        @media screen and (max-width:900px){
            main article{width:100%;}
        }
        @media screen and (max-width:764px){
            main article{width:calc(50% - 5px);}
        }
        @media screen and (max-width:609px){
            main article{width:100%;}
        }

    main .butt-points{max-width:100%;background:#04485B;overflow:hidden;text-shadow:0 1px 3px rgba(0,0,0,.15);padding:20px 0 0 0;text-align:center;height:60px;width:280px;margin:15px auto 5px;display:block;line-height:16px;color:#f4f8d7;font-size:16px;font-family:'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;text-transform:uppercase;font-weight:800;box-shadow:0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.4) inset, 0 -3px 0 rgba(0,0,0,.15) inset;}
    main .butt-points:hover{background:#147182;}
    main .butt-points img{position:absolute;top:-70px;left:-70px;}
    main .butt-points span{z-index:100;}

    main .comm{vertical-align:-20%;margin-bottom:-5px;top:-2px;margin-right:6px;margin-left:-3px;}

    main .comment li{min-height:130px;width:100%;background:#e0e3c9;padding:20px 20px 15px;margin:10px auto 0;}
    main .comment li .left{float:left;width:90px;height:90px;background:#c7cab3;}
    main .comment li .left .ico_user{font-size:50px;opacity:.2;left:27px;top:20px;}
    main .comment li .left .level{position:absolute;z-index:60;left:-15px;width:50px;text-align:center;top:-12px;color:#ffffff;font-size:10px!important;font-family:'proxima-nova_bold', Helvetica, Arial, sans-serif;}
    main .comment li .left .align{position:absolute;z-index:50;width:105px;left:-7px;top:-8px;}
    main .comment li .left .class{position:absolute;width:100%;}
    main .comment li .right{border:2px solid #c7cab3;width:calc(100% - 100px);background:#f4f8d7;margin-left:105px;padding-bottom:7px;padding-top:2px;}
    main .comment li .right p{line-height:17px!important;}
    main .comment li .right p .time{display:block;font-size:11px;margin-bottom:5px;color:#585951;opacity:.7;}

        @media screen and (max-width:470px){
            main .comment li{min-height:auto;padding:10px;}
            main .comment li .left{display:none;}
            main .comment li .right{width:100%;margin-left:0;}
        }

    .join{padding:0;overflow:hidden;background:#f4f8d7;}
    .join .download{width:100%;height:315px;background:url('../img/bg-join.jpg') no-repeat;}
    .join .download a.dn{top:20px;right:31px;border-radius:3px;background:linear-gradient(-9deg, #3e7977, #3e7977, #2cb7b1, #2cb7b1);font-family:'proxima-nova_bold', Helvetica, Arial, sans-serif;transition:0.2s!important;padding-top:16px;line-height:24px;letter-spacing:5px;color:white;width:270px;height:92px;display:inline-block;text-align:center;text-transform:uppercase;position:absolute;font-size:13px;text-shadow:1px 1px 2px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.6), 0 0 25px #031f08 inset, 0 -4px 0 rgba(0,0,0,.3) inset;}
  .join .download a.tim{top:40px;right:120px;border-radius:3px;background:#abbe0c;font-family:'Bebas', Bebas Neue, Bebas, ebas Neue Cyrillic;transition:0.2s!important;padding-top:16px;line-height:24px;letter-spacing:5px;color:#f4d6d6;width:270px;height:92px;display:inline-block;text-align:center;text-transform:uppercase;position:absolute;font-size:12px;text-shadow:0 1px 2px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.6), 0 0 25px #abbe0c inset, 0 -4px 0 rgba(0,0,0,.3) inset;}
    .join .download a.dn span{width:100%;display:inline-block;font-size:32px;}
    .join .download a.dn:hover{animation: animate 8s linear infinite;box-sizing: border-box;color:#ffffff;box-shadow:0 1px 4px rgba(0,0,0,.4), 0 0 35px #0b7470db inset, 0 -2px 0 rgba(0,0,0,.3) inset;}
.join .download a.mf{top:195px;right:31px;border-radius:3px;background:linear-gradient(-9deg, #3e7977, #3e7977, #2cb7b1, #2cb7b1);font-family:'proxima-nova_bold', Helvetica, Arial, sans-serif;transition:0.2s!important;padding-top:16px;line-height:24px;letter-spacing:5px;color:white;width:270px;height:92px;display:inline-block;text-align:center;text-transform:uppercase;position:absolute;font-size:13px;text-shadow:1px 1px 2px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.6), 0 0 25px #031f08 inset, 0 -4px 0 rgba(0,0,0,.3) inset;}
 .join .download a.mf span{width:100%;display:inline-block;font-size:32px;}
    .join .download a.mf:hover{animation: animate 8s linear infinite;box-sizing: border-box;color:#ffffff;box-shadow:0 1px 4px rgba(0,0,0,.4), 0 0 35px #0b7470db inset, 0 -2px 0 rgba(0,0,0,.3) inset;}
    .join .download a.mac{opacity:.8;transition:0.2s!important;color:#ffffff;text-transform:uppercase;letter-spacing:3px;position:absolute;font-size:22px;top: 136px;right:52px;font-family:Bebas Neue;}
    .join .download a.mac:hover{opacity:1;}
.join .download a.dr{opacity:.8;transition:0.2s!important;color:#ffffff;text-transform:uppercase;letter-spacing:3px;position:absolute;font-size:22px;top:161px;right:52px;font-family:Bebas Neue;}
    .join .download a.dr:hover{opacity:1;}
        @media screen and (max-width:430px){
            .join .download a.dn{position:relative;right:auto!important;left:auto;display:block;width:90%;margin:auto;}
            .join .download2 a.dn{position:relative;margin-top:20px;left:auto;display:block;width:90%;margin:auto;}
        }

/********** FOOTER **********/

.modal form textarea, .modal form input[type=text], .modal form input[type=password] {
    background: #f4f8d7;
    border: 2px solid #c7cab3;
    font-size: 14px;
    color: black;
    width: 450px;
    height: 45px;
    margin-bottom: 15px;
    padding: 0 12px;
    font-family: 'proxima-nova_regular', Helvetica, Arial, sans-serif;
}
.modal .password-toggle-wrapper {
    width: 450px;
    max-width: 100%;
    display: block;
    margin-bottom: 15px;
}
.modal .password-toggle-wrapper input {
    padding-right: 48px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}
footer{
  font-size:13.9;
  font-family: montserrat;
  font-weight: 700;
  text-shadow:2px 1px 6px rgb(44 165 160);
  background: #102827;
  color: #f4f8d7;
  position: relative;
  padding: 0 0 24px;
  margin-top: 40px;
  width: 100%;
  clear: both;
  overflow: hidden;
}

.footer-top-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(5, 239, 215, 0.8), transparent);
  margin-bottom: 24px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 220px));
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: 32px 56px;
  box-sizing: border-box;
  text-align: center;
}
.footer-scroll { display: none !important; }
@media screen and (max-width: 720px) {
  .footer-container {
    gap: 22px 18px;
    padding: 22px 16px 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
  }
  .footer-brand {
    max-width: none;
  }
  .footer-column {
    max-width: none;
  }
}
@media screen and (max-width: 560px) {
  .footer-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    gap: 18px 12px;
    padding: 18px 14px 14px;
    text-align: left;
  }
  .footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo desc"
      "logo social";
    align-items: center;
    column-gap: 14px;
    row-gap: 8px;
    max-width: none;
    margin: 0;
    text-align: left;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(5, 239, 215, 0.12);
  }
  .footer-logo {
    grid-area: logo;
    margin: 0;
    justify-content: flex-start;
  }
  .footer-logo img {
    width: 108px;
    max-height: 68px;
  }
  .footer-description {
    grid-area: desc;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    color: #b8bca5;
  }
  .footer-social {
    grid-area: social;
    justify-content: flex-start;
    margin-top: 0;
    gap: 8px;
  }
  .footer-social .social-btn {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .footer-column {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }
  .footer-column-title {
    align-items: flex-start;
    font-size: 11px;
    letter-spacing: 0.4px;
    margin: 0 0 10px 0;
    gap: 6px;
  }
  .footer-title-line {
    width: 22px;
    height: 2px;
  }
  .footer-links {
    align-items: flex-start;
    gap: 6px;
  }
  .footer-links li a {
    text-align: left;
    font-size: 12px;
    line-height: 1.25;
  }
}
@media screen and (max-width: 380px) {
  .footer-container {
    gap: 16px 8px;
    padding: 16px 10px 12px;
  }
  .footer-brand {
    column-gap: 10px;
  }
  .footer-logo img {
    width: 92px;
    max-height: 58px;
  }
  .footer-description {
    font-size: 11px;
  }
  .footer-column-title {
    font-size: 10px;
  }
  .footer-links li a {
    font-size: 11px;
  }
}

.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 6px;
}

.footer-logo img {
  width: 170px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  top: 0;
  position: relative;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.footer-logo-text {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #f4f8d7;
  text-transform: uppercase;
  letter-spacing: 2px;
  left: -106px;
  top: 71px;
}

.footer-description {
  font-size: 14px;
  color: #c7cab3;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.footer-tagline {
  display: none; /* eliminado "Creado por Timby" */
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f8d7;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-btn:hover {
  background: rgba(5, 239, 215, 0.2);
  border-color: rgba(5, 239, 215, 0.5);
  transform: translateY(-2px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 220px;
  min-width: 0;
  text-align: center;
}

.footer-column-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #f4f8d7;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.footer-title-line {
  width: 28px;
  height: 3px;
  order: 2;
  background: linear-gradient(90deg, rgba(255, 220, 0, 0.85), rgba(255, 220, 0, 0.35));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.footer-links li {
  width: 100%;
}

.footer-links li a {
  color: #c7cab3;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
  display: block;
  text-align: center;
}

.footer-links li a:hover {
  color: #f4f8d7;
  text-shadow: 0 0 4px rgba(5, 239, 215, 0.5);
}

.footer-links li a.footer-logout {
  color: #ea6262;
}

.footer-links li a.footer-logout:hover {
  color: #ff7777;
  text-shadow: 0 0 4px rgba(234, 98, 98, 0.5);
}

.footer-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    color: #f4f8d7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(5, 239, 215, 0.2);
    border-color: rgba(5, 239, 215, 0.5);
}

/* ============================================
   SCROLL BUTTONS FIXED (EN TODAS LAS)
   ============================================ */

.scroll-buttons-fixed {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.scroll-btn-fixed {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(16, 40, 39, 0.95) 0%, rgba(34, 42, 40, 0.95) 100%);
    border: 2px solid rgba(5, 239, 215, 0.4);
    border-radius: 50%;
    color: #05efd7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 0 8px rgba(5, 239, 215, 0.2);
    font-size: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    font-family: 'FontAwesome', FontAwesome, sans-serif;
}

.scroll-btn-fixed:hover {
    background: linear-gradient(135deg, rgba(5, 239, 215, 0.3) 0%, rgba(5, 200, 180, 0.3) 100%);
    border-color: rgba(5, 239, 215, 0.8);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(5, 239, 215, 0.5), 0 0 12px rgba(5, 239, 215, 0.3);
    color: #f4f8d7;
}

.scroll-btn-fixed:active {
    transform: translateY(-1px) scale(1.05);
}

.scroll-btn-fixed .ico_caret-up,
.scroll-btn-fixed .ico_caret-down {
    font-size: 18px;
    transition: all 0.3s ease;
}

.scroll-btn-fixed:hover .ico_caret-up,
.scroll-btn-fixed:hover .ico_caret-down {
    transform: scale(1.2);
}

/* Toast notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
#toast-container .toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    font-family: inherit;
    font-size: 14px;
    max-width: 360px;
    animation: toast-in 0.35s ease-out;
}
#toast-container .toast.toast-out {
    animation: toast-out 0.35s ease-in forwards;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}
#toast-container .toast-success {
    background: #2e7d32;
    color: #fff;
    border-left: 4px solid #1b5e20;
}
#toast-container .toast-error {
    background: #c62828;
    color: #fff;
    border-left: 4px solid #b71c1c;
}
#toast-container .toast-info {
    background: #1565c0;
    color: #fff;
    border-left: 4px solid #0d47a1;
}
#toast-container .toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}
#toast-container .toast-message {
    flex: 1;
}
#toast-container .toast-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
    padding: 0 0 0 8px;
    line-height: 1;
}
#toast-container .toast-close:hover {
    opacity: 1;
}
/* MODERN SOCIAL ICONS */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center; /* Center icons if needed, or left align depends on design */
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.social-btn.discord:hover { background: #5865F2; border-color: #5865F2; box-shadow: 0 8px 15px rgba(88, 101, 242, 0.4); }
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 15px rgba(24, 119, 242, 0.4); }
.social-btn.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; box-shadow: 0 8px 15px rgba(29, 161, 242, 0.4); }
.social-btn.youtube:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 8px 15px rgba(255, 0, 0, 0.4); }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4); }

/* Ocultar ojo nativo del navegador (Edge/IE) */
.password-toggle-wrapper input[type="password"]::-ms-reveal,
.password-toggle-wrapper input[type="password"]::-ms-clear {
    display: none !important;
}

/* Password toggle - icono DENTRO del campo, bien visible */
.password-toggle-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.password-toggle-wrapper input {
    padding-right: 44px;
    width: 100%;
    box-sizing: border-box;
}
/* Login (connection) y main #content: wrapper = 300px para que el ojo quede dentro */
main #content form .password-toggle-wrapper {
    width: 300px;
    max-width: 100%;
    margin-bottom: 0;
}
main #content form .password-toggle-wrapper input {
    padding-right: 48px;
    margin-bottom: 0;
}
/* Enlace "olvidé contraseña" justo bajo el campo, mismo ancho */
main #content form .login-forgot {
    width: 300px;
    max-width: 100%;
    margin: 6px 0 16px;
    padding: 0;
    text-align: right;
    line-height: 1.3;
}
main #content form .login-forgot a {
    color: #1f7f7b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    float: none;
    width: auto;
    display: inline;
    text-transform: none;
    letter-spacing: 0;
}
main #content form .login-forgot a:hover {
    color: #0eafa9;
}
@media screen and (max-width:400px) {
    main #content form .login-forgot {
        width: 100%;
        text-align: center;
    }
}
/* Account form: ojo DENTRO del box - wrapper = 300px (igual que main #content form input) */
.account-panel .account-form .password-toggle-wrapper {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}
.account-panel .account-form .password-toggle-wrapper input,
.account-panel .account-form .password-toggle-wrapper .form-control {
    width: 100% !important;
    padding-right: 48px !important;
    box-sizing: border-box !important;
}
.account-panel .account-form .password-toggle-wrapper .password-toggle-btn {
    right: 8px !important;
}
/* Botón integrado dentro del input, sin borde que lo separe */
main #content form .password-toggle-wrapper .password-toggle-btn,
.password-toggle-wrapper .password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: transparent !important;
    border: none !important;
    border-radius: 6px;
    cursor: pointer;
    padding: 0 !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.password-toggle-wrapper .password-toggle-btn .pw-eye-icon,
.password-toggle-wrapper .password-toggle-btn .pw-eye-icon-slash {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-toggle-wrapper .password-toggle-btn .pw-eye-icon svg,
.password-toggle-wrapper .password-toggle-btn .pw-eye-icon-slash svg {
    width: 20px;
    height: 20px;
    stroke: #3d3535;
    stroke-width: 2.5;
}
.password-toggle-wrapper .password-toggle-btn .pw-eye-icon-slash {
    display: none;
}
.password-toggle-wrapper .password-toggle-btn[data-visible="true"] .pw-eye-icon {
    display: none;
}
.password-toggle-wrapper .password-toggle-btn[data-visible="true"] .pw-eye-icon-slash {
    display: flex;
}
.password-toggle-wrapper .password-toggle-btn:hover svg {
    stroke: #1a1a1a;
}
.password-toggle-wrapper .password-toggle-btn:hover {
    background: rgba(0,0,0,0.04) !important;
}

/* Register: icono marrón oscuro, bien visible sobre beige, encajado dentro del campo */
.register-form .password-toggle-wrapper .form-input {
    padding-right: 44px;
}
.register-form .password-toggle-wrapper .password-toggle-btn {
    right: 10px;
}
.register-form .password-toggle-wrapper .password-toggle-btn .pw-eye-icon svg,
.register-form .password-toggle-wrapper .password-toggle-btn .pw-eye-icon-slash svg {
    stroke: #3d3535;
}
.register-form .password-toggle-wrapper .password-toggle-btn:hover svg {
    stroke: #1a1a1a;
}

/* Staff - tarjetas con look en vivo */
.staff-page .staff-page-title {
    font-size: 1.6em;
    margin: 10px 0 15px;
    color: #ffffff;
}
.staff-grid-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    padding: 8px 0 24px;
}
.staff-card {
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: linear-gradient(180deg, rgba(20, 24, 22, 0.96) 0%, rgba(12, 14, 13, 0.94) 100%);
    border-radius: 16px;
    padding: 12px 14px 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Anula main article p { height:150px; padding... } del theme (causaba el hueco bajo Nv. 200) */
main article.staff-card p,
.staff-card p {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    overflow: visible !important;
}
main article.staff-card ul,
.staff-card ul {
    margin: 0 !important;
    padding: 0 !important;
}
.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}
.staff-card-fundador {
    position: relative;
    z-index: 1;
    border: 1px solid #ffb300;
    background: linear-gradient(180deg, rgba(20, 24, 22, 0.98) 0%, rgba(12, 14, 13, 0.96) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 213, 79, 0.25) inset,
        0 0 22px rgba(255, 179, 0, 0.45),
        0 0 40px rgba(255, 179, 0, 0.2),
        0 12px 28px rgba(0, 0, 0, 0.35);
    animation: staff-founder-glow 2.8s ease-in-out infinite;
}
.staff-card-fundador::before,
.staff-card-fundador::after {
    content: none !important;
    display: none !important;
}
.staff-card-fundador:hover {
    transform: translateY(-4px);
    animation: staff-founder-glow-hover 1.8s ease-in-out infinite;
}
@keyframes staff-founder-glow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 213, 79, 0.2) inset,
            0 0 16px rgba(255, 179, 0, 0.35),
            0 0 32px rgba(255, 179, 0, 0.15),
            0 12px 28px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 230, 150, 0.35) inset,
            0 0 28px rgba(255, 213, 79, 0.65),
            0 0 52px rgba(255, 179, 0, 0.3),
            0 12px 28px rgba(0, 0, 0, 0.4);
    }
}
@keyframes staff-founder-glow-hover {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 213, 79, 0.3) inset,
            0 0 22px rgba(255, 179, 0, 0.5),
            0 0 44px rgba(255, 179, 0, 0.22),
            0 16px 34px rgba(0, 0, 0, 0.45);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 246, 200, 0.45) inset,
            0 0 34px rgba(255, 230, 150, 0.75),
            0 0 60px rgba(255, 179, 0, 0.35),
            0 16px 34px rgba(0, 0, 0, 0.5);
    }
}
@keyframes staff-founder-badge {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 179, 0, 0.45); }
    50% { box-shadow: 0 0 20px rgba(255, 213, 79, 0.85); }
}
.staff-card-admin { border-color: rgba(229, 57, 53, 0.5); }
.staff-card-moderator { border-color: rgba(30, 136, 229, 0.5); }
.staff-card-animador { border-color: rgba(171, 71, 188, 0.5); }
.staff-card-top { display: flex; justify-content: center; position: relative; z-index: 1; }
.staff-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.staff-role-fundador {
    background: linear-gradient(135deg, #ffe082, #ffb300 45%, #ff8f00);
    color: #1a1200;
    box-shadow: 0 0 14px rgba(255, 179, 0, 0.45);
    animation: staff-founder-badge 2.4s ease-in-out infinite;
}
.staff-role-admin {
    background: linear-gradient(135deg, #ef5350, #b71c1c);
    color: #fff;
}
.staff-role-moderator {
    background: linear-gradient(135deg, #42a5f5, #0d47a1);
    color: #fff;
}
.staff-role-animador {
    background: linear-gradient(135deg, #ab47bc, #6a1b9a);
    color: #fff;
}
.staff-look-stage {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0 auto;
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 50% 78%, rgba(90, 110, 70, 0.28), transparent 60%),
        linear-gradient(180deg, #3a4538 0%, #1c221c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: inset 0 -18px 28px rgba(0, 0, 0, 0.28);
}
.staff-card-fundador .staff-look-stage {
    z-index: 1;
    border-color: rgba(255, 213, 79, 0.35);
    box-shadow:
        inset 0 -18px 28px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(255, 179, 0, 0.12) inset;
}
.staff-look-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 8px 0;
    /* Anula * { color:white; position:relative } del theme sobre el sprite */
    color: #000 !important;
}
.staff-look-canvas svg,
.staff-look-canvas svg * {
    position: static !important;
    color: #000 !important;
    filter: none !important;
    -webkit-filter: none !important;
}
.staff-look-canvas svg {
    width: auto;
    max-width: 100%;
    height: 100%;
}
.staff-look-canvas img.staff-look-raster {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: none !important;
    -webkit-filter: none !important;
    image-rendering: auto;
}
.staff-look-offscreen {
    position: absolute !important;
    left: -99999px !important;
    top: 0 !important;
    width: 420px;
    height: 560px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.staff-look-loading {
    width: 42px;
    height: 42px;
    margin: auto;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #b9c846;
    animation: staff-spin 0.8s linear infinite;
}
@keyframes staff-spin {
    to { transform: rotate(360deg); }
}
.staff-look-fallback img,
.staff-look-fallback .class {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    margin: auto;
}
.staff-avatar-fa {
    width: 72px;
    height: 72px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(185,200,70,0.25), rgba(185,200,70,0.08));
}
.staff-avatar-fa i {
    font-size: 2rem;
    color: #b9c846;
}
.staff-rank-seal {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd54f, #ff8f00);
    color: #1a1200;
    border: 2px solid rgba(20, 24, 22, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    font-size: 0.95rem;
    z-index: 2;
}
.staff-credit {
    text-align: center;
    font-size: 0.75rem;
    color: #8f977c;
    margin: 8px 0 18px;
}
.staff-credit a {
    color: #b9c846;
    text-decoration: underline;
}
.staff-card-admin .staff-rank-seal {
    background: linear-gradient(135deg, #ef5350, #b71c1c);
    color: #fff;
}
.staff-card-moderator .staff-rank-seal {
    background: linear-gradient(135deg, #42a5f5, #0d47a1);
    color: #fff;
}
.staff-card-animador .staff-rank-seal {
    background: linear-gradient(135deg, #ab47bc, #6a1b9a);
    color: #fff;
}
.staff-card-identity {
    position: relative;
    z-index: 1;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.staff-card-name {
    margin: 0;
    font-family: 'Montserrat', 'proxima-nova_bold', Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.28rem;
    letter-spacing: 0.03em;
    color: #f4f8d7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.staff-card-fundador .staff-card-name { color: #ffe082; }
.staff-card-meta {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #c5ceb4;
    font-size: 0.82rem;
    font-weight: 600;
}
.staff-card-gear {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.staff-card-gear li {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d7dec6;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
}
.staff-card-desc {
    font-size: 0.82em;
    color: #d0d6c2;
    margin: 0;
    line-height: 1.35;
}
.staff-empty {
    text-align: center;
    color: #999;
    padding: 50px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}
@media screen and (max-width: 640px) {
    .staff-card { width: 100%; max-width: 380px; }
    .staff-look-stage { height: 260px; }
}

/* ===== Descargas / Join landing (Launcher) ===== */
.join-page .join-landing {
    --jl-primary: #83ae3f;
    --jl-primary-dark: #6a8f32;
    --jl-primary-light: #a0cf55;
    --jl-primary-glow: rgba(131, 174, 63, 0.35);
    --jl-card: rgba(15, 20, 30, 0.85);
    --jl-card-hover: rgba(20, 28, 40, 0.92);
    --jl-text: #e8ecf1;
    --jl-muted: #8a94a6;
    --jl-border: rgba(255, 255, 255, 0.06);
    --jl-glass: rgba(255, 255, 255, 0.04);
    color: var(--jl-text);
    max-width: 980px;
    margin: 0 auto 40px;
    padding: 8px 4px 24px;
}
.join-landing *,
.join-landing *::before,
.join-landing *::after { box-sizing: border-box; }
.join-landing p { height: auto !important; margin: 0; }
.join-landing a { text-decoration: none; }

.join-hero {
    text-align: center;
    padding: 28px 16px 36px;
}
.join-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(131, 174, 63, 0.12);
    border: 1px solid rgba(131, 174, 63, 0.25);
    color: var(--jl-primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.join-hero__dot {
    width: 7px;
    height: 7px;
    background: var(--jl-primary);
    border-radius: 50%;
    animation: joinPulseDot 2s infinite;
}
@keyframes joinPulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--jl-primary-glow); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px transparent; }
}
.join-hero__logo {
    width: 320px;
    max-width: 88%;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.join-hero__title {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #ffffff;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.join-hero__title span {
    background: none;
    -webkit-text-fill-color: #b7f314;
    color: #b7f314;
    font-weight: 800;
    filter: none;
    text-shadow: 0 0 14px rgba(183, 243, 20, 0.45), 0 2px 4px rgba(0, 0, 0, 0.85);
}
.join-hero__desc {
    font-size: 0.98rem;
    color: #f0f3f8;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px !important;
    padding: 16px 18px !important;
    background: rgba(8, 12, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    height: auto !important;
}
.join-hero__desc strong { color: #ffffff; font-weight: 700; }

.join-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.join-btn svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.join-btn--primary {
    background: linear-gradient(135deg, var(--jl-primary-dark), var(--jl-primary));
    color: #fff !important;
    box-shadow: 0 4px 24px var(--jl-primary-glow);
}
.join-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--jl-primary-glow);
    background: linear-gradient(135deg, var(--jl-primary), var(--jl-primary-light));
    color: #fff !important;
}
.join-btn--secondary {
    background: var(--jl-glass);
    color: var(--jl-text) !important;
    border: 1px solid var(--jl-border);
    backdrop-filter: blur(10px);
}
.join-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: #fff !important;
}

.join-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: var(--jl-muted);
    font-size: 0.82rem;
}
.join-hero__meta span {
    position: relative;
    padding-left: 14px;
}
.join-hero__meta span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: rgba(131, 174, 63, 0.55);
}

.join-features {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(200px, 1fr)) !important;
    gap: 28px 20px;
    margin: 36px 0 28px;
    width: 100%;
    clear: both;
    float: none;
    align-items: stretch;
}

/* Pergamino + banner pincelado (estilo Retro) */
.join-page .join-feature,
main #content .join-feature {
    --jf-banner: #9dcd46;
    --jf-banner-dark: #6fa828;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    transition: transform 0.2s ease;
    isolation: isolate;
}
.join-feature:hover { transform: translateY(-3px); }
/* Especificidad >= .join-page .join-feature (antes perdían y todas quedaban verdes) */
.join-page .join-feature--green,
main #content .join-feature--green {
    --jf-banner: #9dcd46;
    --jf-banner-dark: #6fa828;
}
.join-page .join-feature--blue,
main #content .join-feature--blue {
    --jf-banner: #4aa3d8;
    --jf-banner-dark: #2b7eb0;
}
.join-page .join-feature--orange,
main #content .join-feature--orange {
    --jf-banner: #f0a03a;
    --jf-banner-dark: #c97412;
}

.join-feature__medal {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 58px;
    height: 58px;
    margin-left: -29px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, #fff7d6 0%, #f0d48a 42%, #c9a24a 100%);
    box-shadow:
        0 0 0 3px rgba(255, 248, 220, 0.55),
        0 0 18px rgba(255, 220, 120, 0.55),
        0 6px 14px rgba(0, 0, 0, 0.35);
}
.join-feature__medal svg {
    width: 26px;
    height: 26px;
    fill: #3d2a10;
}

.join-feature__banner {
    position: relative;
    z-index: 2;
    width: calc(100% - 8px);
    margin-top: 22px;
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, var(--jf-banner) 0%, var(--jf-banner-dark) 100%);
    color: #fff;
    clip-path: polygon(
        2% 18%, 0% 42%, 1.5% 68%, 0% 88%, 4% 100%,
        12% 92%, 22% 100%, 34% 94%, 48% 100%, 62% 93%,
        74% 100%, 86% 94%, 96% 100%, 100% 78%, 98% 52%,
        100% 28%, 97% 8%, 88% 0%, 72% 6%, 58% 0%,
        44% 7%, 30% 0%, 16% 6%, 6% 0%
    );
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4));
}
.join-feature__banner h3 {
    margin: 0;
    padding: 0;
    background: none;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.join-feature__paper {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: -6px;
    padding: 28px 18px 22px;
    background:
        linear-gradient(180deg, #fffaf0 0%, #f3e6d2 55%, #ead7bc 100%);
    color: #6b4e34;
    clip-path: polygon(
        0% 4%, 1.5% 0%, 8% 3%, 16% 0%, 28% 4%, 40% 0%,
        52% 3%, 64% 0%, 76% 4%, 88% 0%, 96% 3%, 100% 0%,
        100% 12%, 98% 24%, 100% 38%, 97% 52%, 100% 66%,
        98% 80%, 100% 92%, 96% 100%, 84% 97%, 72% 100%,
        60% 96%, 48% 100%, 36% 97%, 24% 100%, 12% 96%,
        4% 100%, 0% 90%, 2% 76%, 0% 62%, 2% 48%, 0% 34%,
        2% 20%, 0% 10%
    );
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    flex: 1;
}
.join-page .join-feature p,
main #content .join-feature p,
main #content #middle .join-feature p,
.join-feature__paper p {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #6b4e34 !important;
    text-align: center;
}
.join-feature__paper strong {
    color: #4a321c !important;
    font-weight: 800;
}

/* Requisitos — misma familia visual */
.join-reqs.join-reqs--paper,
.join-page .join-reqs {
    position: relative;
    display: block;
    margin: 8px 0 10px;
    padding: 36px 0 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.join-reqs__medal {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 58px;
    height: 58px;
    margin-left: -29px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #fff7d6 0%, #f0d48a 42%, #c9a24a 100%);
    box-shadow:
        0 0 0 3px rgba(255, 248, 220, 0.55),
        0 0 18px rgba(255, 220, 120, 0.55),
        0 6px 14px rgba(0, 0, 0, 0.35);
}
.join-reqs__medal svg {
    width: 26px;
    height: 26px;
    fill: #3d2a10;
}
.join-reqs__banner {
    position: relative;
    z-index: 2;
    width: calc(100% - 12px);
    max-width: 420px;
    margin: 22px auto 0;
    padding: 14px 20px 12px;
    background: linear-gradient(180deg, #9dcd46 0%, #6fa828 100%);
    clip-path: polygon(
        2% 18%, 0% 42%, 1.5% 68%, 0% 88%, 4% 100%,
        12% 92%, 22% 100%, 34% 94%, 48% 100%, 62% 93%,
        74% 100%, 86% 94%, 96% 100%, 100% 78%, 98% 52%,
        100% 28%, 97% 8%, 88% 0%, 72% 6%, 58% 0%,
        44% 7%, 30% 0%, 16% 6%, 6% 0%
    );
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4));
    text-align: center;
}
.join-reqs__banner h3 {
    margin: 0;
    padding: 0;
    background: none;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.join-reqs__paper {
    margin: -6px auto 0;
    padding: 30px 24px 22px;
    background: linear-gradient(180deg, #fffaf0 0%, #f3e6d2 55%, #ead7bc 100%);
    clip-path: polygon(
        0% 4%, 1.5% 0%, 8% 3%, 16% 0%, 28% 4%, 40% 0%,
        52% 3%, 64% 0%, 76% 4%, 88% 0%, 96% 3%, 100% 0%,
        100% 12%, 98% 24%, 100% 38%, 97% 52%, 100% 66%,
        98% 80%, 100% 92%, 96% 100%, 84% 97%, 72% 100%,
        60% 96%, 48% 100%, 36% 97%, 24% 100%, 12% 96%,
        4% 100%, 0% 90%, 2% 76%, 0% 62%, 2% 48%, 0% 34%,
        2% 20%, 0% 10%
    );
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}
.join-reqs__paper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
}
.join-reqs__paper li {
    position: relative;
    padding-left: 18px;
    color: #6b4e34;
    font-size: 0.95rem;
    font-weight: 700;
}
.join-reqs__paper li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5f8229;
    font-weight: 800;
}

@media screen and (max-width: 860px) {
    .join-features {
        grid-template-columns: 1fr !important;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: 22px;
    }
    .join-hero__title { font-size: 1.15rem; }
    .join-hero__logo { width: 220px; max-width: 80%; }
    .join-hero__actions { gap: 10px; }
    .join-btn { width: 100%; max-width: 320px; justify-content: center; }
    .join-hero__meta { gap: 12px 18px; }
    .join-reqs__banner { max-width: 100%; }
}

/* ===== Mobile / overflow guards ===== */
@media screen and (max-width: 1000px) {
    .alertimby2,
    .alertimby3 {
        position: static !important;
        display: block !important;
        margin: 8px 0 !important;
        width: auto !important;
        max-width: 100%;
    }
    header,
    main,
    footer,
    .ct {
        max-width: 100vw;
    }
    main #content {
        width: 100% !important;
        padding: 8px;
        box-sizing: border-box;
    }
    .scroll-buttons-fixed {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 8px;
    }
    .scroll-btn-fixed {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

