#withdrawals-section.withdraw-aviator-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 24px;
    padding: 30px 34px 28px;
    background: radial-gradient(circle at 80% 10%, rgba(255, 0, 0, 0.18), transparent 28%),
        linear-gradient(180deg, #090909, #020202);
    border: 1.5px solid #ff2020;
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.45), inset 0 0 30px rgba(255, 0, 0, 0.08);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

#withdrawals-section.withdraw-aviator-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 35%, rgba(255, 0, 0, 0.08), transparent 55%);
    pointer-events: none;
}

#withdrawals-section .wa-close {
    position: absolute;
    right: 24px;
    top: 22px;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #ff4a4a;
    background: #090909;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.95);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

#withdrawals-section .wa-close:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 0, 0, 1);
}

#withdrawals-section .wa-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 26px;
    padding-right: 70px;
}

#withdrawals-section .wa-title {
    font-size: 38px;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 0 3px 0 #111;
}

#withdrawals-section .wa-title span,
#withdrawals-section .wa-section-title span {
    color: #ffd21b;
    text-shadow: 0 0 12px rgba(255, 210, 27, 0.65);
}

#withdrawals-section .wa-plane {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #ff2020, transparent);
    box-shadow: 0 0 18px #ff2020;
    position: relative;
}

#withdrawals-section .wa-plane::before {
    content: "✈";
    position: absolute;
    left: -8px;
    top: -30px;
    color: #ff2a2a;
    font-size: 48px;
    text-shadow: 0 0 18px #ff2020;
}

#withdrawals-section .wa-section-title {
    margin: 22px 0 12px;
    font-size: 24px;
    font-weight: 950;
    font-style: italic;
    text-transform: uppercase;
    color: #fff;
}

#withdrawals-section .wa-section-title::before,
#withdrawals-section .wa-section-title::after {
    content: "▰▰";
    color: #ff2020;
    font-size: 18px;
    margin: 0 9px 0 0;
    text-shadow: 0 0 9px #ff2020;
}

#withdrawals-section .wa-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

#withdrawals-section .wa-method {
    min-height: 132px;
    border: 1.5px solid rgba(255, 32, 32, 0.75);
    border-radius: 14px;
    background: #050505;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
    transition: 0.22s;
}

#withdrawals-section .wa-method:hover {
    transform: translateY(-3px);
    border-color: #ff4b4b;
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.6), inset 0 0 18px rgba(255, 0, 0, 0.16);
}

#withdrawals-section .wa-method.active {
    border: 2px solid #ff4a4a;
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.22), rgba(60, 0, 0, 0.08));
    box-shadow: 0 0 28px rgba(255, 0, 0, 0.88), inset 0 0 24px rgba(255, 0, 0, 0.2);
}

#withdrawals-section .wa-method.active::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #48e600;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 0 15px #67ff17;
}

#withdrawals-section .wa-icon {
    font-size: 38px;
    filter: drop-shadow(0 0 9px rgba(255, 0, 0, 0.7));
}

#withdrawals-section .wa-method b {
    font-size: 23px;
    font-style: italic;
}

#withdrawals-section .wa-method small {
    font-size: 15px;
    color: #9b9b9b;
    text-align: center;
    line-height: 1.25;
}

#withdrawals-section .wa-amount-box {
    height: 78px;
    border: 1.5px solid #ff2020;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: #050505;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.45), inset 0 0 18px rgba(255, 0, 0, 0.08);
}

#withdrawals-section .wa-amount-box .wa-prefix {
    font-size: 26px;
    color: #aaa;
    margin-right: 18px;
    font-weight: 900;
}

#withdrawals-section .wa-amount-box input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 44px;
    font-weight: 950;
}

#withdrawals-section .wa-amount-box b {
    font-size: 30px;
}

#withdrawals-section .wa-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 14px;
}

#withdrawals-section .wa-quick button,
#withdrawals-section .wa-account,
#withdrawals-section .wa-add-key {
    height: 50px;
    border: 1.3px solid #ff2020;
    border-radius: 9px;
    background: #050505;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s;
}

#withdrawals-section .wa-quick button:hover,
#withdrawals-section .wa-add-key:hover {
    transform: scale(1.035);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.7);
}

#withdrawals-section .wa-quick button.selected {
    border-color: #ff4a4a;
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.25), rgba(70, 0, 0, 0.12));
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.75);
}

#withdrawals-section .wa-quick .wa-max {
    color: #ffd21b;
    border-color: #ffd21b;
    font-weight: 900;
    box-shadow: 0 0 14px rgba(255, 210, 27, 0.25);
}

#withdrawals-section .wa-info {
    margin-top: 18px;
    border: 1px solid rgba(255, 32, 32, 0.55);
    border-radius: 10px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.025);
    color: #bbb;
}

#withdrawals-section .wa-info b {
    color: #ffd21b;
}

#withdrawals-section .wa-info div {
    display: flex;
    gap: 14px;
    align-items: center;
}

#withdrawals-section .wa-info .wa-i {
    font-size: 34px;
    color: #ff2020;
    text-shadow: 0 0 12px #ff2020;
}

#withdrawals-section .wa-warning {
    margin-top: 16px;
    border: 1px solid rgba(255, 210, 27, 0.75);
    border-radius: 10px;
    padding: 16px 20px;
    color: #bbb;
    background: rgba(255, 210, 27, 0.04);
}

#withdrawals-section .wa-warning b {
    color: #ffd21b;
    font-style: italic;
    margin-right: 10px;
}

#withdrawals-section .wa-account {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 16px;
    text-align: left;
    color: #ddd;
    font-size: 18px;
}

#withdrawals-section .wa-account .wa-arrow {
    margin-left: auto;
}

#withdrawals-section .wa-add-key {
    margin-top: 12px;
    padding: 0 18px;
    color: #ff2a2a;
    border: 0;
    background: transparent;
    font-size: 17px;
    text-align: left;
}

#withdrawals-section .wa-add-key span {
    font-size: 24px;
    vertical-align: -2px;
}

#withdrawals-section .wa-withdraw-btn {
    width: min(560px, 82%);
    height: 76px;
    margin: 28px auto 0;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid #67ff17;
    background: linear-gradient(180deg, #20a900, #0d6100);
    color: #fff;
    font-size: 34px;
    font-weight: 950;
    font-style: italic;
    letter-spacing: 1px;
    box-shadow: 0 0 28px rgba(103, 255, 23, 0.9);
    cursor: pointer;
    animation: wa-pulse 1.35s infinite;
}

#withdrawals-section .wa-withdraw-btn::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -90px;
    width: 60px;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(20deg);
    animation: wa-shine 2.4s infinite;
}

#withdrawals-section .wa-withdraw-btn:hover {
    transform: scale(1.025);
}

#withdrawals-section .wa-safe {
    text-align: center;
    color: #8f8f8f;
    margin-top: 16px;
}

#withdrawals-section .wa-safe span {
    color: #ff2020;
}

@keyframes wa-pulse {
    50% {
        box-shadow: 0 0 46px rgba(103, 255, 23, 1);
        transform: scale(1.015);
    }
}

@keyframes wa-shine {
    to {
        left: 120%;
    }
}

.card.withdrawals-mode {
    flex: 1 1 0;
    min-width: 0;
    max-width: none !important;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

.card.withdrawals-mode #card-content {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

body.withdrawals-panel-open .container {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 24px;
}

@media (max-width: 900px) {
    body.withdrawals-panel-open .container {
        flex-wrap: wrap;
        gap: 14px;
    }

    body.withdrawals-panel-open .container .sidebar {
        width: 100%;
        flex-basis: 100%;
    }

    .card.withdrawals-mode {
        width: 100% !important;
    }
}

@media (max-width: 760px) {
    #withdrawals-section.withdraw-aviator-wrap {
        padding: 18px 14px 22px;
        border-radius: 18px;
    }

    #withdrawals-section .wa-close {
        right: 12px;
        top: 12px;
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    #withdrawals-section .wa-header {
        margin-bottom: 18px;
        padding-right: 52px;
        gap: 12px;
    }

    #withdrawals-section .wa-title {
        font-size: 24px;
        line-height: 1.1;
    }

    #withdrawals-section .wa-section-title {
        margin: 16px 0 10px;
        font-size: 17px;
    }

    #withdrawals-section .wa-section-title::before,
    #withdrawals-section .wa-section-title::after {
        font-size: 14px;
        margin-right: 6px;
    }

    #withdrawals-section .wa-method {
        min-height: 108px;
    }

    #withdrawals-section .wa-method b {
        font-size: 18px;
    }

    #withdrawals-section .wa-method small {
        font-size: 13px;
    }

    #withdrawals-section .wa-icon {
        font-size: 30px;
    }

    #withdrawals-section .wa-amount-box {
        height: 62px;
        padding: 0 14px;
    }

    #withdrawals-section .wa-amount-box .wa-prefix {
        font-size: 18px;
        margin-right: 10px;
    }

    #withdrawals-section .wa-amount-box input {
        font-size: 30px;
    }

    #withdrawals-section .wa-amount-box b {
        font-size: 18px;
    }

    #withdrawals-section .wa-quick button,
    #withdrawals-section .wa-account,
    #withdrawals-section .wa-add-key {
        height: 44px;
        font-size: 14px;
    }

    #withdrawals-section .wa-info {
        padding: 14px;
        gap: 12px;
        font-size: 14px;
    }

    #withdrawals-section .wa-info .wa-i {
        font-size: 26px;
    }

    #withdrawals-section .wa-warning {
        padding: 12px 14px;
        font-size: 13px;
        line-height: 1.35;
    }

    #withdrawals-section .wa-account {
        height: 54px;
        padding: 0 14px;
        font-size: 15px;
        gap: 10px;
    }

    #withdrawals-section .wa-add-key {
        font-size: 15px;
        padding: 0 8px;
    }

    #withdrawals-section .wa-methods {
        grid-template-columns: 1fr;
    }

    #withdrawals-section .wa-quick {
        grid-template-columns: repeat(2, 1fr);
    }

    #withdrawals-section .wa-info {
        grid-template-columns: 1fr;
    }

    #withdrawals-section .wa-withdraw-btn {
        width: 100%;
        height: 58px;
        margin-top: 20px;
        font-size: 24px;
    }

    #withdrawals-section .wa-plane {
        display: none;
    }

    body.withdrawals-panel-open .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

#pix-key-modal.wa-pix-modal,
#crypto-wallet-modal.wa-pix-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

#pix-key-modal .wa-pix-modal-card,
#crypto-wallet-modal .wa-pix-modal-card {
    position: relative;
    width: min(96vw, 420px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, #141414, #080808);
    border: 1.5px solid #ff2020;
    border-radius: 16px;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 0 28px rgba(255, 32, 32, 0.45);
    box-sizing: border-box;
}

#pix-key-modal .wa-pix-modal-close,
#crypto-wallet-modal .wa-pix-modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff4a4a;
    background: #090909;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.75);
}

#pix-key-modal .wa-pix-modal-card h3,
#crypto-wallet-modal .wa-pix-modal-card h3 {
    margin: 0 36px 10px 0;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.wa-pix-modal-network {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #ffd21b;
    text-transform: uppercase;
}

.wa-pix-modal-hint {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #9aa3b2;
}

#pix-key-modal .wa-pix-modal-card label,
#crypto-wallet-modal .wa-pix-modal-card label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffd21b;
    margin-top: 4px;
}

#pix-key-modal .wa-pix-modal-card input,
#pix-key-modal .wa-pix-modal-card select,
#crypto-wallet-modal .wa-pix-modal-card input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 32, 32, 0.55);
    background: #0a0a0a;
    color: #fff;
    font-size: 16px;
}

#pix-key-modal .wa-pix-modal-save,
#crypto-wallet-modal .wa-pix-modal-save {
    width: 100%;
    height: 54px;
    margin-top: 12px;
    border-radius: 12px;
    border: 2px solid #67ff17;
    background: linear-gradient(180deg, #20a900, #0d6100);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(103, 255, 23, 0.65);
}

@media (max-width: 760px) {
    #pix-key-modal.wa-pix-modal,
    #crypto-wallet-modal.wa-pix-modal {
        align-items: flex-start;
        padding: 10px;
        padding-top: max(10px, env(safe-area-inset-top));
    }

    #pix-key-modal .wa-pix-modal-card,
    #crypto-wallet-modal .wa-pix-modal-card {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 20px);
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    #pix-key-modal .wa-pix-modal-card h3,
    #crypto-wallet-modal .wa-pix-modal-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #pix-key-modal .wa-pix-modal-card input,
    #pix-key-modal .wa-pix-modal-card select,
    #crypto-wallet-modal .wa-pix-modal-card input {
        padding: 11px 12px;
        font-size: 16px;
    }

    #pix-key-modal .wa-pix-modal-save,
    #crypto-wallet-modal .wa-pix-modal-save {
        height: 50px;
        font-size: 20px;
        margin-top: 10px;
    }
}

body.pix-key-modal-open,
body.crypto-wallet-modal-open {
    overflow: hidden;
}
