* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #fceabb, #f8b500);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #333;
  animation: fadeInBody 1s ease forwards;
}

@keyframes fadeInBody {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 35px 25px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: popIn 0.8s ease-in-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}


h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #222;
  animation: slideDown 0.7s ease-out;
}


@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


#advice {
  font-size: 18px;
  margin: 20px 0;
  min-height: 60px;
  transition: all 0.3s ease;
  color: #444;
  animation: fadeText 1s ease-in-out;
}


@keyframes fadeText {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


button {
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}


button:hover {
  background: linear-gradient(135deg, #dd2476, #ff512f);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 60%);
  animation: glowPulse 3s infinite ease-in-out;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

button span {
  position: relative;
  z-index: 1;
}


button:active {
  transform: scale(0.96);
}


h3 {
  margin-top: 30px;
  font-size: 15px;
  opacity: 0.75;
  color: #222;
  animation: fadeInFooter 1.5s ease;
}

@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


@media screen and (max-width: 600px) {
  .container {
    padding: 25px 15px;
  }

  h1 {
    font-size: 22px;
  }

  #advice {
    font-size: 16px;
  }

  button {
    font-size: 15px;
    padding: 10px 20px;
  }

  h3 {
    font-size: 13px;
  }
}
