* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eaeaea;
    background: radial-gradient(circle at top, #1b1b1b, #0b0b0b);
}

.card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, #161616, #101010);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 20px -7px rgba(0, 0, 0, .75);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(122, 86, 255, .18), transparent 60%);
    pointer-events: none;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo svg {
    width: 260px;
}

h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #9a9a9a;
    margin-bottom: 24px;
}

label {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: #b3b3b3;
}

input,
select {
    width: 100%;
    margin-top: 6px;
    padding: 13px 15px;
    border-radius: 10px;
    border: 1px solid #262626;
    background: #0d0d0d;
    color: #fff;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #7a56ff;
    box-shadow: 0 0 0 2px rgba(122, 86, 255, .25);
}

select {
    appearance: none;
    cursor: pointer;
}

button {
    margin-top: 26px;
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #7a56ff, #5a3dff);
    box-shadow: 0 10px 30px rgba(122, 86, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: transform .15s ease, box-shadow .15s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(122, 86, 255, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}

button:disabled {
    background: #2a2a2a;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.status.error {
    color: #ff6b6b;
}

.status.success {
    color: #6bffb0;
}
.ion-wrap{
    margin-top:10px;
}

#donateRange{
    width:100%;
    height:6px;
    appearance:none;
    background:#2a2a2a;
    border-radius:10px;
}

#donateRange::-webkit-slider-thumb{
    appearance:none;
    width:18px;
    height:18px;
    background:#7a56ff;
    border-radius:50%;
    box-shadow:0 0 12px rgba(122,86,255,.8);
    cursor:pointer;
}
.ion-grid{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:10px;
}

.ion-grid span{
    cursor:pointer;
    padding:6px 12px;
    border-radius:6px;
    font-weight:600;
    font-size:13px;
    color: #f4f4f4!important;
    background:linear-gradient(180deg,#1f1a33,#141126);
    border:1px solid #7a56ff55;
    box-shadow:
            0 0 0 1px #000 inset,
            0 0 12px rgba(122,86,255,.25);
    transition:all .15s ease;
    user-select:none;
}
.back-btn{
    position:absolute;
    top:18px;
    left:18px;
    padding:10px 16px;
    border-radius:14px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    color:#fff;
    background:linear-gradient(135deg,#2a2450,#1a1636);
    border:1px solid rgba(122,86,255,.45);
    box-shadow:
            0 8px 20px rgba(0,0,0,.55),
            0 0 12px rgba(122,86,255,.45);
    transition:.3s;
    z-index:20;
}

.back-btn:hover{
    transform:scale(1.07);
    box-shadow:
            0 12px 28px rgba(0,0,0,.65),
            0 0 20px rgba(122,86,255,.7);
}

.back-btn:active{
    transform:scale(.95);
}
.ion-grid span:hover, .ion-grid span.active{
    color:#fff;
    border-color:#7a56ff;
    background:linear-gradient(180deg,#2a1f55,#1b153d);
    box-shadow:
            0 0 18px rgba(122,86,255,.6),
            0 0 0 1px #000 inset;
    transform:translateY(-1px);
}

.ion-grid span:active{
    transform:translateY(1px);
    box-shadow:
            0 0 8px rgba(122,86,255,.4),
            0 0 0 1px #000 inset;
}
.irs--round .irs-handle {
    border: 4px solid #593997!important;
}
.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single, .irs--round .irs-bar {
    background-color: #593997!important;
}
.irs--round .irs-min, .irs--round .irs-max {
    color: #979797;
}
#status{
    display:none!important;
}
.payment-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin: 16px 0 24px 0;
    padding: 0 4px;
}

.payment-item {
    cursor: pointer;
    flex: 0 0 auto;
}

.payment-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.payment-item img {
    display: block !important;
    height: 45px !important; /* под твои картинки — можно 54–62 px */
    width: auto !important;
    border-radius: 12px;
    border: 3px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.18s ease;
}

.payment-item input:checked + img {
    box-shadow: 0 0 0 4px rgba(122, 86, 255, 0.35) !important;
    transform: scale(1.04);
}

.payment-item:hover img {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(122, 86, 255, 0.25);
}

/* Прокрутка на мобильных, если вдруг не влезет */
@media (max-width: 480px) {
    .payment-options {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .payment-item img {
        height: 52px !important;
    }
}

@media (max-width: 500px) {
    .severpay-card {
        padding: 24px;
    }

    .logo svg {
        width: 220px;
    }
}

.lang-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.lang-label {
    font-size: 13px;
    color: #aaa;
}

.lang-switch {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #2a2a2a, #0d0d0d);
    border: 2px solid rgba(122, 86, 255, .6);
    box-shadow: 0 0 25px rgba(122, 86, 255, .4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.lang-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    display: none;
    z-index: 10;
}

.lang-dropdown div {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    color: #ddd;
    margin-top: 5px;
}

.lang-dropdown div:hover {
    background: #7a56ff;
    color: white;
}

.preloader {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 1;
    transition: opacity .35s ease, visibility .35s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(122, 86, 255, .2);
    border-top-color: #7a56ff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.donate-box {
    margin-top: 16px;
    background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
    border-radius: 14px;
    padding: 14px;
    box-shadow: inset 0 0 0 1px rgba(122, 86, 255, .15), 0 10px 30px rgba(0, 0, 0, .6);
}

.donate-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.donate-top input {
    flex: 1;
    background: #0b0b0b;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 12px;
    color: white;
    font-size: 16px;
}

.donate-bonus {
    background: linear-gradient(135deg, #7a56ff, #5a3dff);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(122, 86, 255, .5);
}

#donateRange {
    width: 100%;
    margin-top: 14px;
    appearance: none;
    height: 6px;
    background: #222;
    border-radius: 10px;
    outline: none;
}

#donateRange::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7a56ff;
    box-shadow: 0 0 12px rgba(122, 86, 255, .9);
    cursor: pointer;
}

.donate-steps {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
    color: #aaa;
}

.donate-steps {
    user-select: none;
}

.donate-steps span {
    min-width: 40px;
    text-align: center;
}
