* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  color: #e5e7eb;
}

body {
  background-image: url("https://images.pexels.com/photos/20730670/pexels-photo-20730670.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9)
    );
  backdrop-filter: blur(6px);
  z-index: -1;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.player-card {
  width: 860px;
  max-width: 100%;
  padding: 34px;
  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.02)
    );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 60px rgba(255,255,255,0.2),
    0 50px 120px rgba(0,0,0,0.85);
}

.header h2 {
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.header p {
  font-size: 0.95rem;
  opacity: 0.75;
}

.input-bar {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.input-bar .form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.input-bar .form-control::placeholder {
  color: rgba(255,255,255,0.45);
}

.input-bar .form-control:focus {
  box-shadow: none;
  border-color: #22d3ee;
}

.btn-warning {
  background:
    linear-gradient(
      135deg,
      #22d3ee,
      #3b82f6
    );

  border: none;
  color: #020617;
  font-weight: 700;
  letter-spacing: 0.4px;

  border-radius: 999px;
  padding: 12px 28px;

  box-shadow:
    0 10px 30px rgba(34,211,238,0.35);

  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 18px 45px rgba(34,211,238,0.55);
}

hr {
  border-color: rgba(255,255,255,0.12);
  margin: 28px 0;
}

.inner-panel {
  background: rgba(10, 15, 25, 0.65);
  border-radius: 22px;
  padding: 26px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.result-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: center;
}

.album-art {
  width: 100%;
  border-radius: 22px;
  box-shadow:
    0 35px 70px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.song-info h5 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.song-info p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  opacity: 0.85;
}

audio {
  width: 100%;
  margin-top: 16px;
}

.download-btn {
  margin-top: 20px;
}
