/* Ayu Dark Inspired Theme */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f1419, #1b1f27);
  margin: 0;
  padding: 0;
}

/* Card-like form */
form {
  background: #1f2430;
  width: 95%;
  max-width: 480px; /* 🔥 bigger card */
  padding: 2.5rem; /* more breathing space */
  border-radius: 1.2rem;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6);
  color: #e6e1cf;
  animation: fadeInUp 0.8s ease forwards;
}

/* Fields */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem; /* more gap between inputs */
}

input {
  width: 100%;
  padding: 1rem; /* bigger input height */
  font-size: 1rem; /* bigger text */
  border-radius: 0.6rem;
  border: 1px solid #5c6773;
  outline: none;
  background: #2a2e38;
  color: #e6e1cf;
  transition: border 0.3s, transform 0.2s;
  box-sizing: border-box;
}

.field input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #5c6773;
  outline: none;
  background: #2a2e38;
  color: #e6e1cf;
  transition: border 0.3s, transform 0.2s;
  box-sizing: border-box;
}

.field.shake input {
  border: 2px solid red;
  animation: shake 0.5s;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

.error-message {
  color: red;
  font-size: 0.85rem;
  margin: 0.5rem 0;
  text-align: center;
}

input:focus {
  border: 1px solid #ffcc66;
  transform: scale(1.03);
}

label {
  margin-bottom: 0.5rem;
  color: #ffcc66;
  font-weight: bold;
  font-size: 1rem; /* bigger label */
}

h1 {
  text-align: center;
  color: #39bae6;
  margin-bottom: 2rem;
  font-size: 2rem; /* 🔥 bigger title */
  animation: glow 2s infinite alternate;
}

/* Pay Button */
.btn {
  padding: 15px;
  font-size: 1.1rem; /* bigger text */
  background: #ffcc66;
  color: #0f1419;
  font-weight: bold;
  width: 100%;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  animation: pulse 2s infinite;
}

.btn:hover {
  background: #ffdb94;
  transform: scale(1.07);
}
.btn:active {
  background: #ffffff;
  transform: scale(1.05);
}

.payment-container {
  width: 95%;
  max-width: 350px; /* slightly larger */
  text-align: center;
}

img {
  width: 60%; /* bigger logo */
  margin: 0 auto 1.2rem;
  display: block;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s;
}

img:hover {
  transform: rotate(5deg) scale(1.1);
}

.price {
  font-size: 1.8rem; /* bigger price */
  color: #ffcc66;
}

.status {
  color: #aad94c;
  font-size: 1.2rem; /* bigger status text */
  font-weight: bold;
  margin-top: 1rem;
}

/* Animations */
@keyframes glow {
  from {
    text-shadow: 0 0 5px #39bae6, 0 0 10px #39bae6, 0 0 15px #39bae6;
  }
  to {
    text-shadow: 0 0 10px #59cbe8, 0 0 20px #59cbe8, 0 0 30px #59cbe8;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 204, 102, 0.7);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 25px 15px rgba(255, 204, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 204, 102, 0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  form {
    padding: 1.8rem;
  }
  h1 {
    font-size: 1.6rem;
  }
  input {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
  .btn {
    padding: 12px;
    font-size: 1rem;
  }
}
