/* Algemene Stijlen */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(120deg, #1f1c2c, #928dab);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 20px;
  z-index: 200;
  background: linear-gradient(to right, #ff512f, #dd2476);
  animation: slideInDown 1s ease-out;
}

header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

header p {
  font-size: 1.2rem;
  margin: 5px 0 0;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #ff512f, #dd2476);
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(-100%); /* Begin verborgen */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
  opacity: 0; /* Begin onzichtbaar */
}

.sticky-header.visible {
  transform: translateY(0); /* Zichtbaar na scroll */
  opacity: 1; /* Volledig zichtbaar */
}

.sticky-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

.sticky-header p {
  font-size: 1rem;
  margin: 0;
  padding-right: 30px; /* Extra padding naar links */
}

/* Main Section */
main {
  flex: 1;
  padding: 20px;
  animation: fadeIn 1.5s ease-in;
}

.now-playing h2, .up-next h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.now-playing h2 i, .up-next h2 i {
  margin-right: 10px;
}

#current-track, #queue {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

#current-track:hover, #queue li:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.2);
}

#queue li {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.favourites {
  margin: 20px auto;
  padding: 30px;
  background: linear-gradient(135deg, #f76c6c, #ffcc33);
  color: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
  animation: slideInDown 1s ease-out, pulse 1.5s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.favourites:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.6);
}

.favourites h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.favourites p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.favourites strong {
  color: #ffe066; /* Geel accent voor belangrijke tekst */
}

.favourites button {
  background: white;
  color: #f76c6c;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.favourites button:hover {
  background: #f76c6c;
  color: white;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}

.vote-button-footer {
  display: inline-block;
  background: linear-gradient(to right, #ff512f, #dd2476);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  padding: 8px 15px;
  margin-left: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vote-button-footer:hover {
  background: linear-gradient(to right, #dd2476, #ff512f);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Custom Alert Box */
.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 20px;
  border-radius: 8px;
  background-color: #ff512f; /* Foutmelding standaard rood */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.5s ease;
}

.custom-alert.hidden {
  display: none;
}

.custom-alert.success {
  background-color: #28a745; /* Groen */
}

.custom-alert.error {
  background-color: #dc3545; /* Rood */
}

.custom-alert.warning {
  background-color: #ffc107; /* Geel */
  color: #212529; /* Donkere tekst */
}

.custom-alert.info {
  background-color: #17a2b8; /* Blauw */
}


/* Animatie voor subtiele aandacht */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 204, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 204, 51, 0.7);
  }
}

.platforms {
  flex: 1;
  padding: 20px;
  background: linear-gradient(135deg, #36d1dc, #5b86e5); /* Blauw-tint gradient */
  border-radius: 12px;
  text-align: left;
  color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  animation: slideInRight 1.2s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platforms:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
}

.platforms h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.platforms ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platforms li {
  background: rgba(255, 255, 255, 0.1); /* Transparante achtergrond voor items */
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.platforms li i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #ffdd57;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px auto;
}

.programming.modern {
  flex: 1;
  padding: 20px;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  color: #fff;
  animation: slideInLeft 1s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programming.modern h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


.programming.modern:hover {
  transform: translateY(-5px); /* Subtiele hoveranimatie */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
}

.current-program h2,
.upcoming-programs h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.current-program p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.upcoming-programs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upcoming-programs li {
  font-size: 1rem;
  font-weight: bold;
  margin: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upcoming-programs li span {
  font-size: 0.9rem;
  color: #fff;
}

.upcoming-programs li i {
  margin-right: 8px;
  color: #ffdd57;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 28, 44, 0.95); /* Donkere achtergrond met lichte transparantie */
  z-index: 9999;
  overflow-y: auto; /* Zorg ervoor dat de inhoud scrollbaar is op kleinere schermen */
}

.modal-content {
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  max-height: 60vh; /* Beperkte hoogte voor scrollbar */
  margin: 5% auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s ease-in-out;
  overflow-y: auto; /* Scrollbar voor overloop inhoud */
}

.modal-content::before {
  content: "Scroll om meer te zien...";
  display: block;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
  font-style: italic;
  animation: fadeInOut 2s infinite; /* Een fade-in en fade-out animatie */
}

.modal-content::-webkit-scrollbar {
  width: 12px; /* Breder om duidelijker te zijn */
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1); /* Licht transparante achtergrond */
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff512f, #dd2476);
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 81, 47, 0.7); /* Gloed rond de scrollbar */
  transition: background 0.3s ease, box-shadow 0.3s ease; /* Soepele hover-animatie */
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #dd2476, #ff512f);
  box-shadow: 0 0 12px rgba(221, 36, 118, 0.9); /* Sterkere gloed bij hover */
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-content li {
  background: rgba(255, 255, 255, 0.1); /* Transparante achtergrond voor items */
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-content li:hover {
  background: rgba(255, 255, 255, 0.2); /* Highlight bij hover */
}

.modal-content li strong {
  font-weight: 700;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
}

.close-btn:hover {
  color: #ffdd57;
}

.platform-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.platform-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  word-wrap: break-word;
  max-width: 100%;
}

.platform-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.platform-card .platform-link {
  text-decoration: none;
  color: #ffdd57;
  transition: color 0.3s;
}

.platform-card .platform-link:hover {
  color: #ffe066;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 15px;
}

.platform-card.live {
  border: 2px solid #ff0000;
}

.platform-card .live-indicator {
  display: block;
  margin-top: 5px;
  padding: 5px 10px;
  background: #ff0000;
  color: white;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: bold;
}

#now-playing-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#now-playing-btn:hover {
  background: linear-gradient(135deg, #5b86e5, #36d1dc);
}


/* Responsiveness */
@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr; /* Eén kolom op kleinere schermen */
    gap: 15px; /* Iets minder ruimte tussen secties */
  }
  
  .modal-content {
    max-width: 90%;
    padding: 15px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .modal-content li {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Audio Player */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(31, 28, 44, 0.95);
  box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.audio-player {
  display: flex;
  align-items: center;
  width: 100%;
}

.play-pause-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  margin-right: 20px;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.play-pause-btn:active {
  transform: scale(0.9);
}

.track-info {
  display: flex;
  flex: 1;
  margin-right: 10px;
}

.track-info p {
  font-size: 1.2rem;
  margin: 0;
}

.progress-container {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

#track-progress {
  font-size: 0.9rem;
  margin-right: 10px;
}

.progress-bar {
  flex: 1;
  height: 5px; /* Verkleind van 6px */
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  background: linear-gradient(to right, #ff512f, #dd2476);
  width: 0%;
  transition: width 0.3s ease;
}

/* Volume Button */
.volume-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 30px;
}

.volume-toggle-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.volume-toggle-btn:active {
  transform: scale(0.9);
}

.volume-slider-wrapper {
  position: absolute;
  top: -200px;
  right: 20px;
  width: 50px;
  background: rgba(31, 28, 44, 0.95);
  border: 1px solid #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.volume-slider-wrapper.hidden {
  display: none;
}

#volume-control {
  writing-mode: bt-lr; /* Verticaal */
  -webkit-appearance: slider-vertical;
  width: 8px;
  height: 100px;
  background: linear-gradient(to top, #ff512f, #dd2476) !important; /* Gradient met !important */
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

#volume-display {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mute-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  margin-top: 8px;
  cursor: pointer;
}

.mute-btn:active {
  transform: scale(0.9);
}

/* Responsiveness */
@media screen and (max-width: 768px) {
  .audio-player {
    flex-direction: column;
  }
  #volume-slider-container {
    position: relative;
    width: auto;
    height: 100px;
  }
}

/* Animaties */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Slide in van links */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide in van rechts */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}


body::-webkit-scrollbar {
  width: 12px; /* Breedte van de scrollbar */
  background: #1f1c2c; /* Achtergrondkleur van de scrollbar */
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff512f, #dd2476); /* Thumb met kleurverloop */
  border-radius: 8px; /* Afronding van de hoeken */
  border: 3px solid #1f1c2c; /* Ruimte tussen scrollbar en achtergrond */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); /* Schaduw */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #dd2476, #ff512f); /* Hover-effect */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6); /* Hover-schaduw */
}

body::-webkit-scrollbar-corner {
  background: #1f1c2c; /* Consistente hoekkleur */
}


@
::contentReference[oaicite:0]{index=0}
