body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  color: white;
  background: black;
  perspective: 1000px;
}

#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.24);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  opacity: 1;
  visibility: visible;
}

#overlay .overlay-content {
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(4px); }
}

#overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#overlay .overlay-content p {
  color: white;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
}

#bgVideo {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) blur(3px);
  z-index: -2;
}

canvas {
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
}

/* HAUPT-CONTAINER POSITIONIERUNG */
.main-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease 0.1s;
}

.main-container.active {
  opacity: 1;
}

#tilt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 400px;
}

.glass {
  background: rgba(220, 220, 220, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 200, 200, 0.25);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.volume-widget {
  position: fixed;
  top: 20px; left: 20px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  transition: width 0.3s ease-out;
  border-radius: 8px;
  box-sizing: border-box;
  will-change: width;
  background: rgba(40, 40, 40, 0.7);
  display: block;
}

.volume-widget:hover {
  width: 139px;
}

.volume-widget i {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.volume-widget input {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  width: 0;
  pointer-events: none;
  transition: width 0.3s ease-out, opacity 0.2s ease-out;
  -webkit-appearance: none;
  background: transparent;
}

.volume-widget input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(200, 200, 200, 0.55);
}

.volume-widget input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d6d6d6;
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-top: -4px;
}

.volume-widget input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(200, 200, 200, 0.55);
}

.volume-widget input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d6d6d6;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.volume-widget:hover input {
  opacity: 1;
  width: 80px;
  pointer-events: all;
}

.section {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-section { flex-direction: column; text-align: center; }
.avatar { width: 90px; height: 90px; border-radius: 15%; margin-bottom: 10px; }
.socials-section { justify-content: space-around; }
.socials-section a { color: white; font-size: 22px; transition: 0.3s; }
.socials-section a:hover { transform: scale(1.2); color: #00d2ff; }
.player-left { display: flex; align-items: center; gap: 15px; }
.player-logo { width: 45px; height: 45px; border-radius: 10px; }
.player-right i { cursor: pointer; font-size: 20px; }
.socials-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.custom-icon-img {
  width: 22px; /* Gleiche Größe wie die anderen Icons */
  height: 22px;
  object-fit: contain;
  /* Filter: Macht das Bild komplett weiß und passt es dem Theme an */
  filter: brightness(0) invert(1); 
  transition: transform 0.3s ease, filter 0.3s ease;
}

.socials-section a:hover .custom-icon-img {
  transform: scale(1.2);
  /* Optional: Farbe beim Hover wie bei den anderen Icons */
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
}