* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 50%, #ffedd5 80%, #fb923c 100%);
  background-attachment: fixed;
  color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header {
  text-align: center;
  padding: 10px 0;
}

.sub-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #c2410c;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #c2410c;
  text-align: center;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 1.2;
  margin-bottom: 8px;
}

.tagline {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px -3px rgba(194, 65, 12, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9a3412;
  letter-spacing: 0.5px;
}

.card-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

.currency-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c2410c;
  padding-right: 6px;
}

.iban-card {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.iban-content {
  width: 100%;
}

.iban-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 2px;
}

.iban-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(0.72rem, 3.8vw, 1.15rem);
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: left;
}

.iban-btn-wrapper {
  display: flex;
  justify-content: flex-end;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffedd5;
  color: #c2410c;
  border: 1px solid #fdba74;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.btn-copy:hover {
  background-color: #fed7aa;
  color: #9a3412;
}

.btn-copy:active {
  transform: scale(0.97);
}

.footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Modal / Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.success-icon-wrapper {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 8px;
}

.modal-wish {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 20px;
}

.btn-confirm {
  width: 100%;
  background-color: #ea580c;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-confirm:hover {
  background-color: #c2410c;
}

.btn-confirm:active {
  transform: scale(0.98);
}
