/*!
 =========================================================
 * WebEngine CMS - Dark Souls Theme (Video Fix + Fantasmita)
 =========================================================
*/

:root {
    --ds-fire: #ff6b35;
    --ds-fire-bright: #ff9d4d;
    --ds-fire-dark: #c73e1d;
    --ds-ash: #2a2a2a;
    --ds-ash-light: #3d3d3d;
    --ds-bone: #d4c5b0;
    --ds-bone-dark: #8b7355;
    --ds-blood: #8b0000;
    --ds-dark: #0a0a0a;
    --ds-darker: #050505;
    --ds-ember: #ff4500;
    --ds-gold: #b8860b;
    --ds-text: #c0c0c0;
    --ds-text-muted: #666666;
}

html {
    min-height: 100%;
    width: 100%;
}

body {
    background: var(--ds-darker);
    background-image:
        radial-gradient(circle at 50% 100%, rgba(199, 62, 29, 0.15) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.95) 100%),
        linear-gradient(to bottom, rgba(10,10,10,0.98) 0%, rgba(5,5,5,0.99) 100%),
        url('../img/background.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--ds-text);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(to bottom, transparent 0%, rgba(10,10,10,0.3) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.03) 2px,
            rgba(0,0,0,0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

a {
    color: var(--ds-bone);
    text-decoration: none;
    transition: all .2s ease-in;
}

a:hover {
    color: var(--ds-fire-bright);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

input[type=text], input[type=password], input[type=number] {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(139, 115, 85, 0.3);
    color: var(--ds-bone);
    border-radius: 4px;
}

input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
    border: 1px solid var(--ds-fire-dark);
    box-shadow: 0 0 15px rgba(199, 62, 29, 0.3);
    outline: none;
}

/* ============================================ */
/* VIDEO BACKGROUND - CORREGIDO */
/* ============================================ */

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%,-50%);
    object-fit: cover;
    z-index: 0;
}

.video-overlay-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.75);
    z-index: 1;
    pointer-events: none;
}

/* ============================================ */
/* DARK SOULS GATE - NUEVA DISTRIBUCION */
/* ============================================ */

#ds-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    font-family: 'Cinzel', serif;
}

.ember-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff6b35 0%, #c73e1d 50%, transparent 100%);
    border-radius: 50%;
    animation: floatEmber 4s linear infinite;
    box-shadow: 0 0 10px #ff6b35, 0 0 20px #c73e1d;
}

@keyframes floatEmber {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(0);
        opacity: 0;
    }
}

.gate-vignette-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.95) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.9) 100%);
    z-index: 3;
    pointer-events: none;
}

/* NAVBAR */
.gate-top-nav-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container-dark {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo-dark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ds-bone);
}

.skull-icon-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(212, 197, 176, 0.3));
    transition: all 0.3s ease;
}

.skull-icon-nav svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.skull-icon-nav:hover {
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
    transform: scale(1.05);
}

.logo-text-dark {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--ds-bone);
    text-shadow: 0 0 15px rgba(212, 197, 176, 0.3);
}

.nav-center-dark {
    display: flex;
    gap: 35px;
}

.nav-link-dark {
    color: var(--ds-bone-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-family: 'Cinzel', serif;
}

.nav-link-dark:hover {
    color: var(--ds-fire);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.nav-link-dark::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ds-fire), transparent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--ds-fire);
}

.nav-link-dark:hover::after {
    width: 100%;
}

.nav-link-dark.highlight {
    color: var(--ds-fire-bright);
    font-weight: 700;
}

.nav-right-dark {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon-dark {
    color: var(--ds-bone-dark);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-icon-dark:hover {
    color: var(--ds-fire);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.nav-btn-dark {
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(40,30,25,0.9), rgba(25,20,15,0.9));
    color: var(--ds-bone);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid rgba(139, 115, 85, 0.4);
    font-family: 'Cinzel', serif;
    position: relative;
    overflow: hidden;
}

.nav-btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-btn-dark:hover::before {
    left: 100%;
}

.nav-btn-dark:hover {
    transform: translateY(-2px);
    border-color: var(--ds-fire);
    box-shadow: 0 5px 25px rgba(199, 62, 29, 0.4);
    color: var(--ds-fire-bright);
}

/* ============================================ */
/* NUEVA DISTRIBUCION - DOS COLUMNAS */
/* ============================================ */

.gate-hero-dark {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 40px;
    text-align: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* COLUMNA IZQUIERDA */
.hero-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

/* COLUMNA DERECHA */
.hero-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 500px;
}



/* ============================================ */
/* LOGO Y BRAND */
/* ============================================ */

.gate-brand-dark {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.main-title-dark {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 10px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ds-bone);
    text-shadow: 
        0 0 20px rgba(212, 197, 176, 0.3),
        0 0 40px rgba(199, 62, 29, 0.2),
        0 4px 8px rgba(0,0,0,0.9);
    position: relative;
}

.subtitle-dark {
    font-family: 'MedievalSharp', cursive;
    font-size: 14px;
    color: var(--ds-fire);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
    animation: subtitlePulse 3s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 25px rgba(255, 107, 53, 0.9); }
}

.server-type {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    color: var(--ds-bone-dark);
    letter-spacing: 5px;
    margin-top: 6px;
    text-transform: uppercase;
}

/* CONTADORES */
.players-counter-wrapper-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.players-counter-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
}

.players-counter-dark i {
    color: var(--ds-bone-dark);
    font-size: 14px;
}

.counter-number-dark {
    color: var(--ds-fire);
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.counter-label-dark {
    color: var(--ds-bone-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.counter-trend-dark {
    color: var(--ds-bone);
    font-size: 11px;
    font-weight: 600;
    font-style: italic;
    font-family: 'MedievalSharp', cursive;
}

.online-counter-dark {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(5, 5, 5, 0.95);
    border: 2px solid rgba(139, 115, 85, 0.3);
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.online-counter-dark::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--ds-fire);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ds-fire);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.online-server-name-dark {
    color: var(--ds-bone);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.online-divider-dark {
    color: rgba(139, 115, 85, 0.5);
    font-size: 10px;
}

.online-count-number-dark {
    color: var(--ds-fire);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

/* BOTON PRINCIPAL */
.gate-main-btn-dark {
    position: relative;
    padding: 16px 45px;
    background: linear-gradient(135deg, rgba(30,25,20,0.95) 0%, rgba(20,15,10,0.95) 100%);
    border: 2px solid rgba(199, 62, 29, 0.5);
    border-radius: 8px;
    color: var(--ds-bone);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 
        0 0 40px rgba(199, 62, 29, 0.3),
        0 10px 40px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
}

.gate-main-btn-dark:hover {
    transform: translateY(-3px);
    border-color: var(--ds-fire);
    box-shadow: 
        0 0 60px rgba(255, 107, 53, 0.5),
        0 15px 50px rgba(0,0,0,0.6),
        inset 0 0 30px rgba(255, 107, 53, 0.2);
    color: var(--ds-fire-bright);
}

.btn-ember-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.4), transparent);
    transition: left 0.6s ease;
}

.gate-main-btn-dark:hover .btn-ember-glow {
    left: 100%;
}

.btn-fire-icon {
    color: var(--ds-fire);
    animation: iconFlicker 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes iconFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* FEATURES INFERIORES */
.gate-features-dark {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    z-index: 10;
}

.feature-item-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ds-bone-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

.feature-item-dark i {
    color: var(--ds-fire);
    font-size: 14px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

/* ============================================ */
/* COLUMNA DERECHA - INFO SERVIDOR */
/* ============================================ */

.server-announcement-dark {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 12px;
    padding: 30px 40px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.3s both;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.5),
        inset 0 0 30px rgba(199, 62, 29, 0.05);
    width: 100%;
}

.server-announcement-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    animation: shine 4s infinite;
}

.announcement-label-dark {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    color: var(--ds-fire);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

.server-name-big-dark {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ds-bone);
    letter-spacing: 3px;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(212, 197, 176, 0.2);
}

.server-tagline {
    font-family: 'MedievalSharp', cursive;
    font-size: 12px;
    color: var(--ds-bone-dark);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.opening-info-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    font-family: 'Cinzel', serif;
}

.status-pill-dark {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ds-fire);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 11px;
}

.ember-pulse {
    width: 6px;
    height: 6px;
    background: var(--ds-fire);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ds-fire);
    animation: emberPulse 2s infinite;
}

@keyframes emberPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.date-separator-dark {
    color: rgba(139, 115, 85, 0.5);
}

.opening-date-dark {
    color: var(--ds-bone);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 11px;
}

/* STATS BOXES */
.gate-stats-dark {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    animation: fadeInUp 1s ease 0.9s both;
}

.stat-box-dark {
    width: 100%;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-box-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--ds-fire-dark), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box-dark:hover::before {
    opacity: 1;
}

.stat-box-dark:hover {
    transform: translateX(5px);
    border-color: rgba(199, 62, 29, 0.4);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(199, 62, 29, 0.1);
}

.stat-box-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-box-dark i {
    font-size: 20px;
    color: var(--ds-fire);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-title-dark {
    font-size: 9px;
    color: var(--ds-bone-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: 'Cinzel', serif;
}

.stat-value-dark {
    font-size: 16px;
    color: var(--ds-bone);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

.stat-number-dark {
    font-size: 14px;
    color: var(--ds-fire);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
    font-family: 'Orbitron', sans-serif;
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fire-spark {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ff6b35 0%, #c73e1d 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    animation: sparkFly 1s ease-out forwards;
    box-shadow: 0 0 10px #ff6b35;
}

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--distance), -100px) scale(0);
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .gate-hero-dark {
        gap: 40px;
        padding: 80px 30px 40px;
    }
    
    .main-title-dark {
        font-size: 42px;
        letter-spacing: 8px;
    }
}

@media (max-width: 1024px) {
    .nav-container-dark {
        padding: 0 20px;
    }
    
    .nav-center-dark {
        display: none;
    }
    
    .gate-hero-dark {
        flex-direction: column;
        gap: 50px;
        padding-top: 80px;
    }
    
    .hero-left-column,
    .hero-right-column {
        max-width: 600px;
        width: 100%;
    }
    
    .main-title-dark {
        font-size: 42px;
        letter-spacing: 8px;
    }
    
    .server-announcement-dark {
        padding: 25px 30px;
    }
    
    .server-name-big-dark {
        font-size: 28px;
    }
    
    .gate-stats-dark {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-box-dark {
        width: calc(33.333% - 10px);
        min-width: 150px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-box-dark::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }
    
    .ghost-container {
        width: 60px;
        height: 75px;
    }
}

@media (max-width: 768px) {
    .gate-top-nav-dark {
        height: 55px;
    }
    
    .skull-icon-nav {
        width: 30px;
        height: 30px;
    }
    
    .logo-text-dark {
        font-size: 16px;
    }
    
    .main-title-dark {
        font-size: 32px;
        letter-spacing: 5px;
    }
    
    .subtitle-dark {
        font-size: 12px;
        letter-spacing: 5px;
    }
    
    .server-announcement-dark {
        padding: 20px 25px;
        margin: 0 15px 15px;
    }
    
    .server-name-big-dark {
        font-size: 22px;
    }
    
    .opening-info-dark {
        flex-direction: column;
        gap: 8px;
    }
    
    .date-separator-dark {
        display: none;
    }
    
    .gate-main-btn-dark {
        padding: 14px 35px;
        font-size: 12px;
    }
    
    .gate-features-dark {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .feature-item-dark span {
        display: none;
    }
    
    .gate-stats-dark {
        flex-direction: column;
        width: 100%;
    }
    
    .stat-box-dark {
        width: 100%;
        flex-direction: row;
        text-align: left;
    }
    
    .stat-box-dark::before {
        width: 3px;
        height: 100%;
        left: 0;
        top: 0;
    }
    
    .ghost-container {
        width: 50px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .main-title-dark {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .subtitle-dark {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .gate-hero-dark {
        padding: 70px 20px 30px;
    }
    
    .server-announcement-dark {
        padding: 15px 20px;
    }
    
    .server-name-big-dark {
        font-size: 20px;
    }
    
    .gate-main-btn-dark {
        padding: 12px 30px;
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .gate-features-dark {
        gap: 15px;
    }
    
    .feature-item-dark {
        font-size: 9px;
    }
    
    .ghost-container {
        width: 45px;
        height: 55px;
    }
}

/* ============================================ */
/* RESTO DE ESTILOS ORIGINALES */
/* ============================================ */

.global-top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 40px !important;
    line-height: 40px !important;
    background: rgba(5, 5, 5, 0.98) !important;
    z-index: 99999 !important;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.global-top-bar .global-top-bar-content {
    width: 1040px !important;
    margin: 0 auto !important;
    position: relative !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    overflow: visible !important;
}

.global-top-bar a {
    line-height: 40px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    color: var(--ds-bone-dark) !important;
}

.global-top-bar a:hover {
    color: var(--ds-fire) !important;
}

.webengine-language-switcher {
    display: inline-block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 46px !important;
    height: 26px !important;
    overflow: hidden !important;
    transition: all .3s ease !important;
    position: absolute !important;
    left: 0 !important;
    top: 7px !important;
    z-index: 100000 !important;
}

.webengine-language-switcher:hover {
    width: 400px !important;
}

.webengine-language-switcher li {
    display: inline-block !important;
    list-style-type: none !important;
    background: #1a1a1a !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    transition: all .3s ease !important;
    line-height: 20px !important;
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.webengine-language-switcher li a {
    color: var(--ds-bone-dark) !important;
    line-height: 20px !important;
    display: inline-block !important;
}

.webengine-language-switcher li a:hover {
    color: var(--ds-fire) !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    padding-top: 40px !important;
}

#header {
    width: 100%;
    margin: 0px auto;
    padding: 30px 0px 25px 0px;
    text-align: center;
    color: rgba(139, 115, 85, 0.3);
    position: relative;
}

#container {
    width: 1040px;
    margin: 0px auto 50px auto;
    padding: 45px 40px 50px 40px;
    background: linear-gradient(
        180deg,
        rgba(15,15,15,0.98) 0%,
        rgba(10,10,10,0.98) 100%
    );
    border-radius: 16px 16px 0 0;
    box-shadow:
        0 40px 90px rgba(0,0,0,0.9),
        inset 0 0 40px rgba(139, 115, 85, 0.03);
    border: 1px solid rgba(139, 115, 85, 0.15);
    position: relative;
    overflow: hidden;
}

#container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        to right,
        transparent,
        var(--ds-fire-dark),
        var(--ds-fire),
        var(--ds-fire-dark),
        transparent
    );
    box-shadow: 0 2px 15px rgba(199, 62, 29, 0.6);
    transform: scaleX(0);
    transform-origin: center;
    animation: fireLoad 1.4s ease-out forwards;
}

@keyframes fireLoad {
    0% { transform: scaleX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scaleX(1); opacity: 1; }
}

#content {
    width: 100%;
    min-height: 500px;
    padding: 0;
}

.footer {
    width: 1040px;
    margin: 0 auto;
    border-radius: 0 0 16px 16px;
}

.footer::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 115, 85, 0.4), transparent);
    margin-bottom: 20px;
}

.footer > .footer-container {
    width: 100%;
    margin: 0px auto;
}

.footer a {
    color: rgba(139, 115, 85, 0.8);
    text-decoration: none;
    transition: all .3s ease;
}

.footer a:hover {
    color: var(--ds-fire);
    text-decoration: underline !important;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

#navbar {
    width: 100% !important;
    position: relative !important;
    z-index: 1000 !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 20px 0 !important;
}

#navbar ul {
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

#navbar ul li {
    list-style: none !important;
    display: inline-block !important;
    margin: 0 10px !important;
    float: none !important;
    background: transparent !important;
}

#navbar ul li a {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 13px !important;
    padding: 18px 32px !important;
    color: var(--ds-bone) !important;
    background: linear-gradient(135deg, rgba(30,30,30,0.9), rgba(20,20,20,0.9)) !important;
    border: 2px solid rgba(139, 115, 85, 0.4) !important;
    border-radius: 8px !important;
    box-shadow:
        0 4px 15px rgba(0,0,0,0.5),
        inset 0 0 10px rgba(0,0,0,0.5) !important;
    transition: all .3s ease !important;
    float: none !important;
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

#navbar ul li a:hover {
    background: linear-gradient(135deg, rgba(40,30,25,0.95), rgba(25,20,15,0.95)) !important;
    border-color: var(--ds-fire-dark) !important;
    box-shadow:
        0 6px 25px rgba(199, 62, 29, 0.4),
        0 0 30px rgba(255, 107, 53, 0.3),
        inset 0 0 15px rgba(199, 62, 29, 0.1) !important;
    transform: translateY(-3px) !important;
    color: var(--ds-fire-bright) !important;
}

#navbar ul li a i,
#navbar ul li a svg {
    font-size: 18px !important;
    color: var(--ds-bone-dark) !important;
    transition: all 0.3s ease !important;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.8)) !important;
}

#navbar ul li a:hover i,
#navbar ul li a:hover svg {
    color: var(--ds-fire) !important;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8)) !important;
    transform: scale(1.1) !important;
}

.header-info-container {
    width: 1040px;
    margin: 0px auto;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.header-info {
    display: inline-block;
    width: 100%;
    background: transparent !important;
    margin: 0;
    padding: 20px 0;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
}

.header-info ul {
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent !important;
}

.header-info ul li {
    list-style: none;
    display: inline-block;
    margin: 0 8px;
    background: transparent !important;
}

.header-info ul li a {
    display: inline-block;
    color: var(--ds-bone) !important;
    text-decoration: none;
    padding: 12px 26px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(20, 20, 20, 0.8) !important;
    border-radius: 12px;
    border: 1px solid rgba(139, 115, 85, 0.3);
    box-shadow:
        0 4px 14px rgba(0,0,0,0.4),
        inset 0 0 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.header-info ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ds-fire), transparent);
    transition: width 0.35s ease;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 0 10px var(--ds-fire);
}

.header-info ul li a:hover::after,
.header-info ul li a.active::after {
    width: 100%;
}

.header-info ul li a:hover {
    transform: translateY(-2px);
    color: var(--ds-fire-bright) !important;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
    box-shadow:
        0 8px 25px rgba(0,0,0,0.5),
        inset 0 0 15px rgba(199, 62, 29, 0.1);
    border-color: rgba(199, 62, 29, 0.5);
}

.page-title {
    background: linear-gradient(135deg, rgba(25,20,15,0.95), rgba(15,15,15,0.95));
    color: var(--ds-bone);
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 28px;
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.03);
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ds-fire-dark), transparent);
    opacity: 0.8;
    box-shadow: 0 0 10px var(--ds-fire-dark);
}

.panel-news {
    margin-top: 0;
    position: relative;
    z-index: 5;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20,20,20,0.98) 0%, rgba(12,12,12,0.98) 100%);
    border: 1px solid rgba(139, 115, 85, 0.15);
    box-shadow:
        0 4px 20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}

.panel-news::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(199, 62, 29, 0.05),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 10;
}

.panel-news:hover::before {
    left: 150%;
}

.panel-news:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.7),
        0 0 25px rgba(199, 62, 29, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.03);
    border-color: rgba(199, 62, 29, 0.3);
}

.panel-news .panel-heading {
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(30,25,20,0.95) 0%, rgba(20,18,15,0.95) 100%);
    border-bottom: 2px solid rgba(139, 115, 85, 0.2);
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 5;
}

.panel-news .panel-heading::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--ds-fire-dark), 
        transparent
    );
    opacity: 0.6;
    box-shadow: 0 0 8px var(--ds-fire-dark);
}

.panel-news .panel-heading a {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ds-bone);
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    transition: all 0.25s ease;
    font-family: 'Cinzel', serif;
}

.panel-news .panel-heading a:hover {
    color: var(--ds-fire);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
}

.panel-news .panel-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ds-bone-dark);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    z-index: 5;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

.panel-news .panel-title::before {
    content: "✦";
    margin-right: 8px;
    color: var(--ds-fire);
    font-size: 10px;
    text-shadow: 0 0 8px var(--ds-fire);
}

.panel-news .panel-body {
    background: rgba(15,15,15,0.6);
    padding: 20px;
    position: relative;
    z-index: 5;
    color: var(--ds-text);
    line-height: 1.6;
}

.panel-news .panel-footer {
    padding: 0.9rem 1.2rem;
    background: linear-gradient(145deg, rgba(20,20,20,0.9), rgba(12,12,12,0.95));
    font-style: italic;
    font-size: 13px;
    color: var(--ds-bone-dark);
    border-top: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 5;
}

.panel-news .panel-footer strong {
    color: var(--ds-bone);
    font-weight: 600;
}

.rankings-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    padding: 1rem 1rem;
    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.96),
        rgba(12,12,12,0.96)
    );
    border: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: 0.6rem;
    box-shadow:
        0 0 30px rgba(0,0,0,0.7),
        inset 0 0 20px rgba(0,0,0,0.3);
}

.rankings-class-image-sidebar {
    width: 25px;
    height: auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
    border-radius: 4px;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.rankings-class-image {
    width: 40px;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease, filter 0.2s ease;
    box-shadow:
        0 0 15px rgba(0,0,0,0.9),
        0 0 8px rgba(199, 62, 29, 0.2);
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.rankings-class-image:hover {
    transform: scale(1.06);
    filter: brightness(120%) drop-shadow(0 0 8px rgba(255, 107, 53, 0.4));
}

.rankings-table tr td {
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
    padding: 12px;
    font-size: 18px;
    vertical-align: middle !important;
    text-align: center;
    color: var(--ds-text);
    transition: all 0.25s ease;
}

.rankings-table tr:hover td {
    background: rgba(199, 62, 29, 0.05);
    color: var(--ds-bone);
}

.rankings-table-place {
    color: var(--ds-fire);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
    text-align: center;
    font-family: 'Cinzel', serif;
}

.default-char-offline {
    border: 3px solid #333;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    vertical-align: middle;
}

.default-char-online {
    border: 3px solid var(--ds-fire-dark);
    box-shadow: 0 0 15px rgba(199, 62, 29, 0.6);
    vertical-align: middle;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--ds-fire-bright) !important;
    background-color: rgba(199, 62, 29, 0.2) !important;
    border-color: var(--ds-fire) !important;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.page-link {
    color: var(--ds-bone) !important;
    background-color: rgba(20,20,20,0.9) !important;
    border-color: rgba(139, 115, 85, 0.3) !important;
}

.page-link:hover {
    background-color: rgba(199, 62, 29, 0.15) !important;
    color: var(--ds-fire) !important;
}

.rankings-table tr:first-child td {
    color: var(--ds-fire-bright);
    border-bottom: 3px solid var(--ds-fire);
    background: linear-gradient(
        to right,
        rgba(40,25,15,0.9),
        rgba(25,15,10,0.9),
        rgba(40,25,15,0.9)
    );
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    letter-spacing: 1px;
    font-weight: 700;
}

.panel-sidebar {
    background: rgba(20,20,20,0.95);
    border: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 7px 14px 0 rgb(0 0 0 / 30%), 0 3px 6px 0 rgb(0 0 0 / 20%);
}

.panel-sidebar > .panel-heading {
    background: linear-gradient(135deg, rgba(35,25,20,0.95), rgba(25,18,12,0.95));
    color: var(--ds-bone);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: 0px;
    border-radius: 0px;
    border-bottom: 2px solid rgba(199, 62, 29, 0.5);
    padding: 15px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(199, 62, 29, 0.3);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(139, 115, 85, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(40,30,25,1), rgba(30,25,20,1));
    box-shadow: 0 6px 20px rgba(199, 62, 29, 0.3);
    transform: translateY(-2px);
    border-color: var(--ds-fire-dark);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(199, 62, 29, 0.3);
}

.btn-outline-primary {
    color: var(--ds-bone);
    border-color: rgba(139, 115, 85, 0.5);
    background: transparent;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.btn-outline-primary:hover {
    color: var(--ds-fire);
    background: rgba(199, 62, 29, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    border-color: var(--ds-fire);
}

.text-primary {
    color: var(--ds-fire) !important;
}

.bg-primary {
    background: linear-gradient(135deg, rgba(30,25,20,1), rgba(20,18,15,1)) !important;
}

.border-primary {
    border-color: rgba(139, 115, 85, 0.5) !important;
}

/* ========================= */
/* WEBSITE LOGO */
/* ========================= */

.webengine-mu-logo-dark {
    position: relative;
    display: inline-block;
    z-index: 10;
    width: auto;
    max-width: 600px;
    margin: 0 auto;
    filter: brightness(0.9) contrast(1.1) drop-shadow(0 0 15px rgba(199, 62, 29, 0.3));
    transition: all 0.5s ease;
}

.webengine-mu-logo-dark img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.webengine-mu-logo-dark:hover {
    filter: brightness(1) contrast(1.2) drop-shadow(0 0 30px rgba(255, 107, 53, 0.5));
    transform: scale(1.02);
}

.webengine-mu-logo-dark::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(199, 62, 29, 0.12) 0%, transparent 70%);
    z-index: -1;
    animation: logoFireGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoFireGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* ============================================ */
/* BOTONES FLOTANTES - CORREGIDO Z-INDEX */
/* ============================================ */

.floating-buttons-dark {
    position: fixed;
    left: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.float-btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--ds-bone);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    min-width: 140px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transition: all .25s ease;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid rgba(139, 115, 85, 0.4);
    font-family: 'Cinzel', serif;
    position: relative;
    overflow: hidden;
}

.float-btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s ease;
}

.float-btn-dark:hover::before {
    left: 100%;
}

.float-btn-dark i {
    font-size: 16px;
    color: var(--ds-bone-dark);
    transition: all .25s ease;
}

.discord-dark {
    border-color: rgba(88, 101, 242, 0.4);
}

.discord-dark:hover {
    border-color: rgba(88, 101, 242, 0.8);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.whatsapp-dark {
    border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-dark:hover {
    border-color: rgba(37, 211, 102, 0.8);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.missions-dark {
    border-color: rgba(199, 62, 29, 0.4);
}

.missions-dark:hover {
    border-color: var(--ds-fire);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.4);
    color: var(--ds-fire-bright);
}

.float-btn-dark:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7) !important;
    color: var(--ds-fire-bright) !important;
    background: linear-gradient(135deg, #2a2020, #1a1515) !important;
}

.float-btn-dark:hover i {
    color: var(--ds-fire);
    transform: scale(1.1);
}

#container,
#navbar,
.header-info-container,
.global-top-bar {
    position: relative;
    z-index: 2;
}

.table-guild {
    color: var(--ds-text);
    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.95),
        rgba(12,12,12,0.95)
    );
    border: 1px solid rgba(139, 115, 85, 0.15);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.3);
    border-radius: 6px;
}

.castle-siege-buttons a {
    color: var(--ds-bone) !important;
    transition: color 0.3s ease;
}

.castle-siege-buttons a:hover {
    color: var(--ds-fire) !important;
}

.banners-sidebar img {
    border: 1px solid rgba(139, 115, 85, 0.3);
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.banners-sidebar img:hover {
    box-shadow: 0 0 20px rgba(199, 62, 29, 0.3);
    transform: translateY(-2px);
    border-color: rgba(199, 62, 29, 0.5);
}

.webengine-online-bar {
    width: 100%;
    background: #000000;
    border: 1px solid #333;
    height: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0px;
    border-radius: 4px;
    overflow: hidden;
    transition: all .3s ease;
}

.webengine-online-bar .webengine-online-bar-progress {
    height: 8px;
    background: linear-gradient(90deg, var(--ds-fire-dark), var(--ds-fire));
    border-radius: 0px 1px 1px 0px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.webengine-online-bar:hover {
    filter: brightness(120%);
}

.news-banner {
    width: 100%;
    max-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.8),
        0 0 20px rgba(199, 62, 29, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.ember-popup {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    z-index: 1000;
    transition: all 0.3s ease;
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 20px #ff6b35;
}

.sidebar-banner-gold {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 300px;
    height: 80px;
    margin: 3px auto;
    padding: 0 !important;
    line-height: 0 !important;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--ds-bone);
    text-decoration: none;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    border: 2px solid rgba(139, 115, 85, 0.5);
    border-radius: 14px;
    box-shadow:
        0 0 20px rgba(0,0,0,0.5),
        inset 0 0 15px rgba(199, 62, 29, 0.1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.mu-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1a1510, #0f0c0a);
    border-color: var(--ds-fire);
    color: var(--ds-fire-bright) !important;
    box-shadow:
        0 0 40px rgba(199, 62, 29, 0.4),
        inset 0 0 20px rgba(255, 107, 53, 0.2);
}

/* TICKER DE MENSAJES */
.message-ticker-dark {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    height: 45px;
    overflow: hidden;
    z-index: 99998;
    pointer-events: none;
}

.message-ticker-track-dark {
    position: relative;
    width: 100%;
    height: 100%;
}

.ticker-message-dark {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(15, 10, 8, 0.95), rgba(25, 15, 10, 0.95));
    border: 1px solid rgba(199, 62, 29, 0.3);
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 15px rgba(199, 62, 29, 0.2);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-bone);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    white-space: nowrap;
    opacity: 0;
    pointer-events: auto;
}

.ticker-message-dark.active {
    animation: tickerZoomDark 5s ease-out forwards;
}

.ticker-message-dark::before {
    content: "✦";
    margin-right: 10px;
    color: var(--ds-fire);
    font-size: 12px;
    text-shadow: 0 0 8px var(--ds-fire);
}

.ticker-message-dark::after {
    content: "✦";
    margin-left: 10px;
    color: var(--ds-fire);
    font-size: 12px;
    text-shadow: 0 0 8px var(--ds-fire);
}

@keyframes tickerZoomDark {
    0% {
        transform: translateX(500%) skewX(-40deg);
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    12% {
        transform: translateX(-50%) skewX(0deg);
    }
    86% {
        transform: translateX(-50%) skewX(0deg);
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        transform: translateX(-550%) skewX(40deg);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .nav-center-dark {
        display: none;
    }
    
    .main-title-dark {
        font-size: 42px;
        letter-spacing: 8px;
    }
    
    .server-announcement-dark {
        padding: 18px 30px;
    }
    
    .server-name-big-dark {
        font-size: 28px;
    }
    
    .gate-stats-dark {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #container {
        width: 95%;
        padding: 30px 20px;
    }
    
    .footer {
        width: 95%;
    }
    
    #navbar ul li a {
        padding: 15px 25px;
        font-size: 11px;
    }
    
    .webengine-mu-logo-dark {
        max-width: 95%;
    }
    
    .webengine-mu-logo-dark img {
        max-height: 80px;
    }
    
    .message-ticker-dark {
        top: 50px;
        height: 40px;
    }
    
    .floating-buttons-dark {
        left: 15px;
        bottom: 20px;
        gap: 8px;
    }
    
    .float-btn-dark {
        padding: 10px 14px;
        font-size: 11px;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .gate-top-nav-dark {
        height: 55px;
    }
    
    .nav-container-dark {
        padding: 0 20px;
    }
    
    .skull-icon-nav {
        width: 30px;
        height: 30px;
    }
    
    .main-title-dark {
        font-size: 32px;
        letter-spacing: 5px;
    }
    
    .subtitle-dark {
        font-size: 12px;
        letter-spacing: 5px;
    }
    
    .server-announcement-dark {
        padding: 15px 25px;
        margin: 0 15px 15px;
    }
    
    .server-name-big-dark {
        font-size: 22px;
    }
    
    .opening-info-dark {
        flex-direction: column;
        gap: 8px;
    }
    
    .date-separator-dark {
        display: none;
    }
    
    .gate-main-btn-dark {
        padding: 14px 35px;
        font-size: 12px;
    }
    
    .gate-features-dark {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .feature-item-dark span {
        display: none;
    }
    
    .webengine-mu-logo-dark {
        max-width: 95%;
    }
    
    .webengine-mu-logo-dark img {
        max-height: 70px;
    }
    
    #header {
        padding: 60px 0 20px 0;
    }
    
    .page-title {
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .webengine-language-switcher {
        width: 24px;
        height: 16px;
    }
    
    .webengine-language-switcher:hover {
        width: 280px;
    }
    
    .global-top-bar .global-top-bar-content {
        width: 100%;
        padding: 0 15px;
    }
    
    #navbar ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }
    
    #navbar ul li {
        display: block !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    #navbar ul li a {
        width: 100% !important;
        padding: 12px 8px !important;
        font-size: 10px !important;
    }
    
    .header-info-container {
        width: 100%;
        padding: 0 10px;
    }
    
    .header-info ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
    }
    
    .header-info ul li a {
        width: 100%;
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .floating-buttons-dark {
        left: 10px;
        bottom: 15px;
        gap: 6px;
    }
    
    .float-btn-dark {
        padding: 8px 12px;
        font-size: 10px;
        min-width: 100px;
    }
    
    .float-btn-dark span {
        display: none;
    }
    
    .float-btn-dark i {
        font-size: 18px;
    }
    
    #content {
        min-height: auto;
    }
    
    .panel-news .panel-heading {
        padding: 12px 16px;
    }
    
    .panel-news .panel-heading a {
        font-size: 16px;
    }
    
    .panel-news .panel-body {
        padding: 16px;
    }
    
    .rankings-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .rankings-table tr td {
        padding: 8px;
        font-size: 14px;
    }
    
    .rankings-class-image {
        width: 30px;
    }
    
    .col-lg-8, .col-lg-4 {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .footer {
        width: 100%;
        padding: 0 20px;
    }
    
    .message-ticker-dark {
        top: 45px;
        height: 40px;
    }
    
    .ticker-message-dark {
        padding: 8px 20px;
        font-size: 11px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .main-title-dark {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .subtitle-dark {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .bonfire-main {
        width: 45px;
        height: 45px;
    }
    
    #header {
        padding: 50px 0 15px 0;
    }
    
    .webengine-mu-logo-dark {
        max-width: 95%;
    }
    
    .webengine-mu-logo-dark img {
        max-height: 55px;
    }
    
    #navbar ul {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    
    #navbar ul li a {
        padding: 10px 8px !important;
        font-size: 10px !important;
        flex-direction: row !important;
        justify-content: center;
        gap: 8px !important;
    }
    
    .header-info ul {
        grid-template-columns: 1fr;
    }
    
    .floating-buttons-dark {
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: row;
        justify-content: center;
        padding: 10px;
        background: rgba(0,0,0,0.9);
        gap: 6px;
    }
    
    .float-btn-dark {
        min-width: auto;
        padding: 8px 12px;
    }
    
    .gate-hero-dark {
        padding-top: 70px;
    }
    
    .gate-brand-dark {
        margin-bottom: 15px;
    }
    
    .server-announcement-dark {
        padding: 12px 15px;
        margin: 0 10px 12px;
    }
    
    .server-name-big-dark {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .announcement-label-dark {
        font-size: 9px;
    }
    
    .opening-info-dark {
        font-size: 10px;
    }
    
    .gate-main-btn-dark {
        padding: 12px 25px;
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .gate-stats-dark {
        gap: 8px;
    }
    
    .stat-box-dark {
        width: 120px;
        padding: 12px;
    }
    
    .stat-box-dark i {
        font-size: 16px;
    }
    
    .stat-title-dark {
        font-size: 8px;
    }
    
    .stat-value-dark {
        font-size: 12px;
    }
    
    .stat-number-dark {
        font-size: 10px;
    }
    
    .gate-features-dark {
        gap: 10px;
        padding: 12px;
    }
    
    .feature-item-dark {
        font-size: 9px;
    }
    
    .message-ticker-dark {
        top: 40px;
        height: 35px;
    }
    
    .ticker-message-dark {
        padding: 6px 15px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    
    .ticker-message-dark::before, .ticker-message-dark::after {
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .ds-mini-banner {
        display: none;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    #header {
        padding: 40px 0 10px 0;
    }
    
    .webengine-mu-logo-dark {
        max-width: 150px;
    }
    
    #navbar ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0 10px !important;
        gap: 6px !important;
    }
    
    #navbar ul li {
        flex-shrink: 0 !important;
    }
    
    #navbar ul li a {
        padding: 10px 15px !important;
        font-size: 10px !important;
    }
    
    .floating-buttons-dark {
        display: none;
    }
}

.admincp-button {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 10px;
    background: rgba(30, 25, 20, 0.9) !important;
    border: 2px solid rgba(199, 62, 29, 0.5) !important;
    color: var(--ds-bone) !important;
    font-weight: bold !important;
    font-family: 'Cinzel', serif;
}

/* OCULTAR ELEMENTOS ANTIGUOS */
#server-gate,
.gate-master-container,
.gate-gif-column,
.gate-center-wrapper,
.gate-wrapper,
.gate-box,
#jewelDrop,
#soulDrop,
#jewelParticles,
#soundToggle,
#royal-gate,
#rb-gate,
#abyss-gate {
    display: none !important;
}

#main-content {
    display: none;
}