* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to right, #8360c3, #2ebf91);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 2.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: #fff;
}

#currDate {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 1px 1px #000;
}

.container p {
  margin: 0.5rem 0;
}

input {
  font-size: 1rem;
  padding: 0.7rem 1rem;
  width: 80%;
  border-radius: 10px;
  border: 2px solid #ffeb3b;
  outline: none;
  text-align: center;
  transition: 0.3s;
  margin-top: 1rem;
}

input:focus {
  border-color: #fff176;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

button {
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  margin-top: 1rem;
  border: none;
  border-radius: 30px;
  background-color: #ffeb3b;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  text-transform: uppercase;
}

button:hover {
  background-color: #fff;
  color: #2e2e2e;
  transform: scale(1.05);
}

#displayAge {
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 1rem;
}

#displayAge.show {
  visibility: visible;
  opacity: 1;
  max-height: 100px;
}


#age {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px #000;
}
