/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-menu { list-style: none; display: flex; gap: 30px; }
.nav-link { 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #3e0000 0%, #000000 100%);
    position: relative;
    padding-top: var(--nav-height);
}

/* --- LAYOUT HERO ORGANIZADO --- */

/* 1. Área do Texto */
.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 0; 
    padding-top: 20px;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.1; }
.hero-content p { font-size: 1.5rem; margin-bottom: 2.5rem; color: var(--text-muted); }

/* 2. Área dos Personagens (Cluster) */
.hero-characters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: 2; 
    pointer-events: none;
    
    display: flex;
    justify-content: center; 
    align-items: flex-end; /* Alinha todos pela base (pé) */
    padding-bottom: 0; 
    overflow: hidden; /* Garante que não crie barra de rolagem */
}

/* 3. Imagens dos Personagens (Configuração Base) */
.char-img {
    height: auto; 
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

/* --- TAMANHOS E POSIÇÕES ESPECÍFICAS --- */
/* Usamos 'vh' (altura da tela) para garantir que fiquem grandes sem cortar */

.char-sum {
    height: 75vh;
    position: relative;
    z-index: 1;
    margin-right: 80px;
}

.char-mg {
    /* MG (Centro) */
    height: 85vh; /* Ocupa 85% da altura (O maior) */
    position: relative;
    z-index: 10; /* Fica na frente */
    margin-bottom: -20px; /* Esconde levemente o pé */
}

.char-sm {
    height: 80vh;
    position: relative;
    z-index: 1;
    margin-left: 80px;
}

/* Sections e outros componentes */
.section-padding { padding: 100px 0; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 50px;
    border: 1px solid #000;
    display: inline-flex;
}

.stat-item { text-align: center; }
.stat-number { font-size: 1.5rem; font-weight: bold; color: var(--text-main); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }

/* --- RESPONSIVIDADE --- */

/* Ajuste Fino para Notebooks (1366x768) */
@media screen and (min-width: 1024px) and (max-height: 800px) {
    .char-sum { height: 80vh; margin-right: 130px; }
    .char-mg  { height: 95vh; margin-bottom:  80px; } /* MG bem grande */
    .char-sm  { height: 85vh; margin-left: 100px; }  /* SM bem grande */
    
    .hero-content { transform: scale(0.9); margin-top: -20px; } /* Reduz texto para caber */
}

/* Celulares */
@media (max-width: 768px) {
    .hero-content { margin-top: -10vh; transform: scale(0.85); }
    
    .char-mg  { height: 60vh; width: auto; }
    .char-sum { height: 50vh; width: auto; margin-right: -80px; opacity: 0.5; }
    .char-sm  { height: 50vh; width: auto; margin-left: -80px; opacity: 0.5; }
}