
body {
  margin: 0;
  overflow: hidden;
  background: black;
}


.screensaver {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.glasses-wrapper {
  position: relative;
  width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite,
           impact 0.3s ease-in-out 1.1s;
}

@keyframes impact {
  0% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(0px) rotate(-2deg); }
  75% { transform: translateY(0px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.glasses-container {
  position: relative;
  width: 400px;
}

.glasses-image {
  width: 100%;
  display: block;
}


.glasses-overlay {
  position: absolute;
  top: 20%;   
  left: 10%;
  width: 80%;
  height: 60%;
}


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


.piercing {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;

  background: radial-gradient(
    circle at 30% 30%,
    #ffffff,
    #d9d9d9 40%,
    #a6a6a6 60%,
    #666 80%,
    #333 100%
  );

  box-shadow:
    inset -2px -2px 4px rgba(0,0,0,0.6),
    inset 2px 2px 4px rgba(255,255,255,0.5),
    0 4px 8px rgba(0,0,0,0.5);

  animation: shine 3s infinite alternate;
}

@keyframes shine {
  from { box-shadow: 0 0 5px silver; }
  to { box-shadow: 0 0 20px white; }
}


.eyebrow {
  top: 26%;
  left: 12.5%;

  transform: translate(-60px, -60px) scale(0.5);
  opacity: 0;

  animation: pierceEyebrow 1s ease-out 0.8s forwards;
}

.septum {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 4px solid #cfcfcf;
  border-radius: 50%;
  clip-path: inset(50% 0 0 0);
  transform: translate(-50%, -80px) scale(0.5);
  animation: pierceSeptum 1.2s ease-out forwards;
}

.septum .ball {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle at 30% 30%, #fff, #aaa);
  border-radius: 50%;
  bottom: -4px;
}

.septum .left {
  left: -6px;
}

.septum .right {
  right: -6px;
}


.side {
  top: 66%;
  left: 87.5%;

  transform: translateX(80px) scale(0.5);
  opacity: 0;

  animation: pierceSide 1s ease-out 0.4s forwards;
}

@keyframes pierceSeptum {
  0% {
    transform: translate(-50%, -80px) scale(0.5);
    opacity: 0;
  }

  70% {
    transform: translate(-50%, 5px) scale(1.1);
    opacity: 1;
  }

  85% {
    transform: translate(-50%, -3px) scale(0.95);
  }

  100% {
    transform: translate(-50%, 0px) scale(1);
    opacity: 1;
  }
}

@keyframes pierceSide {
  0% {
    transform: translateX(80px) scale(0.5);
    opacity: 0;
  }

  70% {
    transform: translateX(-5px) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translateX(0px) scale(1);
    opacity: 1;
  }
}

@keyframes pierceEyebrow {
  0% {
    transform: translate(-60px, -60px) scale(0.5);
    opacity: 0;
  }

  70% {
    transform: translate(5px, 5px) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 1;
  }
}