/* ============================================================
   style.css — reggai.nl
   Pablo August · reggae site
   ============================================================ */

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

:root {
  --grn:        #4caf6e;
  --grn-light:  #6dd68a;
  --grn-dim:    rgba(76,175,110,0.15);
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --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.72);
  --card-hover: rgba(14,22,16,0.88);
  --radius:     16px;
  --radius-sm:  10px;
}

/* ── BODY & BACKGROUND ── */
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;
}

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;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(76,175,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(20,60,30,0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ── LAYOUT ── */
.pagina {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px 0;
}

/* ── VIDEO — fixed rechtsboven op desktop ── */
.video-corner {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  width: 160px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.video-corner-bar {
  padding: 6px 10px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grn);
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-corner-dot {
  width: 6px; height: 6px;
  background: var(--grn);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.video-corner video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
}

/* ── VIDEO — in flow op mobiel ── */
.video-inline {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  backdrop-filter: blur(14px);
}

.video-inline-bar {
  padding: 8px 14px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grn);
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-inline video {
  width: 100%;
  display: block;
  max-height: 320px;
  background: #000;
  object-fit: cover;
}

/* ── PAGE HEADER ── */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 10px;
}

.page-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 9vw, 5rem);
  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: 8px;
}

.page-sub {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

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

/* ── SONG GRID ── */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

/* ── SONG CARD ── */
.song-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.song-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(76,175,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.song-card:hover {
  background: var(--card-hover);
  border-color: rgba(76,175,110,0.35);
  transform: translateY(-2px);
}

.card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grn);
}

.card-dot {
  width: 8px; height: 8px;
  background: var(--grn);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  flex-shrink: 0;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(76,175,110,0.1);
}

/* ── PLAY BUTTON ── */
.play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grn);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  color: #000;
  font-size: 14px;
  padding-left: 2px;
}

.play-btn:hover { background: var(--grn-light); transform: scale(1.08); }
.play-btn.playing { background: var(--grn-light); }

/* ── INFO TEKST BLOKKEN ── */
.info-section {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(14px);
  line-height: 1.85;
  font-size: 0.82rem;
  color: var(--text);
}

.info-section .lang-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--grn);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-section a {
  color: var(--grn-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(76,175,110,0.35);
  transition: color 0.2s;
}

.info-section a:hover { color: #fff; }

.info-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,175,110,0.2), transparent);
  margin: 24px 0;
}

/* ── SUNO LINK ── */
.suno-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.suno-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(76,175,110,0.1);
  border: 1px solid rgba(76,175,110,0.35);
  color: var(--grn-light);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.suno-btn:hover {
  background: rgba(76,175,110,0.18);
  border-color: var(--grn);
  transform: scale(1.03);
}

/* ── 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); }

/* ── SCROLLBAR ── */
::-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); }

/* ── MOBIEL ── */
@media (max-width: 680px) {
  .song-grid { grid-template-columns: 1fr 1fr; }
  .info-section { padding: 20px 18px; }
  .video-corner { display: none; }
  .video-inline { display: block; }
}

@media (max-width: 420px) {
  .song-grid { grid-template-columns: 1fr; }
}
