.music-platforms {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #f8f8f8;
}

.streaming-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.streaming-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.streaming-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.streaming-button svg {
  opacity: 0.8;
}

.streaming-button span {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .streaming-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
  }

  .streaming-button {
    width: 100%;
    height: auto;
    min-height: 70px; /* Set minimum height */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.25rem; /* Reduced horizontal padding */
    border-radius: 12px;
    gap: 0.5rem;
  }

  .streaming-button i {
    font-size: 1.5rem;
  }

  .streaming-button span {
    font-size: 0.7rem; /* Smaller font size */
    line-height: 1.1; /* Tighter line height */
    text-align: center;
    display: block; /* Ensure proper text wrapping */
    width: 100%; /* Full width for proper text wrapping */
    word-wrap: break-word; /* Allow word breaking for long words */
  }
}

/* For very small screens */
@media (max-width: 360px) {
  .streaming-button {
    min-height: 60px; /* Slightly smaller minimum height */
  }
  
  .streaming-button i {
    font-size: 1.25rem;
  }
  
  .streaming-button span {
    font-size: 0.65rem;
  }
}