body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  text-align: center;
  transition: background-image 0.5s ease-in-out;
  min-height: 100vh;
}

h1 {
  margin-top: 30px;
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 2px 2px #00000044;
}

.tabs {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.tabs button {
  background-color: #ffffff22;
  border: 1px solid #ffffff55;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.tabs button:hover {
  background-color: #ffffff44;
  transform: scale(1.05);
}

#output-box {
  margin: 30px auto;
  padding: 20px;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

img {
  border-radius: 10px;
  margin-top: 10px;
  max-width: 100%;
}

footer.modern-footer {
  background: #0f0f0f;
  color: #f1f1f1;
  text-align: center;
  padding: 30px 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  border-top: 2px solid #2d2d2d;
}

footer .footer-content p {
  margin: 8px 0;
}

footer .social-links {
  margin: 16px 0;
}

footer .social-links a {
  margin: 0 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .social-links img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

footer .social-links a:hover {
  transform: scale(1.2);
}

footer a {
  color: #7abaff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: 100vh;       /* full viewport height */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;                 /* fill remaining space */
}

footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}


