* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: #111;
  color: white;
  padding: 16px;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.5;
}


.card {
  background: #1e1e1e;
  padding: 16px;
  border-radius: 15px;
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

input,
button {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 16px;
}

input {
  padding: 14px;
  border: none;
  outline: none;
}

input:focus {
  outline: 2px solid #4cc9f0;
}

button {
  padding: 14px;
  border: none;
  background: #e63946;
  color: white;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
}

button:active {
  transform: scale(0.97);
  opacity: 0.9;
}

button:hover {
  opacity: 0.9;
}


a {
  color: #4cc9f0;
}

@media (max-width: 480px) {
  .card {
    padding: 14px;
  }

  input,
  button {
    font-size: 15px;
  }
}


.card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.card.fade-in {
  opacity: 0;
  transform: translateY(-20px);
}

.card.fade-in-active {
  opacity: 1;
  transform: translateY(0);
}

.progress {
  height: 8px;
  background: #333;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #4cc9f0;
  width: 0%;
  transition: width 0.3s ease;
}