/* Lokale Fonts laden */
@font-face {
  font-family: 'Nosifer';
  src: url('/fonts/subset-Nosifer-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: optional; /* Shift vermeiden */
}

@font-face {
  font-family: 'Creepster';
  src: url('/fonts/subset-Creepster-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: optional; /* Shift vermeiden */
}

body {
  margin: 0;
  padding: 0;
  background: url('/images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #fff;
}

.overlay {
  background: rgba(0, 0, 0, 0.15);
  min-height: 100vh;
  padding: 20px;
  padding-bottom: 90px;
  box-sizing: border-box;
}

#album-cover {
  text-align: center;
  margin-bottom: 20px;
}

#album-cover img {
  width: 300px !important;
  height: 300px !important;
  max-width: 100% !important;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
  display: block;
  margin: 0 auto;
}

.player-controls {
  text-align: center;
  margin: 20px 0;
}

audio {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

#playlist {
  list-style: none;
  padding: 0;
  margin: 15px 0 80px 0;
  min-height: 420px; /* Reserviert Platz → kein Shift */
}

#playlist li {
  padding: 8px 12px;
  background: rgba(26, 26, 26, 0.8);
  margin: 4px 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
  font-size: 1.3em;
  font-family: 'Creepster', 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
  line-height: 1.4 !important; /* Fixierte Zeilenhöhe */
  color: #ff0000;
  -webkit-text-stroke: 1.2px #ffffff;
  text-stroke: 1.2px #ffffff;
  text-shadow:
      0 0 6px #ff3333,
      0 0 12px #ff0000,
      0 0 20px #ff0000,
      0 0 30px #d00000,
      0 0 45px #a00000,
      0 0 65px rgba(255, 69, 0, 0.9);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 60px !important;
  box-sizing: border-box;
}

#playlist li:hover {
  background: rgba(51, 51, 51, 0.9);
}

#playlist li.active {
  background: rgba(179, 0, 0, 1.0);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  text-shadow:
      0 0 8px #ff3333,
      0 0 16px #ff0000,
      0 0 25px #ff0000,
      0 0 40px #d00000,
      0 0 60px #a00000,
      0 0 80px rgba(255, 69, 0, 1.0);
}

#playlist li img {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 16px;
  flex-shrink: 0;
}

h1 {
  text-align: center;
  margin: 10px 0;
  font-size: 1.4em;
  font-family: 'Nosifer', Impact, Haettenschweiler, 'Franklin Gothic Bold', Charcoal, sans-serif;
  line-height: 1.2 !important;
  color: #c00;
  -webkit-text-stroke: 1.2px #FCAF3E;
  text-stroke: 1.2px #FCAF3E;
  text-shadow:
      0 0 6px #ff3333,
      0 0 12px #ff0000,
      0 0 20px #ff0000,
      0 0 30px #d00000,
      0 0 45px #a00000,
      0 0 65px #800000,
      0 0 90px rgba(255, 50, 50, 0.7);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1:hover {
  text-shadow:
      0 0 10px #ff3333,
      0 0 20px #ff0000,
      0 0 35px #ff0000,
      0 0 55px #d00000,
      0 0 80px #a00000,
      0 0 110px #800000,
      0 0 140px rgba(255, 50, 50, 0.9);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  color: #ddd;
  text-align: center;
  padding: 10px 15px;
  font-size: 0.9em;
  z-index: 100;
  border-top: 1px solid #444;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.6);
}

footer small {
  line-height: 1.4;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer img {
  height: 1.3em;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 600px) {
  #playlist li {
    font-size: 1.1em;
    padding: 5px 8px;
    min-height: 50px;
    margin: 3px 0;
  }
  #playlist li img {
    width: 35px !important;
    height: 35px !important;
  }
  #album-cover img {
    width: 220px !important;
    height: 220px !important;
  }
  footer {
    font-size: 0.85em;
    padding: 8px 12px;
  }
}

@media (max-height: 500px) {
  footer {
    padding: 6px 10px;
  }
  footer small {
    font-size: 0.8em;
    line-height: 1.3;
  }
}

/* Silktide Cookie-Icon optimieren */
#silktide-cookie-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background-color: #F9D000 !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
  bottom: 12px !important;
  left: 12px !important; /* oder right: 12px, je nach Position */
}

#silktide-cookie-icon svg {
  width: 60% !important;
  height: 60% !important;
  fill: #000 !important;
  flex-shrink: 0 !important;
}