/* Reset básico e vibe maximalista/colorida */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0, #fd79a8, #e17055, #00b894, #a29bfe, #fdcbf1); /* Gradiente rainbow maximalista */
    background-size: 400% 400%; /* Para animação */
    animation: rainbow 10s ease infinite; /* Animação de cores mudando devagar */
    color: #2d3436;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="glitter" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="gold" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23glitter)"/></svg>'); /* Padrão glitter sutil */
    pointer-events: none;
    z-index: -1;
    animation: sparkle 3s linear infinite; /* Animação de brilho */
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Partículas de estrelas: Efeito de fundo flutuante/caindo */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star-layer::before,
.star-layer::after {
    content: '⭐'; /* Emoji de estrela – ou use ★ para mais pixelado */
    position: absolute;
    font-size: 1em;
    color: #ffd700; /* Dourado */
    animation: fall linear infinite;
    opacity: 0.8;
}

#layer1::before { top: -10%; left: 10%; animation-duration: 15s; font-size: 1.2em; }
#layer1::after { top: -20%; left: 30%; animation-duration: 20s; font-size: 0.8em; }

#layer2::before { top: -15%; left: 50%; animation-duration: 18s; font-size: 1em; }
#layer2::after { top: -25%; left: 70%; animation-duration: 22s; font-size: 1.5em; }

#layer3::before { top: -5%; left: 20%; animation-duration: 12s; font-size: 0.9em; }
#layer3::after { top: -30%; left: 80%; animation-duration: 25s; font-size: 1.1em; }

#layer4::before { top: -10%; left: 60%; animation-duration: 16s; font-size: 1.3em; }
#layer4::after { top: -18%; left: 90%; animation-duration: 19s; font-size: 0.7em; }

#layer5::before { top: -8%; left: 40%; animation-duration: 14s; font-size: 1em; }
#layer5::after { top: -22%; left: 15%; animation-duration: 21s; font-size: 1.4em; }

@keyframes fall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Header colorido com gif */
header {
    background: linear-gradient(to bottom, #fd79a8, #e17055, #fdcb6e); /* Mais camadas de cor */
    padding: 25px;
    text-align: center;
    border-bottom: 6px solid #00b894;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.2); /* Sombras múltiplas maximalistas */
    position: relative;
}

.header-decor {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.decor-gif {
    width: 100px;
    height: 100px; /* Maior para maximalismo */
    animation: bounce 1.5s infinite, spin 6s linear infinite; /* Bounce + spin combinados */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-15px) rotate(5deg); }
    60% { transform: translateY(-8px) rotate(-5deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

header h1 {
    font-size: 3em; /* Maior e mais impactante */
    color: #fff;
    text-shadow: 4px 4px 0 #ff6b6b, 2px 2px 0 #ffd700; /* Sombras duplas coloridas */
    margin-bottom: 20px;
    animation: wiggle 2s infinite, glow 2s ease-in-out infinite alternate; /* Wiggle + brilho */
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

@keyframes glow {
    from { text-shadow: 4px 4px 0 #ff6b6b, 2px 2px 0 #ffd700, 0 0 10px #fff; }
    to { text-shadow: 4px 4px 0 #ff6b6b, 2px 2px 0 #ffd700, 0 0 30px #ffd700; }
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    background: linear-gradient(45deg, #00b894, #a29bfe);
    border: 3px solid #fdcb6e;
    border-radius: 25px;
    transition: all 0.4s ease;
    font-size: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    background: linear-gradient(45deg, #fdcb6e, #ff6b6b);
    transform: scale(1.2) rotate(10deg); /* Mais exagerado */
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.6), 0 0 20px #ffd700; /* Explosão de sombra */
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

section {
    margin-bottom: 60px;
    padding: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); /* Transparente para ver estrelas */
    border: 5px solid #ffd700;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 215, 0, 0.3); /* Sombras glitter */
    animation: slideIn 1s ease-out, pulse 4s infinite; /* Slide + pulso sutil */
    position: relative;
    backdrop-filter: blur(5px); /* Efeito glassmorphism maximalista */
}

section:nth-child(even) {
    background: linear-gradient(to bottom, rgba(162, 155, 254, 0.3), rgba(116, 185, 255, 0.1));
    border-color: #00b894;
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.5); } /* Completo agora! */
}

h2 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 0 #fdcb6e; /* Sombra amarela */
}

p {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
}

/* Seção de Zines: Scroll horizontal com animações */
.zine-scroll {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: #fdcb6e #a29bfe;
    scroll-behavior: smooth; /* Scroll suave */
}

.zine-scroll::-webkit-scrollbar {
    height: 10px;
}

.zine-scroll::-webkit-scrollbar-track {
    background: #a29bfe;
    border-radius: 10px;
}

.zine-scroll::-webkit-scrollbar-thumb {
    background: #fdcb6e;
    border-radius: 10px;
}

.zine-item {
    flex: 0 0 280px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border: 3px solid #00b894;
    border-radius: 15px;
    box-shadow: 8px 8px 0 #ff6b6b; /* Sombra vermelha para "livrinho" 3D */
    transition: all 0.4s ease;
}

.zine-item:hover {
    transform: scale(1.1) rotate(3deg); /* Escala e rotação bouncy */
    box-shadow: 12px 12px 0 #fdcb6e;
}

/* Estilos para Zines Multi-Página (Flipbook) */
.zine-cover {
    cursor: pointer;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border: 3px solid #00b894;
    border-radius: 15px;
    transition: all 0.4s ease;
    margin-bottom: 10px;
}

.zine-cover:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.5);
}

.zine-cover img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.zine-cover h3 {
    font-size: 1em;
    color: #2d3436;
    margin-top: 10px;
}

.zine-pages {
    display: none; /* Escondido por padrão */
    max-height: 400px; /* Limite de altura para scroll */
    overflow-y: auto; /* Scroll vertical para páginas */
    background: linear-gradient(to bottom, #fff, #f8f9fa);
    border: 3px solid #fdcb6e;
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    animation: fadeInUp 0.5s ease-out; /* Animação de entrada */
    scrollbar-width: thin;
    scrollbar-color: #ffd700 #eee;
}

.zine-pages::-webkit-scrollbar {
    width: 8px;
}

.zine-pages::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
}

.zine-pages::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.zine-pages img {
    width: 100%;
    max-width: 250px; /* Largura fixa para páginas */
    height: auto;
    display: block;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.zine-pages img:hover {
    transform: scale(1.02) rotate(1deg); /* "Virada" fofa no hover */
}

.close-btn {
    text-align: center;
    color: #00b894;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px;
    background: rgba(0, 184, 148, 0.2);
    border-radius: 5px;
}

.close-btn:hover {
    background: #00b894;
    color: white;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Seção de Gatos: Grid com imagens uniformes e quadradas */
.cats-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Largura mínima de 250px por célula para uniformidade */
    gap: 20px;
    margin-bottom: 20px;
    overflow: hidden; /* Previne que imagens saiam do quadrante */
}

.cats-gallery img {
    width: 100%;
    height: 250px; /* Altura fixa para uniformidade – mude para 200px se quiser menor */
    aspect-ratio: 1 / 1; /* Força proporção quadrada (1:1) – resolve tamanhos diferentes! */
    object-fit: cover; /* Corta a imagem para caber perfeitamente, sem distorção */
    object-position: center; /* Centraliza o foco (ex: rosto do gato no meio) */
    display: block; /* Evita espaços extras */
    border: 3px solid #fdcb6e;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Garante que não ultrapasse o container */
    max-height: 100%;
}

.cats-gallery img:hover {
    transform: scale(1.05) rotate(2deg); /* Animação fofa no hover */
    border-color: #00b894;
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}

.cats-decor {
    text-align: center;
    margin-top: 20px;
}

/* Seção Extras: Grid para quotes ou links opcionais */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.extra-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.extra-item:hover {
    transform: scale(1.05);
    background: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba