* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Source Code Pro", monospace;
    font-weight: 200;
}

:root {
    --color-background-color: #030207;
    --color-white: #fff;
    --color-blue: #1474b4;
    --color-red: #ff0000;
}

body {
    background-color: var(--color-background-color);
    color: var(--color-white);
    overflow-x: hidden; /* Evita que a página crie barra de rolagem horizontal no celular */
}

a {
    color: var(--color-red);
}

/* --- BANNER PRINCIPAL COM VÍDEO --- */
.bankai { 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), var(--color-background-color)); 
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bankai__background {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: -10;
}

.bankai__foreground {
    color: var(--color-white);
    text-align: center;
    padding: 0 2rem;
}

.bankai__title {
    font-size: clamp(3rem, 5vw, 5rem); /* Texto que cresce e diminui sozinho! */
    font-weight: 300;
    text-shadow: 2px 2px 10px #000; /* Sombrinha para dar leitura em cima do vídeo */
}

.bankai__text {
    margin-top: 2rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SEÇÕES GERAIS --- */
.getsuga {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.getsuga__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 3rem;
}

.getsuga__img {
    border-radius: .75rem;
    box-shadow: 0 1rem 2rem -0.5rem rgb(255, 1, 1);
    object-fit: cover;
    object-position: top;
    max-height: 40em;
    width: 100%;
    max-width: 800px;
}

.getsuga__text {
    font-size: 1.25rem;
    line-height: 1.75;
    margin: 3rem auto;
    max-width: 800px;
}

/* --- MISSÃO 2: ADEUS FLOAT, OLÁ FLEXBOX --- */
.getsuga:has(.getsuga__img-inline) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.getsuga__img-inline {
    border-radius: 2rem;
    box-shadow: 0 1rem 2rem -0.5rem rgb(255, 1, 1);
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
}

.getsuga__text-inline {
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.75;
    max-width: 800px;
}

.getsuga__text-inline p {
    margin-bottom: 1.5rem;
}

/* Regra mágica: Se a tela for de PC, coloca a foto e o texto lado a lado */
@media (min-width: 768px) {
    .getsuga:has(.getsuga__img-inline) {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 4rem;
    }
    
    .getsuga:has(.getsuga__img-inline) .getsuga__title {
        width: 100%; 
    }
    
    .getsuga__img-inline {
        margin-bottom: 0;
    }
    
    .getsuga__text-inline {
        flex: 1; 
        min-width: 300px;
    }
}

/* --- MISSÃO 3: A GALERIA PERFEITA COM CSS GRID --- */
.gallery {
    display: grid;
    /* Essa linha cria colunas automáticas dependendo do tamanho da tela: */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    justify-items: center;
    padding: 2rem 0;
}

.gallery__form-wrapper {
    transition: transform 0.3s ease; /* Prepara o terreno para a animação */
}

/* Efeito super bacana quando passa o mouse por cima da transformação */
.gallery__form-wrapper:hover {
    transform: scale(1.05) translateY(-10px);
}

.gallery__form {
    border-radius: .75rem;
    height: 18rem;
    width: 100%;
    max-width: 18rem;
    object-fit: cover;
    box-shadow: 0 1rem 2rem -0.5rem rgb(255, 1, 1);
}

/* --- RODAPÉ --- */
.mugetsu__footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 4rem;
}

#mugetsu_copy {
    font-size: 0.9rem;
    color: #888;
}