/**
 * Pledge Cards Module — RFDD.org · "Hero World" redesign (INDEX-REDESIGN P5)
 * Ported verbatim from the signed-off design file (`.pledge*`, `.amt*`).
 * Homepage-only. Shared chrome (.sect, .btn) lives in home-shell.css.
 */

.pledge__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pledge { position: relative; border: 1px solid var(--line); background: var(--bg-panel); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.pledge:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 26px rgba(57, 255, 20, .12); }
.pledge--hot { border-color: transparent; background: rgba(5, 12, 9, .97); }
.pledge--hot::before { content: ""; position: absolute; inset: -1px; z-index: -1; opacity: .5; background: linear-gradient(120deg, rgba(57, 255, 20, .8), rgba(0, 245, 255, .7), rgba(160, 107, 255, .7), rgba(57, 255, 20, .8)); background-size: 300% 300%; animation: iris-run 11s linear infinite; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
@keyframes iris-run { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .pledge--hot::before { animation: none; } }
.pledge__tag { position: absolute; top: 12px; right: 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #04110a; background: var(--neon-green); padding: 4px 10px; box-shadow: 0 0 12px rgba(57, 255, 20, .4); }
.pledge__kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--neon-cyan); }

/* adjustable amount stepper */
.amt { display: flex; align-items: center; gap: 10px; }
.amt__val { display: flex; align-items: baseline; gap: 6px; flex: 1; }
.amt__cur { font-family: var(--font-display); font-size: 22px; color: var(--text-dim); }
.amt__in { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--text); background: transparent; border: 0; border-bottom: 1px dashed rgba(232, 255, 233, .25); width: 5ch; min-width: 2.5ch; padding: 0 2px; transition: border-color .2s; }
.amt__in:hover { border-bottom-color: rgba(0, 245, 255, .5); }
.amt__in:focus { outline: none; border-bottom-color: var(--neon-cyan); box-shadow: 0 6px 14px -8px rgba(0, 245, 255, .5); }
.amt__unit { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: .06em; white-space: nowrap; }
.amt__stack { display: flex; flex-direction: column; gap: 3px; }
.amt__btn { width: 24px; height: 19px; display: grid; place-items: center; font-size: 9px; line-height: 1; color: var(--neon-cyan); background: rgba(0, 245, 255, .06); border: 1px solid rgba(0, 245, 255, .35); cursor: pointer; transition: background .15s, box-shadow .15s; user-select: none; }
.amt__btn:hover { background: rgba(0, 245, 255, .14); box-shadow: 0 0 10px rgba(0, 245, 255, .3); }
.amt__btn:active { transform: translateY(1px); }

.pledge__desc { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); flex: 1; }
.pledge__desc b { color: var(--text); }
.pledge .btn { text-align: center; }
.pledge__fine { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: rgba(232, 255, 233, .4); margin-top: 14px; text-align: center; grid-column: 1 / -1; }

@media (max-width: 860px) { .pledge__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
