/* Importação de fonte */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* Variáveis para o tema escuro (jungle) */
:root {
    --accent-orange: #FFB300;
    --dark-green-bg: #1E3F29;
    --mid-dark-bg: #1a1a1a;
    --text-color: #ffffff;
    --h1-color: #FFC600;
    --h1-shadow: 2px 2px 4px #000000;
    --glow-effect: 0 0 5px var(--accent-orange);
}

/* Paleta de cores para o tema claro */
body.light-theme {
    --accent-orange: #007bff;
    --dark-green-bg: #f0f2f5;
    --mid-dark-bg: #ffffff;
    --text-color: #333333;
    --h1-color: #000000;
    --h1-shadow: none;
    --glow-effect: none;
}

/* Reset básico e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--dark-green-bg);
    color: var(--text-color);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.dark-theme {
    background-image: url('fundo.jpg');
}

/* Estilo do cabeçalho */
header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-left: 0;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-orange);
    text-shadow: var(--glow-effect);
}

/* Estilo da seção principal */
main {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Estilo da seção 'call-to-action' da página inicial */
.call-to-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    padding: 80px 20px;
    background-color: rgba(0, 51, 0, 0.5);
    color: var(--text-color);
}

.call-to-action h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--h1-color);
    text-shadow: var(--h1-shadow);
    margin-bottom: 20px;
}

.server-info {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
}

/* Estilo da seção de descrição do servidor */
.server-description {
    padding: 80px 50px;
    background-color: rgba(26, 26, 26, 0.7);
    text-align: center;
}

.server-description h2 {
    font-size: 2.5rem;
    color: var(--accent-orange);
    text-shadow: var(--glow-effect);
    margin-bottom: 20px;
}

.server-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

.info-blocks-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.info-block {
    text-align: left;
    max-width: 300px;
}

.info-block h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 5px;
}

.info-block ul {
    list-style: none;
}

.info-block ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

.info-block code {
    background-color: #333;
    padding: 2px 5px;
    border-radius: 4px;
    color: var(--accent-orange);
}

/* Estilo da seção de VIPs/Doação */
.vip-section {
    padding: 80px 50px;
    background-color: rgba(0, 51, 0, 0.6);
    color: var(--text-color);
    text-align: center;
}

.vip-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.vip-section h1 {
    font-size: 2.5rem;
    color: var(--accent-orange);
    text-shadow: var(--glow-effect);
    margin-bottom: 20px;
}

.vip-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vip-content ul {
    margin-bottom: 20px;
    list-style-type: none;
    padding-left: 20px;
}

.vip-content ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.attention-block {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #ff4500;
    background-color: rgba(77, 38, 38, 0.8);
    border-radius: 5px;
}

.attention-block h3 {
    color: #ff4500;
    margin-bottom: 10px;
}

/* Novo estilo para o link centralizado */
.server-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.server-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.server-link:hover {
    transform: translateY(-5px);
}

.server-coin-icon {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.server-link p {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-color);
}

/* Estilo da seção da loja */
.shop-section {
    padding: 50px 20px;
    text-align: center;
}

.shop-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: var(--h1-shadow);
    color: var(--h1-color);
}

.shop-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.coin-packages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.coin-package {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    flex-basis: calc(25% - 22.5px);
    max-width: 280px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.coin-package:hover {
    transform: translateY(-5px);
}

.coin-symbol {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
}

.coin-package h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--h1-color);
}

.package-value {
    font-size: 1.5em;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: bold;
}

.package-price {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color);
}

.buy-button {
    background: #ffd700;
    color: #1a1a1a;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.buy-button:hover {
    background: #e6c200;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

/* Estilo da seção de Fale Conosco */
.contact-section {
    padding: 100px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: var(--h1-shadow);
    color: var(--h1-color);
}

.contact-section p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Aumenta o tamanho da fonte da introdução do formulário */
.contact-intro {
    font-size: 1.4em;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Estilo para o novo layout do formulário e informações */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-block {
    margin-bottom: 40px; /* Espaçamento otimizado */
}

.contact-form-container {
    width: 100%;
    max-width: 600px;
}

.location-info,
.email-info {
    font-size: 1.2rem;
    color: var(--accent-orange);
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-info i,
.email-info i {
    font-size: 1.5em;
    line-height: 1;
}

.location-info span,
.email-info span,
.email-info a {
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--accent-orange);
    box-sizing: border-box;
}

.contact-form label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #555;
    background-color: #333;
    color: var(--text-color);
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-button {
    background-color: var(--accent-orange);
    color: var(--dark-green-bg);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
    background-color: #e6c200;
}

/* Estilo da seção do Discord */
.discord-section {
    padding: 80px 50px;
    background-color: rgba(26, 26, 26, 0.7);
    color: var(--text-color);
    text-align: center;
}

.discord-section .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.discord-section h2 {
    font-size: 2.5rem;
    color: var(--accent-orange);
    text-shadow: var(--glow-effect);
    margin-bottom: 20px;
}

.discord-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.discord-section a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.discord-section a:hover {
    text-shadow: var(--glow-effect);
}

/* Estilo do rodapé */
footer {
    background-color: rgba(26, 26, 26, 0.8);
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
}

.footer-info p {
    margin: 5px 0;
    line-height: 1.4;
}

.footer-info .copyright {
    margin-top: 15px;
}

.footer-info .legal-links {
    margin-top: 15px;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    text-shadow: var(--glow-effect);
}

/* Novo design para o user-actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    display: flex;
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    overflow: hidden;
}

.lang-button {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-button.active {
    background-color: var(--accent-orange);
    color: var(--dark-green-bg);
}

#theme-toggle {
    background: transparent;
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-orange);
    text-shadow: var(--glow-effect);
    transition: transform 0.3s ease;
    padding: 8px 12px;
    margin-left: 10px;
}

#theme-toggle:hover {
    transform: scale(1.1);
}

/* Paleta de cores do Tema Claro */
body.light-theme header {
    background-color: #e9ecef;
}

body.light-theme main {
    background-color: var(--dark-green-bg);
    background-image: none;
}

body.light-theme .call-to-action {
    background-color: transparent;
}

body.light-theme .nav-links li a {
    color: var(--text-color);
}

body.light-theme .nav-links li a:hover {
    color: var(--accent-orange);
    text-shadow: none;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3 {
    color: var(--text-color);
    text-shadow: none;
}

body.light-theme .vip-section,
body.light-theme .shop-section,
body.light-theme .discord-section {
    background-color: var(--dark-green-bg);
}

body.light-theme footer {
    background-color: #e9ecef;
}

/* Responsividade - Correção de layout para dispositivos móveis */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }

    nav {
        justify-content: space-between;
    }

    nav .user-actions {
        display: none;
    }

    nav .user-actions.active {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

    .hamburger .line1,
    .hamburger .line2,
    .hamburger .line3 {
        width: 30px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.toggle .line2 {
        opacity: 0;
    }
    
    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        padding-top: 80px;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }

    nav ul.active {
        height: 100vh;
        overflow-y: auto;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        padding: 10px 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .info-blocks-container,
    .coin-packages-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .info-block,
    .coin-package {
        text-align: center;
        flex-basis: 100%;
        max-width: 100%;
    }
}
/* --- Melhorias de Layout e Alinhamento para a Loja de Criaturas --- */

/* Centraliza o conteúdo da seção da loja */
.store-section .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo horizontalmente */
    text-align: center;
    padding: 20px;
}

/* Garante que a barra de pesquisa e a tabela se alinhem bem */
.search-bar {
    width: 100%;
    max-width: 600px; /* Limita a largura da barra para um visual limpo */
    margin-bottom: 20px;
}

#creature-search {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box; /* Garante que o padding não afete a largura total */
}

/* Estiliza e centraliza a tabela */
.creatures-list {
    width: 100%;
    max-width: 800px; /* Limita a largura da tabela */
    overflow-x: auto; /* Adiciona scroll horizontal em telas pequenas */
}

.creatures-list table {
    width: 100%;
    border-collapse: collapse;
    background-color: #333; /* Cor de fundo para o tema escuro */
    color: #eee; /* Cor do texto para o tema escuro */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden; /* Mantém as bordas arredondadas */
    margin: 0 auto; /* Centraliza a tabela na div */
}

.creatures-list th,
.creatures-list td {
    padding: 12px 15px;
    border: 1px solid #444;
    text-align: left;
    white-space: nowrap; /* Evita que o conteúdo da célula quebre a linha */
}

.creatures-list th {
    background-color: #555;
    font-weight: bold;
    text-transform: uppercase;
}

/* Alinha o conteúdo da coluna de comando */
.creatures-list td:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espaçamento entre texto e botão */
}

/* Estilo do botão de cópia */
.copy-btn {
    background: none;
    border: none;
    color: #eee; /* Cor do ícone */
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: #88c0d0; /* Cor ao passar o mouse */
}

/* Estilo para ícone de sucesso */
.copy-btn .fa-check {
    color: #a3be8c; /* Verde para indicar sucesso */
}

/* Alinhamento de texto da tabela */
.creatures-list td {
    text-align: center;
}

.creatures-list td:first-child {
    text-align: left; /* Mantém o nome da criatura alinhado à esquerda */
}

/* Ajusta o estilo do link ativo no menu de navegação */
.nav-links a.active {
    color: #88c0d0; /* Cor para indicar a página ativa */
    font-weight: bold;
}

/* Estilo para o tema escuro (Dark mode) */
body.dark-mode .creatures-list table {
    background-color: #2e3440;
    color: #eceff4;
}

body.dark-mode .creatures-list th {
    background-color: #3b4252;
}

body.dark-mode .creatures-list td {
    border: 1px solid #4c566a;
}
/* --- Melhorias de Layout e Alinhamento para a Loja de Itens --- */

/* Estiliza e centraliza a tabela de itens */
.items-list {
    width: 100%;
    max-width: 800px; /* Limita a largura da tabela */
    overflow-x: auto; /* Adiciona scroll horizontal em telas pequenas */
}

.items-list table {
    width: 100%;
    border-collapse: collapse;
    background-color: #333; /* Cor de fundo para o tema escuro */
    color: #eee; /* Cor do texto para o tema escuro */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden; /* Mantém as bordas arredondadas */
    margin: 0 auto; /* Centraliza a tabela na div */
}

.items-list th,
.items-list td {
    padding: 12px 15px;
    border: 1px solid #444;
    text-align: center; /* Alinhamento central para o conteúdo da célula */
    white-space: nowrap; /* Evita que o conteúdo da célula quebre a linha */
}

/* Alinha o nome do item à esquerda, mantendo o padrão */
.items-list td:first-child {
    text-align: left;
}

.items-list th {
    background-color: #555;
    font-weight: bold;
    text-transform: uppercase;
}

/* Alinha o conteúdo da coluna de comando */
.items-list td:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espaçamento entre texto e botão */
}

/* Estilo do botão de cópia na tabela de itens */
.items-list .copy-btn {
    background: none;
    border: none;
    color: #eee;
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.items-list .copy-btn:hover {
    color: #88c0d0;
}

/* Estilo para ícone de sucesso na tabela de itens */
.items-list .copy-btn .fa-check {
    color: #a3be8c;
}

/* Estilo para a barra de pesquisa de itens */
#item-search {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

/* Estilo para o tema escuro (Dark mode) na tabela de itens */
body.dark-mode .items-list table {
    background-color: #2e3440;
    color: #eceff4;
}

body.dark-mode .items-list th {
    background-color: #3b4252;
}

body.dark-mode .items-list td {
    border: 1px solid #4c566a;
}