/* ============ L2R MULTI · donation page (/donate.html) ============
 * Loaded after style.css; reuses its tokens (--bg-*, --amber, --violet, fonts) and
 * components (.btn, .header, .footer, .section-head__eyebrow). */
.donate {
  padding: calc(var(--header-h) + 56px) 0 96px;
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(139, 61, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 92% 24%, rgba(229, 25, 158, 0.09), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 176, 32, 0.06), transparent 55%);
}
.header__link.is-current { color: var(--text); }
.header__link.is-current::after { right: 0; }
.donate__head { max-width: 760px; margin-bottom: 40px; }
.donate__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 16px;
  background: linear-gradient(100deg, #fff 20%, #d9c2ff 55%, #a86bff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.donate__lead { color: #d9cdee; font-size: 16.5px; line-height: 1.7; max-width: 680px; }
.dnotice {
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-left: 3px solid var(--magenta);
  border-radius: 8px;
  margin-bottom: 28px;
  color: #d9cdee;
}
.dnotice--warn { border-left-color: var(--amber); }
.dcard {
  background: linear-gradient(180deg, rgba(38, 20, 64, 0.72), rgba(24, 11, 42, 0.86));
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.donate__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 26px; align-items: start; }
.dform { display: grid; gap: 18px; min-width: 0; }
.dstep__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.dstep__num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  font-size: 12.5px; color: #2b1600;
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
}

/* servers */
.dservers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dserver {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 16px 18px;
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.dserver:hover { border-color: rgba(168, 107, 255, 0.55); transform: translateY(-1px); }
.dserver.is-active { border-color: var(--amber); background: rgba(255, 176, 32, 0.08); box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.35), 0 10px 30px rgba(240, 140, 25, 0.15); }
.dserver__name { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.dbadge {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px;
}
.dbadge--live { color: #2b1600; background: linear-gradient(180deg, var(--amber), var(--amber-2)); }
.dbadge--soon { color: var(--violet-soft); background: rgba(148, 96, 255, 0.16); border: 1px solid rgba(168, 107, 255, 0.35); }

/* amount */
.dpresets { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dpreset {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding: 12px 10px;
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  color: var(--text);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.dpreset:hover { background: rgba(148, 96, 255, 0.16); }
.dpreset.is-active { background: rgba(255, 176, 32, 0.14); border-color: rgba(255, 176, 32, 0.6); }
.dpreset__sum { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.dpreset__coins { font-size: 12px; color: var(--amber); }
.damount { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.damount__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.damount__field { position: relative; }
.damount__input {
  width: 100%;
  padding: 13px 48px 13px 16px;
  font: 700 18px/1.2 var(--font-display);
  color: var(--text);
  background: #0f0619;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  -moz-appearance: textfield;
}
.damount__input::-webkit-outer-spin-button, .damount__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.damount__input:focus { outline: 2px solid var(--violet); outline-offset: 0; }
.damount__cur { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--amber); font-family: var(--font-display); font-weight: 700; }
.damount__range { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.dtiers { margin-top: 18px; }
.dtiers__title { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-display); }
.dtiers__list { display: flex; flex-wrap: wrap; gap: 8px; }
.dtier {
  display: inline-flex; gap: 8px; align-items: baseline;
  padding: 6px 11px;
  font-size: 12.5px; color: var(--muted);
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.dtier__pct { font-weight: 800; color: var(--text); }
.dtier.is-reached { color: var(--text); border-color: rgba(61, 220, 132, 0.5); background: rgba(61, 220, 132, 0.1); }
.dtier.is-reached .dtier__pct { color: #3ddc84; }

/* character */
.dchar { display: flex; gap: 10px; }
.dchar__input {
  flex: 1; min-width: 0;
  padding: 13px 16px;
  font: 600 16px/1.2 var(--font-body);
  color: var(--text);
  background: #0f0619;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
}
.dchar__input:focus { outline: 2px solid var(--violet); outline-offset: 0; }
.dchar__btn { clip-path: none; border-radius: 10px; padding-inline: 20px; }
.dchar__status { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; min-height: 20px; }
.dchar__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6a5b8a; flex: 0 0 auto; }
.dchar__status[data-state="checking"]::before { background: var(--amber); animation: pulse 1s ease-in-out infinite; }
.dchar__status[data-state="found"] { color: #3ddc84; }
.dchar__status[data-state="found"]::before { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.dchar__status[data-state="notfound"], .dchar__status[data-state="error"] { color: #ff8aa3; }
.dchar__status[data-state="notfound"]::before, .dchar__status[data-state="error"]::before { background: #ff5c7a; }

/* methods */
.dmethods { display: grid; gap: 10px; }
.dmethod {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dmethod:hover { border-color: rgba(168, 107, 255, 0.55); }
.dmethod.is-active { border-color: var(--amber); background: rgba(255, 176, 32, 0.08); box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.35); }
.dmethod__icon {
  width: 42px; height: 30px; flex: 0 0 auto;
  border-radius: 6px;
  background: linear-gradient(135deg, #8b3dff, #e5199e);
  position: relative;
}
.dmethod__icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 5px; border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.dmethod__icon::before { content: ""; position: absolute; left: 6px; bottom: 6px; width: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.5); }
.dmethod__body { display: flex; flex-direction: column; gap: 2px; }
.dmethod__name { font-weight: 800; font-size: 15px; }
.dmethod__hint { font-size: 12.5px; color: var(--muted); }

/* consent + submit */
.dstep--final { display: grid; gap: 18px; }
.dconsent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: #d9cdee; line-height: 1.55; }
.dconsent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber); flex: 0 0 auto; }
.dconsent a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.dsubmit { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.dsubmit__btn:disabled { cursor: default; filter: grayscale(0.6) brightness(0.65); box-shadow: none; transform: none; }
.dsubmit__note { font-size: 13px; color: var(--muted); max-width: 420px; }
.derror { color: #ff8aa3; font-size: 14px; font-weight: 600; }

/* summary */
.dsummary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.dsummary__card { border-color: rgba(255, 176, 32, 0.35); }
.dsummary__title { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); margin-bottom: 12px; }
.dpromo { display: grid; gap: 2px; padding: 10px 12px; margin-bottom: 12px; border-radius: 10px; background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255, 176, 32, 0.4); }
.dpromo__tag { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.dpromo__title { font-weight: 800; font-size: 14px; }
.dpromo__until { font-size: 12px; color: var(--muted); }
.dsummary__total { display: flex; align-items: baseline; gap: 12px; padding: 10px 0 14px; border-bottom: 1px solid var(--panel-border); margin-bottom: 12px; }
.dsummary__coins { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 900; line-height: 1; background: linear-gradient(180deg, #ffd27a, var(--amber-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dsummary__coinsLabel { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dsummary__rows, .dsummary__meta { display: grid; gap: 7px; margin: 0; }
.dsummary__meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--panel-border); }
.drow { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.drow dt { color: var(--muted); }
.drow dd { margin: 0; font-weight: 700; text-align: right; }
.drow--good dd { color: #3ddc84; }
.drow--promo dd { color: var(--amber); }
.drecent { padding: 14px 18px; border: 1px solid var(--panel-border); border-radius: 12px; background: rgba(148, 96, 255, 0.05); }
.drecent__title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-display); }
.drecent__list { list-style: none; display: grid; gap: 6px; font-size: 13px; }
.drecent__list li { display: flex; justify-content: space-between; gap: 10px; }
.drecent__list a { color: var(--amber); font-family: ui-monospace, monospace; font-size: 12.5px; }
.drecent__at { color: var(--muted); font-size: 12px; }

/* status view */
.dstatus { max-width: 760px; margin: 0 auto 40px; }
.dstatus__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
.dstatus__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.dstatus__id { font-family: ui-monospace, monospace; font-size: 20px; font-weight: 700; margin-top: 4px; }
.dstatus__badge { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; background: rgba(148, 96, 255, 0.16); color: var(--violet-soft); }
.dstatus__badge.is-paid, .dstatus__badge.is-rewarded, .dstatus__badge.is-received { background: rgba(61, 220, 132, 0.14); color: #3ddc84; }
.dstatus__badge.is-failed, .dstatus__badge.is-expired, .dstatus__badge.is-cancelled { background: rgba(255, 92, 122, 0.14); color: #ff8aa3; }
.dstatus__badge.is-manual_review { background: rgba(255, 176, 32, 0.16); color: var(--amber); }
.dsteps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 24px; padding: 0; }
.dsteps__item { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 12.5px; color: var(--muted); }
.dsteps__item::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: rgba(148, 96, 255, 0.2); z-index: 0; }
.dsteps__item:first-child::before { display: none; }
.dsteps__dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #2a1743; border: 2px solid rgba(148, 96, 255, 0.35); }
.dsteps__item.is-done { color: var(--text); }
.dsteps__item.is-done .dsteps__dot { background: #3ddc84; border-color: #3ddc84; box-shadow: 0 0 10px rgba(61, 220, 132, 0.6); }
.dsteps__item.is-done::before { background: rgba(61, 220, 132, 0.6); }
.dsteps__item.is-current .dsteps__dot { border-color: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.dsteps__item.is-failed .dsteps__dot { background: #ff5c7a; border-color: #ff5c7a; }
.dstatus__title { font-family: var(--font-display); font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin-bottom: 8px; }
.dstatus__desc { color: #d9cdee; line-height: 1.65; margin-bottom: 18px; }
.dstatus__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; padding: 14px 0 18px; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); margin-bottom: 20px; }
.dfact { display: grid; gap: 2px; font-size: 13.5px; }
.dfact__k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dfact__v { font-weight: 700; }
.dstatus__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* faq */
.dfaq { margin-top: 56px; max-width: 760px; }
.dfaq__title { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; padding-left: 14px; border-left: 3px solid var(--amber); }
.dfaq__list { padding-left: 22px; display: grid; gap: 8px; color: #d9cdee; font-size: 15px; line-height: 1.65; }
.dfaq__list li::marker { color: var(--amber); font-weight: 700; }
.dfaq__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.dfaq__note a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

@media (max-width: 980px) {
  .donate__layout { grid-template-columns: 1fr; }
  .dsummary { position: static; order: -1; }
  .dsummary__card { padding: 18px 20px; }
}
@media (max-width: 640px) {
  .donate { padding-top: calc(var(--header-h) + 32px); }
  .dcard { padding: 18px 16px; border-radius: 12px; }
  .damount { grid-template-columns: 1fr; gap: 8px; }
  .damount__range { white-space: normal; }
  .dsteps__item { font-size: 11px; }
  .dstatus__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dsteps__item.is-current .dsteps__dot, .dchar__status[data-state="checking"]::before { animation: none; }
}

/* Fixed packages: methods that sell a product instead of taking an amount (Tribute) */
.dpackages { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dpackages__empty { font-size: 13px; color: var(--muted); margin: 0; }
.dpack {
  position: relative;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding: 16px 12px 14px;
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  color: var(--text);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.dpack:hover { background: rgba(148, 96, 255, 0.16); }
.dpack.is-active { background: rgba(255, 176, 32, 0.14); border-color: rgba(255, 176, 32, 0.6); }
.dpack__badge { position: absolute; top: 6px; right: 10px; }
.dpack__name { font-family: var(--font-display); font-size: 15px; font-weight: 700; text-align: center; }
.dpack__price { font-size: 14px; font-weight: 600; color: var(--text); }
.dpack__coins { font-size: 13px; color: var(--amber); font-weight: 600; }
.dpack__value { font-size: 11px; color: var(--muted); text-align: center; }

/* Telegram connection for Tribute-style methods */
.dtelegram { margin-top: 14px; display: grid; gap: 10px; }
.dtelegram__widget { min-height: 40px; }
.dtelegram__linked {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.35);
  border-radius: 10px;
}
.dtelegram__photo { border-radius: 50%; flex: 0 0 auto; }
.dtelegram__name { font-weight: 700; font-size: 14px; color: #3ddc84; margin-right: auto; }
.dtelegram__hint { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dtelegram__hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6a5b8a; flex: 0 0 auto; }
.dtelegram__hint[data-state="ok"] { color: #3ddc84; }
.dtelegram__hint[data-state="ok"]::before { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.dtelegram__hint[data-state="bad"] { color: #ff8aa3; }
.dtelegram__hint[data-state="bad"]::before { background: #ff5c7a; }
.dmethod__icon--tribute { background: linear-gradient(135deg, #2aabee, #1c6fd1); }
.dmethod__icon--tribute::after { left: 12px; right: 12px; top: 9px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.dmethod__icon--tribute::before { display: none; }

/* Tribute payment instructions on the order page */
.dtribute { padding: 16px 18px; margin-bottom: 20px; border-radius: 12px; background: rgba(42, 171, 238, 0.08); border: 1px solid rgba(42, 171, 238, 0.35); }
.dtribute__title { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #6cc6ff; margin-bottom: 10px; }
.dtribute__steps { padding-left: 22px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.6; color: #d9cdee; }
.dtribute__steps li::marker { color: #6cc6ff; font-weight: 700; }
.dtribute__val { color: var(--text); white-space: nowrap; }
.dtribute__code { font-family: ui-monospace, monospace; font-size: 14px; font-weight: 700; color: var(--amber); background: #0f0619; padding: 3px 8px; border-radius: 6px; }
.dtribute__copy { margin-left: 8px; font: 700 11px/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: #6cc6ff; background: rgba(42, 171, 238, 0.14); border: 1px solid rgba(42, 171, 238, 0.4); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.dtribute__copy:hover { background: rgba(42, 171, 238, 0.26); }
.dtribute__copy.is-done { color: #3ddc84; border-color: rgba(61, 220, 132, 0.5); }
.dtribute__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.btn--telegram-pay { background: linear-gradient(180deg, #2aabee, #1c8fd6); color: #fff; box-shadow: 0 8px 30px rgba(42, 171, 238, 0.4); }

/* PayPal method icon: blue badge with the double-P mark */
.dmethod__icon--paypal { background: linear-gradient(135deg, #003087, #009cde); }
.dmethod__icon--paypal::after { content: "P"; left: auto; right: auto; top: 3px; width: 100%; height: auto; background: none; text-align: center; font: 800 18px/24px var(--font-display); color: #fff; letter-spacing: -1px; }
.dmethod__icon--paypal::before { display: none; }

/* A purchase that arrived without an order: the payer finishes it here */
.dclaim { border-color: rgba(255, 176, 32, 0.5); background: rgba(255, 176, 32, 0.06); }
.dclaim__title { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; color: var(--amber); }
.dclaim__lead { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.dclaim__list { display: grid; gap: 8px; }
.dclaim__row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(148, 96, 255, 0.07);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
}
.dclaim__row.is-active { border-color: rgba(255, 176, 32, 0.6); background: rgba(255, 176, 32, 0.12); }
.dclaim__name { font-weight: 700; font-size: 14px; margin-right: auto; }
.dclaim__paid { font-size: 13px; color: var(--muted); }
