/* revolut.lexiak.pl — układ jak revolut.szablix.pl, kolory Velory */

/* Czcionki z własnego serwera (licencja SIL OFL 1.1) - nic nie idzie do Google. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Story Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/story-script-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Story Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/story-script-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e0918;
  --s1: #150f24;
  --s2: #1b1430;
  --s3: #251c3f;
  --s4: #2f2450;
  --line: rgba(236, 224, 255, 0.07);
  --line2: rgba(236, 224, 255, 0.13);
  --text: #f5f0ff;
  --muted: #aea3c8;
  --faint: #7f739e;
  --gold: #f0c14b;
  --gold2: #f7d16e;
  --gold-soft: rgba(240, 193, 75, 0.14);
  --red: #ff6b7a;
  --green: #5fe0a0;
  --font: "Plus Jakarta Sans", sans-serif;
  --script: "Story Script", cursive;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh;
  background:
    radial-gradient(1000px 520px at 15% -10%, rgba(124, 77, 255, 0.22), transparent 70%),
    radial-gradient(700px 420px at 90% 110%, rgba(240, 193, 75, 0.07), transparent 70%),
    var(--bg);
  color: var(--text); font: 400 15px/1.55 var(--font); overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
#sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star { position: absolute; border-radius: 50%; background: #fff; }
.view { position: relative; z-index: 1; }

/* ===== Strona wpłat ===== */
.donate {
  max-width: 1080px; min-height: calc(100vh - 70px); margin: 0 auto; padding: 48px 24px;
  display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center;
}
.hero h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero h1 span { font: 400 64px/1 var(--script); color: var(--gold); letter-spacing: 0; vertical-align: -6px; margin-left: 6px; }
.hero h1 span b { font-weight: 400; color: var(--gold2); }
.hero .sub { margin: 14px 0 6px; color: var(--muted); font-size: 16px; }
.powered { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; margin-bottom: 26px; }
.powered strong { color: var(--text); font-weight: 700; }
.how { margin: 0; padding: 18px; list-style: none; display: grid; gap: 12px; border-radius: 18px; background: rgba(21, 15, 36, 0.7); border: 1px solid var(--line); max-width: 420px; }
.how li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.how b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 13px; }

.card { padding: 26px; border-radius: 24px; background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.stepper { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; position: relative; }
.stepper::before { content: ""; position: absolute; left: 18px; right: 18px; top: 15px; height: 2px; background: var(--s4); }
.step { position: relative; display: grid; justify-items: center; gap: 6px; width: 64px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); }
.step i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--s3); border: 2px solid var(--s4); }
.step.on { color: var(--gold); }
.step.on i { background: var(--gold); border-color: var(--gold); color: #1a1206; box-shadow: 0 0 0 5px var(--gold-soft); }
.step.done i { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }

.pane h2 { margin: 0 0 4px; font-size: 20px; }
.pane .lead { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); }
.field label em { color: var(--gold); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line2);
  font-size: 15px; outline: none; transition: border-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field .hint { color: var(--faint); font-size: 12px; }
.field .hint a { color: var(--muted); }
.field .err { color: var(--red); font-size: 12.5px; font-weight: 600; }
.field.bad input, .field.bad textarea { border-color: var(--red); }
.row-between { display: flex; justify-content: space-between; align-items: baseline; }
.counter { color: var(--faint); font-size: 12px; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 10px; }
.amounts button {
  padding: 12px 0; border-radius: 12px; background: var(--s3); border: 1px solid var(--line2);
  font-size: 17px; font-weight: 800; cursor: pointer;
}
.amounts button small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.amounts button.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }

.btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a1206; font-size: 15.5px; font-weight: 800;
  box-shadow: 0 12px 30px -12px rgba(240, 193, 75, 0.6);
}
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: var(--s3); color: var(--text); box-shadow: none; border: 1px solid var(--line2); }
.actions { display: flex; gap: 10px; margin-top: 6px; }
.actions .ghost { flex: 0 0 auto; width: auto; padding: 15px 18px; }
.form-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 107, 122, 0.1); color: var(--red); font-size: 13px; font-weight: 600; }

.summary { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 14px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; color: var(--muted); }
.summary strong { color: var(--text); }
.summary .amt { color: var(--gold); font-size: 18px; }
.rev { text-align: center; padding: 18px; border-radius: 16px; background: rgba(240, 193, 75, 0.06); border: 1px dashed rgba(240, 193, 75, 0.35); margin-bottom: 14px; }
.rev .logo { font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.rev .url { display: inline-block; font-size: 20px; font-weight: 800; color: var(--gold); text-decoration: none; margin-bottom: 10px; }
.rev .copy { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--s3); font-size: 13px; font-weight: 700; cursor: pointer; }
.rev p { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.rev p strong { color: var(--text); }
.nick-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--s3); font-size: 13px; color: var(--muted); }
.nick-note strong { color: var(--gold); }

.done { text-align: center; padding: 12px 0 4px; }
.done .ok { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 30px; }
.done h2 { margin: 0 0 8px; font-size: 22px; }
.done p { margin: 0 0 20px; color: var(--muted); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.badges span { padding: 6px 10px; border-radius: 999px; background: var(--s3); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 700; }

footer { position: relative; z-index: 1; text-align: center; padding: 0 20px 28px; color: var(--faint); font-size: 12.5px; }
footer a { color: var(--muted); }

/* ===== Polityka ===== */
.policy { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }
.policy .back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 14px; text-decoration: none; }
.policy h1 { margin: 0 0 6px; font-size: 34px; letter-spacing: -0.02em; }
.policy .date { margin: 0 0 30px; color: var(--faint); font-size: 13.5px; }
.policy h2 { margin: 30px 0 10px; font-size: 18px; }
.policy p, .policy li { color: var(--muted); max-width: 68ch; }
.policy strong { color: var(--text); }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 6px; }
.policy .ph { color: var(--gold); }

/* ===== Panel ===== */
.panel { max-width: 980px; margin: 0 auto; padding: 40px 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-head h1 { margin: 0; font-size: 28px; }
.panel-head .btn { width: auto; padding: 11px 16px; font-size: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { padding: 8px 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.tabs button.on { background: var(--s3); color: var(--text); }
.tabs .count { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #1a1206; font-size: 11.5px; }
.don { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line2); margin-bottom: 10px; }
.don .top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.don .nick { font-weight: 800; font-size: 16px; }
.don .amt { color: var(--gold); font-weight: 800; font-size: 18px; }
.don .meta { color: var(--faint); font-size: 12.5px; }
.don .msg { margin: 6px 0 0; color: var(--muted); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.don .tag { padding: 2px 8px; border-radius: 999px; background: var(--s4); color: var(--muted); font-size: 11px; font-weight: 800; }
.don .warn { margin: 8px 0 0; color: var(--red); font-size: 13px; font-weight: 600; }
.don .btns { display: flex; gap: 8px; }
.don .btns button { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line2); font-weight: 800; font-size: 13.5px; cursor: pointer; }
.approve { background: var(--green); color: #07261a; border-color: transparent !important; }
.reject { background: var(--s3); }
.hist .state { font-size: 12.5px; font-weight: 800; }
.hist .state.ok { color: var(--green); }
.hist .state.no { color: var(--red); }


@media (max-width: 900px) {
  .donate { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px 110px; align-items: start; }
  .hero h1 { font-size: 34px; }
  .hero h1 span { font-size: 50px; }
  .card { padding: 20px; }
  .amounts { grid-template-columns: repeat(3, 1fr); }
  .policy, .panel { padding: 32px 16px 110px; }
  .don { grid-template-columns: 1fr; }
  .don .btns button { flex: 1; }
}

/* Pułapka na boty - pole niewidoczne dla ludzi */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.panel-msg { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--s3); color: var(--muted); font-size: 13.5px; }
.panel-msg.bad { background: rgba(255, 107, 122, 0.1); color: var(--red); }
.empty { padding: 30px; text-align: center; color: var(--faint); border: 1px dashed var(--line2); border-radius: 16px; }
.don .btns button:disabled { opacity: .5; cursor: wait; }


/* Panel: zabezpieczenie 2FA */
.twofa { max-width: 520px; margin: 0 auto; }
.twofa h1 { margin: 0 0 8px; font-size: 28px; }
.qr { width: 220px; margin: 0 auto 16px; padding: 10px; border-radius: 16px; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.manual { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; }
.manual summary { cursor: pointer; }
.manual code { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--s3); color: var(--text); font-size: 15px; letter-spacing: 0.08em; word-break: break-all; }
.code-form { display: grid; gap: 10px; }
.code-form label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.code-form input { padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line2); font-size: 24px; letter-spacing: 0.3em; text-align: center; color: var(--text); }
.code-form input:focus { outline: none; border-color: var(--gold); }
.head-btns { display: flex; gap: 8px; }
.head-btns .btn { width: auto; padding: 11px 16px; font-size: 14px; }
.don.fresh { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
@media (max-width: 900px) {
  .panel-head { flex-wrap: wrap; }
}
