/* --- 1. CONFIGURAÇÕES GERAIS (TEMA MANGÁ MODERN) --- */
body {
    background-color: #0d0d0d; /* Fundo escuro focado no contraste */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-family: 'Roboto', sans-serif;
    color: #eeeeee;
}

/* Efeito de linhas de ação (Mangá Speed Lines) no fundo */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- 2. BANNER DE COMANDO --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    flex-wrap: wrap;
    gap: 20px;
}

.header-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: #ffffff;
    margin: 0;
    text-shadow: 4px 4px 0px #ff00007e; /* Sombra sólida estilo HQ */
}

.header-container h2.imagem-rotativa {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 3vw, 1.8rem);
    color: #ffffffd2; /* Vermelho vibrante Mangá */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    height: 150px;
}

.header-container h2 span {
    position: absolute;
    white-space: nowrap;
    animation: blurCiclo 4.0s infinite ease-in-out;
}

.header-container h2::after {
    content: "";
    position: absolute;
    width: 130px; 
    height: 130px;
    background-image: url('logo\ principal.png');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    opacity: 0;
    filter: blur(15px);
    animation: blurCiclo 4.0s infinite ease-in-out 2.0s;
    
}

@keyframes blurCiclo {
    0%, 100% { opacity: 0; filter: blur(10px); transform: scale(0.9); }
    10%, 40% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

/* --- 3. GALERIA DE MANGÁS (ESTANTE DINÂMICA) --- */
.galeria-wrapper {
    position: relative;
    width: 95%;
    max-width: 1300px;
    margin: 40px auto;
    display: flex;
    align-items: center;
}

#galeria {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 30px 10px;
    width: 100%;
}

#galeria img {
    flex: 0 0 auto;
    height: 380px;
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #1a1a1a;
    box-shadow: 10px 10px 0px rgba(255, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

#galeria img:hover {
    transform: translateY(-15px) rotate(2deg);
    border-color: #ff0000;
    box-shadow: 15px 15px 0px rgba(255, 0, 0, 0.5);
    filter: brightness(1.1);
}

/* --- 4. BOTÕES DE VIDRO (CONFORME SOLICITADO) --- */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.btn-nav:hover {
    /* Degradê amarelo fraco solicitado */
    background: linear-gradient(135deg, #fff9c4 0%, #ffffff 100%);
    color: #000;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px rgba(255, 249, 196, 0.5);
}

.btn-prev { left: -25px; }
.btn-next { right: -25px; }

/* --- 5. SEÇÃO DE CONVERSÃO MANGÁ (BOTÃO FINAL ADAPTADO) --- */
.compra-manga {
    text-align: center;
    padding: 80px 20px;
    background: #000;
    border-top: 4px solid #ff0000;
    margin-top: 50px;
}

.compra-manga h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.compra-manga p {
    color: #aaa;
    margin-bottom: 35px;
}

/* O Botão Estilo Manga */
.btn-manga-style {
    display: inline-block;
    padding: 20px 50px;
    background: #ff0000; /* Vermelho Power */
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0px; /* Quadrado clássico HQ */
    border: 3px solid #ffffff;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0px #ffffff;
}

.btn-manga-style:hover {
    background: #000;
    color: #ff0000 !important;
    border-color: #ff0000;
    box-shadow: 0px 0px 20px #ff0000;
    transform: translate(-4px, -4px);
}

.seta-manga {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-manga-style:hover .seta-manga {
    transform: translateX(8px);
}

/* --- 6. ADAPTAÇÃO MOBILE --- */
@media (max-width: 768px) {
    .header-container { padding: 40px 5%; justify-content: center; }
    #galeria img { height: 300px; width: 200px; }
    .btn-nav { width: 45px; height: 45px; font-size: 1.2rem; }
    .btn-prev { left: 5px; }
    .btn-next { right: 5px; }
    #galeria { overflow-x: auto; }
    .btn-manga-style { width: 100%; box-sizing: border-box; }
}