:root {
    --blue-main: #3a5a8c;
    --blue-dark: #2f4770;
    --gold: #c8a44b;
    --green-success: #4a7c59;
    --purple-rare: #5a2a8a;
    --bg-light: #f9fafc;
    --text-main: #2b2b2b;
}

body {
    background: url('../img/mu-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Segoe UI', sans-serif;
}

/* 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;
}

@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;
}

/* 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;
}

.offline {
    color: #dd4814;
}

.login-msg-gold {
    color: #d4af37; /* dourado */
    font-weight: 500;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* 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;
    font-size: 14px;
    margin-bottom: 6px;
}

.event span {
    color: var(--green-success);
    font-weight: bold;
}

/* 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;
}
