@import url('https://googleapis.com');

/* Variáveis de Estilo */
:root {
    --vermelho-chigiri: #bd165b;
    --vinho-escuro: #4A0404;
    --fundo-papel: #0a0a0a;
    --texto: #f0f0f0;
    --hachura: radial-gradient(#333 1px, transparent 1px);
}

body {
    background-color: var(--fundo-papel);
    background-image: var(--hachura);
    background-size: 4px 4px; /* Pontilhados de retícula de mangá */
    color: var(--texto);
    font-family: 'Oswald', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Menu Reto e Sólido */
nav {
    background: var(--vermelho-chigiri);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    border-bottom: 5px solid black; /* Linha preta grossa de contorno de desenho */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    font-family: 'Bangers', cursive;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    margin: 0 25px;
    letter-spacing: 2px;
    transition: 0.2s;
    text-transform: uppercase;
}

nav a:hover {
    color: black;
    transform: scale(1.1);
}

/* Header Reto com Foco na Imagem */
header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://wallpapers-clan.com');
    background-size: cover;
    background-position: center 20%;
    border-bottom: 8px solid black;
}

h1 {
    font-family: 'Bangers', cursive;
    font-size: 6rem;
    color: white;
    text-shadow: 6px 6px 0px var(--vermelho-chigiri), 10px 10px 0px black;
    text-transform: uppercase;
    margin: 0;
}

/* Painel de Texto (Página do Mangá) */
main {
    max-width: 850px;
    margin: 60px auto;
    background: white;
    color: black;
    padding: 60px;
    position: relative;
    border: 5px solid black;
    box-shadow: 15px 15px 0px var(--vermelho-chigiri);
}

/* Detalhe de Onomatopeia */
main::before {
    content: "FAST!!";
    position: absolute;
    top: -25px;
    left: -20px;
    background: black;
    color: white;
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    padding: 5px 20px;
    transform: rotate(-10deg);
    z-index: 11;
}

h2 {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: black;
    text-transform: uppercase;
    border-bottom: 6px solid black;
    margin-bottom: 30px;
    display: inline-block;
}

p {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 25px;
}

/* Imagens Centrais Estilo Impacto */
.img-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.img-container img {
    max-width: 85%;
    border: 6px solid black;
    filter: grayscale(100%) contrast(150%);
    transition: 0.3s ease-in-out;
}

.img-container img:hover {
    filter: grayscale(0%);
    transform: rotate(1deg) scale(1.02);
    box-shadow: 10px 10px 0px black;
}

/* Configuração de Imagens Rentes ao Quadro Branco */
.img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
}

/* Configuração para padronizar o tamanho de todas as imagens */
.img-box img {
    width: 100%;          /* Ocupa toda a largura do quadro branco */
    max-width: 100%;      
    height: 400px;        /* ALTURA FIXA: Força todas a terem exatamente o mesmo tamanho vertical */
    object-fit: cover;    /* CORTA A IMAGEM PERFEITAMENTE: Preenche o espaço sem distorcer ou esticar */
    object-position: center 20%; /* Foca na parte superior/central da imagem (ótimo para rostos e corpos) */
    border: none;         
    border-top: 5px solid black;    
    border-bottom: 5px solid black; 
    filter: grayscale(100%) contrast(140%); 
    transition: filter 0.3s ease-in-out;
}


.img-box img:hover {
    filter: grayscale(0%) contrast(100%); /* Revela a cor original ao passar o mouse */
}

/* Rodapé */
footer {
    text-align: center;
    padding: 50px;
    font-family: 'Bangers', cursive;
    color: var(--vermelho-chigiri);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--vermelho-chigiri); border: 2px solid black; }


/* Estilos Exclusivos para a Página de Citações */
.mural-citacoes {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide o quadro em duas colunas */
    gap: 40px;
    padding: 0 40px;
}

.item-citacao {
    background: #fdfdfd;
    border: 4px solid black;
    box-shadow: 8px 8px 0px black;
    overflow: hidden;
    transition: 0.3s ease;
}

.item-citacao:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 12px 12px 0px var(--vermelho-chigiri);
}

.item-citacao img {
    width: 100%;
    height: 280px; /* Altura padronizada para as fotos do mural */
    object-fit: cover;
    border: none;
    border-bottom: 4px solid black;
}

.texto-citacao {
    padding: 20px;
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    line-height: 1.4;
    color: black;
    text-align: center;
    background: #fff;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .mural-citacoes { grid-template-columns: 1fr; padding: 0 20px; }
}

