/* ===== título 3D + intro ===== */

#filmesintro {
    width: 100%;
    padding: 5vw 4vw 3vw;
    box-sizing: border-box;
    text-align: center;
    background-color: rgb(221, 221, 221); /* cinza claro */
}

.filmes-titulo3d {
    margin: 0 0 1vw;
    font-size: 3vw;
    font-weight: 900;
    line-height: 1.25;
    color: rgb(48, 48, 48); /* roxo chamativo */
    text-shadow:
        1px 1px 0 rgb(0, 0, 0),
        2px 2px 0 rgb(96, 88, 105),
        3px 3px 0 rgb(185, 185, 185),
        4px 4px 0 rgb(216, 216, 216),
        5px 5px 0 rgb(11, 6, 19),
        6px 6px 10px rgba(0, 0, 0, 0.35);
}

.filmes-subtitulo3d {
    margin: 0;
    font-size: 1.6vw;
    font-weight: 900;
    color: rgb(120, 120, 126); /* cinza claro, mesmo esquema */
    text-shadow:
        1px 1px 0 rgb(90, 90, 96),
        2px 2px 0 rgb(70, 70, 76),
        3px 3px 0 rgb(50, 50, 56),
        4px 4px 6px rgba(0, 0, 0, 0.3);
}

/* ===== grid de reviews de filmes — mesmo esquema dos jogos ===== */

#filmesreview {
    position: relative;
    width: 100%;
    padding: 3vw 3vw 5vw;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;

    background-color:rgb(172, 172, 172);
    background-image:
        linear-gradient(30deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(120deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
}

.filmesreview-linha {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 1vw;
    width: 100%;
}

.filme-thumb {
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 2 / 3; /* proporção de cartaz de cinema */
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.555);
    border: 2px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.filme-thumb:hover {
    transform: translateY(-6px) scale(1.04);
    z-index: 2;
    position: relative;
}

.filme-thumb.ativa {
    border-color: rgb(0, 0, 0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.filmesreview-detalhe {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3vw;
    justify-content: center;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;

    transition: max-height 0.6s ease, opacity 0.45s ease, margin-top 0.6s ease;
}

.filmesreview-detalhe.aberto {
    max-height: 900px;
    opacity: 1;
    margin-top: 3.5vw;
}

.filmesreview-capa {
    width: min(22vw, 300px);
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);

    transform: scale(0.75);
    opacity: 0;
    animation: capa-filme-crescer 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes capa-filme-crescer {
    from { transform: scale(0.75); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.filmesreview-info {
    max-width: 32vw;
    min-width: 260px;
    color: rgb(30, 30, 34);
    text-align: left;
}

.filmesreview-info h3,
.filmesreview-info p {
    opacity: 0;
    transform: translateY(14px);
    animation: texto-filme-surgir 0.6s ease forwards;
}

.filmesreview-info h3 {
    margin: 0 0 1vw 0;
    font-size: 2vw;
    font-weight: bold;
    color: rgb(3, 3, 3);
    animation-delay: 0.18s;
}

.filmesreview-info p {
    margin: 0;
    font-size: 1.1vw;
    line-height: 1.6;
    animation-delay: 0.32s;
}

@keyframes texto-filme-surgir {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .filmes-titulo3d { font-size: 6vw; }
    .filmes-subtitulo3d { font-size: 3.6vw; }
    .filmesreview-linha { flex-wrap: wrap; gap: 2vw; justify-content: center; }
    .filme-thumb { flex: 0 1 26vw; }
    .filmesreview-capa { width: 60vw; }
    .filmesreview-info { max-width: 90vw; }
    .filmesreview-info h3 { font-size: 5vw; }
    .filmesreview-info p { font-size: 3.6vw; }
}