:root {
    --bg: #0a0b0f;
    --ink: #e8edf6;
    --muted: #a9b3c9;
    --accent: #ff5353;
    --accent-2: #6ac8ff;
    --glass: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    --stroke: rgba(255, 255, 255, .22);
    --radius: 20px;
    --blur: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
    --transition: .28s cubic-bezier(.2, .8, .2, 1);
    --focus: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, white 20%);
}

* {
    box-sizing: border-box
}


body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(255, 83, 83, .18), transparent 55%),
        radial-gradient(1200px 700px at 100% 20%, rgba(106, 200, 255, .18), transparent 55%),
        linear-gradient(180deg, #0a0b0f, #08090c);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* subtle grid + noise for depth */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .08), transparent 35%),
        linear-gradient(transparent 24px, rgba(255, 255, 255, .06) 25px) 0 0/28px 28px,
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, .05) 25px) 0 0/28px 28px;
    mix-blend-mode: screen;
    z-index: -1;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 12px;
    margin-bottom: 12px;
    position: sticky;
    top: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .2px
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    background: var(--glass);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.brand-badge span {
    font-weight: 800
}

.pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15),
        0 8px 24px rgba(0, 0, 0, .25);
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: var(--transition);
}

.pill .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pill:hover {
    transform: translateX(-2px) translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2),
        0 10px 28px rgba(0, 0, 0, .3);
}

.pill:focus-visible {
    outline: none;
    box-shadow: var(--focus), 0 0 8px rgba(227, 58, 58, 0.5);
}

/* HERO */
.hero {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: stretch
}

.panel {
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(var(--blur)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: -40% -40% auto -40%;
    height: 140%;
    background: radial-gradient(ellipse at top left, rgba(255, 255, 255, .55), transparent 40%);
    opacity: .12;
    transform: rotate(-8deg);
    pointer-events: none;
}

.amount {
    padding: 26px
}

.headline {
    font-size: 48px;
    line-height: 1.04;
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: .2px
}

.sub {
    color: var(--muted);
    margin-bottom: 16px
}

.toggles {
    display: flex;
    gap: 8px;
    margin: 12px 0
}

.toggle {
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition)
}

.toggle[aria-pressed="true"] {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, white 30%)
}

.amount-input {
    position: relative;
    margin: 18px 0 10px;
}

.amount-input .currency {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 800;
    opacity: .65;
    pointer-events: none;
}

.amount-input input {
    width: 100%;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px 16px 12px 56px;
    outline: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-sizing: border-box;
}

.amount-input input:focus {
    border-color: rgba(255, 255, 255, .45);
}

.amount-input input[type=number]::-webkit-outer-spin-button,
.amount-input input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-input input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
    position: relative;
}

.amount-input {
    position: relative;
}

.amount-input::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    height: 40px;
    transform: translateY(-50%);
    border-radius: 6px;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, .25), rgba(255, 255, 255, .08)) top / 100% 50% no-repeat,
        linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05)) bottom / 100% 50% no-repeat,
        var(--glass);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .4);
}

.amount-input::before {
    content: "▲▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    pointer-events: none;
    line-height: 1;
    letter-spacing: -1px;
}

.hint {
    font-size: 12px;
    color: var(--muted)
}

.quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px
}

.chip {
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    min-width: 76px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    user-select: none;
}

.chip:hover {
    transform: translateY(-1px)
}

.chip:focus-visible {
    outline: none;
    box-shadow: var(--focus)
}

.chip.active {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, white 30%)
}

.donate-btn {
    width: 100%;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, white 65%);
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, white 8%), color-mix(in srgb, var(--accent) 70%, black 30%));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 36px rgba(255, 83, 83, .35);
    position: relative;
    overflow: hidden;
}

.donate-btn::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 40%;
    height: 300%;
    transform: rotate(20deg);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .55), transparent);
    transition: transform .6s ease;
    opacity: .85
}

.donate-btn:hover {
    transform: translateY(-1px)
}

.donate-btn:hover::after {
    transform: rotate(20deg) translateX(260%)
}

.donate-btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
    filter: grayscale(.1)
}

/* FORM */
form {
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

label {
    font-weight: 700;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .2px
}

.input,
input,
select {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    color: var(--ink);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    outline: none;
    transition: var(--transition)
}

.input:focus,
input:focus,
select:focus {
    border-color: rgba(255, 255, 255, .45);
    transform: translateY(-1px);
    box-shadow: var(--focus)
}

.span-2 {
    grid-column: 1 / -1
}

.row-2 {
    grid-row: span 2
}

.secure {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px 22px;
    color: var(--muted);
    font-size: 13px
}

.secure .lock {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    display: grid;
    place-items: center
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    color: var(--muted);
    font-size: 12px
}

.foot a {
    color: var(--ink)
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    margin: 10px 0 0;
}

/* responsive tweaks */
@media (max-width: 1020px) {
    .headline {
        font-size: 42px
    }

    .amount-input input {
        font-size: 56px
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .headline {
        font-size: 36px
    }

    .amount-input input {
        font-size: 48px
    }

    header {
        position: static
    }
}

@media (max-width: 480px) {
    .amount {
        padding: 20px
    }

    .brand {
        display: none;
    }

    form {
        padding: 18px;
        grid-template-columns: 1fr
    }
}

/* tiny “shine” accent for headline */
.shine {
    background: linear-gradient(90deg, #fff, #dfe6f6 40%, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2));
}

.country-select option {
    color: #000;
}