/* =====================================================================
   WaveShape — блок «Поддержать проект» на главной (donate-loader.js)
   ===================================================================== */
.donate-card {
    position: relative;
    padding: clamp(24px, 3.6vw, 46px);
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 61, 200, .3);
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(255, 61, 200, .24), transparent 60%),
        radial-gradient(60% 80% at 0% 100%, rgba(139, 92, 255, .22), transparent 60%),
        linear-gradient(180deg, rgba(22, 14, 50, .94), rgba(10, 8, 28, .96));
    box-shadow: 0 44px 110px -48px rgba(0, 0, 0, .95), 0 0 90px -40px rgba(255, 61, 200, .8);
}
.donate-card::before, .donate-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.donate-card::before { right: -140px; top: -140px; width: 400px; height: 400px; border: 1px solid rgba(255, 61, 200, .25); box-shadow: inset 0 0 90px rgba(255, 61, 200, .16); animation: ringBreath 7s ease-in-out infinite; }
.donate-card::after { right: -60px; top: -60px; width: 240px; height: 240px; border: 1px solid rgba(255, 61, 200, .2); animation: ringBreath 7s -3.5s ease-in-out infinite; }
@keyframes ringBreath { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
.donate-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; margin-bottom: 28px; }
.donate-head .section-title { margin: 16px 0 10px; }
.donate-subtitle { max-width: 580px; margin: 0; color: var(--tx-2); font-size: 16px; }
.donate-btn .ico { animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }

.donate-goal { margin-bottom: 18px; padding: 20px; border-radius: 22px; background: rgba(6, 5, 18, .58); border: 1px solid rgba(255, 61, 200, .22); }
.donate-goal-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.donate-goal-top .stat-label { color: #ffb3ea; font-size: 14px; }
.donate-goal-sum { color: var(--tx-3); font-weight: 650; }
.donate-goal-sum b { font-family: var(--font-display); font-weight: 650; font-size: 22px; letter-spacing: -.02em; color: #fff; }
.donate-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 61, 200, .12); overflow: hidden; }
.donate-bar span {
    position: relative;
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b5cff, #ff3dc8 60%, #ff8a3d);
    box-shadow: 0 0 20px rgba(255, 61, 200, .85);
    transition: width 1.4s var(--ease-out);
    overflow: hidden;
}
.donate-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 2.4s linear infinite; }
.donate-goal-note { display: block; margin-top: 10px; color: var(--tx-3); font-weight: 650; }

.donate-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.donate-tile { min-width: 0; padding: 20px; border-radius: 22px; background: rgba(6, 6, 20, .58); border: 1px solid rgba(255, 255, 255, .07); }
.donate-tile > .stat-label { margin-bottom: 16px; color: #ffb3ea; }
.donate-tile > .stat-label .ico { color: var(--pink); filter: drop-shadow(0 0 6px var(--pink)); }
.donate-steps ol { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.donate-steps li { position: relative; padding-left: 42px; color: var(--tx-2); font-size: 14.5px; line-height: 1.55; counter-increment: step; }
.donate-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 10px; font: 700 13px/1 var(--font-mono); color: #fff; background: var(--grad-pink); box-shadow: 0 0 16px rgba(255, 61, 200, .55); }
.donate-steps a { color: #ff9fe2; }
.donate-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-weight: 800; font-size: 12px; color: #ff9fd0; background: rgba(255, 107, 157, .14); border: 1px solid rgba(255, 107, 157, .46); box-shadow: 0 0 12px -2px rgba(255, 107, 157, .65); white-space: nowrap; }
.donate-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.donate-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .055); }
.donate-name { min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.donate-when { display: block; font-size: 12px; font-weight: 600; color: var(--tx-3); }
.donate-rank { margin-right: 8px; font-family: var(--font-mono); color: #ff9fe2; }
.donate-amount { font: 700 14px var(--font-mono); color: #ffa6e6; white-space: nowrap; text-shadow: 0 0 10px rgba(255, 61, 200, .55); }
.donate-list li.donate-empty { justify-content: center; color: var(--tx-3); font-weight: 600; background: none; border: 1px dashed rgba(255, 255, 255, .1); }
@media (max-width: 1000px) {
    .donate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .donate-steps { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .donate-grid { grid-template-columns: minmax(0, 1fr); }
    .donate-btn { width: 100%; }
}
