/* style.css */

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  background-color: #000;           /* Black background */
  color: #fff;                      /* White text */
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica', sans-serif;
  letter-spacing: 0.5px;
}

header {
  background-color: #222;
  padding: 2rem;
  text-align: center;
  border-bottom: 2px solid #cc0000;
}

header h1 {
  font-size: 2.2rem;
  margin: 0;
  color: #fff;
}

.subtitle {
  font-size: 1.1rem;
  color: #aaa;
}

main.content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
}

a {
  color: #cc0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

audio {
  width: 100%;
  max-width: 600px;
  background-color: #333;
  border-radius: 6px;
  padding: 6px;
  color-scheme: dark; /* Makes controls dark on supported browsers */
}

/* Box around the audio player */
.audiobox {
  background: #2f2f2f;
  padding: 12px;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}


.coming-soon {
  color: #888;
  font-style: italic;
  cursor: not-allowed;
}

.coming-soon .tag {
  background-color: #ccc;
  color: #333;
  padding: 0.2em 0.5em;
  margin-left: 0.5em;
  border-radius: 4px;
  font-size: 0.8em;
}

.hero {
  background: url('your-image.jpg') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.homepage {
  padding: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

figure {
  text-align: center;
}

.episode-image {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

figcaption {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #ccc;
  font-style: italic;
}
form input, form textarea {
  width: 100%;
  max-width: 600px;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #111;
  color: #fff;
}

form input[type="submit"] {
  background-color: #cc0000;
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.75em 1.5em;
  font-weight: bold;
}

form input[type="submit"]:hover {
  background-color: #ff1a1a;
}
.about-image {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
  border: none;
}

figure {
  text-align: center;
  margin: 2rem 0;
}

figcaption {
  font-size: 0.9rem;
  color: #ccc;
  font-style: italic;
  margin-top: 0.5rem;
}
.logo {
  display: block;
  margin: 0 auto;
  max-width: 150px;
  height: auto;
}
.episode-cover {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.episode-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === Reusable Panel Box === */
.panel-box {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.panel-box h2, 
.panel-box h3 {
  margin-top: 0;
}
/* === Episode Card (no-image fallback) === */
.episode-card.no-thumb {
  grid-template-columns: 1fr; /* single column if no image */
  text-align: left;
  padding-left: 20px;
}

.episode-card.no-thumb .episode-title {
  font-size: 1.05rem;
}

.episode-card.no-thumb .episode-meta {
  font-size: 0.9rem;
}


/* ——— REUSABLE PANEL BOX ——— */
.panel-box {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.panel-box h2, .panel-box h3 { margin-top: 0; }

/* ——— EPISODE LIST → GRID CARDS ——— */
.episode-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .episode-list { grid-template-columns: 1fr 1fr; }
}

/* Base episode “card” link */
.episode-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-decoration: none;
  color: inherit;
}
.episode-card:hover { border-color: rgba(255,255,255,0.25); }

/* Thumbnail + text inside cards */
.episode-thumb {
  width: 80px; height: 80px; border-radius: 10px; object-fit: cover;
  background: #222;
}
.episode-title { margin: 0 0 4px 0; font-weight: 700; }
.episode-meta  { margin: 0; color: #aaa; font-size: 0.95rem; }

/* No-image fallback variant */
.episode-card.no-thumb {
  grid-template-columns: 1fr;
  padding-left: 20px;
}
.episode-card.no-thumb .episode-title { font-size: 1.05rem; }
.episode-card.no-thumb .episode-meta  { font-size: 0.9rem; }
.episode-card.soon {
  display: block;
  padding: 14px 16px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #888;
  font-style: italic;
  cursor: not-allowed;
}

.episode-card.soon .tag {
  background-color: #666;
  color: #fff;
  font-size: 0.8rem;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ——— SITE BUTTONS (unified look) ——— */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: 1px solid #cc0000;
  background: #cc0000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: #ff1a1a; border-color: #ff1a1a; text-decoration: none; }
.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: #555;
}
.btn.secondary:hover { border-color: #888; }
.episode-card.soon {
  position: relative;
  display: block;
  padding: 14px 16px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #888;
  font-style: italic;
  cursor: not-allowed;
  overflow: hidden;
  opacity: 0.7;              /* ✅ faded look */
  transition: opacity 0.3s;
}

.episode-card.soon:hover {
  opacity: 0.85;             /* ✅ slight brighten on hover, still disabled */
}

.episode-card.soon::before {
  content: "🔒";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.2rem;
  opacity: 0.6;
}

.episode-card.soon .tag {
  background-color: #666;
  color: #fff;
  font-size: 0.8rem;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 6px;
}
.coming-soon-list {
  margin-top: 1.5rem;
  opacity: 0.9;
}

.coming-soon-list .episode-card.soon {
  grid-template-columns: 1fr; /* keep them full-width */
}