/* Footer Bar Desktop */
#footerBar{
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

#footerBar a,
#footerBar span,
#footerBar button,
#footerBar canvas,
#footerBar div{
  pointer-events: auto;
}

#footerBar a,
#footerBar span{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.02em;
  text-decoration: none;
}

#footerBar a:hover{
  color: rgba(255,255,255,.95);
}

.footer-right{
  display: flex;
  gap: 14px;
  align-items: flex-end;
  padding-bottom: 0;
}

/* 📱 Mobile Layout */
@media (max-width: 720px){
  #footerBar{
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

.footer-left{
  max-width: 100%;
  text-align: left;
}

  .footer-right{
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}


/* Background overlay layer (hinter Symbolen) */
#backgroundOverlay{
  position: absolute;
  inset: 0;
  z-index: 0;                 /* hinter Symbolen (Symbole haben z-index: 4) */
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  overflow: hidden;
}

#backgroundOverlay.is-on{
  opacity: 1;
}

#backgroundOverlay img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text overlay layer (unter Symbolen, klick-through) */
#infoOverlay{
  position: absolute;
  inset: 0;
  z-index: 1;                 /* hinter Symbolen (Symbole haben z-index: 4) */
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;       /* wichtig: Symbole bleiben klickbar */
  display: flex;
  align-items: center;
  justify-content: center;
}

#infoOverlay.is-on{
  opacity: 1;
}

#infoOverlay .infoText{
text-transform: uppercase;
  color: #fff;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;

/* WICHTIG: nicht zu breit werden lassen */
  max-width: 92vw;
  padding: 24px 28px;

  /* optional: leichtes "glow" */
  text-shadow: 0 0 18px rgba(255,255,255,.18);

}

/* Jede Zeile bleibt immer in EINER Zeile */
#infoOverlay .infoText .line{
  white-space: nowrap;     /* verhindert Umbruch */
  display: block;
  
  /* fluid font-size: passt sich fließend an die Fensterbreite an */
  font-size: clamp(28px, 8vw, 150px);
}

/* KEOPE logo button top-right */
#keopeLogoBtn{
  position: absolute;
  top: 8px;
  right: 14px;
  z-index: 20;                /* über allem */
  width: 46px;
  height: 46px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .92;
}

#keopeLogoBtn img{
mix-blend-mode: screen;
object-fit: contain;   /* verhindert "quetschen" */
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.18));
}

#keopeLogoBtn:hover{ opacity: 1; }
#keopeLogoBtn.is-on img{
  filter: drop-shadow(0 0 18px rgba(255,255,255,.32));
}


    :root{ --bg:#000; --fg:#fff; --muted: rgba(255,255,255,.65); }
    html, body { height: 100%; margin: 0; background: var(--bg); color: var(--fg); }
    body { overflow: hidden; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; }

    #stage{ position: relative; width: 100vw; height: 100vh; background:#000; isolation:isolate; }

    .symbol{
      position:absolute;
      width: clamp(150px, 18vw, 320px);
      transform: translate(-50%,-50%);
      cursor:pointer;
      user-select:none;
      opacity: 1;
      z-index: 4;
      mix-blend-mode: normal;
      filter: drop-shadow(0 0 18px rgba(255,255,255,.22));
      transition: opacity .15s ease, filter .15s ease;
      will-change: transform, filter;
    }
    .symbol:hover{
      opacity: 1;
      filter: drop-shadow(0 0 18px rgba(255,255,255,.20));
    }
    .symbol.is-active{
      opacity: 1;
      filter: drop-shadow(0 0 18px rgba(255,255,255,.35)) saturate(1.1) contrast(1.05);
    }
    /* Promo-Access: Symbole in Ecken, Klicks gehen durch zu Play/Download */
    .symbol.symbol--promo-corners{
      pointer-events: none;
    }

    #glitchOverlay{
      position:absolute; inset:0;
      pointer-events:none;
      z-index: 5;
      opacity: .55;
      mix-blend-mode: overlay;
      background:
        repeating-linear-gradient(
          to bottom,
          rgba(255,255,255,.06) 0px,
          rgba(255,255,255,.06) 1px,
          rgba(0,0,0,0) 2px,
          rgba(0,0,0,0) 5px
        );
      transform: translateZ(0);
      will-change: transform, opacity, filter;
      animation: scan 2.2s linear infinite;
      filter: contrast(1.05);
    }
    #glitchOverlay::before{
      content:"";
      position:absolute; inset:-20%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
      background-size: 240px 240px;
      mix-blend-mode: soft-light;
      opacity: .35;
      animation: noiseMove .35s steps(2) infinite;
    }
    .burst{ animation: burst .18s steps(2) 1; }

    @keyframes scan{ 0%{transform:translateY(0px)} 100%{transform:translateY(18px)} }
    @keyframes noiseMove{ 0%{transform:translate(0,0)} 100%{transform:translate(3%,-2%)} }
    @keyframes burst{
      0%{ filter:hue-rotate(0deg) contrast(1.1) saturate(1.2); transform:translateX(0px); opacity:.65; }
      50%{ filter:hue-rotate(18deg) contrast(1.35) saturate(1.5); transform:translateX(10px); opacity:.9; }
      100%{ filter:hue-rotate(0deg) contrast(1.1) saturate(1.2); transform:translateX(0px); opacity:.65; }
    }


#status{
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.02em;
  z-index: 11;
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.2s ease;
}

#status:hover{
  color: rgba(255,255,255,.85);
}

/* ============================================
   MUSIK PLAYER
   ============================================ */
#musicPlayer {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 500px;
  max-width: 900px;
  pointer-events: auto;
}

.player-cover {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  margin-right: 10px;
}

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

.player-track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  min-width: 140px;
  padding-top: 0;
  margin-right: 0;
  align-self: flex-start;
}

.player-controls-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  align-self: flex-start;
  margin-left: 10px;
}

.song-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.album-title {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.release-year {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.release-format {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.2;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.control-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  background-clip: padding-box !important;
  filter: none !important;
  -webkit-filter: none !important;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.1s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* iOS Tap Highlight entfernen */
  -webkit-tap-highlight-color: transparent !important;
  /* iOS Default Appearance entfernen */
  -webkit-appearance: none !important;
  appearance: none !important;
  /* Focus/Outline entfernen (wird nur bei Tastatur-Navigation gezeigt) */
  outline: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  /* iOS Focus Ring entfernen */
  -webkit-focus-ring-color: transparent !important;
  /* Box Shadow entfernen */
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  /* iOS Button Styles entfernen */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.control-btn svg{
  width: 16px;
  height: 16px;
  display: block;
}

.control-btn.play-pause svg{
  width: 18px;
  height: 18px;
}

/* Focus explizit auf "leer" setzen (iOS kann trotzdem etwas drauflegen) */
.control-btn:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  filter: none !important;
  -webkit-filter: none !important;
  -webkit-focus-ring-color: transparent !important;
}

/* Focus nur bei Tastatur-Navigation (Accessibility) */
.control-btn:focus:not(:focus-visible) {
  outline: none !important;
  outline-width: 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -webkit-focus-ring-color: transparent !important;
}

/* Tastatur-Focus für Accessibility */
.control-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5) !important;
  outline-offset: 2px !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.control-btn:active {
  outline: none !important;
  outline-width: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  -webkit-focus-ring-color: transparent !important;
  /* iOS Active State entfernen */
  -webkit-tap-highlight-color: transparent !important;
}

.control-btn:hover {
  color: rgba(255,255,255,.95);
  transform: scale(1.1);
  background: transparent !important;
  background-color: transparent !important;
}

.control-btn.play-pause {
  font-size: 16px;
  padding: 6px 10px;
  background: transparent !important;
  background-color: transparent !important;
}

.player-waveform {
  position: relative;
  width: 100%;
  height: 40px;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  min-width: 250px;
}

#waveformCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.8);
  pointer-events: none;
  z-index: 1;
  transition: left 0.1s linear;
}

/* Mobile Layout für Player */
@media (max-width: 720px){
  #musicPlayer {
    flex-direction: row;
    align-items: flex-start;
    min-width: auto;
    max-width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .player-cover {
    width: 60px;
    height: 60px;
    margin-right: 8px;
  }
  
  .player-track-info {
    min-width: auto;
    width: auto;
    flex: 0 0 auto;
    margin-right: 8px;
    gap: 2px;
  }
  
  .song-title {
    font-size: 11px;
  }
  
  .album-title {
    font-size: 9px;
  }
  
  .release-year {
    font-size: 8px;
  }

  .release-format {
    font-size: 8px;
  }
  
  .player-controls-wrapper {
    width: 100%;
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 6px;
    order: 3;
  }

  .player-controls {
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
  }
  
  .control-btn {
    font-size: 16px;
    padding: 3px 6px;
    /* iOS Tap Highlight entfernen */
    -webkit-tap-highlight-color: transparent !important;
    /* iOS Default Appearance entfernen */
    -webkit-appearance: none !important;
    appearance: none !important;
    /* Focus/Outline entfernen */
    outline: none !important;
    outline-width: 0 !important;
    outline-offset: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-clip: padding-box !important;
    filter: none !important;
    -webkit-filter: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    /* iOS Focus Ring entfernen */
    -webkit-focus-ring-color: transparent !important;
    /* iOS Button Styles entfernen */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .control-btn.play-pause {
    font-size: 14px;
    padding: 4px 8px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
  }
  
  /* Focus explizit auf "leer" setzen (iOS kann trotzdem etwas drauflegen) */
  .control-btn:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-focus-ring-color: transparent !important;
  }
  
  /* Focus nur bei Tastatur-Navigation (Accessibility) */
  .control-btn:focus:not(:focus-visible) {
    outline: none !important;
    outline-width: 0 !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-focus-ring-color: transparent !important;
  }
  
  /* Tastatur-Focus für Accessibility */
  .control-btn:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5) !important;
    outline-offset: 2px !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
  }
  
  .control-btn:active {
    outline: none !important;
    outline-width: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-focus-ring-color: transparent !important;
    /* iOS Active State entfernen */
    -webkit-tap-highlight-color: transparent !important;
  }
  
  .control-btn:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
  }
  
  .player-waveform {
    min-width: auto;
    height: 32px;
  }
  
  #footerBar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-left {
    width: 100%;
  }
  
  .footer-right {
    align-items: flex-start;
    width: 100%;
  }
}

/* Personal Access – erscheint nur im InfoOverlay, nur auf Desktop */
.accessWrap{
  margin-top: 18px;
  pointer-events: auto;          /* wichtig, weil #infoOverlay sonst klick-through ist */
  max-width: min(720px, 92vw);
}

/* Vorübergehend: Promo-Access auf Mobilgeräten ausblenden (Darstellungsprobleme) */
@media (max-width: 720px){
  .accessWrap{
    display: none !important;
  }
}

#promoForm{
  margin: 0;
}

#promoPw{
  width: min(360px, 92vw);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding: 10px 2px 8px 2px;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  letter-spacing: .08em;
  outline: none;
  text-transform: uppercase;
}

#promoPw::placeholder{
  color: rgba(255,255,255,.28);
}

.accessMsg{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.55);
  min-height: 16px;
}

.promoList{
  margin-top: 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.promoList.is-on{ display: flex; }

.promoRow{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
}

.promoTitle{
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promoActions{
  display: inline-flex;
  gap: 10px;
}

.promoBtn, .promoLink{
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
}

.promoBtn:hover, .promoLink:hover{
  color: rgba(255,255,255,.95);
}
