/* Dark Theme */
body {
  font-family: 'Arial', sans-serif;
  background: #121212;
  color: #e0e0e0;
  margin:0;
  padding:20px;
}

.title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1DB954;
  text-shadow: 0 0 8px #1DB954;
}

/* Grid layout for cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Card */
.card {
  background: #1f1f1f;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #1DB954;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.card h2 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.button {
  background: #1DB954;
  color: #121212;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.9em;
}

.button:hover {
  background: #14833b;
  color: white;
}

/* Modal */
#modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 50;
}

#modal-content {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  color: #e0e0e0;
  text-align: center;
}

#modal button {
  background: #1DB954;
  color: #121212;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

#modal button:hover {
  background: #14833b;
  color: white;
}
