@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:ital,wght@0,300;0,400;1,300&display=swap');

:root {
  --bg: #f2ede4;
  --ink: #111;
  --muted: #777;
  --border: #ccc5b8;
  --c1: #e8365d;
  --c2: #1a7fe8;
  --c3: #f5a800;
  --c4: #2c9c5e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: 0.5;
}

/* ── NAV ── */
.site-nav {
  padding: 18px 60px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* ── FOOTER ── */
.site-footer {
  padding: 32px 60px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer strong { color: var(--ink); }

/* ── PHOTO SLOT ── */
.photo-slot {
  background: #e0d9ce;
  border: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
}

.photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.photo-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}

.photo-placeholder svg {
  width: 36px; height: 36px;
  stroke: #aaa; fill: none; stroke-width: 1.5;
}

.photo-placeholder span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #aaa;
}

/* ── PLAYER ── */
.player-wrapper {
  padding: 20px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.player-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

.custom-player { display: flex; align-items: center; gap: 14px; }

.play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.15s, background 0.2s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { fill: var(--bg); width: 13px; height: 13px; margin-left: 2px; }
.play-btn.playing svg.icon-play { display: none; }
.play-btn svg.icon-pause { display: none; }
.play-btn.playing svg.icon-pause { display: block; margin-left: 0; }

.progress-area { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.progress-bar-track { width: 100%; height: 2px; background: rgba(0,0,0,0.2); cursor: pointer; position: relative; }
.progress-bar-fill { height: 100%; background: var(--ink); width: 0%; transition: width 0.1s linear; pointer-events: none; }
.time-row { display: flex; justify-content: space-between; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: rgba(0,0,0,0.4); }
.no-file-note { font-size: 11px; color: #aaa; font-style: italic; margin-top: 6px; }

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── LYRICS ── */
.lyrics {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  white-space: pre-line;
}

.lyrics .lyrics-section {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 4px;
}

/* ── ANIMATIONS ── */
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .site-nav, .site-footer { padding-left: 24px; padding-right: 24px; }
}
