@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    max-width: 500px;
    width: 90%;
}

h1 { 
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

a {
    display: block;
    background: rgba(0,0,0,0.6);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

a:hover {
    background: rgba(255,255,255,0.15);
}

footer {
    position: fixed;
    bottom: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-top: -10px;
    margin-bottom: 30px;
    color: #ddd;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.logo {
    width: 80px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
    border-radius: 8px;
}

/* PLAYER MINIMALISTA */
.player-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 15px;
    width: 250px; /* Ajustei a largura */
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ESCONDE A LISTA DE MÚSICAS */
.playlist {
    display: none;
}

.custom-player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.music-info {
    text-align: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    min-height: 38px; /* Evita que o layout pule */
}

#song-title {
    font-weight: 700;
}
#song-artist {
    color: #ccc;
}

#progress {
    width: 100%;
    margin: 8px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

#progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

#progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}


.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 5px;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.controls button:hover {
    color: #aaa;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-container span {
    font-size: 1rem;
}

#volume-control {
    -webkit-appearance: none;
    appearance: none;
    width: 70px; /* Largura do controle de volume */
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

#volume-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

#volume-control::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}