* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body,
html {
  width: 100%;
  height: 100%;
  background-color: #000;
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

#enter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 1s ease,
    visibility 1s ease;
  cursor: pointer;
}

.enter-text {
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: blink 1.5s infinite;
}

#main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 2s ease,
    transform 2s ease;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 380px;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  animation:
    float 6s ease-in-out infinite,
    cardGlow 4s alternate infinite;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: avatarGlow 3s infinite alternate;
}

h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.typewriter {
  color: #aaa;
  font-size: 14px;
  height: 20px;
  margin-bottom: 35px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.socials {
  display: flex;
  gap: 25px;
}

.icon-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-link:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
}

.icon-link svg {
  width: 32px;
  height: 32px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes avatarGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes cardGlow {
  0% {
    box-shadow:
      0 0 30px rgba(0, 0, 0, 0.8),
      inset 0 0 10px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow:
      0 0 50px rgba(255, 255, 255, 0.15),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
}
