body {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb);
  background-size: 300% 300%;
  animation: gradientBackground 10s infinite ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

@keyframes gradientBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.clock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clock-rectangular {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ffdde1, #ee9ca7);
  border-radius: 15px;
  border: 15px solid rgba(255, 255, 255, 0.5);
  position: relative;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.clock-rectangular .number {
  --rotation: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
  font-size: 1.5rem;
  color: rgba(193, 27, 27, 0.8);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.clock-rectangular .number1 { --rotation: 30deg; }
.clock-rectangular .number2 { --rotation: 60deg; }
.clock-rectangular .number3 { --rotation: 90deg; }
.clock-rectangular .number4 { --rotation: 120deg; }
.clock-rectangular .number5 { --rotation: 150deg; }
.clock-rectangular .number6 { --rotation: 180deg; }
.clock-rectangular .number7 { --rotation: 210deg; }
.clock-rectangular .number8 { --rotation: 240deg; }
.clock-rectangular .number9 { --rotation: 270deg; }
.clock-rectangular .number10 { --rotation: 300deg; }
.clock-rectangular .number11 { --rotation: 330deg; }
.clock-rectangular .number12 { --rotation: 0deg; }

.clock-rectangular .hand {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  background-color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform-origin: bottom;
  z-index: 10;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.clock-rectangular::after {
  content: '';
  position: absolute;
  background-color: white;
  z-index: 11;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.clock-rectangular .hand.second {
  width: 2px;
  height: 45%;
  background-color: #ff6f61;
}

.clock-rectangular .hand.minute {
  width: 5px;
  height: 40%;
  background-color: #ffb6b9;
}

.clock-rectangular .hand.hour {
  width: 8px;
  height: 35%;
  background-color: #f67280;
}

.digital-clock {
  font-size: 2.5rem;
  color: #ffe4e1;
  margin-top: 20px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}