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

body {
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 0, 255, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}

.container {
  text-align: center;
  z-index: 1;
  position: relative;
}

#clock {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: #00ffff;
  text-shadow:
    0 0 20px #00ffff,
    0 0 40px #00ffff,
    0 0 60px #00ffff;
  padding: 2rem 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
  animation: glow 2s ease-in-out infinite alternate;
  position: relative;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 20px #00ffff,
      0 0 40px #00ffff,
      0 0 60px #00ffff;
  }
  to {
    text-shadow:
      0 0 30px #00ffff,
      0 0 50px #00ffff,
      0 0 80px #00ffff;
  }
}

#date {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1rem;
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #clock {
    font-size: clamp(2rem, 10vw, 4rem);
    padding: 1.5rem 2rem;
  }

  #date {
    font-size: clamp(0.8rem, 4vw, 1.2rem);
  }
}
