/* Extraído de partials/ignis.php: manter idêntico ao PHP. */
/* =========================================
   ESTILOS DO BANNER (FUNDO ORIGINAL + SLIDES)
   ========================================= */
.dynamic-hero-png {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 6vw 5% 8vw 5%; 
    background-color: transparent; 
    background-image: url('https://globalfire.space/partials/img_ignis26/bgg.png');
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/* Container que segura todos os slides */
.slides-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* O MIOLO INDIVIDUAL DE CADA SLIDE */
.hero-content-png {
    display: none; /* Escondido por padrão */
    align-items: flex-start; /* Alinha TUDO PELO TOPO, sem sobreposição */
    justify-content: center;
    width: 100%;
    gap: 40px; 
}

/* Classe para o slide que está visível */
.active-slide {
    display: flex !important;
}

/* Coluna Lateral Esquerda (Estrelas, Bolinhas, Quadriculados) */
.side-col {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 25px;
    width: 25%; 
    max-width: 220px;
    flex-shrink: 0;
    margin-top: 10px;
}

/* Animações específicas dos ícones laterais */
.img-giratoria {
    width: 100%;
    animation: spinInfinite 15s linear infinite, popIn 0.8s backwards;
}

.img-decor {
    width: 100%; 
    animation: popIn 0.8s backwards 0.3s;
}

.img-quadriculado {
    width: 100%;
    animation: popIn 0.8s backwards;
}

/* Coluna dos Textos (Direita) */
.text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 30px;
    width: 75%; 
    max-width: 750px;
}

.img-titulo {
    width: 100%;
    max-width: 550px;
    animation: popIn 0.8s backwards 0.2s, floatTitle 4s ease-in-out infinite alternate;
}

.img-texto {
    width: 100%;
    animation: popIn 0.8s backwards 0.5s;
    transition: transform 0.3s ease;
}
.img-texto:hover { transform: scale(1.02); }

/* --- Camadas Flutuantes Originais (Raios e Ignis) --- */
.hero-layer { position: absolute; z-index: 1; transition: transform 0.3s ease; cursor: pointer; }
.raio-esq { bottom: 25%; left: 4%; width: 5vw; max-width: 70px; animation: popIn 0.6s backwards 0.5s; }
.raio-esq:hover { transform: scale(1.2) rotate(-15deg); }
.raio-dir { top: 8%; right: 4%; width: 6vw; max-width: 80px; animation: popIn 0.6s backwards 0.6s; }
.raio-dir:hover { transform: scale(1.2) rotate(15deg); }
.ignis-txt { bottom: 6%; right: 3%; width: 15vw; max-width: 200px; z-index: 3; animation: popIn 0.8s backwards 0.7s; }
.ignis-txt:hover { transform: scale(1.1) rotate(-4deg); }

/* =========================================
   NOVOS BOTÕES VIDEOGAME (SVG)
   ========================================= */
.controles-slide {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    z-index: 10;
    animation: popIn 1s backwards 1s;
}

.btn-acao {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DFFF00; /* Amarelo Limão */
    border: 3px solid #000;
    width: 65px;
    height: 50px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    transition: all 0.2s ease;
}
.btn-acao:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px #000; }
.btn-acao:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #000; }

/* Ícones SVG dentro dos botões */
.btn-acao svg {
    width: 30px;
    height: 30px;
    fill: #000; /* Preenchimento da seta */
}

/* ================= KEYFRAMES ================= */
@keyframes spinInfinite { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.8) translateY(40px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes floatTitle { 0% { transform: translateY(0px); } 100% { transform: translateY(-10px); } }

/* ================= MOBILE ================= */
@media (max-width: 850px) {
    .dynamic-hero-png {
        background-size: cover; 
        background-position: center;
        padding: 100px 5% 80px 5%;
    }
    .hero-content-png {
        flex-direction: row; 
        gap: 15px;
    }
    
    .side-col { width: 30%; max-width: 100px; margin-top: 5px; }
    .text-column { width: 70%; gap: 20px; }
    
    .raio-esq { display: none !important; }
    .raio-dir { top: 7%; right: 3%; width: 55px; }
    .ignis-txt { bottom: 15px; right: 15px; width: 120px; }
    
    /* Botões levemente menores no celular */
    .btn-acao { width: 55px; height: 45px; }
    .btn-acao svg { width: 24px; height: 24px; }
}
