body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  }

  .heading {
    font-size: 3rem;
    color: #ff0040;
    font-weight: 600;
    margin: 0 0 2rem 0;
  }
  
  .background-animation::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 20%, transparent 20%) center/40px 40px,
                radial-gradient(circle, rgba(255,255,255,0.03) 20%, transparent 20%) center/80px 80px;
    animation: moveWaves 20s linear infinite;
    z-index: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .background-animation::before { animation: none; }
    #clock { animation: none; }
    .footer p { animation: none; }
  }
  
  @keyframes moveWaves {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-40px, -40px); }
  }
  
  .clock-container {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  
  #clock {
    font-size: 5rem;
    padding: 30px 50px;
    color: #00ffe1;
    background: rgba(0, 0, 0, 0.25);
    border: 3px solid #c400ff;
    border-radius: 20px;
    box-shadow: 0 0 20px #c400ff, 0 0 40px #ff00ff;
    text-shadow: 0 0 10px #00ffe1, 0 0 20px #00ffe1;
    animation: pulse 1s infinite alternate ease-in-out;
    transition: all 0.3s ease;
  }
  
  
  #date {
    font-size: 2rem;
    margin-top: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  }
  
  @keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
  }
  
  /* Footer */
  .footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
  }
  
  .footer p {
    font-size: 1.7rem;
    background: linear-gradient(90deg, #00f0ff, #8f00ff, #ff00d4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow: 0 0 10px #00ffff;
    animation: shine 3s linear infinite, glowText 2s ease-in-out infinite alternate;
  }
  
  @keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }
  
  @keyframes glowText {
    0% {
      text-shadow: 0 0 5px #ff008cdc, 0 0 10px #8f00ff, 0 0 20px #ff0055c0;
    }
    100% {
      text-shadow: 0 0 15px #ff0055a6, 0 0 30px #8f00ff, 0 0 40px #ff0040;
    }
  }
  