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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("Asset/Dynamic-Salah-Engine.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#container {
  background: white;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

h1 {
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

h1 img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

h1:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.5));
}

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

#subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 30px;
}

label {
  display: block;
  color: #34495e;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 8px;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

input:hover {
  border-color: #bbb;
}

button {
  width: 100%;
  padding: 15px;
  margin-top: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

button:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

#result {
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

#timezone-heading {
  text-align: center;
  color: #27ae60;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(39, 174, 96, 0.2);
  transition: all 0.3s ease;
}

#timezone-heading:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
  color: #229954;
  cursor: pointer;
}

#result p {
  cursor: pointer;
  padding: 14px 18px;
  margin: 10px 0;
  background: white;
  border-left: 5px solid #667eea;
  border-radius: 8px;
  color: #2c3e50;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#result p:hover {
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
  border-left-width: 8px;
  background: linear-gradient(to right, #ffffff, #f8f9ff);
}

#result strong {
  color: #667eea;
  font-weight: 700;
  font-size: 17px;
}

@media (max-width: 500px) {
  #container {
    padding: 30px 25px;
  }

  h1 {
    font-size: 26px;
    gap: 8px;
  }

  h1 img {
    width: 35px;
    height: 35px;
  }

  #timezone-heading {
    font-size: 20px;
  }
}
