/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #fff;
  min-height: 300vh;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar {
  display: none;
}

/* ========== BACKGROUND ========== */
.bg-image {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: url("img/background.png") center center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* ========== SPEAKER WRAPPER ========== */
.speaker-wrapper {
  position: fixed;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  width: min(100vw, 720px);
  height: min(100vw, 720px);
  z-index: 1;
}

/* ========== LAYERS ========== */
.speaker-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  z-index: 10;
}
.speaker-layer img {
  width: 100%;
  height: auto;
}

/* ========== HIT-AREAS ========== */
.hit-area {
  position: absolute;
  width: 24%;
  height: 24%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  z-index: 9999;
}

/* ========== LABELS ========== */
.part-label {
  position: absolute;
  top: 50%;
  right: -2%;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}
.part-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 14px;
  height: 1px;
  background: #000;
  transform: translateY(-50%);
}
.part-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  border: 4px solid transparent;
  border-left-color: #000;
  transform: translateY(-50%);
}
body.show-labels .part-label {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
}
.part-label:hover {
  background: #000;
  color: #fff;
}
.part-label:hover::before {
  background: #fff;
}
.part-label:hover::after {
  border-left-color: #fff;
}

/* LEFT-OF-CENTER LABELS */
.label-contact .part-label,
.label-podcasts .part-label,
.label-socials .part-label {
  left: -12%;
  right: auto;
}
.label-contact .part-label::before,
.label-podcasts .part-label::before,
.label-socials .part-label::before {
  right: -14px;
  left: auto;
}
.label-contact .part-label::after,
.label-podcasts .part-label::after,
.label-socials .part-label::after {
  right: -18px;
  left: auto;
  border-width: 4px 0 4px 4px;
  border-color: transparent transparent transparent #000;
}

/* ========== UI BUTTONS ========== */
.ui-top-left {
  position: fixed;
  top: 24px;
  left: 24px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  z-index: 10000;
}
.ui-openclose { display: inline-block; }
body.radio-page .ui-openclose,
body.music-page .ui-openclose { display: none; }
.ui-back { display: none; }
body.radio-page .ui-back,
body.music-page .ui-back { display: inline-block; }
.ui-openclose.negative {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ========== RADIO/MUSIC PAGES ========== */
body.radio-page .speaker-wrapper,
body.music-page .speaker-wrapper {
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
}
body.radio-page .radio-hint,
body.music-page .music-hint {
  position: fixed;
  top: 52%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 10000;
}
body.radio-page .radio-hint { left: 18%; }
body.music-page .music-hint { right: 18%; }
body.radio-page .radio-hint .part-label,
body.music-page .music-hint .part-label {
  position: relative;
  top: 0;
  opacity: 1;
  pointer-events: auto;
  z-index: 10001;
}
body.radio-page .radio-hint .part-label { right: 100%; }
body.music-page .music-hint .part-label { right: auto; left: 100%; }
body.radio-page.show-labels .radio-hint,
body.music-page.show-labels .music-hint {
  opacity: 0;
  pointer-events: none;
}

/* ========== LINK MODAL ========== */
.link-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
.link-modal--visible { display: flex; }
.link-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.link-modal__window {
  position: relative;
  background: #fff;
  border: 1px solid #000;
  padding: 18px 20px 16px;
  max-width: 420px;
  width: min(420px, 90vw);
  font-family: ui-monospace, monospace;
  color: #000;
  z-index: 20001;
  cursor: pointer;
}
.link-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 20002;
}
.link-modal__body { margin-top: 6px; }
.link-modal__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.link-modal__url {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 10px;
}
.link-modal__hint { font-size: 11px; }

/* ========== BIO MODAL ========== */
.bio-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20001;
  pointer-events: none;
}
.bio-modal--visible {
  display: flex;
  pointer-events: auto;
}
.bio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.bio-modal__window {
  position: relative;
  background: #fff;
  border: 1px solid #000;
  padding: 24px;
  max-width: 500px;
  width: min(500px, 90vw);
  font-family: ui-monospace, monospace;
  color: #000;
  z-index: 20002;
}
.bio-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 20003;
}
.bio-modal__content {
  position: relative;
}
.bio-modal__text {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.bio-modal__text p {
  margin-bottom: 12px;
}
.bio-link {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.bio-link:hover {
  text-decoration: none;
}

/* Taalwisselknop voor bio-modal */
.bio-modal__window .language-toggle {
  position: absolute;
  top: 8px;
  right: 40px;
  background: none;
  border: 1px solid #000;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  padding: 2px 6px;
  cursor: pointer;
  z-index: 20003;
}
.bio-modal__window .language-toggle:hover {
  background: #000;
  color: #fff;
}

/* ========== FLOATING PHOTO (APART) ========== */
.floating-photo {
  position: fixed;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #000;
  border-radius: 4px;
  z-index: 20001;
  display: none;
  pointer-events: none;
  will-change: transform;
}
.floating-photo--visible {
  display: block;
}

/* ========== LINKTREE MODAL ========== */
.linktree-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20001;
  pointer-events: none;
}
.linktree-modal--visible {
  display: flex;
  pointer-events: auto;
}
.linktree-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.linktree-modal__window {
  position: relative;
  background: #fff;
  border: 1px solid #000;
  padding: 24px;
  max-width: 400px;
  width: min(400px, 90vw);
  font-family: ui-monospace, monospace;
  color: #000;
  z-index: 20002;
}
.linktree-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 20003;
}
.linktree-modal__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.linktree-link {
  display: block;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #000;
  font-family: ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.linktree-link:hover {
  background: #000;
  color: #fff;
}

/* ========== CONTACT MODAL ========== */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20001;
  pointer-events: none;
}
.contact-modal--visible {
  display: flex;
  pointer-events: auto;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.contact-modal__window {
  position: relative;
  background: #fff;
  border: 1px solid #000;
  padding: 24px;
  max-width: 400px;
  width: min(400px, 90vw);
  font-family: ui-monospace, monospace;
  color: #000;
  z-index: 20002;
}
.contact-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 20003;
}
.contact-modal__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-item__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: bold;
}
.contact-item__email {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  padding: 8px 12px;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.contact-item__email:hover {
  background: #000;
  color: #fff;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .speaker-wrapper {
    width: 90vw;
    height: 90vw;
    top: 45%;
  }
  .hit-area {
    width: 45%;
    height: 45%;
  }
  .part-label {
    font-size: 10px;
    right: -18%;
  }
  .ui-top-left {
    top: 18px;
    left: 18px;
  }
  .bio-modal__window,
  .linktree-modal__window,
  .contact-modal__window {
    width: 95vw;
    margin: 0 10px;
  }
  .floating-photo {
    width: 100px;
    height: 100px;
  }
}

