/*!
 * WebEngine CMS - Tema Abismo Noturno
 * Uma estética sombria e misteriosa para seu mundo de trevas
 * Absolutamente nenhum elemento branco permitido
 */

/* Reset global - banindo o branco do reino das sombras */
*,
*::before,
*::after {
    color: #888888 !important;
    border-color: #333333 !important;
    text-shadow: 0 0 3px #000000 !important;
}

/* Fundos e containers */
html,
body {
    background: #050505 url('../img/background.jpg') no-repeat fixed !important;
    background-size: cover !important;
    background-position: 95% 0% !important;
    color: #888888 !important;
}

/* Fix for overlay blocking modal interaction */
#shadow-smoke-container,
#magic-effect-container,
#global-particles-container {
    pointer-events: none !important;
}

/* Restaurando a imagem para telas grandes */
@media only screen and (min-width: 2000px) {
    body {
        background: #050505 url('../img/background-2600.jpg') no-repeat fixed !important;
        background-size: cover !important;
        background-position: 95% 0% !important;
    }
}

#container,
.container,
#wrapper,
.wrapper,
#content,
.content {
    background-color: rgba(10, 10, 10, 0.95) !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.9) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

/* Elementos de texto - tons de cinza esfumaçado */
p,
span,
div,
li,
td,
th,
label {
    color: #999999 !important;
}

/* Títulos com aura mística */
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.panel-title {
    color: #ff3131 !important;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7) !important;
    letter-spacing: 1px !important;
}

/* Modal Title */
.webengine-modal-title {
    color: #ff3131 !important;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7) !important;
    font-size: 18px !important;
    font-weight: bold !important;
    float: left;
    margin-top: 5px;
}

/* Links como portais para outros reinos */
a,
a:link,
a:visited {
    color: #ff3131 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

a:hover,
a:active,
a:focus {
    color: #ff5c5c !important;
    text-shadow: 0 0 10px rgba(255, 49, 49, 0.7) !important;
}

/* Painéis e cards como janelas para o abismo */
.panel,
.card,
.box,
.well,
.jumbotron,
.thumbnail,
.alert,
.panel-general,
.panel-news,
.panel-downloads,
.panel-sidebar {
    background-color: rgba(15, 15, 15, 0.95) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px) !important;
}

/* Cabeçalhos de painéis como portais místicos */
.panel-heading,
.card-header,
.panel-title {
    background-color: rgba(20, 20, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3) !important;
    background-image: linear-gradient(to right, rgba(255, 0, 0, 0.1), transparent) !important;
}

/* Formulários como rituais arcanos */
input,
textarea,
select,
.form-control {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    color: #363434 !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8) !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    background-color: #181818 !important;
    border: 1px solid #dfa100 !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7) !important;
    color: #999999 !important;
}

/* Botões como cristais mágicos */
.btn,
button,
input[type="button"],
input[type="submit"] {
    background-color: #222222 !important;
    background-image: linear-gradient(to bottom, #222222, #181818) !important;
    border: 1px solid #333333 !important;
    color: #888888 !important;
    text-shadow: 0 1px 2px #000000 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7) !important;
}

/* Botões primários com energia mística */
.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
button.primary,
input[type="submit"] {
    background-color: #dfa100 !important;
    background-image: linear-gradient(to bottom, #dfa100, #8b0000) !important;
    border-color: #8b0000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5) !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.primary:hover,
input[type="submit"]:hover {
    background-image: linear-gradient(to bottom, #ff0000, #dfa100) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7) !important;
    color: #ffffff !important;
}

/* Tabelas como pergaminhos antigos */
table,
.table {
    background-color: rgba(15, 15, 15, 0.95) !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

/* Tabelas universais MuTretas */
table,
.table {
    border-color: rgba(255, 49, 49, 0.2) !important;
}

th,
thead tr {
    background-color: rgba(20, 20, 20, 0.95) !important;
    color: #ff3131 !important;
    border-bottom: 2px solid #ff3131 !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0.15), transparent) !important;
}

td {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #e0e0e0 !important;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border: 1px solid rgba(255, 49, 49, 0.1) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(40, 40, 40, 0.4) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 49, 49, 0.1) !important;
}

tr:nth-child(odd) {
    background-color: rgba(18, 18, 18, 0.95) !important;
}

tr:nth-child(even) {
    background-color: rgba(15, 15, 15, 0.95) !important;
}

tr:hover {
    background-color: rgba(30, 30, 30, 0.95) !important;
}

/* Navegação - Redesign Premium (Portal do Abismo) */
#navbar {
    background-color: rgba(5, 5, 5, 0.4) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border-bottom: 2px solid rgba(255, 0, 0, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 0, 0, 0.2) !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1000 !important;
    margin-top: 0 !important;
}

#navbar ul {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#navbar ul li {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* Divisor sutil entre itens */
#navbar ul li:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 30% !important;
    height: 40% !important;
    width: 1px !important;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 0, 0.3), transparent) !important;
}

#navbar ul li a {
    color: #888888 !important;
    font-family: 'Cinzel', 'PT Sans', serif !important;
    /* Usando Cinzel para ar premium */
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 0 35px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: transparent !important;
    overflow: hidden !important;
}

/* Brilho da seleção (indicador inferior) */
#navbar ul li a::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 3px !important;
    background: #ff3131 !important;
    box-shadow: 0 0 15px #ff3131, 0 0 5px #fff !important;
    transition: all 0.4s ease !important;
    transform: translateX(-50%) !important;
}

#navbar ul li a:hover,
#navbar ul li a.active {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 49, 49, 0.8) !important;
}

#navbar ul li a:hover::before,
#navbar ul li a.active::before {
    width: 80% !important;
}

/* Efeito de flash ao passar o mouse */
#navbar ul li a::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 49, 49, 0.1), transparent) !important;
    transition: none !important;
}

#navbar ul li a:hover::after {
    left: 100% !important;
    transition: all 0.8s ease !important;
}

/* Rodapé como o fim do abismo */
.footer {
    background-color: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 0, 0, 0.2) !important;
    color: #666666 !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8) !important;
}

/* Painéis de notícias como proclamações do além */
.panel-news {
    background-color: rgba(15, 15, 15, 0.95) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
}

.panel-news .panel-heading {
    background-color: rgba(20, 20, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3) !important;
    background-image: linear-gradient(to right, rgba(255, 0, 0, 0.2), transparent) !important;
}

.panel-news .panel-footer {
    background-color: rgba(10, 10, 10, 0.95) !important;
    border-top: 1px solid rgba(255, 0, 0, 0.2) !important;
    color: #666666 !important;
}

/* Rankings como tábuas de poder */
.rankings-table {
    background-color: rgba(15, 15, 15, 0.95) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
}

.rankings-table tr:first-child td {
    color: #ff3131 !important;
    border-bottom: 3px solid #dfa100 !important;
    background-color: rgba(255, 0, 0, 0.2) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0.2), transparent) !important;
}

.rankings-class-image {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    filter: brightness(1.1) contrast(1.1) !important;
}

/* Melhorando a exibição de imagens */
img {
    max-width: 100% !important;
    height: auto !important;
    transition: all 0.3s ease !important;
}

img:hover {
    filter: brightness(1.2) !important;
}

.webengine-mu-logo {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.987)) !important;
}

.webengine-mu-logo:hover {
    /* filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.7)) brightness(1.2) !important; */
    transform: scale(1.05) !important;
}

/* Efeitos de hover e interação */
.panel:hover,
.card:hover,
.btn:hover,
a:hover,
.rankings-class-image:hover {
    transform: translateY(-2px) !important;
    transition: all 0.3s ease !important;
}

/* Barra de informações do cabeçalho */
.header-info-container .header-info {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
}

/* Barra de jogadores online */
.webengine-online-bar {
    background: rgba(5, 5, 5, 0.95) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
}

.webengine-online-bar .webengine-online-bar-progress {
    background: #dfa100 url('../img/online_progress_bar.jpg') no-repeat left center !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7) !important;
}

/* Elementos específicos do painel de usuário */
.panel-usercp {
    background: linear-gradient(to bottom, #181818, #111111) !important;
    border: 1px solid rgba(255, 0, 0, 0.2) !important;
}

.panel-usercp ul li {
    background-color: rgba(20, 20, 20, 0.9) !important;
    border-left: 3px solid transparent !important;
    transition: all 0.3s ease !important;
}

.panel-usercp ul li:hover {
    background-color: rgba(30, 30, 30, 0.9) !important;
    border-left: 3px solid #dfa100 !important;
    transform: translateX(3px) !important;
}



/* Melhorando a exibição de ícones de classe */
.rankings-class-filter-selection img {
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 5px rgba(0, 0, 0, 0.8)) !important;
    transition: all 0.3s ease !important;
}

.rankings-class-filter-selection img:hover {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) !important;
    transform: scale(1.1) !important;
}

/* Melhorando a exibição de banners */
.sidebar-banner img {
    filter: brightness(1.1) contrast(1.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
}

.sidebar-banner img:hover {
    filter: brightness(1.3) contrast(1.2) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5) !important;
}

/* Animações sutis para elementos interativos */
@keyframes pulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

.btn-primary:hover,
.panel-title,
.page-title {
    animation: pulse 2s infinite !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px !important;
    background-color: #111111 !important;
}

::-webkit-scrollbar-thumb {
    background-color: #333333 !important;
    border-radius: 5px !important;
    border: 1px solid #dfa100 !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #444444 !important;
}

/* Efeito de névoa para o fundo */
body::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.7)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Efeito de brilho para elementos importantes */
.btn-primary,
.panel-title,
.page-title,
a:hover {
    position: relative !important;
}

.btn-primary::after,
.panel-title::after,
.page-title::after,
a:hover::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, transparent, rgba(255, 0, 0, 0.2), transparent) !important;
    transform: translateX(-100%) !important;
    animation: shine 3s infinite !important;
    pointer-events: none !important;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Melhorias para imagens específicas */
.castle-siege-block .castle-owner-panel {
    background: rgba(0, 0, 0, 0.7) url('../img/castle_owner_bg.jpg') no-repeat center center !important;
    background-size: cover !important;
}

.castle-owner-widget {
    background: rgba(0, 0, 0, 0.7) url('../img/castle_owner_bg.jpg') no-repeat center center !important;
    background-size: cover !important;
}

/* Melhorias para o logo e imagens de cabeçalho */
#header {
    padding: 80px 0px 10px 0px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

#header::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1), transparent) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#header a:hover::after {
    display: none !important;
    content: none !important;
}

/* Melhorias para imagens de perfil e avatares */
.profiles-image,
.avatar-image {
    border: 2px solid rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4) !important;
    /* Sombra mais leve */
    transition: all 0.3s ease !important;
    filter: none !important;
    /* Remove qualquer filtro */
    -webkit-filter: none !important;
    opacity: 1 !important;
}

.profiles-image:hover,
.avatar-image:hover {
    border-color: #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7) !important;
    transform: scale(3.03) !important;
}

/* Melhorias para imagens de itens do jogo */
.item-image,
.webshop-item,
.inventory-item {
    background-color: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7) !important;
    padding: 5px !important;
    transition: all 0.3s ease !important;
}

.item-image:hover,
.webshop-item:hover,
.inventory-item:hover {
    background-color: rgba(30, 30, 30, 0.9) !important;
    border-color: #dfa100 !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* Melhorias para ícones e imagens pequenas */
.icon-image,
.small-image {
    filter: brightness(1.1) contrast(1.1) !important;
    transition: all 0.3s ease !important;
}

.icon-image:hover,
.small-image:hover {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 5px rgba(255, 0, 0, 0.5)) !important;
    transform: scale(1.1) !important;
}

/* Melhorias para imagens de fundo de eventos */
.event-background {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

.event-background::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    pointer-events: none !important;
}

/* Melhorias para imagens de fundo de usercp */
.panel-usercp {
    background: #111111 url('../img/usercp_bg.jpg') no-repeat center center !important;
    background-size: cover !important;
    position: relative !important;
}

.panel-usercp::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.panel-usercp ul,
.panel-usercp ul li,
.panel-usercp ul li a {
    position: relative !important;
    z-index: 1 !important;
}

/* Correções para imagens específicas que podem estar quebradas */
img[src*="broken"],
img:not([src]),
img[src=""] {
    display: none !important;
}

/* Melhorias para imagens de gens */
.rankings-gens-img {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8)) !important;
    transition: all 0.3s ease !important;
}

.rankings-gens-img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) brightness(1.2) !important;
    transform: scale(1.1) !important;
}

/* Corrigir o fundo branco em campos preenchidos automaticamente */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    /* Fundo escuro para campos autofill */
    -webkit-text-fill-color: #aaaaaa !important;
    /* Cor do texto para campos autofill */
    transition: background-color 5000s ease-in-out 0s;
    /* Hack para prevenir o fundo branco */
    background-clip: content-box !important;
}

/* Firefox e outros navegadores */
@-moz-document url-prefix() {
    input:-webkit-autofill {
        background-color: #1a1a1a !important;
    }
}

/* Microsoft Edge */
input:-ms-input-placeholder:-ms-autofill {
    background-color: #1a1a1a !important;
}

/* Estilos adicionais para garantir consistência */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    background-color: rgba(20, 20, 20, 0.9) !important;
    color: #aaaaaa !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    background-color: rgba(25, 25, 25, 0.9) !important;
    color: #cccccc !important;
    border: 1px solid #dfa100 !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5) !important;
}

/* Estilos para o painel de controle do usuário com !important em todas as propriedades */
.panel-sidebar.panel-usercp,
.panel.panel-sidebar.panel-usercp,
#content .panel.panel-sidebar.panel-usercp {
    background-color: #1a1a1a !important;
    background-image: linear-gradient(to bottom, #222222, #111111) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

.panel-sidebar.panel-usercp .panel-heading,
.panel.panel-sidebar.panel-usercp .panel-heading,
#content .panel.panel-sidebar.panel-usercp .panel-heading {
    background-color: rgba(20, 20, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3) !important;
    background-image: linear-gradient(to right, rgba(255, 0, 0, 0.1), transparent) !important;
}

.panel-sidebar.panel-usercp .panel-body,
.panel.panel-sidebar.panel-usercp .panel-body,
#content .panel.panel-sidebar.panel-usercp .panel-body {
    background-color: rgba(15, 15, 15, 0.95) !important;
    background-image: none !important;
    padding: 10px !important;
}

.panel-sidebar.panel-usercp ul,
.panel.panel-sidebar.panel-usercp ul,
#content .panel.panel-sidebar.panel-usercp ul {
    list-style-type: none !important;
    padding: 10px !important;
    margin: 0px !important;
    background-color: transparent !important;
}

.panel-sidebar.panel-usercp ul li,
.panel.panel-sidebar.panel-usercp ul li,
#content .panel.panel-sidebar.panel-usercp ul li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
    background-color: rgba(30, 30, 30, 0.9) !important;
    padding: 0 !important;
    position: relative !important;
    height: auto !important;
    min-height: 40px !important;
    line-height: normal !important;
}

.panel-sidebar.panel-usercp ul li:hover,
.panel.panel-sidebar.panel-usercp ul li:hover,
#content .panel.panel-sidebar.panel-usercp ul li:hover {
    background-color: rgba(40, 40, 40, 0.9) !important;
    border-left: 3px solid #dfa100 !important;
}

.panel-sidebar.panel-usercp ul li a,
.panel.panel-sidebar.panel-usercp ul li a,
#content .panel.panel-sidebar.panel-usercp ul li a {
    display: block !important;
    width: 100% !important;
    padding: 10px 10px 10px 45px !important;
    color: #e0e0e0 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.panel-sidebar.panel-usercp ul li a:active,
.panel-sidebar.panel-usercp ul li a:hover,
.panel.panel-sidebar.panel-usercp ul li a:active,
.panel.panel-sidebar.panel-usercp ul li a:hover,
#content .panel.panel-sidebar.panel-usercp ul li a:active,
#content .panel.panel-sidebar.panel-usercp ul li a:hover {
    color: #dfa100 !important;
}

.panel-sidebar.panel-usercp ul li img,
.panel.panel-sidebar.panel-usercp ul li img,
#content .panel.panel-sidebar.panel-usercp ul li img {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 25px !important;
    height: 25px !important;
    z-index: 1 !important;
}

.panel-sidebar.panel-usercp .panel-title,
.panel.panel-sidebar.panel-usercp .panel-title,
#content .panel.panel-sidebar.panel-usercp .panel-title {
    color: #dfa100 !important;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7) !important;
}

.panel-sidebar.panel-usercp .btn-primary,
.panel.panel-sidebar.panel-usercp .btn-primary,
#content .panel.panel-sidebar.panel-usercp .btn-primary {
    background-color: #dfa100 !important;
    background-image: linear-gradient(to bottom, #dfa100, #8b0000) !important;
    border-color: #8b0000 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.panel-sidebar.panel-usercp .btn-primary:hover,
.panel.panel-sidebar.panel-usercp .btn-primary:hover,
#content .panel.panel-sidebar.panel-usercp .btn-primary:hover {
    background-image: linear-gradient(to bottom, #ff0000, #dfa100) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7) !important;
}

/* Restaurar efeitos visuais para o painel de informações do cabeçalho */
.header-info-container .header-info {
    position: relative !important;
    /* Fix for absolute children */
    overflow: visible !important;
    /* Avoid scrollbars from glow */
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
    text-shadow: 1px 1px 3px #000000 !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.header-info-container .header-info:hover {
    border: 1px solid rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3) !important;
}

/* Restaurar efeitos visuais para a barra de usuários online */
.webengine-online-bar {
    background: rgba(10, 10, 10, 0.7) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    height: 8px !important;
    margin: 10px 0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.webengine-online-bar:hover {
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3) !important;
}

.webengine-online-bar .webengine-online-bar-progress {
    height: 8px !important;
    background: #dfa100 url('../img/online_progress_bar.jpg') no-repeat left center !important;
    border-radius: 0 1px 1px 0 !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7) !important;
}

/* Restaurar cor para a contagem de usuários online */
.header-info-container .header-info .header-info-block .online-count {
    color: #00ff00 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5) !important;
}

/* Melhorar a aparência dos horários */
.header-info-container .header-info .header-info-block #tServerTime,
.header-info-container .header-info .header-info-block #tLocalTime {
    color: #ffffff !important;
    font-weight: bold !important;
}

.header-info-container .header-info .header-info-block #tServerDate,
.header-info-container .header-info .header-info-block #tLocalDate {
    color: #cccccc !important;
    font-style: italic !important;
}

/* Melhorar a aparência dos rótulos */
.header-info-container .header-info .header-info-block .col-xs-6.text-left {
    color: #aaaaaa !important;
}

/* Efeito de transparência para a barra de navegação */
#navbar {
    background-color: rgba(10, 10, 10, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid rgba(255, 0, 0, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
    transition: all 0.3s ease !important;
}

#navbar:hover {
    border-bottom: 1px solid rgba(255, 0, 0, 0.5) !important;
}

#navbar ul {
    text-align: center !important;
    margin: 0px !important;
    -webkit-padding-start: 0px !important;
}

#navbar ul li {
    list-style-type: none !important;
    display: inline-block !important;
    font-size: 16px !important;
}

#navbar ul li a {
    display: inline-block !important;
    color: #cccccc !important;
    text-decoration: none !important;
    padding: 20px 30px !important;
    transition: all .3s ease !important;
    text-transform: uppercase !important;
    position: relative !important;
    overflow: hidden !important;
}

#navbar ul li a:active,
#navbar ul li a:focus,
#navbar ul li a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: rgba(255, 0, 0, 0.3) !important;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7) !important;
}

/* Efeito de brilho ao passar o mouse */
#navbar ul li a::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent) !important;
    transition: 0.5s !important;
}

#navbar ul li a:hover::after {
    left: 100% !important;
}

/* Indicador de item ativo */
#navbar ul li a.active {
    background-color: rgba(255, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border-bottom: 2px solid #dfa100 !important;
}

/* Efeito de transparência para o footer */
.footer {
    background-color: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.7) !important;
    transition: all 0.3s ease !important;
    color: #aaaaaa !important;
}

.footer:hover {
    border-top: 1px solid rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 -5px 20px rgba(255, 0, 0, 0.2) !important;
}

.footer a {
    color: #ff3131 !important;
    transition: all 0.3s ease !important;
}

.footer a:hover {
    color: #ff5c5c !important;
    text-shadow: 0 0 10px rgba(255, 49, 49, 0.7) !important;
    text-decoration: none !important;
}

.footer hr {
    border-top: 1px solid rgba(255, 0, 0, 0.2) !important;
    margin: 20px 0 !important;
}

.footer p {
    color: #777777 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.footer-social-link {
    display: inline-block !important;
    transition: all 0.3s ease !important;
    filter: grayscale(100%) !important;
    opacity: 0.7 !important;
}

.footer-social-link:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: translateY(-5px) !important;
}

.footer-social-link img {
    transition: all 0.3s ease !important;
}

.footer-social-link:hover img {
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7)) !important;
}

/* Correção para os indicadores de status online */
.online-status-indicator {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: none !important;
    height: auto !important;
}

.online-status-indicator:hover {
    filter: none !important;
    transform: none !important;
}

/* Correção específica para imagens de status online/offline */
img[src*="online.gif"],
img[src*="offline.png"],
img.online-status-indicator {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    max-width: none !important;
    width: 10px !important;
    height: 10px !important;
}

/* Garantir que não haja efeitos de hover */
img[src*="online.gif"]:hover,
img[src*="offline.png"]:hover,
img.online-status-indicator:hover {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Correção específica para imagens de status online/offline */
img[src*="online.gif"],
img[src*="offline.png"],
img.online-status-indicator {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    max-width: none !important;
    width: 5px !important;
    height: 5px !important;
}

/* Garantir que não haja efeitos de hover */
img[src*="online.gif"]:hover,
img[src*="offline.png"]:hover,
img.online-status-indicator:hover {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Password Toggle Eye Feature */
.password-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: #ff3131 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    font-size: 18px !important;
    width: 30px !important;
    transition: all 0.3s ease !important;
}

.toggle-password:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #dfa100 !important;
}

/* ==========================================================
   Efeitos Místicos - Lanterna da Personagem
   ========================================================== */

#magic-effect-container {
    position: fixed !important;
    top: 11.2vw !important;
    left: 66.1vw !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    /* Acima de absolutamente tudo, inclusive modais */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    mix-blend-mode: screen !important;
    /* Efeito de luz aditiva */
}

/* Brilho Central da Lanterna - Agora Azul Místico */
.magical-glow-core {
    position: absolute !important;
    width: 20rem !important;
    /* Aumentado ligeiramente */
    height: 20rem !important;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.5) 0%, rgba(30, 144, 255, 0.2) 40%, transparent 70%) !important;
    border-radius: 50% !important;
    filter: blur(20px) !important;
    animation: magicPulse 4s infinite ease-in-out !important;
}

/* Partículas Cinematográficas - Agora Azuis */
.magical-particle {
    position: absolute !important;
    background: #00ffff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #1e90ff !important;
    opacity: 0 !important;
    animation: riseAndFade 5s infinite ease-in !important;
}

/* Variações de Partículas */
.magical-particle:nth-child(1) {
    width: 4px;
    height: 4px;
    animation-delay: 0s;
    left: -20px;
}

.magical-particle:nth-child(2) {
    width: 3px;
    height: 3px;
    animation-delay: 1.5s;
    left: 15px;
}

.magical-particle:nth-child(3) {
    width: 5px;
    height: 5px;
    animation-delay: 3s;
    left: -5px;
}

.magical-particle:nth-child(4) {
    width: 2px;
    height: 2px;
    animation-delay: 0.5s;
    left: 30px;
}

.magical-particle:nth-child(5) {
    width: 4px;
    height: 4px;
    animation-delay: 4.5s;
    left: -25px;
}

.magical-particle:nth-child(6) {
    width: 3px;
    height: 3px;
    animation-delay: 2.5s;
    left: 10px;
}

/* Animações Arcanas */
@keyframes magicPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
        filter: blur(15px);
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
        filter: blur(25px);
    }
}

@keyframes riseAndFade {
    0% {
        transform: translateY(20px) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(-150px) scale(0.5);
        opacity: 0;
    }
}

/* Brilho Radial Adicional para a Lanterna - Azul */
.magical-aura {
    position: absolute !important;
    width: 30rem !important;
    height: 30rem !important;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.15) 0%, transparent 70%) !important;
    pointer-events: none !important;
    animation: auraBreath 6s infinite alternate ease-in-out !important;
}

/* ==========================================================
   Partículas Globais Arcanas (Efeito Natural de Faíscas)
   ========================================================== */

#global-particles-container {
    position: fixed !important;
    bottom: -100px !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 10 !important;
    overflow: hidden !important;
}

/* Animações de Chuva Invertida - Variações Orgânicas */

/* Variação 1: Piscar Crescente */
@keyframes rainRise1 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.3);
        opacity: 0;
    }

    10% {
        transform: scale(0.8);
        opacity: 0.9;
    }

    25% {
        transform: translateY(-20vh) translateX(25px) rotate(60deg) scale(1.2);
        opacity: 0.4;
    }

    40% {
        transform: scale(0.6);
        opacity: 1;
    }

    60% {
        transform: translateY(-60vh) translateX(-30px) rotate(180deg) scale(1.5);
        opacity: 0.3;
    }

    75% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-110vh) translateX(10px) rotate(360deg) scale(0.2);
        opacity: 0;
    }
}

/* Variação 2: Pulso Rápido */
@keyframes rainRise2 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    15% {
        transform: scale(1.3);
        opacity: 1;
    }

    30% {
        transform: translateY(-25vh) translateX(-40px) rotate(90deg) scale(0.4);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }

    70% {
        transform: translateY(-70vh) translateX(35px) rotate(240deg) scale(0.7);
        opacity: 0.6;
    }

    85% {
        transform: scale(1.4);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-110vh) translateX(-20px) rotate(360deg) scale(0.1);
        opacity: 0;
    }
}

/* Variação 3: Fade Suave */
@keyframes rainRise3 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.6);
        opacity: 0;
    }

    20% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    35% {
        transform: translateY(-30vh) translateX(20px) rotate(120deg) scale(1.0);
        opacity: 1;
    }

    55% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-75vh) translateX(-25px) rotate(270deg) scale(0.8);
        opacity: 0.8;
    }

    90% {
        transform: scale(0.5);
        opacity: 0.4;
    }

    100% {
        transform: translateY(-110vh) translateX(15px) rotate(360deg) scale(0.3);
        opacity: 0;
    }
}

/* Variação 4: Piscar Intermitente */
@keyframes rainRise4 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.4);
        opacity: 0;
    }

    12% {
        transform: scale(1.1);
        opacity: 1;
    }

    24% {
        transform: scale(0.7);
        opacity: 0.2;
    }

    36% {
        transform: translateY(-35vh) translateX(-35px) rotate(150deg) scale(1.4);
        opacity: 0.9;
    }

    52% {
        transform: scale(0.5);
        opacity: 0.3;
    }

    68% {
        transform: translateY(-68vh) translateX(40px) rotate(260deg) scale(1.0);
        opacity: 1;
    }

    84% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: translateY(-110vh) translateX(-10px) rotate(360deg) scale(0.2);
        opacity: 0;
    }
}

/* Variação 5: Crescimento Aleatório */
@keyframes rainRise5 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.2);
        opacity: 0;
    }

    18% {
        transform: scale(1.5);
        opacity: 0.6;
    }

    32% {
        transform: translateY(-28vh) translateX(30px) rotate(80deg) scale(0.5);
        opacity: 0.9;
    }

    48% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    64% {
        transform: translateY(-64vh) translateX(-20px) rotate(200deg) scale(0.8);
        opacity: 1;
    }

    80% {
        transform: scale(1.4);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-110vh) translateX(25px) rotate(360deg) scale(0.3);
        opacity: 0;
    }
}

.mystic-particle {
    position: absolute !important;
    bottom: -50px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    mix-blend-mode: screen !important;
    pointer-events: none !important;
    will-change: transform, opacity;
}

/* --- Camadas com Animações Variadas e Tamanhos Aleatórios --- */

/* Distribuir as 5 animações entre as partículas */
.mystic-particle:nth-child(5n+1) {
    animation: rainRise1 14s infinite linear !important;
}

.mystic-particle:nth-child(5n+2) {
    animation: rainRise2 11s infinite linear !important;
}

.mystic-particle:nth-child(5n+3) {
    animation: rainRise3 16s infinite linear !important;
}

.mystic-particle:nth-child(5n+4) {
    animation: rainRise4 9s infinite linear !important;
}

.mystic-particle:nth-child(5n) {
    animation: rainRise5 13s infinite linear !important;
}

/* Tamanhos Variados (pequeno, médio, grande) */
.particle-back {
    width: 6px !important;
    height: 6px !important;
    filter: blur(1px) brightness(0.7) !important;
}

.particle-mid {
    width: 10px !important;
    height: 10px !important;
    filter: blur(0.5px) brightness(1.0) !important;
}

.particle-front {
    width: 16px !important;
    height: 16px !important;
    filter: drop-shadow(0 0 4px rgba(255, 49, 49, 0.5)) !important;
}

/* Distribuição de Assets PNG */
.mystic-particle:nth-child(3n+1) {
    background-image: url('../img/particles/spark1.png') !important;
}

.mystic-particle:nth-child(3n+2) {
    background-image: url('../img/particles/spark2.png') !important;
}

.mystic-particle:nth-child(3n+3) {
    background-image: url('../img/particles/spark3.png') !important;
}

/* Distribuição de Chuva Subindo (0-100% da tela) */
.mystic-particle:nth-child(40n+1) {
    left: 3%;
    animation-delay: 0.5s;
}

.mystic-particle:nth-child(40n+2) {
    left: 12%;
    animation-delay: 2.1s;
}

.mystic-particle:nth-child(40n+3) {
    left: 23%;
    animation-delay: 4.3s;
}

.mystic-particle:nth-child(40n+4) {
    left: 35%;
    animation-delay: 1.2s;
}

.mystic-particle:nth-child(40n+5) {
    left: 47%;
    animation-delay: 6.7s;
}

.mystic-particle:nth-child(40n+6) {
    left: 58%;
    animation-delay: 3.4s;
}

.mystic-particle:nth-child(40n+7) {
    left: 69%;
    animation-delay: 8.9s;
}

.mystic-particle:nth-child(40n+8) {
    left: 81%;
    animation-delay: 1.8s;
}

.mystic-particle:nth-child(40n+9) {
    left: 92%;
    animation-delay: 5.2s;
}

.mystic-particle:nth-child(40n+10) {
    left: 7%;
    animation-delay: 0.3s;
}

.mystic-particle:nth-child(40n+11) {
    left: 15%;
    animation-delay: 7.5s;
}

.mystic-particle:nth-child(40n+12) {
    left: 27%;
    animation-delay: 3.1s;
}

.mystic-particle:nth-child(40n+13) {
    left: 39%;
    animation-delay: 9.2s;
}

.mystic-particle:nth-child(40n+14) {
    left: 51%;
    animation-delay: 2.6s;
}

.mystic-particle:nth-child(40n+15) {
    left: 63%;
    animation-delay: 5.1s;
}

.mystic-particle:nth-child(40n+16) {
    left: 75%;
    animation-delay: 0.9s;
}

.mystic-particle:nth-child(40n+17) {
    left: 87%;
    animation-delay: 6.4s;
}

.mystic-particle:nth-child(40n+18) {
    left: 95%;
    animation-delay: 4.7s;
}

.mystic-particle:nth-child(40n+19) {
    left: 5%;
    animation-delay: 1.5s;
}

.mystic-particle:nth-child(40n+20) {
    left: 18%;
    animation-delay: 8.2s;
}

.mystic-particle:nth-child(40n+21) {
    left: 31%;
    animation-delay: 2.8s;
}

.mystic-particle:nth-child(40n+22) {
    left: 43%;
    animation-delay: 5.5s;
}

.mystic-particle:nth-child(40n+23) {
    left: 55%;
    animation-delay: 1.1s;
}

.mystic-particle:nth-child(40n+24) {
    left: 67%;
    animation-delay: 9.8s;
}

.mystic-particle:nth-child(40n+25) {
    left: 79%;
    animation-delay: 4.4s;
}

.mystic-particle:nth-child(40n+26) {
    left: 90%;
    animation-delay: 0.7s;
}

.mystic-particle:nth-child(40n+27) {
    left: 9%;
    animation-delay: 6.9s;
}

.mystic-particle:nth-child(40n+28) {
    left: 21%;
    animation-delay: 3.9s;
}

.mystic-particle:nth-child(40n+29) {
    left: 33%;
    animation-delay: 7.5s;
}

.mystic-particle:nth-child(40n+30) {
    left: 45%;
    animation-delay: 2.2s;
}

.mystic-particle:nth-child(40n+31) {
    left: 57%;
    animation-delay: 8.5s;
}

.mystic-particle:nth-child(40n+32) {
    left: 71%;
    animation-delay: 4.8s;
}

.mystic-particle:nth-child(40n+33) {
    left: 83%;
    animation-delay: 1.5s;
}

.mystic-particle:nth-child(40n+34) {
    left: 94%;
    animation-delay: 9.2s;
}

.mystic-particle:nth-child(40n+35) {
    left: 11%;
    animation-delay: 3.6s;
}

.mystic-particle:nth-child(40n+36) {
    left: 25%;
    animation-delay: 7.1s;
}

.mystic-particle:nth-child(40n+37) {
    left: 37%;
    animation-delay: 0.6s;
}

.mystic-particle:nth-child(40n+38) {
    left: 49%;
    animation-delay: 5.3s;
}

.mystic-particle:nth-child(40n+39) {
    left: 61%;
    animation-delay: 2.9s;
}

.mystic-particle:nth-child(40n+40) {
    left: 73%;
    animation-delay: 1.2s;
}


@keyframes auraBreath {
    from {
        transform: scale(0.8);
        opacity: 0.3;
    }

    to {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* ==========================================================
   Shadow Smoke - Sombras que Rastejam
   ========================================================== */

#shadow-smoke-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
    /* Atrás de tudo, na frente do background apenas */
    overflow: hidden !important;
}

.smoke-particle {
    position: absolute !important;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    filter: blur(40px) !important;
    opacity: 0 !important;
    animation: smokeDrift 20s infinite ease-in-out !important;
}

.smoke-particle:nth-child(1) {
    width: 60vw;
    height: 60vh;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.smoke-particle:nth-child(2) {
    width: 50vw;
    height: 50vh;
    bottom: -10%;
    right: -10%;
    animation-delay: 5s;
}

.smoke-particle:nth-child(3) {
    width: 40vw;
    height: 40vh;
    top: 40%;
    left: 70%;
    animation-delay: 10s;
}

.smoke-particle:nth-child(4) {
    width: 55vw;
    height: 55vh;
    bottom: 20%;
    left: -20%;
    animation-delay: 15s;
}

@keyframes smokeDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    25% {
        opacity: 0.3;
    }

    50% {
        transform: translate(10vw, 5vh) scale(1.2);
        opacity: 0.5;
    }

    75% {
        opacity: 0.2;
    }
}

/* ==========================================================
   Mystic Neon Glow - UI Energizada
   ========================================================== */

.mystic-glow-border {
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border: 1px solid rgba(255, 0, 0, 0.5) !important;
    border-radius: 4px !important;
    pointer-events: none !important;
    z-index: -1 !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3), inset 0 0 5px rgba(255, 0, 0, 0.2) !important;
    animation: neonPulse 3s infinite alternate ease-in-out !important;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.3), inset 0 0 2px rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.4);
        border-color: rgba(255, 0, 0, 0.8);
    }
}

/* ==========================================================
   Scroll Reveal - Revelação das Trevas
   ========================================================== */

.reveal {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Streamer Panel Fixes & Refinements */
.nav-tabs {
    border-bottom: 2px solid rgba(255, 49, 49, 0.3) !important;
    background: rgba(10, 10, 10, 0.5) !important;
}

.nav-tabs>li>a {
    color: #888888 !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    background-color: #ff3131 !important;
    color: #ffffff !important;
    border: 1px solid #ff3131 !important;
    border-bottom-color: transparent !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

.nav-tabs>li>a:hover {
    background: rgba(255, 49, 49, 0.1) !important;
    border-color: rgba(255, 49, 49, 0.2) !important;
}

.tab-content {
    background: rgba(15, 15, 15, 0.5) !important;
    border: 1px solid rgba(255, 49, 49, 0.2) !important;
    border-top: none !important;
    padding: 15px !important;
}

code {
    background-color: rgba(20, 20, 20, 0.9) !important;
    color: #dfa100 !important;
    border: 1px solid rgba(223, 161, 0, 0.3) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    text-shadow: none !important;
}

/* Specific Streamer Panel H2 overrides (removing purple baggage) */
.col-md-4 .panel-body h2 {
    color: #dfa100 !important;
    text-shadow: 0 0 10px rgba(223, 161, 0, 0.3) !important;
}

/* Navbar indicator to thematic gold */
#navbar ul li a::before {
    background: #dfa100 !important;
    box-shadow: 0 0 15px #dfa100, 0 0 5px #ffffff !important;
}

/* Color Restoration for Online Players */
.online-count,
.online_count_display {
    color: #00aa00 !important;
    font-weight: bold !important;
}