*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --grn:        #4caf6e;
  --grn-light:  #6dd68a;
  --gold:       #c9a84c;
  --red:        #cc3333;
  --dark:       #0a0d0b;
  --text:       #e0e8e2;
  --muted:      #7a9282;
  --glass:      rgba(8,12,9,0.55);
  --glass-border: rgba(76,175,110,0.18);
  --card-bg:    rgba(10,16,12,0.82);
  --radius:     16px;
}

body {
  min-height: 100vh;
  font-family: 'Share Tech Mono', monospace;
  color: var(--text);
  background: var(--dark);
  position: relative;
  overflow-x: hidden;
  padding: 0 0 80px;
}

/* achtergrond zelfde als reggai */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../dub.png') center center / cover no-repeat;
  filter: brightness(0.18) saturate(0.5) hue-rotate(80deg);
  z-index: 0;
}

/* verticale rasta waas: rood boven, goud midden, groen onder */
.rasta-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(180, 30, 30, 0.18)   0%,
    rgba(180, 30, 30, 0.10)  25%,
    rgba(180, 140, 20, 0.12) 40%,
    rgba(180, 140, 20, 0.08) 55%,
    rgba(30, 120, 50, 0.10)  70%,
    rgba(30, 120, 50, 0.18) 100%
  );
}

.pagina {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 16px 0;
}

/* header */
.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 11vw, 6rem);
  letter-spacing: 0.1em;
  color: var(--grn-light);
  text-shadow: 0 0 60px rgba(76,175,110,0.4), 0 2px 12px rgba(0,0,0,0.9);
  line-height: 1;
  margin-bottom: 16px;
}

.page-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grn), transparent);
  margin: 0 auto 48px;
}

/* player */
.player-wrap {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.now-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grn);
}

#track-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--text);
  text-align: center;
}

/* controls */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.ctrl-btn {
  background: rgba(76,175,110,0.1);
  border: 1px solid rgba(76,175,110,0.3);
  color: var(--grn-light);
  font-size: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.ctrl-btn:hover { background: rgba(76,175,110,0.22); transform: scale(1.08); }

.play-main {
  width: 60px; height: 60px;
  font-size: 1.3rem;
  background: var(--grn);
  border-color: var(--grn);
  color: #000;
}

.play-main:hover { background: var(--grn-light); border-color: var(--grn-light); }

/* progress */
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.68rem;
  color: var(--muted);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(76,175,110,0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--grn);
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s linear;
}

/* tracklist */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.track-item:hover { background: rgba(76,175,110,0.08); color: var(--text); }

.track-item.active {
  background: rgba(76,175,110,0.12);
  color: var(--grn-light);
  border-left: 2px solid var(--grn);
  padding-left: 10px;
}

.track-num {
  width: 20px;
  text-align: right;
  color: rgba(76,175,110,0.4);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* footer */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 0.7rem 1.5rem;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(76,175,110,0.08);
  background: rgba(8,12,9,0.92);
  backdrop-filter: blur(12px);
  z-index: 10;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--grn-light); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(76,175,110,0.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(76,175,110,0.45); }

@media (max-width: 480px) {
  .player-wrap { padding: 24px 16px 20px; }
}
