:root {
    --background-image: url('');
    --background-blur: 8px;
    --background-brightness: 0.4;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Unfocused background */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    filter: blur(var(--background-blur)) brightness(var(--background-brightness));
    z-index: -1;
}

header {
    padding: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.audio-player {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 500px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

audio {
    width: 100%;
    margin-top: 1rem;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.2);
}

.image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.image-button img {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    object-fit: contain;
}

.image-button img:hover {
    transform: scale(1.1); /* Optional hover effect */
    transition: transform 0.2s;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .audio-player {
        width: 95%;
        padding: 1rem;
    }
}
