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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #080807;
}


/* ── Full-page background ── */
.bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/assets/images/logos/Beanpole-home-page.png');
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ── Scanlines ── */
body::after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
  z-index: 10;
}

/* ── Social links ── */
#socialLinks {
  position: fixed;
  top: 6vh;
  left: 50%;
  transform: translateX(calc(-50% - 8px));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

#socialLinks a {
  color: rgba(196, 149, 10, 0.45);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

#socialLinks a:hover {
  color: rgba(196, 149, 10, 0.9);
}

/* ── Player controls ── */
#playerControls {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#playerControls button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  color: rgba(196, 149, 10, 0.5);
  transition: color 0.3s;
}

#toggleBtn {
  line-height: 1;
  display: flex;
  align-items: center;
}

#prevBtn, #nextBtn {
  display: flex;
  align-items: center;
}

#playerControls button:hover {
  color: rgba(196, 149, 10, 0.9);
}

/* When autoplay is blocked, nudge play button */
#toggleBtn.needs-interaction {
  color: rgba(196, 149, 10, 0.75);
}

#toggleBtn.needs-interaction:hover {
  color: rgba(196, 149, 10, 1);
}

/* ── Visually hidden (in DOM for crawlers, invisible to users) ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Drawer handle ── */
#drawerHandle {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  cursor: pointer;
  padding: 0.4rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 149, 10, 0.55);
  border: 1px solid rgba(196, 149, 10, 0.2);
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

#drawerHandle:hover {
  color: rgba(196, 149, 10, 0.9);
  border-color: rgba(196, 149, 10, 0.5);
}

/* ── Info drawer ── */
#infoDrawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 92vw;
  max-width: 540px;
  height: auto;
  max-height: 72vh;
  transition: transform 0.35s ease;
  z-index: 25;
  background: rgba(12, 11, 10, 0.99);
  border: 1px solid rgba(196, 149, 10, 0.35);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
}

#infoDrawer.open {
  transform: translateX(-50%) translateY(0);
}

#drawerHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(196, 149, 10, 0.15);
  flex-shrink: 0;
}

#drawerClose,
#drawerX {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  color: rgba(196, 149, 10, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#drawerClose {
  font-size: 0.55rem;
}

#drawerX {
  font-size: 1rem;
  padding: 0 0.25rem;
}

#drawerClose:hover,
#drawerX:hover {
  color: rgba(196, 149, 10, 1);
}

#drawerContent {
  overflow-y: auto;
  padding: 1.25rem;
  flex: 1;
}

.drawerSection {
  margin-bottom: 1.75rem;
}

.drawerSection p {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(235, 221, 177, 0.88);
  margin-bottom: 0.6rem;
}

.drawerSection h2 {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 149, 10, 0.9);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.drawerTracks {
  list-style: none;
  columns: 2;
  column-gap: 1.5rem;
}

.drawerTracks li {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(235, 221, 177, 0.5);
  line-height: 1.8;
  break-inside: avoid;
}

.drawerLinks {
  list-style: none;
}

.drawerLinks li {
  margin-bottom: 0.5rem;
}

.drawerLinks a {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: rgba(196, 149, 10, 0.8);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.drawerLinks a:hover {
  color: rgba(196, 149, 10, 1);
}

