/* =========================================================
   ARTIRADIO - stylesheet
   Kleuren 1-op-1 overgenomen uit de originele site-CSS
   (Default_NORMAL.css):
     --color_text:       #ffffff
     --color_background: #1d031f
     --color_accent1:    #35043d
     --color_accent2:    #f5d1bd
     --color_accent3:    #831996
   ========================================================= */

:root{
  --color-text:       #ffffff;
  --color-background:  #1d031f;
  --color-accent1:     #35043d;   /* donker paneel-paars */
  --color-accent2:     #f5d1bd;   /* lichte accentkleur (crème/perzik) */
  --color-accent3:     #831996;   /* helder paars, gebruikt voor balken */
  --color-orange:      #f5a623;   /* logo / call-to-action oranje */
  --color-orange-dark: #e6890b;
  --text-muted:        #c9a9d6;
}

*{ box-sizing:border-box; }

body{
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
input, textarea{
  -webkit-user-select:text;
  -moz-user-select:text;
  user-select:text;
}

body{
  margin:0;
  font-family:'Lato', 'Segoe UI', Arial, sans-serif;
  background:radial-gradient(ellipse at top, #3a1049 0%, var(--color-background) 45%, #12021a 100%);
  color:var(--color-text);
}

a{ color:inherit; text-decoration:none; }

/* ---------- HEADER ---------- */
header{
  background:linear-gradient(180deg, rgba(131,25,150,.12), transparent);
}
.header-inner{
  max-width:1400px;
  margin:0 auto;
  padding:14px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}

.header-glow-line{
  max-width:1400px;
  margin:12px auto 0;
  height:2px;
  background:linear-gradient(90deg, transparent, var(--color-accent3) 20%, var(--color-orange) 50%, var(--color-accent3) 80%, transparent);
  box-shadow:0 0 12px 1px rgba(245,166,35,.6), 0 0 20px 2px rgba(131,25,150,.6);
}

.logo{
  display:inline-block;
  line-height:0;
}
.logo img{
  height:150px;
  width:auto;
  display:block;
}

nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:6px;
  font-weight:600;
  font-family:'Overpass', sans-serif;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(245,209,189,.1);
  border-radius:30px;
}

nav a{
  display:block;
  color:var(--color-orange);
  padding:9px 18px;
  border-radius:22px;
  transition:background .2s, color .2s;
}
nav a:hover{
  color:var(--color-text);
  background:var(--color-accent3);
}

nav li{ position:relative; }

nav .dropdown{
  list-style:none;
  margin:0;
  padding:8px 0;
  position:absolute;
  top:100%;
  left:0;
  min-width:200px;
  background:var(--color-accent1);
  border:1px solid rgba(245,209,189,.15);
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.45);
  display:none;
  z-index:200;
}
nav .has-dropdown.dropdown-open .dropdown{
  display:block;
}
nav .dropdown li{ display:block; }
nav .dropdown a{
  display:block;
  padding:9px 18px;
  border-radius:0;
  font-weight:500;
  white-space:nowrap;
}
nav .dropdown a:hover{
  background:rgba(245,209,189,.1);
  color:var(--color-orange);
}

.ticker{
  max-width:1400px;
  margin:0 auto;
  overflow:hidden;
  padding:4px 40px;
  background:rgba(131,25,150,.15);
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:12px;
}
.ticker-label{
  flex-shrink:0;
  font-weight:700;
  font-size:14px;
  color:var(--color-orange);
  font-family:'Overpass', sans-serif;
  white-space:nowrap;
}
.marquee-mask{
  overflow:hidden;
  width:100%;
  height:44px;
  position:relative;
  flex:1;
  min-width:0;
}
.marquee-scroll{
  position:absolute;
  left:100%;
  top:0;
  height:100%;
  display:flex;
  align-items:center;
  white-space:nowrap;
  animation:marquee-scroll 14s linear infinite;
}
.marquee-iframe{
  width:520px;   /* zo krap mogelijk gehouden zodat de lege ruimte in de cyclus minimaal is */
  height:32px;
  border:none;
  background:transparent;
  pointer-events:none; /* voorkomt interactie/scroll-conflicten binnenin de iframe */
  transform:scale(1.4);
  transform-origin:left center;
}
@keyframes marquee-scroll{
  from{ left:100%; }
  to{ left:-728px; } /* 520px * schaal 1.4 */
}

/* ---------- SECTION BAR TITLES ---------- */
.bar-title{
  background:linear-gradient(90deg, var(--color-accent1), var(--color-accent3));
  color:var(--color-text);
  text-align:center;
  font-weight:700;
  font-family:'Overpass', sans-serif;
  letter-spacing:.5px;
  padding:10px 12px;
  border-radius:6px;
  margin-bottom:14px;
  box-shadow:0 3px 8px rgba(0,0,0,.35), 0 0 16px rgba(245,166,35,.35), 0 0 4px rgba(131,25,150,.6);
  animation:bar-title-glow 3s ease-in-out infinite;
}
@keyframes bar-title-glow{
  0%, 100% { box-shadow:0 3px 8px rgba(0,0,0,.35), 0 0 16px rgba(245,166,35,.30), 0 0 4px rgba(131,25,150,.55); }
  50%      { box-shadow:0 3px 8px rgba(0,0,0,.35), 0 0 26px rgba(245,166,35,.55), 0 0 8px rgba(131,25,150,.8); }
}
.bar-title-icon{
  margin-right:8px;
}

/* ---------- LAYOUT ---------- */
.wrapper{
  max-width:1400px;
  margin:0 auto;
  padding:30px 40px 60px;
  overflow-x:hidden;
}

.grid-3{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);
  gap:24px;
  align-items:stretch;
}
.grid-3 > div{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.grid-3 .panel{
  flex:1;
  display:flex;
  flex-direction:column;
}
.grid-3 .panel > .btn:last-child{
  margin-top:auto;
  margin-bottom:0;
}

.panel{
  background:rgba(53,4,61,.35); /* accent1 met transparantie */
  border:1px solid rgba(245,209,189,.12);
  border-radius:10px;
  padding:16px;
}

/* ---------- LIVE RADIO PLAYER ---------- */
.player-panel{ text-align:center; }

.cover-wrap{
  position:relative;
  border-radius:8px;
  overflow:hidden;
  margin-bottom:14px;
  aspect-ratio:1/1;
  width:100%;
  max-width:100%;
  max-height:400px;
  background:var(--color-accent1);
}
.cover-wrap img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition:opacity .25s ease;
}
.live-dot{
  position:absolute;
  top:10px; left:10px;
  width:12px; height:12px;
  border-radius:50%;
  background:#e0193f;
  box-shadow:0 0 0 0 rgba(224,25,63,.7);
  animation:pulse-dot 1.8s infinite;
}
@keyframes pulse-dot{
  0%   { box-shadow:0 0 0 0 rgba(224,25,63,.7); }
  70%  { box-shadow:0 0 0 10px rgba(224,25,63,0); }
  100% { box-shadow:0 0 0 0 rgba(224,25,63,0); }
}

.play-btn{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:64px; height:64px;
  background:var(--color-accent3);
  border:3px solid rgba(255,255,255,.6);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:var(--color-text);
  cursor:pointer;
  transition:.2s;
}
.play-btn:hover{ background:var(--color-orange); color:#2a0630; }

.now-playing{ margin-bottom:12px; }
.np-status{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--color-orange);
  font-weight:700;
  margin-bottom:4px;
}
.np-title{
  font-weight:800;
  font-size:16px;
  font-family:'Overpass', sans-serif;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.np-artist{
  font-size:13px;
  color:var(--text-muted);
  margin-top:2px;
}
.np-listeners{
  font-size:12px;
  color:var(--text-muted);
  margin-top:6px;
}

.volume-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.mute-btn{
  background:none;
  border:none;
  color:var(--color-text);
  font-size:18px;
  cursor:pointer;
}
.volume-row input[type="range"]{
  flex:1;
  accent-color:var(--color-orange);
}

.btn{
  display:block;
  width:100%;
  text-align:center;
  background:linear-gradient(135deg, rgba(245,166,35,.12), rgba(131,25,150,.18));
  border:1px solid rgba(245,166,35,.5);
  color:var(--color-orange);
  font-weight:700;
  font-family:'Overpass', sans-serif;
  letter-spacing:.3px;
  padding:11px;
  border-radius:22px;
  margin-bottom:12px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.btn:hover{
  background:linear-gradient(135deg, var(--color-orange), #ffb84d);
  color:#2a0630;
  border-color:var(--color-orange);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(245,166,35,.35), 0 0 0 1px rgba(245,166,35,.4);
}
.btn:active{ transform:translateY(0); }

.programma-panel{
  padding:16px;
}
.programma-iframe{
  display:block;
  width:100%;
  height:760px;
  border:none;
  border-radius:8px;
}

/* ---------- Losse uitzendschema-pagina ---------- */
.schema-page-panel{
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}
.programma-iframe-full{
  display:block;
  width:100%;
  height:900px;
  border:none;
  border-radius:8px;
}

/* ---------- Radioteam-pagina ---------- */
.team-page-panel{
  display:flex;
  justify-content:center;
}
.team-iframe{
  display:block;
  width:460px;
  max-width:100%;
  height:280px;
  border:none;
  border-radius:8px;
}

/* ---------- ZOJUIST GEDRAAID ---------- */
.track-list{ list-style:none; margin:0 0 14px; padding:0; }
.track-list li{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 8px;
  border-bottom:1px solid rgba(245,209,189,.1);
}
.track-thumb{
  width:52px; height:52px;
  border-radius:10px;
  background:var(--color-accent3);
  background-size:cover;
  background-position:center;
  flex-shrink:0;
  box-shadow:0 2px 6px rgba(0,0,0,.4);
}
.track-info{ flex:1; min-width:0; }
.track-title{
  font-weight:700;
  font-size:16px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.track-artist{ font-size:14px; color:var(--text-muted); }
.track-num{ font-size:22px; color:var(--text-muted); font-weight:300; }
.track-list-empty{
  padding:16px 6px;
  color:var(--text-muted);
  font-size:14px;
  text-align:center;
}

/* ---------- LIVE PROGRAMMA ---------- */
.live-photo{ position:relative; border-radius:8px; overflow:hidden; margin-bottom:12px; }
.live-photo img{ width:100%; display:block; }
.on-air{
  position:absolute; top:12px; right:12px;
  background:#e0193f; color:#fff;
  font-size:11px; font-weight:800;
  padding:4px 10px; border-radius:3px; letter-spacing:1px;
}
.whatsapp{
  position:absolute; bottom:12px; right:12px;
  width:38px; height:38px;
  background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.dj-name{ font-weight:800; font-size:17px; font-family:'Overpass', sans-serif; }
.dj-studio{ color:var(--text-muted); font-size:13px; margin-bottom:4px; }
.dj-contact{ font-weight:700; font-size:13px; color:var(--color-orange); }

/* ---------- LIVE PROGRAMMA (verzoeksysteem iframe) ---------- */
.verzoek-panel{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:16px;
}
.verzoek-panel iframe{
  max-width:100%;
  width:100%;
  border-radius:8px;
}
.djdisplay-iframe{
  height:360px;
  max-width:320px;
}

.listen-toggle{
  margin-bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.listen-links{
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}
.listen-links.open{
  max-height:300px;
  opacity:1;
  margin-top:4px;
}
.listen-links li + li{ margin-top:6px; }
.listen-links a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:10px;
  background:rgba(245,209,189,.06);
  border:1px solid rgba(245,209,189,.12);
  color:var(--color-text);
  font-size:13px;
  font-weight:600;
  transition:background .2s, border-color .2s, transform .2s;
}
.listen-links a:hover{
  background:rgba(245,166,35,.15);
  border-color:var(--color-orange);
  color:var(--color-orange);
  transform:translateX(3px);
}
.listen-icon{ font-size:16px; flex-shrink:0; }

/* ---------- PROGRAMMA VANDAAG / MUZIEK PROMOTIE ---------- */
.grid-2{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:24px;
  margin-top:40px;
  align-items:stretch;
}
.grid-2 > div{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.grid-2 .panel{
  flex:1;
  display:flex;
  flex-direction:column;
}

.schedule-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:12px 6px;
  border-bottom:1px solid rgba(245,209,189,.1);
}
.schedule-thumb{ width:46px; height:46px; border-radius:8px; background:var(--color-accent3); flex-shrink:0; }
.schedule-time{ font-size:12px; color:var(--text-muted); width:110px; flex-shrink:0; }
.schedule-title{ font-weight:700; font-family:'Overpass', sans-serif; }
.schedule-sub{ font-size:13px; color:var(--text-muted); }
.schedule-extra{ font-size:12px; color:var(--color-orange); font-weight:600; }

.promo-image{
  border-radius:10px;
  overflow:hidden;
  border:4px solid var(--color-accent2);
  flex:1;
  min-height:0;
}
.promo-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.grid-2 .btn{ margin-top:16px; }

.partners-wrapper{
  padding-top:0;
}
.partners-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 320px));
  justify-content:center;
  gap:20px;
}
.partner-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0a0a12;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(245,209,189,.15);
  transition:transform .2s, border-color .2s;
}
.partner-logo:hover{ transform:translateY(-3px); border-color:var(--color-orange); }
.partner-logo img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

footer{
  text-align:center;
  padding:30px 20px;
  color:var(--text-muted);
  font-size:12px;
  border-top:1px solid rgba(255,255,255,.08);
}

/* ---------- Verzoekplaat popup ---------- */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(10,1,14,.75);
  z-index:1000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal-overlay.open{
  display:flex;
}
.modal-box{
  position:relative;
  background:var(--color-accent1);
  border:1px solid rgba(245,209,189,.15);
  border-radius:12px;
  padding:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  max-width:640px;
  width:100%;
  max-height:92vh;
  overflow-y:auto;
  overflow-x:hidden;
}
.modal-close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--color-orange);
  color:#2a0630;
  border:2px solid var(--color-accent1);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-close:hover{ background:#fff; }
.modal-iframe{
  display:block;
  width:100%;
  height:820px;
  max-height:80vh;
  border:none;
  border-radius:8px;
}

@media (max-width: 980px){
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  header{ flex-direction:column; align-items:flex-start; gap:14px; }
  .logo img{ height:110px; }
  nav ul{ flex-wrap:wrap; border-radius:16px; }
}

/* ---------- Jukebox (Non-stop Verzoek) ---------- */
.jukebox-panel{
  max-width:1200px;
  margin:0 auto;
  padding:28px;
}
.jukebox-intro{
  text-align:center;
  color:var(--text-muted);
  font-size:15px;
  line-height:1.6;
  margin:0 0 20px;
}

.jukebox-search{
  display:block;
  width:100%;
  max-width:420px;
  margin:0 auto 24px;
  background:rgba(0,0,0,.3);
  border:1px solid rgba(245,209,189,.2);
  border-radius:22px;
  padding:11px 18px;
  color:var(--color-text);
  font-family:'Lato', sans-serif;
  font-size:14px;
}
.jukebox-search:focus{
  outline:none;
  border-color:var(--color-orange);
}

.jukebox-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(190px, 1fr));
  gap:18px;
  margin-bottom:24px;
}
.jukebox-card{
  background:rgba(53,4,61,.4);
  border:1px solid rgba(245,209,189,.12);
  border-radius:12px;
  padding:12px;
  display:flex;
  flex-direction:column;
  transition:transform .15s ease, border-color .15s ease;
}
.jukebox-card:hover{
  transform:translateY(-3px);
  border-color:var(--color-orange);
}
.jukebox-card-img{
  width:100%;
  aspect-ratio:1/1;
  border-radius:8px;
  overflow:hidden;
  background:var(--color-accent1);
  margin-bottom:10px;
}
.jukebox-card-img img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.jukebox-card-info{ flex:1; margin-bottom:10px; }
.jukebox-card-title{
  font-weight:700;
  font-size:14px;
  line-height:1.3;
  margin-bottom:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.jukebox-card-artist{
  font-size:12px;
  color:var(--text-muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.jukebox-card-duration{
  font-size:11px;
  color:var(--color-orange);
  margin-top:3px;
}
.jukebox-request-btn{
  margin-bottom:0;
  padding:8px;
  font-size:13px;
}

.jukebox-empty{
  text-align:center;
  color:var(--text-muted);
  padding:30px;
  grid-column:1 / -1;
}

.jukebox-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.jukebox-pagination .btn{
  width:auto;
  margin-bottom:0;
  padding:10px 20px;
}
.jukebox-pagination .btn:disabled{
  opacity:.4;
  cursor:not-allowed;
}
.jukebox-pagination .btn:disabled:hover{
  background:transparent;
  color:var(--color-orange);
}
.jukebox-page-info{
  font-size:13px;
  color:var(--text-muted);
  font-weight:600;
}

.jukebox-toast{
  max-width:500px;
  margin:0 auto 16px;
  text-align:center;
  font-weight:700;
  font-size:14px;
  border-radius:10px;
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height .25s ease, opacity .2s ease, padding .25s ease;
}
.jukebox-toast.open{
  max-height:60px;
  opacity:1;
  padding:12px 16px;
}
.jukebox-toast-success{ background:rgba(76,201,110,.15); border:1px solid rgba(76,201,110,.5); color:#7CFF9B; }
.jukebox-toast-info{ background:rgba(245,166,35,.12); border:1px solid rgba(245,166,35,.5); color:var(--color-orange); }
.jukebox-toast-error{ background:rgba(224,25,63,.12); border:1px solid rgba(224,25,63,.5); color:#ff6f87; }
