* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f1115;
  color: #fff;
}

.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

.register-wrap {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 560px;
}

.brand {
  text-align: center;
  margin-bottom: 18px;
  color: #cfcfcf;
  font-size: 14px;
  letter-spacing: 1px;
}

.card {
  background: #171a21;
  border: 1px solid #2a2f3a;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.sub {
  text-align: center;
  color: #a7adbb;
  font-size: 14px;
  margin-bottom: 26px;
  line-height: 1.6;
}

.section {
  margin-bottom: 24px;
}

.label {
  display: block;
  font-size: 12px;
  color: #8f97a8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.value {
  font-size: 16px;
  font-weight: 600;
  word-break: break-word;
}

.amount {
  font-size: 34px;
  font-weight: 800;
  margin-top: 4px;
}

.amount-krw {
  font-size: 40px;
}

.amount-crypto {
  font-size: 30px;
}

.final-crypto-line {
  font-size: 24px;
  font-weight: 700;
  color: #dbe1ec;
  margin-top: 4px;
}

.divider {
  height: 1px;
  background: #2a2f3a;
  margin: 22px 0;
}

.pay-box {
  background: #11141a;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 18px;
}

.wallet-label {
  margin-top: 16px;
}

.wallet {
  background: #0d1015;
  border: 1px solid #2b3140;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  color: #d8deea;
  margin: 10px 0 12px;
  word-break: break-all;
}

.wallet-box {
  margin-top: 16px;
  padding-top: 2px;
}

.wallet-actions {
  margin-bottom: 0;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #2dd4bf;
  color: #071013;
  flex: 1;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: #232836;
  color: #fff;
  flex: 1;
}

.btn-secondary:hover {
  background: #2a3140;
}

.full-btn {
  width: 100%;
}

.notice {
  margin-top: 12px;
  font-size: 13px;
  color: #9ea6b6;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

.bank-box {
  margin-top: 16px;
  background: #11141a;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 18px;
}

.bank-title {
  margin-bottom: 12px;
}

.bank-info {
  line-height: 1.8;
  color: #dbe1ec;
  font-size: 15px;
}

.confirm-box {
  margin-top: 24px;
  background: #101319;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 18px;
}

.confirm-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.confirm-desc {
  color: #9ea6b6;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-note {
  text-align: center;
  margin-top: 16px;
  color: #7f8797;
  font-size: 12px;
}

.qr-placeholder {
  margin-top: 12px;
  border: 1px dashed #3a4253;
  border-radius: 12px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #778095;
  font-size: 13px;
}

.input {
  width: 100%;
  height: 50px;
  border: 1px solid #2a2f3a;
  border-radius: 12px;
  background: #0f1319;
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.input:focus {
  border-color: #2dd4bf;
}

.rate-box {
  background: #11141a;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 14px 16px;
}

.rate-main {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.rate-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #9ea6b6;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.coin-btn {
  height: 48px;
  border: 1px solid #2a2f3a;
  border-radius: 12px;
  background: #11141a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.coin-btn:hover,
.coin-btn.active {
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preset-btn {
  height: 46px;
  border: 1px solid #2a2f3a;
  border-radius: 12px;
  background: #11141a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.preset-btn:hover {
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
}

.summary-box {
  background: #11141a;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #232836;
}

.summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row:first-child {
  padding-top: 0;
}

.summary-key {
  font-size: 14px;
  color: #8f97a8;
}

.summary-val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.summary-row.total .summary-key,
.summary-row.total .summary-val {
  color: #2dd4bf;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f1115;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.splash-inner {
  text-align: center;
  padding: 24px;
}

.splash-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.splash-text {
  margin-top: 14px;
  color: #9ea6b6;
  font-size: 14px;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #2dd4bf;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}

.check-card {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.check-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.check-spinner {
  margin-top: 0;
  margin-bottom: 28px;
}

.check-sub {
  text-align: center;
  color: #a7adbb;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
}

.signup-link {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #9ea6b6;
}

.signup-link a {
  color: #2dd4bf;
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
}

.signup-link a:hover {
  text-decoration: underline;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 20px 14px;
  }

  .card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .title,
  .check-title {
    font-size: 24px;
  }

  .amount {
    font-size: 30px;
  }

  .amount-krw {
    font-size: 34px;
  }

  .final-crypto-line {
    font-size: 22px;
  }

  .row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .summary-val {
    text-align: left;
  }

  .preset-grid,
  .coin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-card {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .check-title {
    margin-bottom: 24px;
  }

  .check-spinner {
    margin-bottom: 24px;
  }
}