* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #858585 100%);
    font-family: 'Poppins', sans-serif;
    overflow: hidden; 
}

.container {
    text-align: center;
    background: rgba(197, 197, 197, 0.678);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 400px;
    border: 2px solid #ffdde1;
    position: relative;
    z-index: 10;
}

h1 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.gif-container img {
    width: 100%;
    max-width: 150px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    min-height: 60px;
    margin-bottom: 20px;
}

button {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

#btnSim {
    background-color: #002499;
    color: white;
    box-shadow: 0 4px 15px rgba(4, 6, 109, 0.4);
    z-index: 10;
}

#btnSim:hover {
    transform: scale(1.05);
    background-color: #ff2a52;
}

#btnNao {
    background-color: #e0e0e0;
    color: #555;
    position: 10px;
    z-index: 100;
}

.hidden {
    display: none !important;
}

#mensagemFinal {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.music-player {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ffdde1;
}

.music-label {
    font-size: 0.8rem;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    outline: none;
}

@media (max-width: 380px) {
    .btn-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
    }
    #btnNao { position: relative; }
    h1 { font-size: 1.4rem; }
}