/* 100% CSS funcional, meu parceiro heheheh */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; 
    flex-direction: column;
    text-align: center;
    min-height: 100vh; /* 110hv só pra altura ficar 100% da tela pq se ficar pequeno eu apago a porra toda */
    background-size: cover; /* MEXE NÃO, sabosta vai cagar o fundo */
    background-repeat: no-repeat; /* AI SIM, 100% de fundo, agora vai */
}

/* Tela Inicial */
#tela-inicial {
    margin-bottom: 20px;
}

#mostrar-conteudo {
    font-size: 24px;
    padding: 20px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: #ff4e50;
    color: white;
    transition: 0.3s;
    animation: pulsar 1.5s infinite alternate;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes pulsar {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 78, 80, 0.7);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 78, 80, 1);
    }
}

#mostrar-conteudo:hover {
    background: #fc6767;
}

/* Conteúdo (É a parte do botão que aparece primeiro, tem mistério não) */
#conteudo {
    display: none;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Caixinha de descrição (ta funcionando, amém) */
.descricao-imagem {
    margin-top: 30px;
    font-size: 18px;
    color: #8B0000;
    background: #FFE4E1;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #FF4F79;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    text-align: center;
}

/* Carrossel ou Slide, seilá*/
.swiper {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    height: 420px;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

/* Player da música, tanananam love amor */
.player {
    margin-top: 40px;
    padding: 10px;
    background: #F1F3F4;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

/* Popup (pra imagem e pra fechar) */
.popup-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

/* A imagem bosta da imagem é responsiva, sem cortes, visível, inteira, full, 100%, se quiser cagar ela é só mexer aqui */
.popup img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

/* Botãozin de fechar o popup */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255, 78, 80, 0.7);
    padding: 8px;
    border-radius: 50%;
    z-index: 10000;
}

.popup-close:hover {
    background: #ff4e50;
}

/* Mensagem romântica, love you, uiuiui kkkk */
.mensagem {
    margin-top: 40px;
    font-size: 22px;
    color: #8B0000;
    font-weight: bold;
    padding: 20px;
    background: #FFC1CC;
    border-radius: 15px;
    border: 4px solid #FF4F79;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    width: 80%;
    margin: 40px auto;
    transition: transform 0.3s ease-in-out;
}

.mensagem:hover {
    transform: scale(1.05);
}

/* Responsividade pra rodar em toda tela (ou quase) */
@media (max-width: 768px) {
    .mensagem, .descricao-imagem {
        font-size: 16px;
    }

    .swiper {
        max-width: 100%;
    }

    .player {
        max-width: 90%;
    }

    /* Essa parte é só pro Popup fucnionar no celular o chatgpt me ajudou nessa aqui pq tava foda kssksksk */
    .popup-content {
        width: 95vw;       
        height: auto;      
        max-width: 95%;
        max-height: 95vh;  
        padding: 15px;    
    }
    
    .popup img {
        max-height: 80vh;
    }
    
    /* Relógio */
    #relogio {
    margin-top: 40px;
    font-size: 22px;
    color: #8B0000;
    font-weight: bold;
    padding: 20px;
    background: #FFC1CC;
    border-radius: 15px;
    border: 4px solid #FF4F79;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    width: 80%;
    margin: 40px auto;
    transition: transform 0.3s ease-in-out;
    display: none; /* ta certo aqui, é pra começar escondido e não cobrir o botão do inicio */
}

    /* Estilo do hover pra deixar o relógio filé papai */
    #relogio:hover {
    transform: scale(1.05);
    }
}
