/* --- VARIÁVEIS (Igual ao VIPS) --- */
:root {
    --primary-color: #E86f9E;       /* Rosa Claro */
    --secondary-color: #8F244D;     /* Vinho/Roxo */
    --accent-color: #ffce00;        /* Dourado */
    --bg-dark: #0f0f13;             /* Fundo Preto */
    --card-bg: rgba(30, 30, 35, 0.7); /* Vidro */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(232, 111, 158, 0.3);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; } /* Rolagem suave ao clicar no menu */

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Overlay de Fundo */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center top, #2a101b 0%, transparent 70%);
    z-index: -1;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
header {
    background: rgba(15, 15, 19, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; }
.logo span { color: var(--primary-color); }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover, nav a.active { color: var(--primary-color); }

.btn-vip-nav {
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    color: white !important;
}

.btn-vip-nav:hover { background-color: var(--primary-color); }

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 100px 0 60px;
}
/* Força o empilhamento vertical dos botões */
.titulo-servidor {
    display: flex;
    flex-direction: column; /* Coloca um embaixo do outro */
    align-items: center;    /* Centraliza os botões horizontalmente */
    text-align: center;
}
.titulo-servidor h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.titulo-servidor span {
    color: var(--primary-color);
    text-shadow: var(--glow);
}
.titulo-servidor p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(232, 111, 158, 0.4);
}

/* --- TÍTULOS DAS SEÇÕES --- */
.section-title { text-align: center; margin-bottom: 40px; margin-top: 60px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 5px; color: #fff; }
.section-title p { color: var(--text-muted); }

/* --- GRID DE MINIGAMES --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card-minigames {
    background: var(--card-bg);
    border: var(--border-light);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
    text-align: center;
}

.card-minigames:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-minigames h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.5rem; }
.card-minigames p { color: #ddd; font-size: 0.95rem; }

/* --- EQUIPE --- */
.cards-equipe-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-staff {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: var(--border-light);
    width: 250px;
    text-align: center;
    transition: 0.3s;
}

.card-staff:hover { transform: translateY(-5px); border-color: var(--primary-color); }

.staff-img-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
    box-shadow: var(--glow);
}

.role {
    display: inline-block;
    background: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 5px 0 15px;
    text-transform: uppercase;
}

.staff-desc { color: var(--text-muted); font-style: italic; font-size: 0.9rem; }

/* --- CONTATO --- */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto 80px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: var(--border-light);
}

.contact-info { text-align: center; margin-bottom: 30px; }
.email-link { color: var(--primary-color); text-decoration: none; font-weight: bold; }

.form-contato { display: flex; flex-direction: column; gap: 15px; }

.input-field {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: 0.3s;
}

.input-field:focus { border-color: var(--primary-color); }
.textarea-field { height: 120px; resize: vertical; }

.btn-submit {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover { opacity: 0.9; box-shadow: var(--glow); }

/* --- FOOTER --- */
footer {
    background: rgba(0,0,0,0.5);
    padding: 30px 0;
    text-align: center;
    border-top: var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .titulo-servidor h1 { font-size: 2rem; }
    .header-content { flex-direction: column; gap: 15px; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { margin: 0; }
}

#equipe-mensagem {
    min-height: 50px; /* Reserva espaço para o texto não empurrar o layout */
    transition: opacity 0.5s ease;
    font-family: 'Courier New', monospace; /* Fonte estilo código fica legal aqui */
}

.mensagen-divertida {
    transition: opacity 0.5s ease;
    
    /* TRUQUE PARA PARAR DE PULAR: */
    height: 50px; /* Altura fixa (suficiente para 2 linhas) */
    display: flex;
    align-items: center; /* Centraliza o texto verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    overflow: hidden; /* Esconde se passar do limite (segurança) */
    
    color: var(--primary-color); 
    font-weight: bold;
    font-size: 0.85rem;
    padding: 0 10px; /* Um pouco de espaço nas laterais */
}

/* --- NOVO ESTILO PARA A SEÇÃO DE CONTATO (DISCORD) --- */

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.channel-item {
    text-align: center;
}

.channel-item p {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Divisória bonita */
.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
    margin: 30px 0;
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: white;
}

/* BOTÃO DO DISCORD */
.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5865F2; 
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Aqui mudou de img para svg */
.btn-discord svg {
    width: 25px; 
    height: auto;
    /* Removemos o filtro porque o SVG já está pintado de branco (fill="white") */
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* --- BANNER DE NATAL (TOPO DO SITE) --- */
.promo-header {
    background: linear-gradient(90deg, #1a1a2e, #c0392b, #1a1a2e); /* Cores natalinas profundas */
    background-size: 200% auto;
    animation: rainbow-move 5s linear infinite; /* Usa a animação que você já tem no css */
    text-align: center;
    padding: 12px 10px;
    border-bottom: 2px solid var(--accent-color); /* Usa o dourado da sua paleta */
    width: 100%;
}

.promo-main a {
    color: #ffffff;
    text-decoration: none; /* Remove o sublinhado do link */
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block; /* Faz o link ocupar a linha toda para facilitar o clique */
    transition: transform 0.2s;
}

.promo-main a:hover {
    transform: scale(1.02); /* Leve pulo ao passar o mouse */
    color: var(--accent-color); /* Muda para dourado no hover */
}

.promo-sub {
    color: #bdc3c7; /* Cinza claro para não brigar com o título */
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 400;
}

/* Garante que o banner não fique escondido atrás do header fixo */
body {
    padding-top: 0; 
}
/* --- ESTILO PARA COPIAR IP --- */
.copy-ip-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;             /* Mudado de inline-flex para flex */
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin: 0 auto 20px auto;  /* Centraliza e dá espaço para o botão de baixo */
    width: fit-content;        /* Ajusta a largura ao conteúdo */
    transition: 0.3s;
    position: relative;
    box-shadow: 0 0 10px rgba(232, 111, 158, 0.1);
}

.copy-ip-container:hover {
    background: rgba(232, 111, 158, 0.1);
    transform: scale(1.05);
}

.ip-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

#copy-status {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 2px;
}