* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; color: var(--af-color-text-inverse); background: linear-gradient(90deg, rgba(5,17,29,.95), rgba(5,17,29,.77)), url(images/andaime-fun/wallpaper-desktop-1920x1280.webp) center / cover fixed; font: 15px/1.6 var(--af-font-ui); }
button, input, textarea { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--af-emerald-300); outline-offset: 4px; }
.donate-card :focus-visible { outline-color: var(--af-blue-action-700); }
.donate-header, .donate-footer { width: min(1160px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.donate-header { min-height: 112px; border-bottom: 1px solid rgba(231,197,111,.25); }
.wordmark { display: flex; align-items: center; font: 700 23px var(--af-font-display); letter-spacing: 1px; text-decoration: none; }
.wordmark img { object-fit: contain; margin-right: 12px; }
.wordmark span { color: var(--af-gold-400); }
.back-link { font-size: 13px; padding: 12px 0; }
.donate-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 80px; width: min(1080px, calc(100% - 64px)); margin: 70px auto 80px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: var(--af-gold-300); }
h1 { font: 500 clamp(38px, 4.2vw, 60px)/1.14 var(--af-font-display); margin: 24px 0; letter-spacing: -1.5px; }
h1 em { font-style: normal; color: var(--af-gold-400); }
.intro-copy { max-width: 420px; color: #d6dce0; font: 18px/1.8 var(--af-font-editorial); }
.support-note { display: flex; gap: 20px; align-items: center; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(231,197,111,.25); max-width: 400px; }
.support-note > span { font-size: 26px; color: var(--af-gold-400); }
.support-note p { margin: 0; font-size: 14px; color: #d6dce0; }
.support-note strong { color: var(--af-gold-200); font-weight: 500; }
.no-rewards { max-width: 380px; color: #b8c4cf; font-size: 12px; margin-top: 22px; }
.donate-card { color: var(--af-color-text); background: var(--af-parchment-100); border: 1px solid var(--af-gold-500); border-top: 4px solid var(--af-gold-500); border-radius: 8px; padding: 32px; box-shadow: 0 18px 60px #0005; min-width: 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-heading .eyebrow { color: var(--af-gold-800); font-size: 9px; }
.pix-badge { border: 1px solid var(--af-emerald-800); color: var(--af-emerald-800); border-radius: 4px; padding: 1px 9px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
h2 { margin: 24px 0 4px; font: 600 25px/1.3 var(--af-font-display); letter-spacing: -.5px; }
.card-copy { margin: 0 0 24px; font-size: 13px; color: var(--af-color-text-muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
button { cursor: pointer; transition: background-color .15s; }
.presets button { min-height: 48px; border: 1px solid var(--af-gold-700); border-radius: 5px; color: var(--af-gold-900); background: transparent; font-size: 13px; font-weight: 600; padding: 6px; }
.presets button[aria-pressed="true"] { background: var(--af-navy-800); border-color: var(--af-navy-800); color: white; }
.presets button:hover { background: var(--af-parchment-300); color: var(--af-color-text); }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.amount-input { display: flex; align-items: center; border: 1px solid var(--af-gold-700); background: var(--af-parchment-50); border-radius: 5px; }
.amount-input span { padding-left: 16px; color: var(--af-color-text-muted); }
.amount-input input { width: 100%; min-width: 0; min-height: 52px; border: 0; background: transparent; padding: 10px 14px; font-size: 22px; font-weight: 600; color: var(--af-color-text); }
.field-help { font-size: 11px; color: var(--af-color-text-muted); margin: 7px 0 22px; }
.primary, .secondary { min-height: 50px; width: 100%; border-radius: 5px; font-weight: 600; font-size: 14px; padding: 12px 15px; }
.primary { color: white; background: var(--af-emerald-800); border: 1px solid var(--af-emerald-800); }
.primary:hover { background: var(--af-emerald-900); }
.primary span { padding-left: 12px; }
.secondary { background: transparent; color: var(--af-navy-800); border: 1px solid var(--af-gold-700); margin-top: 12px; }
button:disabled { cursor: wait; opacity: .6; }
.secure-note { font-size: 11px; text-align: center; color: var(--af-color-text-muted); margin: 18px 0 0; line-height: 1.8; }
.notice { padding: 12px 14px; background: var(--af-parchment-200); border-left: 3px solid var(--af-gold-700); font-size: 13px; }
.notice.success { background: #e3f1df; border-color: var(--af-emerald-800); color: var(--af-emerald-900); }
.error { color: var(--af-danger-700); font-size: 13px; font-weight: 600; }
#payment h3 { font: 600 23px var(--af-font-display); margin: 24px 0 6px; }
.payment-amount { font-size: 26px; font-weight: 600; margin: 0 0 14px; }
.qr-wrap { width: 248px; max-width: 100%; margin: 18px auto; padding: 12px; background: white; border: 1px solid var(--af-parchment-400); border-radius: 5px; }
#qr-code { display: block; width: 100%; height: auto; image-rendering: pixelated; }
#pix-code { width: 100%; resize: none; font: 11px/1.5 var(--af-font-mono); padding: 10px; border: 1px solid var(--af-gold-700); border-radius: 4px; background: var(--af-parchment-50); color: var(--af-color-text); margin-bottom: 10px; }
.donate-footer { border-top: 1px solid rgba(231,197,111,.25); padding: 24px 0; color: #b8c4cf; font-size: 11px; }
.donate-footer a { padding: 10px 0; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; padding: 10px; background: var(--af-navy-800); z-index: 2; }
@media(max-width: 900px) { .donate-layout { gap: 35px; } .donate-card { padding: 24px; } h1 { font-size: 42px; } }
@media(max-width: 680px) { body { background-attachment: scroll; } .donate-header, .donate-footer { width: calc(100% - 40px); } .donate-header { min-height: 80px; } .wordmark { font-size: 17px; } .wordmark img { width: 34px; height: 34px; margin-right: 5px; } .back-link { font-size: 11px; } .donate-layout { grid-template-columns: 1fr; width: calc(100% - 40px); margin: 35px auto 40px; gap: 28px; } h1 { font-size: 40px; margin: 18px 0; } h1 br:nth-of-type(2) { display: none; } .intro-copy { font-size: 15px; margin-bottom: 0; } .support-note { display: none; } .no-rewards { margin: 16px 0 0; } .eyebrow { font-size: 8px; } h2 { font-size: 23px; } .donate-card { padding: 24px 20px; } .donate-footer { align-items: flex-start; flex-direction: column; gap: 0; } }
@media(prefers-reduced-motion: reduce) { button { transition: none; } }
