/* 🔥 Forçar as laterais a ficarem atrás do modal */
#aparte,
#noticias,
header,
nav,
main {
    position: relative !important;
    z-index: 10 !important;
}

/* Ranking sempre abaixo de overlays */
.mu-ranking,
#ranking,
.ranking,
.table,
.mu-table {
    position: relative;
    z-index: 1;
}



.modal {
    z-index: 99999 !important;
}

.modal-dialog {
    z-index: 100000 !important;
}

.modal-content {
    z-index: 100001 !important;
}


/* Ícone de classe */
.classe-icone {
    width: 28px;
    margin-right: 10px;
}

/* FIX MODAL ATRÁS DO FUNDO ESCURO */
.modal {
    z-index: 99999 !important;
}

/* 🔥 TÍTULOS COM GLOW INVERTIDO */
h1,
h2,
h3 {
    color: #ffffff;
    /* texto branco */
    font-weight: bold;
    letter-spacing: 2px;

    /* Neon vermelho + borda suave */
    text-shadow:
        0 0 6px #ff1a1a99,
        /* brilho vermelho suave */
        0 0 12px #ff1a1acc,
        /* neon vermelho */
        0 0 20px #ff0000,
        /* neon mais forte */
        0 0 35px #660000,
        /* profundidade */
        0 0 50px #330000;
    /* sombra distante */
}



/* 🔥 CARD DARK COM BORDA MU */
.accordion-item {
    border: 1px solid rgba(200, 0, 0, 0.6) !important;
    box-shadow: 0 0 12px rgba(200, 0, 0, 0.4),
        inset 0 0 10px rgba(200, 0, 0, 0.3);
    border-radius: 8px;
}

/* 🔥 BOTÃO DO ACCORDION */
.accordion-button {
    background-color: rgba(0, 0, 0, 0.75) !important;
    color: #fff !important;
    font-size: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #900;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(50, 0, 0, 0.85) !important;
    color: #ff4444 !important;
    text-shadow: 0 0 10px #ff0000;
}

/* 🔥 MODAL SEASON 19 */
.modal-content {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #b30000;
    box-shadow: 0 0 25px #ff0000;
    backdrop-filter: blur(8px);
}

/* 🔥 BOTÕES MU */
.btn-warning {
    background-color: #b30000 !important;
    border: none !important;
    color: #fff !important;
    text-shadow: 0 0 10px #ff0000;
}

.btn-success {
    background-color: #b30000 !important;
    border: none !important;
    color: #fff !important;
    text-shadow: 0 0 10px #540101;
}

.btn-close-white {
    filter: brightness(3);
}

/* 🔥 ÍCONE DA CLASSE */
.classe-icone {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    filter: drop-shadow(0 0 4px #ff0000);
}

/* 🔥 MOBILE */
@media (max-width: 768px) {
    #menorquecell {
        display: none !important;
    }
}

.btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 1;
}

.overlay-sections {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);

    z-index: 999999;
    /* 🔥 acima de ranking, footer, sidebar */

    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 15px;
    overflow-y: auto;
}

.list-group {
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
}

/* Item base */
.dark-item {
    background: linear-gradient(180deg,
            rgba(30, 0, 0, 0.95),
            rgba(15, 0, 0, 0.98));
    color: #ffcccc;
    border: 1px solid rgba(255, 0, 0, 0.25);

    font-weight: 600;
    letter-spacing: 0.5px;

    padding: 14px 18px;
    margin-bottom: 6px;

    border-radius: 12px;

    box-shadow:
        inset 0 0 12px rgba(255, 0, 0, 0.12),
        0 0 10px rgba(0, 0, 0, 0.8);

    transition: all 0.25s ease;
}

/* Hover */
.dark-item:hover {
    background: linear-gradient(180deg,
            rgba(70, 0, 0, 0.95),
            rgba(35, 0, 0, 0.98));

    color: #ffffff;

    box-shadow:
        inset 0 0 18px rgba(255, 60, 60, 0.45),
        0 0 20px rgba(255, 0, 0, 0.6);

    transform: translateX(4px);
}

/* Active / selecionado */
.dark-item.active {
    background: linear-gradient(180deg,
            rgba(120, 0, 0, 0.95),
            rgba(60, 0, 0, 1));

    color: #fff;

    border-color: rgba(255, 100, 100, 0.9);

    box-shadow:
        inset 0 0 25px rgba(255, 80, 80, 0.8),
        0 0 25px rgba(255, 0, 0, 0.9);
}

/* Cursor */
.pointer {
    cursor: pointer;
}

/* Emoji glow */
.dark-item::first-letter {
    filter: drop-shadow(0 0 6px rgba(255, 80, 80, 0.8));
}


.pointer {
    cursor: pointer;
}

/* Sidebar */
.neon-sidebar {
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-right: 2px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* Glow vermelho */
.glow-text {
    text-shadow: 0 0 10px #ff0000;
}

.border-red-glow {
    border: 1px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

/* Menu lateral */
.dark-item {
    background: #111;
    border: 1px solid #222;
    color: white;
    transition: 0.2s;
}

.dark-item:hover {
    background: #400;
    border-color: red;
    color: #ffe6e6;
    transform: scale(1.03);
}

.classe-icone {
    width: 28px;
    margin-right: 10px;
}

.menu-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    margin-bottom: 20px;
}

/* Animação suave */
.animate-section {
    animation: fadein 0.3s ease-in-out;
}

/* Glow vermelho padrão */
.border-red-glow {
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

/* Ícone de classe */
.classe-icone {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 5px red);
}

/* Cabeçalho do personagem */
.char-header {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.char-header:hover {
    background: rgba(255, 0, 0, 0.15) !important;
}

/* Nome fica mais destacado */
.char-name {
    font-size: 1rem;
    text-shadow: 0 0 4px red;
}

/* Lv no canto direito */
.char-level {
    font-weight: bold;
    color: #ffafaf;
}

/* Corpo do accordion */
.char-body {
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 5px;
    animation: fadein 0.4s ease-out;
    position: relative;
}

/* Botão de fechar */
.char-close {
    position: absolute;
    top: 5px;
    right: 8px;
}

/* Estatísticas */
.char-stats {
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Caixa com glow vermelho */
.email-box {
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

/* Bordas vermelhas suaves */
.border-red {
    border: 1px solid rgba(255, 0, 0, 0.4) !important;
}

/* Glow dos textos */
.text-red-glow {
    color: #ffb3b3;
    text-shadow: 0 0 6px red;
}

/* Botão vermelho estiloso */
.btn-red {
    background: linear-gradient(90deg, #b30000, #ff1a1a);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    transition: 0.2s;
}

.btn-red:hover {
    background: linear-gradient(90deg, #ff1a1a, #ff4d4d);
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
}

/* Animação da seção */
.animate-section {
    animation: fadein 0.4s ease-out;
}

/* Caixa com glow vermelho */
.senha-box {
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

/* Bordas vermelhas */
.border-red {
    border: 1px solid rgba(255, 0, 0, 0.4) !important;
}

/* Glow texto */
.text-red-glow {
    color: #ffb3b3;
    text-shadow: 0 0 6px red;
}

/* Botão vermelho estiloso */
.btn-red {
    background: linear-gradient(90deg, #b30000, #ff1a1a);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    transition: 0.2s;
}

.btn-red:hover {
    background: linear-gradient(90deg, #ff1a1a, #ff4d4d);
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
}

/* Animação suave */
.animate-section {
    animation: fadein 0.4s ease-out;
}

/* Remove seta padrão do Bootstrap */
.no-arrow::after {
    display: none !important;
}

/* Container principal */
.char-item {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}

/* Cabeçalho */
.char-header {
    background: rgba(20, 0, 0, 0.75) !important;
    color: white;
    padding: 10px 14px;
    border: none;
    box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.25);
}

/* Hover */
.char-header:hover {
    background: rgba(40, 0, 0, 0.85) !important;
}

/* Nome do char */
.char-name {
    font-weight: 600;
    text-shadow: 0 0 5px red;
}

/* Level no canto */
.char-level {
    font-size: 14px;
    opacity: 0.8;
}

/* Corpo compacto */
.char-body {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.75);
    position: relative;
}

/* Botão X */
.char-close {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* Stats compactas */
.compact-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 4px 12px;
    font-size: 14px;
}

.char-close {
    filter: invert(1) brightness(3);
    text-shadow: 0 0 6px red;
}

.char-close:hover {
    filter: invert(1) brightness(5);
    text-shadow: 0 0 10px red, 0 0 18px red;
}

/* Overlay geral */
.overlay-sections {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}

/* Caixa do conteúdo */
.overlay-box {
    width: 100%;
    max-width: 700px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    animation: fadein 0.3s ease-out;
}

.menu-section {
    position: relative;
}

.overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-right: 32px;
    /* espaço pro X */
}

.overlay-header h3 {
    margin: 0;
    line-height: 1.2;
}

.overlay-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.overlay-close.btn-close {
    filter: invert(1);
    opacity: 1;
}

.overlay-close:hover {
    transform: translateY(-50%) scale(1.2);
    text-shadow: 0 0 12px red;
}

/* ===============================
   🔥 MU S19 - LISTA PERSONAGENS
   =============================== */

.mu-char-list {
    background: linear-gradient(180deg, #0b0b0b, #050505);
    border: 1px solid #5a0000;
    border-radius: 8px;
    padding: 8px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.15);
}

/* Scrollbar custom */
.mu-char-list::-webkit-scrollbar {
    width: 6px;
}

.mu-char-list::-webkit-scrollbar-thumb {
    background: #8d0101;
    border-radius: 6px;
}

/* ITEM */
.char-item-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(180deg, #130000, #090000);
    border: 1px solid #330000;
    border-radius: 6px;

    padding: 10px 12px;
    margin-bottom: 6px;

    cursor: pointer;
    transition: all 0.25s ease;
    color: #cfcfcf;
    font-size: 14px;
}

/* Nome */
.char-name-2 {
    font-weight: 600;
    color: #ffb3b3;
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.4);
}

/* Level */
.char-level-2 {
    font-size: 12px;
    color: #999;
}

/* Hover */
.char-item-2:hover {
    background: linear-gradient(180deg, #2a0000, #120000);
    border-color: #ff0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
    transform: scale(1.02);
}

/* Selecionado */
.char-item-2.selected {
    background: linear-gradient(180deg, #450000, #1a0000);
    border: 1px solid #ff3333;
    box-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        inset 0 0 10px rgba(255, 0, 0, 0.5);
}

.char-item-2.selected .char-name {
    color: #ffffff;
}

/* Remove margem do último */
.char-item-2:last-child {
    margin-bottom: 0;
}

.char-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* Base */
.stat-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 0 6px rgba(0, 0, 0, .6);
    transition: all .2s ease;
}

/* Hover */
.stat-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(255, 255, 255, .15);
}

/* Label */
.stat-label {
    opacity: .8;
}

/* Valor */
.stat-value {
    font-weight: 700;
    color: #ffffff;
}

/* CASH PREMIUM */
.stat-cash {
    background: linear-gradient(135deg, #2b1a00, #5a3a00);
    border-color: #d4af37;
    color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, .45);
}

.stat-cash .stat-value {
    color: #fff3b0;
}

.stat-icon {
    font-size: 15px;
}

/* Compact */
.compact-stats .stat-box {
    padding: 5px 10px;
    font-size: 12px;
}

/* SIDEBAR */
.neon-sidebar {
    padding: 15px;
}

/* CAIXA BASE */
.sidebar-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(129, 2, 2, 0.8);
    border-left: 4px solid #8b0000;
    padding: 15px;

    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.9);
}

/* TÍTULO */
.sidebar-title {
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    color: #ff3b3b;
    margin-bottom: 10px;

    text-shadow: 0 0 8px rgba(129, 2, 2, 0.9);
}

/* USUÁRIO */
.sidebar-user {
    text-align: center;
    font-size: 14px;
    color: #ddd;
    margin-bottom: 12px;
}

.sidebar-user strong {
    color: #ff3b3b;
}

.sidebar-logout {
    display: inline-block;
    padding: 3px 10px;

    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1;

    background: transparent;
    border: 1px solid rgba(129, 2, 2, 0.6);
    color: #bb0b0b;

    border-radius: 3px;
    transition: all 0.2s ease-in-out;
}

.sidebar-logout:hover {
    background: rgba(129, 2, 2, 0.2);
    color: #fff;
}

.menu-header {
    text-align: center;
    margin-bottom: 14px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #ff3b3b;

    text-shadow:
        0 0 6px rgba(129, 2, 2, 0.9),
        0 0 12px rgba(129, 2, 2, 0.6);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* CARD */
.menu-card {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(129, 2, 2, 0.6);
    border-bottom: 2px solid #5c0000;

    padding: 14px 10px;
    cursor: pointer;
    text-align: center;

    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(129, 2, 2, 0.35);

    transition: all 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 18px rgba(255, 60, 60, 0.7),
        inset 0 0 15px rgba(129, 2, 2, 0.4);
}

/* ÍCONE EM PLACA */
.menu-icon-box {
    width: 42px;
    height: 42px;
    margin: 0 auto 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle, #2b0000, #000);
    border: 1px solid rgba(129, 2, 2, 0.8);
    border-radius: 4px;

    font-size: 20px;
    box-shadow:
        inset 0 0 10px rgba(129, 2, 2, 0.7),
        0 0 6px rgba(129, 2, 2, 0.6);
}

/* TEXTO */
.menu-text {
    font-size: 12px;
    letter-spacing: 1px;
    color: #ff3b3b;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 14px;
    margin-bottom: 10px;

    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(129, 2, 2, 0.8);
    border-left: 4px solid #8b0000;

    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(129, 2, 2, 0.4);
}

/* TEXTO */
.mobile-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #ff3b3b;
}

.mobile-welcome {
    font-size: 11px;
    color: #ddd;
}

.mobile-welcome strong {
    color: #ff3b3b;
}

.mobile-logout {
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 1px;

    background: linear-gradient(180deg,
            #8b0000,
            #4d0000);

    border: 1px solid rgba(255, 59, 59, 0.8);
    color: #fff;

    border-radius: 3px;

    box-shadow:
        inset 0 0 6px rgba(255, 0, 0, 0.4),
        0 0 8px rgba(129, 2, 2, 0.6);

    transition: 0.2s ease-in-out;
}

/* HOVER */
.mobile-logout:hover {
    background: linear-gradient(180deg,
            #b30000,
            #660000);

    box-shadow:
        inset 0 0 8px rgba(255, 0, 0, 0.7),
        0 0 12px rgba(255, 59, 59, 0.9);

    transform: translateY(-1px);
}