:root {
  --ink: #1b1712;
  --muted: #6f675c;
  --line: #eadfca;
  --brand: #c47f0a;
  --brand-dark: #9a6008;
  --brand-soft: #fff3d6;
  --surface: #ffffff;
  --bg: #fbf7ef;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(60,40,0,.05), 0 12px 32px -12px rgba(120,80,0,.22);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -120px, #f9e2b0 0%, rgba(249,226,176,0) 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 56px 20px 32px; }

/* Header */
.header { display: flex; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.logo {
  width: 88px; height: 88px; flex: none; border-radius: 22px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); padding: 6px; box-shadow: var(--shadow);
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 4px; }
.subtitle { color: var(--muted); font-size: 16px; }

/* Section */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 36px 0 16px; }
h2 { font-size: 22px; letter-spacing: -.01em; }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #4f7a4a; background: #eef7ec; border: 1px solid #d5e8d1; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.secure svg { width: 14px; height: 14px; }

/* Card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-top { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: linear-gradient(180deg, #fffaf0, #fff); border-bottom: 1px solid var(--line); }

.bank-icon {
  width: 52px; height: 52px; flex: none;
  border-radius: 14px;
  overflow: hidden;
  background: #0b4a9e;
  box-shadow: 0 2px 6px -2px rgba(11,74,158,.45);
}

.bank-logo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card-top strong { display: block; font-size: 16px; }
.card-top span.sub { font-size: 13px; color: var(--muted); }
.badge { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid #f3d99b; padding: 4px 10px; border-radius: 8px; }

.card-body { padding: 24px; display: grid; gap: 22px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 6px; }
.value { font-size: 18px; font-weight: 600; }
.iban-box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #faf6ec; border: 1px solid #f0e6cf; border-radius: 16px; padding: 14px 14px 14px 18px;
}
.iban {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(11px, 3.5vw, 17px); font-weight: 600; letter-spacing: 0; color: var(--ink);
  white-space: nowrap; user-select: all; min-width: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; color: var(--brand-dark);
  background: #fff; border: 1px solid #ecd9a8;
  padding: 9px 16px; border-radius: 999px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:focus { outline: none; }
@media (hover: hover) { .btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; } }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid #f3c569; outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; }
.btn.done { background: #eef7ec; border-color: #cfe5cb; color: #3a7f38; }

.hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }


footer { text-align: center; color: #9a9184; font-size: 13px; padding: 24px 20px 32px; }
footer .dot { margin: 0 8px; }
.social-card { margin-top: 20px; padding: 20px 24px; }
.social-head { margin-bottom: 14px; }
.social-head .label { margin-bottom: 2px; }
.social-sub { font-size: 14px; color: var(--muted); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 14px; color: var(--brand-dark);
  background: #faf6ec; border: 1px solid #f0e6cf;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); } }
.social a:active { transform: scale(.97); }
.social a:focus-visible { outline: 3px solid #f3c569; outline-offset: 2px; }
.social svg { width: 22px; height: 22px; flex: none; }
.credit {
  display: inline-flex; align-items: baseline; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line); text-decoration: none; color: #9a9184;
}
footer .credit { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.credit-pre { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.credit-name { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--ink); transition: color .2s ease; }
.credit-name {
  background: linear-gradient(90deg, #5b2fc9, #2563eb, #0ea5e9, #7c3aed, #5b2fc9);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: credit-shift 6s linear infinite;
}
.credit-name b { font-weight: 800; color: inherit; -webkit-text-fill-color: transparent; }
@keyframes credit-shift { to { background-position: 300% 0; } }

@media (max-width: 520px) {
  main { padding-top: 36px; }
  .header { gap: 14px; }
  .logo { width: 68px; height: 68px; border-radius: 18px; }
  .card-body { padding: 18px 16px; }
  .iban-box { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 12px; text-align: center; }
  .btn { width: 100%; padding: 11px 16px; }
  .secure { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
