@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #111;
  font-family: Poppins, "Segoe UI", sans-serif;
}

button, input, select { font-family: inherit; }

.fx-page {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 4vh 16px 40px;
}

.fx-card {
  background: #fff;
  border-radius: 20px;
  margin-top: 8px;
  max-width: 440px;
  padding: 28px 26px 30px;
  width: 100%;
}

.fx-logo {
  display: block;
  height: auto;
  margin: 0 auto 6px;
  max-width: 30%;
  width: 222px;
}

@media (max-width: 670px) {
  .fx-logo { max-width: 70%; width: auto; }
}

.fx-greet {
  color: #111;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  text-align: center;
}

.fx-field { margin-bottom: 8px; text-align: center; }
.fx-field label {
  color: #666;
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.fx-field input, .fx-select {
  background: transparent;
  border: 0;
  border-bottom: 2px solid #d2bb5f;
  color: #111;
  font-size: 16px;
  outline: none;
  padding: 8px 4px 10px;
  width: 100%;
}
.fx-field input { text-align: left; }
.fx-help {
  color: #777;
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 28px;
  text-align: center;
}

.fx-select {
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  height: 46px;
  margin: 18px 0 8px;
  padding: 0 10px;
}

.fx-btn {
  background: linear-gradient(180deg, #e7d98a, #c6a34a 45%, #a78432);
  border: 0;
  border-radius: 28px;
  color: #111;
  cursor: pointer;
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 22px auto 0;
  min-height: 50px;
  text-transform: uppercase;
  width: 100%;
}
.fx-btn:hover { filter: brightness(1.05); }

.fx-box {
  border: 1px solid #fbc109;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.45;
  padding: 18px 16px;
  text-align: center;
}
.fx-box h6 { font-size: 13px; margin: 0 0 10px; }
.fx-box p { margin: 8px 0; }
.fx-line { color: #333; margin: 14px 0 4px; text-align: center; }
.fx-strong {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
  text-align: center;
}
.fx-copy {
  background: #ffc107;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  padding: 6px 10px;
}
.fx-paid {
  background: #198754;
  border-radius: 8px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.fx-note { font-size: 13px; margin-top: 12px; text-align: center; }
.fx-error { color: #9a3412; font-size: 14px; text-align: center; }
.fx-ok {
  text-align: center;
}
.fx-check {
  align-items: center;
  background: #38b083;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 42px;
  height: 96px;
  justify-content: center;
  margin: 10px auto 16px;
  width: 96px;
}
.fx-loader { color: #fff; text-align: center; }
.fx-bars { display: flex; gap: 4px; height: 36px; justify-content: center; margin-top: 12px; }
.fx-bars i {
  animation: fx-stretch 1.2s infinite ease-in-out;
  background: #fff;
  display: block;
  width: 6px;
}
.fx-bars i:nth-child(2) { animation-delay: -1.1s; }
.fx-bars i:nth-child(3) { animation-delay: -1s; }
.fx-bars i:nth-child(4) { animation-delay: -0.9s; }
.fx-bars i:nth-child(5) { animation-delay: -0.8s; }
@keyframes fx-stretch {
  0%, 40%, 100% { transform: scaleY(0.4); }
  20% { transform: scaleY(1); }
}

@media (max-width: 670px) {
  .fx-logo { max-width: 70%; width: 70%; }
  .fx-card { padding: 22px 16px; }
}
