/* Common card style for both plugins */
.tanpura-card, .metronome-card {
  background: linear-gradient(145deg, #111, #000);
  border: 2px solid #FFD700;
  border-radius: 15px;
  padding: 20px;
  margin: 20px auto;
  max-width: 400px;   /* Default size for desktop */
  width: 100%;        /* Always fit screen */
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
  text-align: center;
  color: #FFD700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tanpura-card:hover, .metronome-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(255, 215, 0, 1);
}

.tanpura-card h2, .metronome-card h2 {
  text-shadow: 0 0 10px #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

select, input[type=range] {
  width: 100%;
  margin-bottom: 15px;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 5px;
  color: #FFD700;
}

button {
  background: #FFD700;
  color: #000;
  border: none;
  padding: 12px 25px;
  margin: 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

button:hover {
  background: #000;
  color: #FFD700;
  border: 1px solid #FFD700;
  box-shadow: 0 0 15px #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tanpura-card, .metronome-card {
    max-width: 90%;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .tanpura-card, .metronome-card {
    max-width: 95%;
    padding: 10px;
    font-size: 14px;
  }

  .tanpura-card h2, .metronome-card h2 {
    font-size: 18px;
  }

  button {
    padding: 10px 15px;
    font-size: 14px;
  }
}