body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url('input_file_0.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Overlay mais escuro para diminuir a distração do fundo */
    background-color: rgba(10, 5, 20, 0.85);
    z-index: -1;
}

.container {
    max-width: 950px;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    /* Novo estilo para destacar o conteúdo */
    background-color: rgba(23, 18, 38, 0.6);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.poster-container {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.poster {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.content .subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 25px 0;
    max-width: 500px;
}

.summary {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px; /* Melhora a leitura em telas largas */
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-button {
    background-color: #5865F2;
    color: #ffffff;
    padding: 12px 24px 12px 18px;
    font-size: 1.15em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.discord-button:hover { 
    background-color: #4f5bda;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}
.discord-button svg { width: 28px; height: 28px; }

/* --- SEÇÕES ADICIONAIS --- */
.trailer-section, .showcase {
    width: 100%;
    max-width: 900px;
    margin-top: 80px;
    text-align: center;
}

.trailer-section h2, .showcase h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #ffffff;
}

.video-container, .carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-container video {
    width: 100%;
    height: 100%;
}

/* --- CARROSSEL --- */
.carousel-slide {
    display: flex;
    /* Usa o número total de imagens para o cálculo */
    width: calc(100% * 10); 
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    /* A largura de cada imagem é 100% dividido pelo total de imagens */
    width: calc(100% / 10);
    height: 100%;
    flex-shrink: 0;
    /* 'contain' garante que a imagem inteira apareça, sem cortes */
    object-fit: contain; 
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-button:hover { background-color: rgba(0, 0, 0, 0.8); }
.carousel-button.prev { left: 15px; }
.carousel-button.next { right: 15px; }

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dot.active, .dot:hover { background-color: rgba(255, 255, 255, 0.9); }

/* --- LINKS SOCIAIS E RODAPÉ --- */
.social-links {
    margin-top: 60px;
    margin-bottom: 40px;
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #ffffff;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

footer {
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.8em;
    opacity: 0.5;
}

/* Estilo para esconder o H1, mas mantê-lo para leitores de tela */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- LAYOUT RESPONSIVO --- */

@media (max-width: 767px) {
    .content h2 { font-size: 1.8em; }
    .trailer-section h2, .showcase h2 { font-size: 1.5em; }
}

@media (min-width: 768px) {
    .container {
        flex-direction: row; 
        text-align: left;
        gap: 40px;
        padding: 40px;
        align-items: center; /* Alinha verticalmente a imagem e o texto */
    }
    
    .poster-container {
        flex: 1; 
        margin-bottom: 0;
        max-width: 350px;
    }

    .content {
        flex: 1.5; /* Dá um pouco mais de espaço para o texto */
        align-items: flex-start;
    }

    .button-container { 
        justify-content: flex-start; 
    }
}