/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Estilo global do body */
  body {
    width: 100vw;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    /* Removemos o background-color para exibir o carrossel */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  /* Fundo do carrossel */
  .bg-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
    transition: opacity 1s ease-in-out;
  }
  
  /* Container principal */
  .container {
    background: linear-gradient(to left bottom, rgba(255,255,255,0.1), rgba(0,0,0,0.5));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  
  /* Cabeçalho */
  .head {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 
      -2px -2px 0 black,  
       2px -2px 0 black,
      -2px  2px 0 black,
       2px  2px 0 black;
  }
  
  /* Card de música com vídeo de fundo */
  .music-card {
    position: relative;
    width: 500px;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
  }
  
  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Player de música customizado */
  .player {
    width: 500px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
  }
  
  /* Container dos controles (80% da largura) */
  .player-controls {
    width: 80%;
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Controle de volume posicionado na extrema esquerda */
  .volume-container {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Slider de volume customizado:
     - Rotacionado para exibição vertical.
     - Background com repeating-linear-gradient para simular listras. */
  .volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 8px;
    border: none;
    outline: none;
    transform: rotate(-90deg);
    transform-origin: center;
    cursor: pointer;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 2px, #ddd 2px, #ddd 4px);
    border-radius: 4px;
  }
  
  /* Thumb customizado para WebKit */
  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1DB954;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    cursor: pointer;
    margin-top: -3px;
  }
  
  /* Thumb customizado para Firefox */
  .volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1DB954;
    border: 2px solid #fff;
    cursor: pointer;
  }
  
  /* Container para o botão de play/pause centralizado */
  .play-pause-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Botão de play/pause em formato de bola completa */
  .play-pause-btn {
    background: none;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1DB954;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
  }
  
  .play-pause-btn:hover {
    background-color: #1ed760;
  }
  
  /* Container da barra de progresso */
  .progress-container {
    width: 100%;
  }
  
  /* Barra de progresso */
  .progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
  }
  
  .progress {
    height: 100%;
    width: 0;
    background: yellow;
    border: 1px solid black;
  }
  
  /* Controle de volume (aside) */
.volume-control {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Slider de volume */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 8px;
    border: none;
    outline: none;
    transform: rotate(-90deg);
    transform-origin: center;
    cursor: pointer;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 2px, #ddd 2px, #ddd 4px);
    border-radius: 4px;
}

/* Thumb do slider de volume */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1DB954;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1DB954;
    border: 2px solid #fff;
    cursor: pointer;
}

@keyframes scrollBg {
    from {
      background-position: top center;
    }
    to {
      background-position: bottom center;
    }
  }
  
  .scroll-animation {
    animation: scrollBg 4s linear forwards;
  }