/* ============================================================
   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/Gemini_Generated_Image_553ygz553ygz553y.png');
  -webkit-background-size: cover;
  background-size: cover;
  background-position: 46% calc(50% - 15px);
  background-repeat: no-repeat;
  cursor: pointer;
}

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

/* ── 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(226, 217, 200, 0.45);
  transition: color 0.3s;
}

#toggleBtn {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
}

#prevBtn, #nextBtn {
  font-size: 1.4rem;
  line-height: 1;
}

#playerControls button:hover {
  color: rgba(226, 217, 200, 0.8);
}

/* When autoplay is blocked, nudge play button */
#toggleBtn.needs-interaction {
  color: rgba(196, 149, 10, 0.55);
  animation: pulse-opacity 2s ease-in-out infinite;
}

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

@keyframes pulse-opacity {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@media (max-width: 768px) {
  .bg {
    background-image: url('/assets/images/logos/mobile.png');
    background-position: 41% calc(50% - 15px);
  }
}
