:root {
    --blue-main: #3a5a8c;
    --blue-dark: #2f4770;
    --gold: #c8a44b;
    --green-success: #4a7c59;
    --purple-rare: #5a2a8a;
    --bg-light: #f9fafc;
    --text-main: #2b2b2b;
    --red-offline: #ff0000;
}

body {
    /*background: url('../img/mu-bg.png') center/cover no-repeat;
    background-attachment: fixed;*/
    color: var(--text-main);
    font-family: 'Segoe UI', sans-serif;
}

.ajax-loader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mu-loader {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(212,175,55,.2);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(212,175,55,.6);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* HEADER */
.server-header {
    position: relative;
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    padding: 35px 0;
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.server-header .overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    135deg,
                    rgba(47,71,112,.9),
                    rgba(58,90,140,.75)
            );
    z-index: 1;
}

.server-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.server-title span {
    color: var(--gold);
}

.server-subtitle {
    color: #dce6f2;
    font-size: 14px;
    letter-spacing: 1px;
}

.server-slogan {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.server-slogan span {
    color: var(--gold);
    font-weight: bold;
}

.server-status {
    color: #dff5e4;
    font-weight: bold;
    font-size: 14px;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: var(--green-success);
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

.offline-dot {
    width: 10px;
    height: 10px;
    background: var(--red-offline);
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74,124,89,.7); }
    70% { box-shadow: 0 0 0 8px rgba(74,124,89,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,124,89,0); }
}

/* BOTÕES */
.server-actions .btn {
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 15px;
    margin-left: 5px;
}

.btn-play {
    background: linear-gradient(135deg, var(--gold), #e0c36f);
    color: #2b2b2b;
}

.btn-play:hover {
    opacity: .9;
}

.btn-vip {
    background: linear-gradient(135deg, var(--purple-rare), #7b4bb3);
    color: #fff;
}

.btn-vip:hover {
    opacity: .9;
}

/* DISCORD BUTTON */
.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 15px;
    margin-left: 5px;
    border: none;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(88,101,242,.35);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(88,101,242,.45);
    color: #fff;
}

.discord-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: #fff;

    padding: 14px 18px;
    border-radius: 14px;

    font-weight: bold;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(88,101,242,.35);

    transition: all .25s ease;
    animation: discordPulse 2s infinite;
}

.discord-floating:hover {
    transform: translateY(-4px);
    color: #fff;
}

@keyframes discordPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(88,101,242,.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(88,101,242,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(88,101,242,0);
    }
}

/* HEADER COM IMAGEM */
.animated-bg {
    position: relative;
    background: url('../img/mu-bg.png') top/cover no-repeat;
    min-height: 260px;
    overflow: hidden;
}

/* OVERLAY */
.animated-bg .overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    135deg,
                    rgba(47,71,112,.9),
                    rgba(58,90,140,.75)
            );
    z-index: 1;
}

/* PARTICLES */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;  /* Coloca as partículas atrás do conteúdo */
    opacity: 0.3;  /* Mais suave */
}


/* CONTEÚDO */
.animated-bg .container {
    z-index: 3;
}

/* TEXTO COM SOMBRA */
.server-title,
.server-slogan,
.server-subtitle {
    text-shadow: 0 4px 15px rgba(0,0,0,.6);
}

/* MENU */
/* MENU FIXO NO TOPO */
.site-menu {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    z-index: 999;
    transition: background 0.3s ease-in-out;
}

.site-menu:hover {
    background: rgba(0, 0, 0, 0.9);  /* Escurece quando o mouse está no menu */
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-item {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Efeito Hover */
.menu-item:hover {
    color: var(--gold);  /* Dourado nos itens ao passar o mouse */
    transform: translateY(-5px);  /* Levanta o item quando o mouse passa */
}

/* Efeito de Underline animado */
.menu-item::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    background: var(--gold);
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

.menu-item:hover::before {
    width: 100%;
    left: 0;
}

/* Animação de entrada do Menu */
.site-menu {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.6s ease forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PANELS */
.panel-user {
    background: linear-gradient(
            180deg,
            rgba(18, 32, 56, 0.85),
            rgba(10, 18, 34, 0.9)
    );
    backdrop-filter: blur(4px);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.panel-header {
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: #fff;
    padding: 12px 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.panel-body {
    padding: 20px;
}

.login-section input {
    border-radius: 8px;
    margin-bottom: 10px;
}

.login-section button {
    background: linear-gradient(135deg, var(--gold), #e0c36f);
    color: #2b2b2b;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.login-section button:hover {
    background: linear-gradient(135deg, #e0c36f, var(--gold));
}

.user-logged {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.15));
    border-radius: 14px;
    padding: 14px;
}

/* Header do usuário */
.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-name {
    color: #6ecbff;
    font-weight: 600;
    font-size: 14px;
}

.user-status {
    font-size: 11px;
}

.online {
    color: #7CFF7C;
}

.beta {
    color: #d4af37;
}

.offline {
    color: #dd4814;
}

.login-msg-gold {
    color: #d4af37; /* dourado */
    font-weight: 500;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* Painel de informações com header arredondado */
.panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    margin-bottom: 20px;
    background: rgba(255,255,255,.95);
}

/* Header com bordas arredondadas */
.panel > .panel-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Header específico do painel de info (opcional destaque) */
.panel-info .panel-header {
    background: linear-gradient(135deg, #3a5a8c, #2f4770);
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item {
    background: transparent;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.info-item:last-child {
    border-bottom: none;
}

/* Ícone pequeno */
.info-icon {
    font-size: 14px;
    opacity: .8;
    text-align: center;
}

/* Label sutil */
.info-label {
    font-weight: 600;
    font-size: 12px;
    color: #5b6f91;
    text-transform: uppercase;
}

.info-item.highlight .info-label {
    color: #c49a2c;
}

/* Valor */
.info-value {
    font-size: 13px;
    color: #2f2f2f;
}

/* Menu */
.user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu li {
    margin-bottom: 6px;
}

.user-menu li.divider {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 8px 0;
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #d4af37;
    text-decoration: none;
    font-size: 13px;
    transition: all .25s ease;
}

/* Ícone */
.user-menu .icon {
    width: 22px;
    text-align: center;
    font-size: 14px;
    opacity: .8;
}

/* Hover mágico */
.user-menu a:hover {
    background: linear-gradient(90deg, rgba(212,175,55,.15), transparent);
    color: #6ecbff;
    box-shadow: inset 0 0 10px rgba(110,203,255,.15);
}

/* Item ativo (opcional) */
.user-menu a.active {
    background: linear-gradient(90deg, rgba(110,203,255,.25), transparent);
    color: #6ecbff;
}

.login-links {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.login-links a {
    position: relative;
    color: #d4af37; /* dourado prosperidade */
    text-decoration: none;
    font-weight: 500;
    padding-left: 22px;
    transition: all .25s ease;
}

/* Ícones fake (sem font icon ainda) */
.login-links a::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(212,175,55,.6);
    font-size: 12px;
    transition: transform .25s ease, color .25s ease;
}

/* Hover mágico */
.login-links a:hover {
    color: #6ecbff; /* azul claro */
    text-shadow: 0 0 6px rgba(110,203,255,.5);
}

.login-links a:hover::before {
    color: #6ecbff;
    transform: rotate(90deg) scale(1.1);
}

/* Destaque sutil para Criar Conta */
.link-register {
    font-weight: 600;
}

.login-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 22px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4af37, #6ecbff);
    transition: width .3s ease;
}

.login-links a:hover::after {
    width: calc(100% - 22px);
}

/* EVENTOS */
.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #f8f9fc;
    transition: .3s;
}

.event-name {
    font-weight: 600;
}

.event-status {
    font-size: 13px;
    font-weight: 600;
}

.event.waiting .event-status {
    color: #c49a2c;
}

.event.active {
    background: linear-gradient(90deg, #ff4d4d, #ff0000);
    color: white;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

/* RANKINGS */
.rank-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.rank-item.top1 {
    color: var(--gold);
    font-weight: bold;
}

/* FOOTER */
.site-footer {
    background: var(--blue-dark);
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    font-size: 14px;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.dash-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212,175,55,.3);
}

.dash-card h5 {
    margin-bottom: 10px;
    color: #8b6b2e;
    font-weight: bold;
}

.dash-card.wide {
    grid-column: span 2;
}

.char-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.badge {
    background: #d4af37;
    color: #000;
    padding: 2px 6px;
    border-radius: 6px;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    border: none;
    color: #000;
}

.btn-outline-gold {
    border: 1px solid #d4af37;
    color: #8b6b2e;
}

.characters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}

.char-card {
    background: rgba(255,255,255,.9);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.char-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(212,175,55,.35);
}

.char-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: bold;
}

.char-name {
    color: #8b6b2e;
}

.char-class {
    font-size: .85rem;
    color: #666;
}

.char-stats {
    font-size: .9rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

/* PK colors */
.pk-hero { color: #2ecc71; }
.pk-normal { color: #3498db; }
.pk-warning { color: #f1c40f; }
.pk-murder { color: #e67e22; }
.pk-outlaw { color: #e74c3c; }

/* Container geral do painel */
.panel-wrapper {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    overflow: hidden;
    animation: panelFade .3s ease;
}

/* Header do painel */
.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    color: #3b2a00;
    font-weight: bold;
    font-size: 1.1rem;
}

.panel-icon {
    font-size: 1.4rem;
}

.panel-title {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Corpo do painel */
.panel-body {
    padding: 18px;
}

/* Animação */
@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vip-status {
    text-align: center;
    margin-bottom: 25px;
}

.vip-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.vip-badge.active {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    color: #3b2a00;
    box-shadow: 0 0 12px rgba(212,175,55,.6);
}

.vip-badge.inactive {
    background: #ccc;
    color: #555;
}

.vip-benefits h5 {
    color: #8b6b2e;
    margin-bottom: 10px;
}

.vip-benefits ul {
    list-style: none;
    padding-left: 0;
}

.vip-benefits li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,0,0,.1);
}

.vip-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.vip-guide h5 {
    color: #8b6b2e;
    margin-bottom: 10px;
}

.vip-guide ol {
    padding-left: 18px;
}

.vip-guide li {
    margin-bottom: 6px;
}

.vip-command {
    background: rgba(0,0,0,.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    color: #8b6b2e;
}

.vip-warning {
    margin: 15px 0px;
    padding: 12px;
    background: rgba(255, 215, 0, 0.15);
    border-left: 4px solid #d4af37;
    border-radius: 6px;
    font-size: .9rem;
}

.vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.vip-card {
    background: rgba(255,255,255,.95);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: transform .25s ease, box-shadow .25s ease;
}

.vip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(212,175,55,.4);
}

.vip-card h4 {
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Preço */
.vip-price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 6px;
}

/* Comando */
.vip-command {
    font-size: .85rem;
    background: rgba(0,0,0,.08);
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: inline-block;
}

/* Benefícios */
.vip-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vip-card li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,0,0,.1);
    font-size: .9rem;
}

/* Cores por plano */
.vip-card.free {
    color: #555;
}

.vip-card.bronze {
    color: #8b6b2e;
}

.vip-card.prata {
    color: #7f8c8d;
}

.vip-card.ouro {
    color: #bfa437;
    text-shadow: 0 0 6px rgba(191,164,55,.5);
}

/* Nota */
.vip-note {
    margin-top: 18px;
    text-align: center;
    font-size: .85rem;
    color: #666;
}

.icon-x,
.icon-v {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

/* X vermelho – bloqueado */
.icon-x {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}

/* V verde – liberado */
.icon-v {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.vip-disabled {
    color: #aaa;
}

.vip-enabled {
    color: #d4af37; /* dourado do seu layout */
}

.shop-wrapper {
    padding: 30px;
    text-align: center;
}

.page-title {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 10px;
}

.page-desc {
    color: #666;
    margin-bottom: 30px;
}

.shop-columns {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.shop-box {
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    width: 260px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform .3s, box-shadow .3s;
    position: relative;
}

.shop-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

.shop-box h3 {
    margin-bottom: 10px;
}

.gold-amount {
    font-size: 22px;
    font-weight: bold;
    color: #d4af37;
}

.price {
    font-size: 18px;
    margin: 10px 0;
}

.shop-box ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.shop-box ul li {
    margin: 6px 0;
    font-size: 14px;
}

/* Botões */
.shop-btn {
    background: linear-gradient(135deg, #c9a63a, #f3e08b);
    border: none;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: bold;
    cursor: pointer;
}

.shop-btn.highlight {
    box-shadow: 0 0 12px rgba(212,175,55,.7);
}

/* Destaque */
.popular {
    border: 2px solid #d4af37;
}

.tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #d4af37;
    color: #000;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.shop-legend {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8dc, #fdf4c4);
    border-left: 5px solid #d4af37;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.shop-legend i {
    font-size: 22px;
    color: #d4af37;
    margin-top: 3px;
}

.shop-legend p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.config-info {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.config-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.section-title {
    color: var(--purple-rare);
    margin-bottom: 15px;
    font-size: 16px;
}

.btn-purple {
    background: linear-gradient(135deg, #6f42c1, #4b2a91);
    border: none;
    color: #fff;
    padding: 8px 18px;
    font-weight: bold;
}

.btn-purple:hover {
    opacity: 0.9;
}

/* ==========================
   HISTÓRICO DE COMPRAS - LIGHT
========================== */

.webshop-history {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Header do painel */
.webshop-history .panel-header {
    /*background: #f8f9fa;*/
    border-bottom: 1px solid #e5e7eb;
}

/* Tabela */
.history-table {
    width: 100%;
    border-collapse: collapse;
    color: #212529;
}

.history-table thead th {
    background: #f1f3f5;
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    padding: 12px;
    border-bottom: 2px solid #dee2e6;
}

.history-table tbody tr {
    transition: background .15s ease;
}

.history-table tbody tr:hover {
    background: #f8f9fa;
}

.history-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

/* Colunas */
.order-id {
    color: #0d6efd;
    font-weight: 600;
}

.package {
    font-weight: 500;
}

.gold {
    color: #d4a017; /* dourado */
    font-weight: 600;
}

.price {
    color: #198754; /* verde bootstrap */
    font-weight: 600;
}

.date {
    font-size: 13px;
    color: #6c757d;
}

/* Status badges */
.badge {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.badge.success {
    background: #d1e7dd;
    color: #0f5132;
}

.badge.warning {
    background: #fff3cd;
    color: #664d03;
}

.badge.danger {
    background: #f8d7da;
    color: #842029;
}

.badge.neutral {
    background: #e2e3e5;
    color: #41464b;
}

/* Responsivo */
.table-responsive {
    border-radius: 6px;
}

.history-table tbody tr {
    animation: fadeUp .25s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.history-table tbody tr:has(.badge.success) {
    border-left: 3px solid #2ecc71;
}

/* Form */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    transition: all .2s ease;
}

.form-control:focus {
    border-color: #3a5a8c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(58,90,140,.15);
}

/* Botão */
.btn-primary-full {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #3a5a8c, #2f4770);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
}

.btn-primary-full:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* Mensagem */
.form-message {
    margin-top: 12px;
    font-size: 13px;
}

/* Sucesso */
.form-message.success {
    color: #198754;
}

/* Erro */
.form-message.error {
    color: #dc3545;
}

.panel-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #5b6f91;
}

.form-control {
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    transition: border 0.2s ease;
}

.form-control:focus {
    border-color: #c49a2c;
    outline: none;
}

.checkbox-group {
    font-size: 13px;
}

.form-actions {
    margin-top: 10px;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background: #c49a2c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #a88120;
}

#registerMessage {
    margin-top: 15px;
    font-size: 13px;
}

#registerMsg {
    margin-top: 15px;
    font-size: 13px;
    padding: 8px;
    border-radius: 6px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
}

.home-section {
    margin-bottom: 20px;
}

.home-card {
    background: linear-gradient(135deg,#ffffff,#f4f7ff);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e6f0;
    transition: 0.2s;
}

.home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.home-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #4b4bd4;
}

.home-text {
    font-size: 13px;
    color: #555;
}

.home-divider {
    height: 1px;
    background: #ececf5;
    margin: 15px 0;
}

.castle-panel {
    background: linear-gradient(135deg, #2b1a3a, #1a1028);
    color: #fff;
    border: 1px solid rgba(212,175,55,.3);
    position: relative;
    overflow: hidden;
}

/* Glow dourado leve */
.castle-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(212,175,55,.25), transparent 60%);
    pointer-events: none;
}

/* Rei */
.castle-king {
    text-align: center;
    margin-bottom: 15px;
}

.castle-label {
    font-size: 11px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.castle-guild {
    font-size: 20px;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212,175,55,.8);
    margin-top: 5px;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 5px rgba(212,175,55,.5); }
    50% { text-shadow: 0 0 15px rgba(212,175,55,1); }
    100% { text-shadow: 0 0 5px rgba(212,175,55,.5); }
}

/* Infos */
.castle-info {
    font-size: 12.5px;
    margin-bottom: 10px;
}

.castle-line {
    margin-bottom: 6px;
    color: #ddd;
}

.castle-line.highlight {
    color: #ffd700;
    font-weight: 600;
}

/* CTA */
.castle-cta {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: #aaa;
    font-style: italic;
}
/* =========================
   RANKING LIGHT GOLD
========================= */

.ranking-panel {
    background: linear-gradient(135deg, #ffffff, #fdf9ef);
    border: 1px solid rgba(212,175,55,.3);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Glow dourado leve */
.ranking-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(212,175,55,.15), transparent 60%);
    pointer-events: none;
}

/* Lista */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Item padrão */
.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(0,0,0,.02);
    transition: .2s;
    border: 1px solid rgba(0,0,0,.05);
}

.rank-item:hover {
    background: rgba(212,175,55,.1);
    border-color: rgba(212,175,55,.3);
}

/* TOP 1 (destaque elegante) */
.rank-item.top1 {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    color: #3b2a00;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(212,175,55,.4);
}

/* Posição */
.rank-pos {
    width: 30px;
    font-weight: bold;
    color: #8b6b2e;
}

/* Nome */
.rank-name {
    flex: 1;
    color: #333;
}

/* Valor */
.rank-value {
    font-weight: bold;
    color: #bfa437;
}

/* CTA */
.ranking-cta {
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
    color: #8b6b2e;
}

.rank-item.top1 {
    animation: glowTop 2s infinite;
}

@keyframes glowTop {
    0% { box-shadow: 0 0 5px rgba(212,175,55,.5); }
    50% { box-shadow: 0 0 20px rgba(212,175,55,1); }
    100% { box-shadow: 0 0 5px rgba(212,175,55,.5); }
}

.rank-item:hover {
    background: linear-gradient(90deg, rgba(212,175,55,.15), transparent);
}

.rank-item {
    backdrop-filter: blur(2px);
}

.rankings-page {
    animation: fadeUp .4s ease;
}

/* Intro */
.ranking-intro {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #555;
}

.ranking-intro strong {
    color: #d4af37;
}

/* Seções */
.ranking-section {
    margin-bottom: 30px;
}

.ranking-title {
    font-size: 15px;
    margin-bottom: 12px;
    color: #8b6b2e;
    font-weight: bold;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
}

/* Lista */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Item */
.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fffdf5, #fdf7dc);
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(212,175,55,.2);
    transition: all .2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    box-shadow: 0 5px 15px rgba(212,175,55,.25);
}

/* Posição */
.rank-position {
    font-weight: bold;
    width: 40px;
    color: #888;
}

/* Nome */
.rank-name {
    flex: 1;
    font-weight: 600;
    color: #333;
}

/* Valor */
.rank-value {
    font-weight: bold;
    color: #d4af37;
}

/* TOP 1,2,3 destaque */
.ranking-item.top1 {
    background: linear-gradient(135deg, #fff5cc, #ffe680);
    border: 1px solid #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,.4);
}

.ranking-item.top2 {
    background: linear-gradient(135deg, #f2f2f2, #d9d9d9);
}

.ranking-item.top3 {
    background: linear-gradient(135deg, #fbe5d6, #f5c6a5);
}

/* Animação */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-intro {
    text-align: center;
    margin-bottom: 25px;
}

.download-intro h4 {
    color: #8b6b2e;
    margin-bottom: 8px;
}

.download-intro p {
    font-size: 14px;
    color: #555;
}

/* CARD */
.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fffdf5, #fdf7dc);
    border: 1px solid rgba(212,175,55,.2);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 15px;
    transition: .25s;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212,175,55,.25);
}

/* CARD PRINCIPAL */
.download-card.main {
    border: 2px solid #d4af37;
    box-shadow: 0 0 15px rgba(212,175,55,.4);
}

/* INFO */
.download-info h5 {
    margin-bottom: 5px;
}

.download-meta {
    font-size: 12px;
    color: #888;
}

.download-info ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.download-info li {
    font-size: 13px;
    margin-bottom: 4px;
}

/* BOTÕES */
.download-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-download {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    color: #3b2a00;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 0 10px rgba(212,175,55,.5);
}

.btn-download:hover {
    transform: scale(1.05);
}

/* Alternativo */
.btn-download.alt {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: #fff;
}

/* Pequeno */
.btn-download.small {
    padding: 6px 12px;
    font-size: 13px;
}

/* GUIA */
.download-guide {
    margin-top: 25px;
    padding: 15px;
    border-left: 4px solid #d4af37;
    background: #fff8dc;
    border-radius: 10px;
}

.download-guide h5 {
    margin-bottom: 10px;
    color: #8b6b2e;
}

.download-guide li {
    margin-bottom: 5px;
    font-size: 13px;
}

.ranking-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Tabs */
.ranking-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    background: #eee;
    font-weight: 600;
    cursor: pointer;
}

.tab.active {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
    color: #3b2a00;
}

/* Busca */
#rankingSearch {
    max-width: 220px;
    border-radius: 10px;
}

/* Tabela */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ranking-table thead {
    background: linear-gradient(135deg, #d4af37, #f5e18b);
}

.ranking-table th,
.ranking-table td {
    padding: 10px;
    text-align: center;
}

.ranking-table tbody tr {
    background: #fff;
    border-bottom: 1px solid #eee;
    transition: .2s;
}

.ranking-table tbody tr:hover {
    background: #fff9e6;
}

/* TOP 3 */
.top1 { background: #fff3b0 !important; }
.top2 { background: #f1f1f1 !important; }
.top3 { background: #fbe5d6 !important; }

/* Medalha */
.rank-pos {
    font-weight: bold;
}

/* Paginação */
.ranking-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ranking-filters {
    display: flex;
    gap: 12px;
    margin: 15px 0px;
}

.ranking-filters input,
.ranking-filters select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

.ranking-filters input:focus,
.ranking-filters select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 6px rgba(212,175,55,.4);
}

.ranking-filters input {
    flex: 1;
}

.info-page .info-hero {
    text-align: center;
    margin-bottom: 25px;
}

.info-hero h2 {
    color: #8b6b2e;
    font-size: 22px;
}

.info-hero p {
    font-size: 14px;
    color: #555;
}

/* Seções */
.info-section {
    margin-bottom: 25px;
}

.info-section h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.info-card {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: .2s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212,175,55,.2);
}

.info-card h4 {
    font-size: 14px;
    color: #8b6b2e;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 13px;
    color: #666;
}

/* Lista */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 13px;
    margin-bottom: 5px;
}

/* Destaque */
.highlight {
    background: linear-gradient(135deg, #fff8dc, #fdf4c4);
    padding: 12px;
    border-radius: 10px;
}

/* Eventos */
.event-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-highlight div {
    background: #f1f3f5;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
}

/* Castle */
.castle {
    background: linear-gradient(135deg, #ede7f6, #f3e5f5);
    padding: 12px;
    border-radius: 10px;
}

/* CTA */
.info-cta {
    text-align: center;
    margin-top: 30px;
}

.info-cta h3 {
    color: #8b6b2e;
}

.info-cta p {
    font-size: 13px;
    margin-bottom: 10px;
}

.server-hero {
    position: relative;
    min-height: 420px;
    background: url('../img/mu-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,30,60,.9), rgba(40,60,100,.7));
}

/* CONTEÚDO */
.hero-content {
    position: relative;
    z-index: 2;
}

/* TÍTULO */
.hero-title {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
}

.hero-title span {
    display: block;
    font-size: 14px;
    color: #d4af37;
}

/* DESCRIÇÃO */
.hero-desc {
    color: #dce6f2;
    font-size: 15px;
    margin: 15px 0;
}

/* FEATURES */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    color: #fff;
    font-size: 13px;
    margin-bottom: 15px;
}

/* BOTÕES */
.hero-actions .btn.big {
    padding: 10px 20px;
    font-size: 14px;
    margin-right: 10px;
}

/* BOX DIREITA */
.hero-box {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

/* STATS */
.hero-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.hero-stat .label {
    color: #ccc;
}

.hero-stat .value {
    font-weight: bold;
    color: #d4af37;
}

.hero-stat .online {
    color: #2ecc71;
}

/* ANIMAÇÃO SUAVE */
.hero-title,
.hero-desc,
.hero-features,
.hero-actions,
.hero-box {
    animation: fadeUp .6s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.server-logo {
    max-height: 200px;
    filter: drop-shadow(0 0 10px rgba(212,175,55,.6));
}

.server-logo:hover {
    transform: scale(1.05);
    transition: .3s;
}

.news-card {
    padding: 15px;
}

.home-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-sub {
    font-size: 12px;
    color: #888;
}

/* LISTA */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* ITEM */
.news-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #eee;
    transition: all .2s ease;
    position: relative;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* DESTAQUE */
.news-item.highlight {
    border-left: 4px solid #d4af37;
    background: linear-gradient(90deg, #fffdf5, #ffffff);
}

/* HEADER */
.news-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* BADGE */
.news-badge {
    font-size: 11px;
    font-weight: bold;
    color: #8b6b2e;
    background: rgba(212,175,55,.15);
    padding: 2px 8px;
    border-radius: 6px;
}

/* DATA */
.news-date {
    font-size: 11px;
    color: #999;
}

/* TÍTULO */
.news-title {
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 4px;
}

/* EXCERPT */
.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* FOOTER */
.news-footer {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-author {
    font-size: 11px;
    color: #999;
}

/* LINK */
.news-read {
    font-size: 12px;
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
}

.news-read:hover {
    text-decoration: underline;
}

.home-hero {
    background: linear-gradient(135deg, rgba(58,90,140,.9), rgba(47,71,112,.9));
    border-radius: 18px;
    padding: 40px 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212,175,55,.5);
}

.hero-sub {
    margin-top: 10px;
    font-size: 15px;
    opacity: .9;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.feature {
    background: rgba(255,255,255,.9);
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: .2s;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,.2);
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.progress-box {
    background: linear-gradient(135deg, #fffdf5, #ffffff);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.progress-box strong {
    display: block;
    color: #8b6b2e;
    font-size: 13px;
}

.progress-box span {
    font-size: 14px;
    font-weight: bold;
    color: #2b2b2b;
}

.highlight-cta {
    background: linear-gradient(135deg, #fff8dc, #fff);
    border: 2px solid #d4af37;
}