/* donate.css — извлечено из s/donate.html (1 <style>-блоков) */
:root {
            --bg: #ffffff; --text: #1a1a1a; --muted: rgba(255,255,255,.86); --card: rgba(255,255,255,.10);
            --border: rgba(255,255,255,.18); --shadow: 0 12px 40px rgba(0,0,0,.35);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { height: 100%; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            color: #fff;
            background: #0b0f1a url('../../static-assets/backgrounds/preme.jpg') center center / cover no-repeat fixed;
            display: flex; flex-direction: column; min-height: 100vh;
            position: relative;
        }
        /* затемняющий слой для читаемости поверх фоновой картинки */
        body::before {
            content: ''; position: fixed; inset: 0; z-index: 0;
            background: linear-gradient(180deg, rgba(8,10,18,.62) 0%, rgba(8,10,18,.78) 100%);
        }
        main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
               align-items: center; justify-content: center; padding: 64px 20px 40px; text-align: center; }

        .eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
                   color: rgba(255,255,255,.7); margin-bottom: 18px; font-weight: 600; }
        h1.title {
            font-size: clamp(28px, 6vw, 60px); font-weight: 800; line-height: 1.12;
            max-width: 900px; min-height: 1.2em; letter-spacing: -.5px;
            text-shadow: 0 4px 30px rgba(0,0,0,.45);
        }
        .caret { display: inline-block; width: 3px; margin-left: 4px; background: #58a6ff;
                 animation: blink 1s steps(1) infinite; vertical-align: -2px; height: .9em; }
        .caret.done { height: 0; }
        @keyframes blink { 50% { opacity: 0; } }
        .subtitle { margin-top: 18px; font-size: clamp(15px, 2.4vw, 19px); color: rgba(255,255,255,.82);
                    max-width: 640px; opacity: 0; transition: opacity .8s ease; }
        .subtitle.show { opacity: 1; }

        /* Кнопки доната */
        .methods { margin-top: 42px; width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
        .donate-row { display: flex; gap: 10px; align-items: stretch; }
        .donate-btn {
            flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px;
            min-height: 58px; padding: 0 22px; border: none; border-radius: 14px;
            color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; font-family: inherit;
            box-shadow: var(--shadow); transition: transform .12s ease, filter .15s ease;
            text-decoration: none;
        }
        .donate-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
        .donate-btn:active { transform: translateY(0); }
        .donate-btn .gly { font-size: 20px; }
        .donate-qr {
            width: 58px; min-width: 58px; border: none; border-radius: 14px; cursor: pointer;
            background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center;
            backdrop-filter: blur(6px); transition: background .15s, transform .12s;
        }
        .donate-qr:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
        .donate-qr:disabled { opacity: .35; cursor: not-allowed; transform: none; }
        .donate-qr svg { width: 24px; height: 24px; }

        .note { margin-top: 34px; max-width: 560px; font-size: 14px; line-height: 1.7;
                color: rgba(255,255,255,.72); }
        .note b { color: #ffd479; font-weight: 600; }

        /* Раскрывающаяся панель для BTC (адрес/ключ) */
        .crypto-panel { width: 100%; max-width: 460px; margin-top: 10px; background: rgba(0,0,0,.32);
                        border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
                        display: none; text-align: left; }
        .crypto-panel.open { display: block; }
        .crypto-field { margin-bottom: 12px; }
        .crypto-field:last-child { margin-bottom: 0; }
        .crypto-field label { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
        .crypto-val { display: flex; gap: 8px; align-items: center; }
        .crypto-val code { flex: 1; font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 12.5px;
                           background: rgba(255,255,255,.08); padding: 8px 10px; border-radius: 8px;
                           word-break: break-all; color: #e6e6e6; }
        .copy-btn { border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer; background: #fff; color: #111;
                    font-size: 12px; font-weight: 700; white-space: nowrap; }

        /* QR-модалка */
        .qr-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.7);
                    display: none; align-items: center; justify-content: center; padding: 20px; }
        .qr-modal.open { display: flex; }
        .qr-box { background: #fff; color: #111; border-radius: 18px; padding: 24px 24px 20px;
                  max-width: 340px; width: 100%; text-align: center; position: relative; }
        .qr-box h3 { font-size: 16px; margin-bottom: 14px; }
        #qrTarget svg, #qrTarget img { width: 230px !important; height: 230px !important; }
        .qr-value { margin-top: 12px; font-size: 12px; color: #555; word-break: break-all; max-height: 60px; overflow: auto; }
        .qr-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 22px;
                    cursor: pointer; color: #888; }

        /* Тост */
        .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
                 background: #111; color: #fff; padding: 13px 22px; border-radius: 30px; font-size: 14px;
                 opacity: 0; transition: opacity .25s, transform .25s; z-index: 200; box-shadow: var(--shadow); }
        .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

        /* Подвал */
        footer { position: relative; z-index: 1; padding: 26px 20px; text-align: center;
                 border-top: 1px solid rgba(255,255,255,.12); background: rgba(8,10,18,.4); backdrop-filter: blur(6px); }
        .flogo { font-size: 20px; font-weight: 800; margin-bottom: 12px; letter-spacing: .5px; }
        .flinks { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
        .flinks a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; transition: color .15s; }
        .flinks a:hover { color: #fff; }

        @media (max-width: 480px) {
            .donate-btn { font-size: 15px; min-height: 54px; padding: 0 16px; }
            .donate-qr { width: 54px; min-width: 54px; }
        }

        /* Верхняя панель: лого слева, кнопка «Меню StartPOZI» справа */
        .spz-topbar { position: relative; z-index: 2; display: flex; align-items: center;
                      justify-content: space-between; padding: 16px 22px; }
        .spz-topbar__logo { display: block; line-height: 0; }
        .spz-topbar__logo iframe { display: block; border: none; }
        .spz-topbar__menu { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px;
                            background: rgba(0,0,0,.3); color: #fff; cursor: pointer; display: flex; align-items: center;
                            justify-content: center; backdrop-filter: blur(6px); transition: background .15s, transform .12s; }
        .spz-topbar__menu:hover { background: rgba(0,0,0,.5); transform: scale(1.05); }
        @media (max-width: 480px) {
            .spz-topbar__logo iframe { width: 150px !important; height: 38px !important; }
        }
