@font-face {
  font-family: 'Creepster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/creepster/v13/AlZy_zVUqJz4yMrniH4hdQ.ttf) format('truetype');
}

@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sharetechmono/v16/J7aHnp1uDWRBEqV98dVQztYldFc7pA.ttf) format('truetype');
}

body {
  background: url('../images/mainbg.webp') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Share Tech Mono', monospace;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}
@media(max-width:600px){
  body {
    background-attachment: scroll;
  }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

@media (max-width: 480px) {
  header {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.logo {
  max-height: 160px;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  /* Added for safety */
}

@media (max-width: 480px) {
  nav {
    flex-basis: 100%;
    justify-content: center;
  }
}

nav a {
  display: inline-block;
  background: url('../images/buttonbg.webp') no-repeat center;
  background-size: contain;
  color: #fff;
  text-decoration: none;
  padding: 32px;
  font-family: 'Creepster', cursive;
  font-size: 2.2rem;
  border: none;
  text-align: center;
}

main {
  padding: 2rem;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 2rem;
}

/* Target the second row (Listen Everywhere) to swap image order on mobile */

@media (max-width: 580px) {
  .row:nth-of-type(2) img {
    order: 0;
  }

  .row:nth-of-type(2) .content {
    order: 1;
  }
}

.row img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.row .content {
  max-width: 300px;
  text-align: center;
  font-size: 1.25rem;
}

.row .content.wider {
  width: 600px;
  max-width: 100%;
}

.row .content h2 {
  color: #BB2A82;
}

.row .content a {
  display: inline-block;
  margin: 0.5rem;
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  transition: all ease 0.3s;
}

.row .content a:hover {
  color: #F7FF12;
}

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.social-icons a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.5rem;
}

/* New Styles */
h1 {
  font-family: 'Creepster', cursive;
  font-size: 3rem;
  color: #BB2A82;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 0.5rem;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cta-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: bold;
}

.btn i {
  font-size: 1.4rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background-color: #BB2A82;
  color: #fff;
}

.btn-primary:hover {
  background-color: #d5439c;
  /* Lightened 10% approx */
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  border-color: #F7FF12;
  color: #F7FF12;
}

.btn-secondary:hover {
  background-color: #F7FF12;
  color: #000;
}

.featured-episodes {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.episode-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  width: 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.episode-card:hover {
  transform: scale(1.02);
  border-color: #BB2A82;
}

.episode-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.episode-card h3 {
  color: #F7FF12;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.episode-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.episode-card a {
  color: #BB2A82;
  text-decoration: none;
  font-weight: bold;
}

.episode-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .cta-container {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

.social-widget {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  position: relative;
  height: 0px;
  padding-top: 70.25%;
}
.social-widget.yt {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  position: relative;
  height: 0px;
  padding-top: 56.25%;
}

.social-widget iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.widget-placeholder {
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed #666;
  border-radius: 8px;
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  overflow: hidden;
  /* Ensure iframe doesn't spill */
  text-decoration: none;
  /* For the link version */
  transition: border-color 0.3s ease;
}

.widget-placeholder:hover {
  border-color: #BB2A82;
  color: #fff;
}

.widget-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.instagram-widget span {
  font-size: 0.9rem;
  color: #BB2A82;
  margin-top: 0.5rem;
}

.youtube-widget {
  border: none;
  /* Remove border for iframe */
  background: #000;
}

.support-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.support-links .btn {
  font-size: 1rem;
}