/* Styles moved from index.html */
.hidden-audio {
    display: none;
}
/* Modal styles */
.modal {
    display: flex; /* Hidden by default, shown by JS */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #b07a7a; /* Dark pastel red */
    color: black;
    z-index: 1000;
}
.modal-content {
    text-align: center;
}
.modal h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.modal p {
    font-size: 1.2em;
    margin-bottom: 20px;
}
.modal input[type="password"] {
    padding: 10px;
    font-size: 1em;
    border: none;
    background-color: #d3a0a0; /* Lighter pastel red */
    border-radius: 5px;
    margin-bottom: 20px;
    width: 250px;
    text-align: center;
}
.modal button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 20px;
    background-color: #904d4d; /* Red button */
    color: black;
    cursor: pointer;
}
.modal button:hover {
    background-color: #7a3c3c; /* Darker red on hover */
}

/* Volume Slider Styles */
.volume-slider-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d3a0a0; /* Pastel red */
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001; /* Above modal */
}

.volume-slider-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 150px;
    height: 10px;
    background: #ff6b6b; /* Bright red track */
    border-radius: 5px;
    cursor: pointer;
}

.volume-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #904d4d; /* Darker red thumb */
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #904d4d; /* Darker red thumb */
    border-radius: 50%;
    cursor: pointer;
    border: none; /* Important for Firefox */
}

.cherry-emoji {
    position: fixed;
    pointer-events: none;
    font-size: 1.5rem;
    animation: pop 0.6s forwards;
}

@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2) translateY(-30px);
        opacity: 0;
    }
}
