/* Reset and base styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f6f8fb;
  color: #222;
}

.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 8px;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 20px 24px 16px 24px;
  margin-bottom: 40px;
  max-width: 98vw;
}

.payment-logo {
  height: 40px;
  width: 64px;
  object-fit: contain;
  background: #f3f6fa;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 7px 10px;
  border: 1px solid #e3e8ee;
  transition: box-shadow 0.18s, transform 0.18s;
}
.payment-logo:hover {
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.13);
  transform: translateY(-2px) scale(1.08);
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.payment-btn-link {
  text-decoration: none;
}

.payment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 120px;
  padding: 18px 8px;
  background: linear-gradient(135deg, #2563eb 80%, #60a5fa 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.payment-btn:hover, .payment-btn:focus {
  background: linear-gradient(135deg, #1d4ed8 80%, #2563eb 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.16);
  transform: translateY(-2px) scale(1.04);
}

.icon {
  width: auto;
  height: 45%;
  max-height: 45%;
  max-width: 60%;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px auto;
  filter: brightness(0) invert(1); /* Makes SVG icons white */
}

.payment-btn span {
  font-size: 1.13rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(37, 99, 235, 0.10);
  letter-spacing: 0.2px;
}

/* --- Responsive Enhancements --- */
@media (max-width: 900px) {
  .main-content {
    padding: 10vw 2vw;
  }
  .payment-logos {
    gap: 10px;
    padding: 10px 2vw;
    margin-bottom: 24px;
  }
  .center-container {
    gap: 10px;
  }
  .payment-btn {
    width: 38vw;
    min-width: 110px;
    max-width: 180px;
    height: 70px;
    font-size: 1rem;
    padding: 8px 2px;
  }
  .icon {
    width: 24px;
    height: 24px;
  }
  .payment-logo {
    height: 22px;
    width: 32px;
    padding: 2px 3px;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 4vw 1vw;
    width: 100vw;
    min-width: 100vw;
    box-sizing: border-box;
  }
  .payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 18px;
    padding: 16px 2vw;
    border-radius: 10px;
    margin-bottom: 32px;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
  }
  .payment-logo {
    flex: 1 1 30vw;
    max-width: 90px;
    min-width: 60px;
    height: 44px;
    padding: 6px 6px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .center-container {
    flex-direction: column;
    gap: 22px;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .payment-btn {
    width: 96vw;
    max-width: 98vw;
    min-width: 120px;
    height: 56px;
    font-size: 0.97rem;
    padding: 6px 2px;
    box-sizing: border-box;
  }
  .icon {
    width: auto;
    height: 40%;
    max-height: 40%;
    max-width: 60%;
    margin-bottom: 4px;
  }
  .payment-btn span {
    font-size: 1.05rem;
  }
  .icon {
    display: none !important;
  }
}
