/* ==================================================================== PADRÃO ===================================================================================== */
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    background-image: url("imagens/Elfas.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    color: #fff;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 0, 30, 0.4);
    z-index: -1;
}

/* ================= LOGO ================= */
.hero-logo {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-logo img {
    width: 600px;
    max-width: 90%;
}

/* ================= MENU ================= */
.menu-wrapper {
    position: absolute;
    top: 260px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-home {
    background: rgba(20, 0, 40, 0.65); /* igual as caixas */
    padding: 18px 60px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
    border: 1px solid rgba(168, 85, 247, 0.4);
    display: flex;
    gap: 40px;
}

.menu-home a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.menu-home a:hover {
    color: #a855f7;
    text-shadow: 0 0 10px #a855f7;
}

/* ==================================================================== INDEX ===================================================================================== */
/* ================= HOME ORGANIZADA ================= */
.home-container {
    max-width: 1200px;
    width: 100%;
    margin: 320px auto 80px auto;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 👈 ADICIONA */
    gap: 10px;
}

.left-column {
    width: 220px; /* fixa */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-column {
    flex: 1;
    max-width: 500px; /* 👈 LIMITA A LARGURA */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.cadastro-box {
    width: 100%;
    max-width: 700px;
}
.aviso-box {
    min-height: 1030px;
    width: 100%;
    text-align: center;
    color: #fff; /* azul neon */
}


/* ================= CAIXAS ================= */
.login-box,
.event-box,
.staff,
.cadastro-box,
.game-info {
    background: rgba(20, 0, 40, 0.65);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
}

/* LOGIN E CADASTRO */
.login-box,
.cadastro-box {
    background: rgba(20, 0, 40, 0.65);
    box-shadow: 0 0 10px rgba(82, 36, 162, 0.5);
    border-radius: 12px;
}

/* Input de login, senha e email */
.login-box input,
.cadastro-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(82, 36, 162, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Botões */
.login-box button,
.cadastro-box button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(45deg, #7a4dd6, #a855f7);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 15px;
}

.login-box button:hover,
.cadastro-box button:hover {
    transform: scale(1.05);
}

/* Ajustes no título */
.login-box h3,
.cadastro-box h3 {
    color: #a855f7;
    margin-bottom: 15px;
    text-align: center;
}

.forgot-password {
    color: #fff; /* roxo padrão do seu site */
    text-decoration: none;
    font-size: 14px;
    display: block;
    text-align: center;
    margin-top: 5px;
    transition: 0.3s;
}

.forgot-password:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #a855f7;
}



/* ================= STAFF ================= */
.staff {
    color: white;
    padding: 15px;
    border-radius: 10px;
    background: rgba(20, 0, 40, 0.65);
    border: 1px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
}
.server-status h3,
.staff h3 {
    color: #a855f7;
    margin-bottom: 15px;
    text-align: center;
}

.server-status {
    background: rgba(20, 0, 40, 0.65);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
    text-align: center;
}

.status {
    font-size: 13px;
    margin-left: 5px;
    font-weight: bold;
}

.status.online {
    color: #00ff88;
}

.status.offline {
    color: #ff4d4d;
}

/*================= DISCORD WATT ==================*/
.social-buttons {
    display: flex;
    flex-direction: column; /* um embaixo do outro */
    gap: 10px;
    margin-top: 10px;
}

.btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

/* Discord */
.btn.discord {
    background: #5865F2;
}

/* WhatsApp */
.btn.whatsapp {
    background: #25D366;
}

/* Hover */
.btn:hover {
    transform: scale(1.05);
}

/* ================= EVENTOS ================= */
.event-box {
    padding: 20px;
    border-radius: 10px;
    background: rgba(20, 0, 40, 0.65);
    border: 1px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
    min-height: 433px; /* 👈 ADICIONA ISSO */
}

.event-box h3 {
    color: #a855f7;
    margin-bottom: 15px;
    text-align: center;
}

.event-box ul {
    list-style: none;
}

.event-box li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mu-info-box {
    min-height: 788px;
}

/* ================= GAME INFO ================= */
/* SUBTITULO */
.subtitulo {
    color: #c084fc;
    margin: 15px 0 10px;
    text-align: center;
}

/* TABELA VIP */
.vip-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.vip-table th {
    background: #2b1b3f;
    color: #caa6ff;
    padding: 10px;
    font-size: 14px;
}

.vip-table td {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* HOVER LINHA */
.vip-table tr:hover td {
    background: rgba(120, 80, 200, 0.3);
}

/* COMANDOS */
.comandos-lista {
    list-style: none;
    text-align: center;
}

.comandos-lista li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avisos-lista {
    list-style: none;
    text-align: center;
    margin-bottom: 15px;
}

.avisos-lista li {
    padding: 8px;
    color: #ffcc00;
    font-weight: bold;
}

.aviso-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mini-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.mini-box h3 {
    text-align: center;
    color: #a855f7;
    margin-bottom: 10px;
}



/* ==================================================================== DASHBOARD ===================================================================================== */
/* ================= HISTORICO DE COMPRAS ================= */
.tabela-historico td {
    font-size: 13px;
}

.tabela-historico tr td:last-child {
    color: #00ff88; /* status verde */
    font-weight: bold;
}

.historico-box h3 {
    color: #a855f7;
    text-align: center;
    margin-bottom: 20px;
}

.status-ok {
    color: #00ff88;
    font-weight: bold;
}

.rank-table th:nth-child(1) { width: 25%; }
.rank-table th:nth-child(2) { width: 25%; }
.rank-table th:nth-child(3) { width: 20%; }
.rank-table th:nth-child(4) { width: 30%; }

.actions-box {
    margin-bottom: 30px !important;
}

.historico-box {
    margin-top: 30px !important;
}

/* ESTRUTURA DA TABELA */
.tabela-historico {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* CABEÇALHO E CÉLULAS */
.tabela-historico th,
.tabela-historico td {
    padding: 12px;
    text-align: center;
}

/* CABEÇALHO */
.tabela-historico th {
    background: #2b1b3f;
    color: #caa6ff;
}

/* LINHAS */
.tabela-historico td {
    background: rgba(0, 0, 0, 0.5);
}

/* TAMANHO DAS COLUNAS */
.tabela-historico th:nth-child(1) { width: 25%; }
.tabela-historico th:nth-child(2) { width: 25%; }
.tabela-historico th:nth-child(3) { width: 20%; }
.tabela-historico th:nth-child(4) { width: 30%; }

/* ================= GOLD e vip e MR ================= */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);


    justify-content: center;
    align-items: center;
}

.modal-box {
    background: rgba(20, 0, 40, 0.95);
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    color: white;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.4);
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.modal button {
    margin: 5px;
    padding: 10px;
    border: none;
    background: purple;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

/* BOX AÇÕES */
.actions-box {
    width: 100%;
    background: rgba(20, 0, 40, 0.65);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 25px rgba(140, 0, 255, 0.25);
    text-align: center;
}

/* BOTÕES PADRÃO */
.action-btn {
    padding: 10px 50px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(45deg, #7a4dd6, #a855f7);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.mr-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(45deg, #7a4dd6, #a855f7);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.rank-table {
    table-layout: fixed;
}

.rank-table td {
    overflow: visible;
    white-space: normal;

}

/* HOVER */
.action-btn:hover, .mr-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
}

/* BOTÕES EM LINHA */
.actions-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.fechar-btn {
    margin-top: 15px;
    width: 100%;
    background: linear-gradient(45deg, #ff4d4d, #ff1a1a);
}

/* ================ status servidor ====================*/

/* Estilo para status do servidor e jogadores online */
.online {
    color: #00FF00; /* Cor verde para 'Servidor Online' */
    font-weight: bold; /* Deixa o texto em negrito */
}

.players-online {
    color: #00ff00; /* Cor azul para 'Players Online' */
    font-weight: bold; /* Deixa o texto em negrito */
}




/* ================= DOWNLOAD ================= */
.download-buttons a {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    background: linear-gradient(45deg, #7a4dd6, #a855f7);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

/* ✨ EFEITO HOVER */
.download-buttons a:hover {
    transform: scale(1.07); /* cresce */
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.5);; /* brilho forte */
}

/* ✨ EFEITO CLICK (opcional, mas muito bom) */
.download-buttons a:active {
    transform: scale(0.97); /* dá sensação de clique */
}


.login-box:hover,
.event-box:hover,
.comandos:hover,
.cadastro-box:hover,
.game-info:hover,
.buy-gold-box:hover,
.historico-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(140, 0, 255, 0.5);
    transition: 0.3s;
}

/* ================== RANK =============== */
.center-title {
    text-align: center;
    color: #a855f7;
}

/* TABELA */
.rank-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* COLUNAS */
.rank-table th:nth-child(1) { width: 8%; }
.rank-table th:nth-child(2) { width: 22%; }
.rank-table th:nth-child(3) { width: 10%; }
.rank-table th:nth-child(4) { width: 20%; }
.rank-table th:nth-child(5) { width: 12%; }
.rank-table th:nth-child(6) { width: 10%; }
.rank-table th:nth-child(7) { width: 18%; }

/* ESPAÇAMENTO */
.rank-table th,
.rank-table td {
    padding: 12px;
    text-align: center;
}
.rank-table th {
    background: #2b1b3f;
    color: #caa6ff;
    font-weight: bold;
}

.rank-table td {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* NOME MAIS BONITO */
.rank-table td {
    text-align: center;
    vertical-align: middle;
}

/* HOVER */
.rank-table tr:hover td {
    background: rgba(120, 80, 200, 0.3);
}

.rank-box h3 {
    color: #a855f7 !important;
}

/* ========= SHOP ==========*/
.price {
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 10px;
}

.shop-page {
    width: 100%;
    max-width: 1000px;
}

.right-column.shop-page {
    max-width: 1000px !important;
    width: 100%;
    align-items: stretch; /* importante */
}


.shop-filtros,
.shop-classes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.shop-filtros button,
.shop-classes button {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(45deg, #7a4dd6, #a855f7);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.shop-classes {
    margin-top: 10px;
}

.shop-card {
    display: none;
}


@media screen and (max-width: 768px) {

    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    /* 🔥 DESLIGA POSIÇÃO ABSOLUTA DO TOPO */
    .hero-logo,
    .menu-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 10px auto !important;
    }

    .hero-logo img {
        width: 70%;
        max-width: 260px;
    }

    /* MENU ORGANIZADO */
    .menu-home {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    /* 🔥 REMOVE ESPAÇO GIGANTE DO DESKTOP */
    .home-container {
        margin: 10px auto !important;
        flex-direction: column !important;
    }

    /* COLUNAS EMPILHADAS */
    .left-column,
    .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* CAIXAS AJUSTADAS */
    .login-box,
    .event-box,
    .staff,
    .server-status,
    .game-info {
        width: 100% !important;
    }

    /* TABELAS NÃO QUEBRAM */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* BOTÕES EM COLUNA */
    .actions-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    /* 🔥 RESET DO LAYOUT DESKTOP */
    .hero-logo,
    .menu-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 10px auto !important;
        text-align: center;
    }

    .hero-logo img {
        width: 70%;
        max-width: 260px;
    }

    /* MENU */
    .menu-home {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    /* 🔥 REMOVE O ESPAÇO GIGANTE */
    .home-container {
        margin: 20px auto !important;
        flex-direction: column !important;
        align-items: center;
    }

    /* COLUNAS */
    .left-column,
    .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* CAIXAS */
    .login-box,
    .event-box,
    .staff,
    .server-status,
    .game-info {
        width: 100% !important;
    }

    /* BOTÕES */
    .actions-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }

    /* TABELA SCROLL */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
