:root {
  --pine: #385045;
  --gold: #ddb152;
  --sky: #6ea0b6;
  --parchment: #f8eddc;
  --brown: #644333;
  --box: #fffefc;
  --accent: #4c6e91;
  --text: #263330;
}
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.channel-header {
  background: linear-gradient(90deg, var(--sky) 70%, var(--gold));
  color: #fff;
  text-align: center;
  padding: 2.2rem 0 1rem;
  border-bottom: 6px solid var(--brown);
  box-shadow: 0 3px 14px rgba(100,70,50,0.12);
  position: relative;
}
.logo-img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(60,40,20,0.16);
  background: #fffdf8;
}
.channel-header h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin: 0 0 0.5rem;
  font-family: inherit;
}
.lynden-title { font-weight: 900; color: #fff; }
.christian-title { color: var(--gold); font-weight: 700; margin-left: 0.22em; }
.header-verse {
  font-style: italic;
  font-size: 1.13rem;
  color: #fff7d6;
  opacity: 0.98;
  margin-bottom: 0.5em;
}
.verse { font-weight: 400; }
.verse-ref { color: var(--gold); margin-left:0.3em; font-size: 0.98em;}
.clockbox {
  position: absolute;
  right: 2.2em;
  top: 1.6em;
  font-size: 1.08em;
  color: var(--pine);
  font-weight: 700;
  letter-spacing: 0.07em;
  background: #ffefb8;
  padding: 0.45em 1.12em;
  border-radius: 1.1em;
  box-shadow: 0 0 8px #ddb15240;
  min-width: 120px;
  text-align: center;
  z-index: 100;
}
.listeners-box {
  position: absolute;
  right: 2.2em;
  top: 4.6em;
  font-size: 1em;
  background: #ecf9f8;
  color: var(--accent);
  padding: 0.3em 1.1em;
  border-radius: 1.2em;
  box-shadow: 0 0 8px #ddb15229;
  font-weight: 700;
  min-width: 160px;
}
@media (max-width: 900px) {
  .clockbox { position: static; display: block; margin: 0.8em auto 0 auto; }
  .listeners-box { position: static; margin: 0.8em auto 0 auto; display: inline-block;}
}
.hamburger-btn {
  display: none;
  position: fixed;
  top: 1em;
  left: 1em;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 0.9em;
  font-size: 1.35em;
  z-index: 200;
  box-shadow: 0 2px 10px #ddb15230;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(56, 80, 69, 0.97);
  gap: 2em;
  justify-content: center;
  align-items: center;
  z-index: 150;
  padding: 3em 1em;
}
.menu-open .mobile-nav { display: flex; }
.menu-open .tab-nav { display: none !important; }
.menu-open { overflow: hidden; }
.mobile-nav a {
  color: #fff;
  background: var(--gold);
  border-radius: 7px;
  font-size: 1.4em;
  padding: 1em 2.5em;
  margin: 0.6em 0;
  font-weight: bold;
  box-shadow: 0 1px 6px #ddb15255;
  text-align: center;
}
.main-nav { position: relative; }

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  background: var(--parchment);
  border-bottom: 2.5px solid var(--gold);
  box-shadow: 0 2px 10px rgba(100,70,40,0.04);
  padding: 1rem 0 1rem;
  z-index: 2;
}
.tab-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 2.1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  box-shadow: 0 1.2px 7px rgba(80,80,80,0.09);
  transition: background 0.16s, color 0.16s;
  outline: none;
  letter-spacing: 0.25px;
}
.tab-btn.active, .tab-btn:focus { background: var(--gold); color: var(--brown);}
.tab-btn i { margin-right: 0.5em;}
.tab-content { display: none; padding: 2.3rem 1.5rem 1.7rem 1.5rem; max-width: 800px; margin: 0 auto;}
.tab-content.active { display: block;}
audio { background: #fdfcf8; border-radius: 8px;}
.nowplaying-status {
  color: var(--pine);
  font-size: 1.13rem;
  font-weight: 600;
  margin: 1.1em 0 1.2em 0;
  text-align: center;
}
.player-desc { color: var(--pine); font-weight: 500; text-align: center; margin: 1.2em 0 0 0;}
.loading { text-align: center; color: var(--accent); font-size: 1.14em; padding: 1.5rem 0;}

.status-card {
  background: var(--box);
  border-radius: 18px;
  box-shadow: 0 2px 20px #6ea0b625;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 540px;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  background: var(--parchment);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 8px #ddb15215;
}
.status-table th,
.status-table td {
  text-align: left;
  padding: 0.7em 0.8em;
  border-bottom: 1px solid #d1cdbb;
}
.status-table th {
  width: 38%;
  color: var(--pine);
  background: #f6e9d1;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.status-table tr:last-child td {
  border-bottom: none;
}

.about-card { background: var(--box); border-radius: 18px; box-shadow: 0 2px 16px rgba(60,50,20,0.13); padding: 2.1rem 1.6rem 1.3rem 1.6rem; margin: 0 auto; color: #263330;}
.bible-verse { margin: 1.5em 0; padding: 0.95em 1.2em; background: #f6e9d1; border-left: 5px solid var(--gold); border-radius: 8px; font-style: italic; color: #b48834; font-size: 1.12em;}

footer {
  background: linear-gradient(90deg, var(--pine), var(--brown));
  color: #fff9ec;
  text-align: center;
  padding: 1.3rem 0;
  margin-top: 2.5rem;
  font-size: 1.13rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.podcast-list-wrap { background: #f8eddc; border-radius: 12px; margin:2em 0; padding:1.5em 1em 2em 1em; box-shadow: 0 2px 16px rgba(100,80,60,0.11);}
.podcast-header {font-size:1.16em; font-weight:600; margin-bottom:0.4em;}
.podcast-status {font-size:1em; color:#4c6e91; margin-bottom:0.9em;}
.folder-list {margin-bottom:1.3em;}
.folder-link {background:#dde4df; padding:0.3em 0.9em; margin:0 0.5em 0.6em 0; border-radius:7px; text-decoration:none; color:#375034;}
.folder-link:hover {background:#ddb152; color:#422f1e;}
.podcast-table {width:100%;border-collapse:collapse; margin:1em 0;}
.podcast-table th,.podcast-table td {padding:0.6em 0.6em; border-bottom:1px solid #d1cdbb;}
.podcast-table th {background:#6ea0b6; color:#fff; font-weight:700;}
.podcast-table tr:hover {background:#fcf7e7;}
.podcast-play-btn {color:#ddb152; font-weight:600; text-decoration:none;}
.podcast-play-btn i {margin-right:0.32em;}
.podcast-play-btn:hover {color:#4c6e91;}
.pagination {text-align:center; margin:1.6em 0;}
.page-btn {display:inline-block; margin:0 0.3em; background:#dde4df; color:#375034; padding:0.35em 1em; border-radius:5px; text-decoration:none;}
.page-btn.active,.page-btn:hover {background:#ddb152; color:#422f1e;}
.audio-file-count {margin:0.8em 0 0.6em 0; color:#3c5669; font-size:1.07em;}
.cookie-banner {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 3.1em;
  background: #fffbe4;
  color: #35210d;
  border-top: 2px solid #ddb152;
  font-size: 1.02em;
  text-align: center;
  padding: 0.8em 0.9em;
  z-index: 9999;
}
.cookie-banner button {
  margin-left: 1.2em;
  padding: 0.33em 1.6em;
  background: #ddb152;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
}

/* Audio Player Footer Styling - Christian Channel */
#footer-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--pine), var(--brown));
  color: #fff9ec;
  padding: 0.8rem 1rem;
  z-index: 1000;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.audio-player-container {
  max-width: 1200px;
  margin: 0 auto;
}

#audio-player {
  display: none; /* Hide the actual audio element */
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.player-btn {
  background: var(--gold);
  color: var(--brown);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.player-btn:hover {
  background: #f0c66b;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.player-btn:active {
  transform: translateY(0);
}

.player-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  outline: none;
  cursor: pointer;
}

.player-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.player-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#player-progress {
  flex: 1;
  min-width: 100px;
}

.volume-slider {
  width: 80px;
}

.player-time {
  min-width: 45px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #fff9ec;
}

.player-title {
  flex: 1;
  font-weight: 600;
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 120px;
}

/* Mount Cards - Professional Layout - NO MORE TABLES */
.mounts-header {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--accent);
}

.mount-card {
  background: var(--box);
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(100,70,50,0.1);
  margin: 1.5rem auto;
  max-width: 700px;
  overflow: hidden;
  border-left: 4px solid var(--accent);
}

.mount-card-header {
  background: linear-gradient(135deg, var(--accent), var(--sky));
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mount-card-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.mount-play-btn {
  background: var(--gold) !important;
  color: var(--brown) !important;
  border: none !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mount-play-btn:hover {
  background: #f0c66b !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.mount-card-content {
  padding: 1.8rem;
}

.mount-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.mount-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mount-info-item.full-width {
  grid-column: 1 / -1;
}

.mount-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mount-value {
  font-size: 1rem;
  color: var(--text);
  word-break: break-word;
  font-weight: 500;
}

.nowplaying-text {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.technical-details {
  margin: 2rem auto;
  max-width: 700px;
}

.technical-details summary {
  cursor: pointer;
  padding: 1rem;
  background: var(--parchment);
  border-radius: 8px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.technical-details summary:hover {
  background: var(--accent);
  color: #fff;
}

.technical-content {
  margin-top: 1rem;
}

/* Mobile responsive for mount cards */
@media (max-width: 768px) {
  .mount-card {
    margin: 1rem 0.5rem;
    max-width: none;
  }

  .mount-card-header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .mount-card-header h4 {
    font-size: 1.1rem;
  }

  .mount-card-content {
    padding: 1.2rem;
  }

  .mount-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .mount-info-item.full-width {
    grid-column: 1 / -1;
  }

  .mount-label {
    font-size: 0.8rem;
  }

  .mount-value {
    font-size: 0.9rem;
  }

  .player-controls {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .player-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .volume-slider {
    width: 60px;
  }

  .player-title {
    font-size: 0.85rem;
    min-width: 80px;
  }

  .player-time {
    font-size: 0.8rem;
    min-width: 40px;
  }
}

@media (max-width: 480px) {
  .mount-info-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .mount-info-item.full-width {
    grid-column: 1;
  }

  .player-controls {
    gap: 0.3rem;
  }

  .volume-slider {
    display: none;
  }

  .player-title {
    font-size: 0.8rem;
    min-width: 60px;
  }
}

/* Desktop styling */
@media (min-width: 1024px) {
  .mount-card {
    max-width: 800px;
  }

  .mount-info-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .mount-info-item.full-width {
    grid-column: 1 / -1;
  }

  .mount-card-content {
    padding: 2rem;
  }
}

/* Improved status table responsive design */
.status-table {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
}

.status-table th {
  width: 35%;
  min-width: 120px;
}

.status-table td {
  width: 65%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure main content doesn't get hidden behind player */
main {
  padding-bottom: 80px;
}

/* Loading animation for sliders */
.player-slider:focus {
  background: rgba(255,255,255,0.4);
}

/* Custom scrollbar for progress when needed */
.player-slider::-webkit-slider-track {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.player-slider::-moz-range-track {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  border: none;
}

@media (max-width:700px) {
  .channel-header h1 { font-size:1.17rem;}
  .tab-btn {padding:0.8rem 0.8rem;font-size:1rem;}
  .about-card, .tab-content {padding:1rem 0.3rem;}
  .podcast-list-wrap {padding:1em 0.5em 1.5em 0.5em;}
  .podcast-table th,.podcast-table td {padding:0.3em 0.2em;}
  .status-card {padding: 1em 0.6em;}
  .status-table th, .status-table td {padding: 0.35em 0.3em;}
}

@media (max-width: 600px) {
  .status-table th {
    width: 40%;
    min-width: 100px;
    font-size: 0.85rem;
  }

  .status-table td {
    width: 60%;
    font-size: 0.85rem;
  }
}