/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a2a 0%, #000000 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: #111111;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.container .highlight {
    -webkit-background-clip: text;
    background-clip: text;
    color: blue;
    
    /* Apenas uma linha fina branca ao redor do texto */
    -webkit-text-stroke: 1px white;
    
    filter: drop-shadow(0px 0px 3px white);
}

.logo span {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.btn-voltar {
    background: gold;
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-voltar:hover {
    background: #ffea2f;
    transform: translateY(-2px);
}


/* ===== GALERIA ===== */
.main {
    padding: 50px 0 80px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.gallery-header h1 span {
    background: linear-gradient(135deg, gold, #ffea2f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stats span {
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: gold;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stats i {
    margin-right: 8px;
}

/* Grid de Posters */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card do Poster */
.poster-card {
    background: #111111;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #222;
    position: relative;
}

.poster-card:hover {
    transform: translateY(-10px);
    border-color: gold;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
}

.poster-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, #1a1a2a, #0a0a15);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.poster-card:hover .poster-img {
    transform: scale(1.08);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-card:hover .poster-overlay {
    opacity: 1;
}

.poster-info {
    padding: 20px;
    text-align: center;
}

.poster-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.poster-character {
    font-size: 0.9rem;
    color: gold;
    margin-bottom: 15px;
    font-style: italic;
}

.btn-download {
    background: transparent;
    color: gold;
    border: 2px solid gold;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.btn-download:hover {
    background: gold;
    color: #000;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-download i {
    font-size: 0.9rem;
}

/* Toast de notificação */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111;
    color: gold;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid gold;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    margin-right: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 40px;
}

.footer p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer a {
    color: gold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffea2f;
    text-decoration: underline;
}

/* Botão Topo */
#btn-cookie-settings {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111;
    color: gold;
    border: 1px solid gold;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#btn-cookie-settings:hover {
    background: gold;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .gallery-header h1 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .posters-grid {
        gap: 20px;
    }
    
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-voltar {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .toast-notification {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .poster-title {
        font-size: 1rem;
    }
    
    .btn-download {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .gallery-header h1 {
        font-size: 1.5rem;
    }
}