/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  overflow: hidden;
}

.container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.clock {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.time {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(to right, #e65c00, #f9d423);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(230, 92, 0, 0.2);
}

.date {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.format {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.format-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.format-btn.active {
  background: linear-gradient(to right, #e65c00, #f9d423);
  color: #fff;
  box-shadow: 0 5px 15px rgba(230, 92, 0, 0.3);
}

.decoration {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(to right, #e65c00, #f9d423);
  opacity: 0.5;
  filter: blur(50px);
  z-index: 0;
}

.decoration:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
}

.decoration:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
  opacity: 0.3;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .time {
    font-size: 4rem;
  }

  .date {
    font-size: 1.2rem;
  }

  .clock {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .time {
    font-size: 3rem;
  }

  .date {
    font-size: 1rem;
  }

  .clock {
    padding: 20px;
  }

  .format {
    flex-direction: column;
    align-items: center;
  }
}
