@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

:root {
  --primary: #c8b3ee;
  --secondary: #a3cbb6;
  --text: #222;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, white, purple);
  border-radius: 50%;
  animation: bounce 1s infinite;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shadow {
  width: 100px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin-top: 10px;
  animation: shadowScale 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) scaleY(1);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(-50px) scaleY(1.2);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes shadowScale {
  0%, 100% {
    transform: scaleX(1);
    opacity: 0.3;
  }
  50% {
    transform: scaleX(1.4);
    opacity: 0.1;
  }
}
