body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center center;
  z-index: -1;
  transition: transform 0.3s ease;
}

#first {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000098;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#first.fade-out {
  opacity: 0;
  pointer-events: none;
}

#clicktoenter {
  color: white;
  font-size: 30px;
  user-select: none;
  text-transform: lowercase;
  letter-spacing: 1.5px;
}

.card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  z-index: 5;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 2px solid white;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

p {
  margin: 8px 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.socials a {
  color: white;
  font-size: 1.6rem;
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: scale(1.2);
}

#volume-control {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #1a1a1a;
  border-radius: 15px;
  width: 50px;
  height: 45px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 20;
}

#volume-control:hover {
  width: 180px;
}

#volume-icon {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  flex-shrink: 0;
  transition: color 0.3s ease;
  pointer-events: none;
}

#volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 6px;
  border-radius: 10px;
  background: #444;
  outline: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-right: 10px;
  cursor: pointer;
}

#volume-control:hover #volume-slider {
  opacity: 1;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

#volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}
