body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
  color: #222;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.input-group {
  margin: 15px 0;
}

input, select {
  padding: 12px 16px;
  font-size: 1rem;
  width: 45%;
  margin: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #990000;
}

button {
  padding: 10px 30px;
  background-color: #28a745;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #990000;
}

#result {
  margin-top: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  animation: fadeIn 1s ease-in-out;
}

.top-image,
.bottom-image {
  max-width: 100%;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* HIDE IMAGES INITIALLY */
.hidden {
  display: none;
}

/* POP-IN ANIMATION */
.show-pop {
  display: block;
  animation: popIn 0.7s ease-out forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  input, select {
    width: 90%;
  }
}