/* Universal Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full-page dark background for body */
body {
  background: #0a0a0a;
  color: #f4f4f4;
  margin: 0;
  padding: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hero section with parallax effect */
#banner.major {
  background-color: #0a0a0a;
  background-image: url('/images/podcast-bg-4.png'); /* Ensure this path is correct */
  background-size: cover; /* Ensures the image covers the full container */
  background-position: center center; /* Keeps the image centered */
  height: 100vh; /* Ensures it covers the full viewport height */
  color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  width: 100%;
  position: relative;
  background-attachment: fixed;
}

#banner .inner {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
}

/* Make podcast title gold */
#banner.major h1 {
  color: gold;
}

/* Main section with no gray space */
#main.alt {
  background: #0a0a0a;
  flex-grow: 1;
  padding: 3em 0;
  display: flex;
  flex-direction: column;
}

.inner {
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-grow: 1;
}

/* About the Show Section */
#welcome-section .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

#welcome-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

#welcome-section p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #ddd;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1em;
}

/* Footer section */
#footer {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  color: #ccc;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 0;
  border-top: 2px solid #21b2a6;
}

#footer .inner {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

#footer .social-icons,
#footer .copyright,
#footer .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

#footer .social-icons i {
  font-size: 1.5em;
}

#footer .copyright {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  text-transform: uppercase;
}

#footer .copyright li {
  display: inline-block;
  margin-left: 1em;
}

#footer .copyright li:first-child {
  margin-left: 0;
}

#footer .copyright li a {
  color: inherit;
}

#footer .copyright li a:hover {
  color: #fff;
}

/* Player Block */
.player {
  background: #161616;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 20px;
  max-width: 520px;
  margin: 2em auto;
}

.artwork {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Button styles for controls */
.controls button {
  background: #21b2a6;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.controls button:hover {
  opacity: 0.8;
}

/* Theme toggle button */
.theme-toggle {
  color: #21b2a6;
  cursor: pointer;
  font-size: 1.2em;
  margin-top: 10px;
}

/* Ensure no extra empty divs or gray space appear */
.empty-div {
  display: none;
}

/* Podcast Footer - Adjusted to prevent conflicts */
.podcast-footer {
  padding: 20px;
  text-align: center;
  background: #161616;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.podcast-footer .download-btn {
  background-color: #21b2a6;
  color: #fff;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 1.1em;
  transition: 0.3s;
}

.podcast-footer .download-btn:hover {
  opacity: 0.85;
}

/* --------------------------- */
/* ðŸ“± RESPONSIVE DESIGN BELOW */
/* --------------------------- */

@media (max-width: 768px) {
  .player {
    width: 100%;
    max-width: 95%;
    border-radius: 12px;
  }
  .artwork {
    height: 180px;
  }
  .controls {
    gap: 10px;
  }
  button {
    padding: 8px 12px;
    font-size: 16px;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .volume {
    padding: 10px;
  }
  .track {
    font-size: 0.95em;
  }
  .home-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .artwork {
    height: 150px;
  }
  .header {
    font-size: 1.1em;
    padding: 15px;
  }
  .controls {
    gap: 8px;
  }
  button {
    padding: 8px 10px;
    font-size: 14px;
  }
  .volume {
    flex-direction: column;
    align-items: stretch;
  }
  #waveform {
    height: 80px;
  }
}

