#cinema-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
}

#cinema-intro.active {
    opacity: 1;
    pointer-events: auto;
    animation: introDisappear 4s forwards 4s;
}

#cinema-intro h1 {
    font-weight: 700;
    opacity: 0;
    animation: fadeInLogo 3s forwards;
    color: #7f00ff;
    text-shadow: 0 0 15px #7f00ff;

    /* 🔥 Evita sumir pros lados */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* 🔥 Tamanho inteligente */
    font-size: clamp(0.9rem, 4.2vw, 2.4rem);

    /* 🔥 Menos espaçamento (para caber melhor) */
    letter-spacing: 2px;
}



@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introDisappear {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Filme granulado */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('/public/assets/grain.png');
    opacity: 0.12;
    mix-blend-mode: overlay;
    animation: grainMove 1.7s infinite;
    z-index: 9998;
    display: none;
}

@keyframes grainMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Vignette */
.vignette {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 9997;
    display: none;
}

/* ============================
       CÍRCULO E PLAY
    ============================= */

.circle-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 80px auto 0;
    transition: .5s;
}

.circle-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotateCircle 18s linear infinite;
    transition: opacity .5s ease;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icon-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 0 12px #7f00ff;
}

/* posições dos ícones */
.icon-1 {
    transform: translate(-50%, -50%) rotate(0deg) translate(0, -130px);
}

.icon-2 {
    transform: translate(-50%, -50%) rotate(40deg) translate(0, -130px);
}

.icon-3 {
    transform: translate(-50%, -50%) rotate(80deg) translate(0, -130px);
}

.icon-4 {
    transform: translate(-50%, -50%) rotate(120deg) translate(0, -130px);
}

.icon-5 {
    transform: translate(-50%, -50%) rotate(160deg) translate(0, -130px);
}

.icon-6 {
    transform: translate(-50%, -50%) rotate(200deg) translate(0, -130px);
}

.icon-7 {
    transform: translate(-50%, -50%) rotate(240deg) translate(0, -130px);
}

.icon-8 {
    transform: translate(-50%, -50%) rotate(280deg) translate(0, -130px);
}

.icon-9 {
    transform: translate(-50%, -50%) rotate(320deg) translate(0, -130px);
}

/* PLAY */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: #7f00ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #7f00ff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .4s;
    z-index: 2;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 35px #9b30ff;
}

.play-btn i {
    font-size: 2.5rem;
    color: #fff;
    margin-left: 5px;
}

/* ============================
       TEXTOS CINEMATOGRÁFICOS
    ============================= */

.cinema-section {
    opacity: 0;
    display: none;
    margin-top: 120px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.cinema-text {
    display: none;
    opacity: 0;
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    /* 🔥 ajusta automaticamente conforme a tela */
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #e0e0ff;
    /* tom suave de branco azulado */
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(127, 0, 255, 0.5), 0 0 20px rgba(127, 0, 255, 0.2);
    /* glow roxo suave */
    transition: opacity 1.5s ease, transform 1.5s ease;
    transform: translateY(20px);
    /* animação inicial de subida */
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    /* elegante e moderno */
    text-align: center;
}

/* Classe para aparecer suavemente */
.cinema-text.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    /* sobe suavemente */
}




.btn-ver-projetos:hover {
    background: #9b30ff;
    box-shadow: 0 0 30px #9b30ff;
    transform: scale(1.05);
}

.btn-ver-projetos {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    font-size: 1.2rem;
    background: #7f00ff;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 0 15px #7f00ff;
    transition: .3s;
    opacity: 0;
}

/* Ajuste para telas menores */
@media (max-width: 576px) {
    .btn-ver-projetos {
        padding: 10px 18px;
        font-size: 0.95rem;
        margin-top: 12px;
    }


    /* Para os espaçamentos entre botões */
    .btn-ver-projetos.ms-1,
    .btn-ver-projetos.me-1 {
        margin-left: 6px;
        margin-right: 6px;
    }
}