/* ==========================
   Background Animation
========================== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================
   Payment Container
========================== */
.payment-container {
  text-align: center;
  width: 100%;
  max-width: 450px;
  padding: 20px;
  color: #333;
}

.payment-container h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
  animation: fadeDown 1s ease;
}

/* ==========================
   Payment Card
========================== */
.payment-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeUp 0.8s ease;
}

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

@keyframes fadeDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================
   Headings
========================== */
.payment-card h3 {
  text-align: left;
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
  border-left: 4px solid #0A4A55;
  padding-left: 8px;
}

/* ==========================
   Inputs
========================== */
.payment-card input {
  width: 90%;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 8px;
  border: 2px solid #ccc;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.payment-card input:focus {
  border-color: #2575fc;
  box-shadow: 0 0 8px rgba(37, 117, 252, 0.3);
  outline: none;
  transform: scale(1.02);
}

/* ==========================
   Button Styling
========================== */
.payment-card button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(90deg, #2575fc, #013da5);
  color: white;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.payment-card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

/* ==========================
   Responsive Design
========================== */
@media (max-width: 480px) {
  .payment-card {
    padding: 25px 20px;
  }

  .payment-container h2 {
    font-size: 1.5rem;
  }
}
