* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f10;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f10;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  transition: opacity 0.5s ease;
}

.enter-key {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0.4); }
}

#youtube-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: #0f0f10;
}

#youtube-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
}

.volume-container {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  padding: 15px 10px;
  border-radius: 8px;
  background: #1a1b1e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 70px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.volume-container.visible {
  opacity: 1;
}

.volume-icon-wrapper {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a3a3d;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.volume-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.volume-slider {
  -webkit-appearance: none;
  width: 80px;
  height: 5px;
  transform: rotate(270deg);
  background: #3a3c40;
  border-radius: 3px;
  margin: 30px 0;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.music-icon-wrapper {
  width: 42px;
  height: 42px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a3a3d;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.music-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.profile {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  margin: 20px auto;
  background: rgba(15, 15, 16, 0.9);
  border-radius: 15px;
  display: none;
  backdrop-filter: blur(5px);
}

.avatar {
  width: clamp(100px, 25vw, 120px);
  height: clamp(100px, 25vw, 120px);
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 15px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.socials a {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.link {
  background: #1a1a1d;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.link-icon {
  width: 35px;
  height: 35px;
  margin-right: 12px;
  background-color: #2a2a2d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.link-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  transition: all 0.3s ease;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  background: rgba(15, 15, 16, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10;
  display: none;
}

/* Dodaj te style do istniejącego CSS */
.volume-icon-wrapper {
  /* ... istniejące style ... */
  transition: all 0.3s ease;
}

.volume-icon-wrapper:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.music-icon-wrapper:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.volume-icon, .music-icon {
  transition: transform 0.2s ease;
}

.volume-icon-wrapper:active .volume-icon,
.music-icon-wrapper:active .music-icon {
  transform: scale(0.9);
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

@media (min-width: 401px) {
  .volume-container:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  }
  
  .volume-icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .music-icon-wrapper:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .avatar:hover {
    transform: rotate(8deg) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  }
  
  .socials a:hover {
    transform: rotate(8deg) scale(1.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .socials a:hover img {
    transform: scale(1.2);
  }
  
  .socials a[href*="youtube"]:hover {
    background: rgba(255, 0, 0, 0.3);
  }
  
  .socials a[href*="tiktok"]:hover {
    background: rgba(255, 50, 238, 0.3);
  }
  
  .link:hover {
    background: #29292d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  }
  
  .link:hover .link-icon {
    transform: rotate(15deg) skew(-5deg, -5deg) scale(1.1);
    background-color: #3a3a3d;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  
  .link:hover .link-icon img {
    transform: scale(1.15);
  }
  
  footer a:hover {
    color: #ccc;
  }
}

@media (max-width: 400px) {
  #welcome-screen {
    display: none !important;
  }
  
  .profile,
  footer {
    display: block !important;
  }
  
  .volume-container {
    display: none !important;
  }
  
  .avatar,
  .socials a,
  .link,
  .link-icon,
  .link-icon img,
  .music-icon-wrapper {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

