/* корпус телефона */
.phone {
  position: relative;
  height: 95vh;
  width: calc(95vh * 9 / 16);
  border-radius: 4vh;
  background: linear-gradient(145deg, #111, #333);
  padding: 1vh;
  box-sizing: border-box;
  box-shadow:
    0 1vh 2vh rgba(0,0,0,0.6),
    0 2vh 6vh rgba(0,0,0,0.4),
    0 4vh 12vh rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: popin 0.8s ease;
}

/* экран */
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 3vh;
  overflow: hidden;
  background: radial-gradient(farthest-corner at right bottom, #388092 0%, #357ab1 100%);
  display: flex;
  flex-direction: column;
}

/* динамик */
.notch {
  position: absolute;
  top: 1.5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 0.7vh;
  background: linear-gradient(to bottom, #333, #111);
  border-radius: 0.5vh;
  box-shadow:
    inset 0 0 2px rgba(255,255,255,0.25),
    0 0.2vh 0.4vh rgba(0,0,0,0.6);
}

/* фронтальная камера */
.camera {
  position: absolute;
  top: 1.5vh;
  right: 25%;
  width: 1.2vh;
  height: 1.2vh;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #88f, #000 70%);
  box-shadow: 0 0 0.4vh rgba(0,0,0,0.8);
}