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

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
  max-width: 700px;
  padding: 40px 30px;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  animation: float 3s ease-in-out infinite;
  display: block;
  height: 150px;
  margin: 0 auto 20px;
  width: 150px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

h1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 30px;
  text-align: center;
}

select {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border: 2px solid #667eea;
  border-radius: 25px;
  color: #333333;
  cursor: pointer;
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  padding: 20px 25px;
  transition: all 0.3s ease;
  width: 100%;
}

select:hover {
  border-color: #764ba2;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

select:focus {
  border: 3px solid #764ba2;
  box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
  outline: none;
}

#cities-container {
  animation: slidein 0.5s ease-out;
}

@keyframes slidein {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.city {
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border: 2px solid transparent;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  padding: 25px;
  transition: all 0.3s ease;
}

.city:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
  transform: translateX(5px);
}

h2 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 5px;
}

.date {
  color: #764ba2;
  font-size: 18px;
  font-weight: 400;
}

.timezone-offset {
  color: #999999;
  font-size: 16px;
  margin-top: 3px;
}

.time {
  color: #333333;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.time small {
  font-size: 20px;
  font-weight: 400;
  margin-left: 5px;
  opacity: 0.7;
}

#home-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  color: #ffffff;
  display: inline-block;
  font-weight: 600;
  margin-top: 20px;
  padding: 15px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#home-link:hover {
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-3px);
}

footer {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer a {
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.3s ease;
}

footer a:hover {
  border-bottom-color: #ffffff;
}

@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  h1 {
    font-size: 32px;
  }

  .time {
    font-size: 36px;
  }

  .city {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}
