/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #121212;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
header {
  background: #181818;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
}

header h1 {
  font-size: 1.6rem;
  color: #1DB954;
  font-weight: 700;
}

header nav a {
  color: #b3b3b3;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #fff;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

/* ===== SEÇÃO DE MÚSICAS ===== */
.musica-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.musica-card {
  background-color: #181818;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease, background 0.3s ease;
}

.musica-card:hover {
  transform: scale(1.04);
  background-color: #282828;
}

.musica-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-top: 10px;
}

.musica-card p {
  font-size: 0.85rem;
  color: #b3b3b3;
  margin: 5px 0;
}

/* ===== PLAYER ===== */
.musica-card audio {
  width: 100%;
  margin-top: 10px;
  outline: none;
  border-radius: 5px;
}

audio::-webkit-media-controls-panel {
  background-color: #222;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: white;
}

audio::-webkit-media-controls-enclosure {
  border-radius: 10px;
  overflow: hidden;
}

/* ===== LOGIN LINK ===== */
.musica-card a {
  color: #1DB954;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.musica-card a:hover {
  color: #1ed760;
}

/* ===== RODAPÉ ===== */
footer {
  background-color: #181818;
  color: #b3b3b3;
  text-align: center;
  padding: 15px;
  margin-top: auto;
  font-size: 0.85rem;
  border-top: 1px solid #333;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header nav {
    margin-top: 10px;
  }
}

/* ===== FORM DE UPLOAD ===== */
.upload-box {
  background-color: #181818;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.upload-box h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #1DB954;
}

.upload-form label {
  display: block;
  margin: 10px 0 5px;
  color: #fff;
  font-weight: 500;
}

.upload-form input[type="text"],
.upload-form textarea,
.upload-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #282828;
  color: #fff;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.upload-form input[type="file"] {
  padding: 6px;
  background-color: #222;
}

.upload-form button {
  background-color: #1DB954;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s;
}

.upload-form button:hover {
  background-color: #1ed760;
}

.ad-card {
  background: #181818;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.ad-card ins {
  display: block !important;
  margin: 0 auto !important;
}
