@font-face {
    font-family: 'Blueming';
    src: url('../fonts/Blueming.otf') format('opentype');
}

@font-face {
    font-family: 'Holiday';
    src: url('../fonts/Holiday.otf') format('opentype');
}


body {
    margin: 0;
    padding: 0;
    background: #2f2356;
    overflow-x: hidden;
    color: white;
    font-family: 'Arial', sans-serif;
}

/* Céu estrelado */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #2f2356;
    z-index: -1;
}

canvas {
    display: block;
}

/* Mensagem central */
.message {
    height: 100vh;
    margin-top: -100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2em;
    padding: 20px;
}

.message h2 {
    margin-top: -100px;

}

.nome-festa {
    font-family: 'Holiday', cursive;
    font-size: 3em;
    color: #fff;
}

/* Seção dos vídeos */
.videos {
    padding: 20px 20px 40px 20px;
    background: #d8cbe7;
    text-align: center;
}

.titulo-videos {
    font-family: 'Holiday', cursive;
    color: #333;
    font-size: 40px;
    margin-bottom: 10px;
}

.videos h2 {
    font-weight: normal;
    font-size: 25px;
    color: #333;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza horizontalmente */
    gap: 20px; /* Espaço entre vídeos */
}

.video-container {
    flex: 1 1 320px; /* Mínimo 320px */
    max-width: 400px; /* Mantém tamanho confortável no desktop */
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Mobile - vídeo ocupa toda a largura */
@media (max-width: 767px) {
    .video-container {
        max-width: 100%;
    }
}


/* Seção outras mensagens */
.outras-mensagens {
    text-align: center;
    padding: 50px 20px;
    background: #f0e7f8;
    color: #333;
}

.outras-mensagens p {
    font-size: 24px;
    margin-bottom: 15px;
}

.btn-mensagens {
    display: inline-block;
    background: #6b4caf;
    color: white;
    padding: 12px 25px;
    font-size: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-mensagens:hover {
    background: #54348c;
}



/* Lightbox */
.lightbox {
    display: none; /* escondido por padrão */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.lightbox video {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
}


#jogo-estrelas {
    text-align: center;
    padding: 30px;
    background: #d8cbe7;
    color: #333;
}

#area-jogo {
    position: relative;
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.estrela {
    position: absolute;
    width: 40px;
    height: 40px;
    background: gold;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    cursor: pointer;
    box-shadow: 0 0 10px yellow;
}

#start-game {
    padding: 10px 20px;
    background: #6b4caf;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#start-game:hover {
    background: #54348c;
}
