/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* BODY */
body {
  background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 15px;
  overflow-x: hidden;
}

/* WRAPPER */
.clock-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 40px 25px;
  max-width: 700px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
  transition: 0.4s;
}

.clock-wrapper:hover {
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

/* TITLE */
.clock-wrapper h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #00e5ff;
  text-shadow: 0 0 10px #00e5ff, 0 0 25px #00b8d4;
  letter-spacing: 2px;
}

/* DROPDOWN */
#location-select {
  width: 80%;
  padding: 12px;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  background: rgba(0, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  outline: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: 0.3s;
}

#location-select:hover,
#location-select:focus {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* CITY CARD */
.location-card {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

/* CITY NAME */
.location-card h2 {
  font-size:29px;
  color: #ff4081;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #ff4081;
}

/* DATE */
.current-date {
  font-size: 14px;
  color: #b2ebf2;
  letter-spacing: 1px;
}

/* TIME */
.current-time {
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 15px #00e5ff, 0 0 25px #00b8d4;
  margin-top: 8px;
}

/* AM/PM SMALL */
.current-time small {
  font-size: 16px;
  color: #ffcc80;
  text-shadow: 0 0 8px #ffcc80;
}

/* FOOTER */
footer {
  font-size: 16px;
  color: #b2ebf2;
  text-align: center;
  margin-top: 30px;
  letter-spacing: 0.5px;
}

footer a {
  color: #00e5ff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

footer a:hover {
  color: #ff80ab;
  text-shadow: 0 0 10px #ff80ab;
}
