body {
  font-family: Arial, sans-serif;
  color: #f3ecd9;
  text-align: center;
  padding: 40px 20px;
  min-height: 100vh;
  background: linear-gradient(-45deg, #0a0f1c, #182544, #1b2a52, #0a0f1c);
  background-size: 400% 400%;
  animation: bgShift 12s ease infinite;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  margin-bottom: 30px;
}

#timings-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.prayer-box {
  background-color: #182544;
  border: 1px solid #d8ac3e;
  border-radius: 12px;
  padding: 20px;
  min-width: 120px;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: popIn 0.5s ease backwards;
}

.prayer-box:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: #e8c874;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.prayer-box h3 {
  margin-bottom: 8px;
  color: #d8ac3e;
}

.prayer-box p {
  font-size: 20px;
  font-weight: bold;
}

#today-date {
  color: #8592ad;
  margin-bottom: 20px;
}

#city-select {
  background-color: #182544;
  color: #f3ecd9;
  border: 1px solid #d8ac3e;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 16px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

#city-select:hover {
  border-color: #e8c874;
}

.prayer-box.active {
  background-color: #2a3a63;
  border-color: #dd7a53;
  transform: scale(1.08);
}

.prayer-box.active:hover {
  transform: scale(1.08) translateY(-5px);
}

.prayer-box.active h3 {
  color: #dd7a53;
}

#today-date .gregorian {
  direction: ltr;
  display: inline-block;
}

#today-date .separator {
  margin: 0 8px;
  color: #8592ad;
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }

  .prayer-box {
    min-width: 100px;
    padding: 14px;
  }

  #today-date {
    font-size: 14px;
  }
}