:root {
    --bg-main: #07040B;
    --bg-deep: #050309;
    --bg-card: #0D0912;
    --bg-card-soft: #120C17;

    --pink: #EA3CFF;
    --pink-light: #FF72FF;
    --pink-deep: #9E18BD;

    --gold: #F5A623;
    --gold-light: #FFD76A;
    --gold-deep: #C97908;

    --white: #FFFFFF;
    --text-soft: #D8D2DC;
    --text-muted: #8E8794;

    --green: #63E6A3;
    --red: #FF6685;

    --border: rgba(255, 255, 255, 0.08);
    --border-pink: rgba(234, 60, 255, 0.22);
    --border-gold: rgba(245, 166, 35, 0.20);

    --shadow:
        0 18px 50px rgba(0, 0, 0, 0.42);

    --shadow-pink:
        0 14px 38px rgba(234, 60, 255, 0.14);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    min-height: 100%;
    background: var(--bg-main);
    -webkit-text-size-adjust: 100%;
}


body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(234, 60, 255, 0.11),
            transparent 34%
        ),
        radial-gradient(
            circle at 100% 40%,
            rgba(245, 166, 35, 0.045),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #08050C 0%,
            #07040B 48%,
            #050309 100%
        );

    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}


button,
input {
    font: inherit;
}


button {
    border: 0;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(234, 60, 255, 0.10),
            transparent 38%
        ),
        var(--bg-deep);

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}


.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.loader-ring {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border:
        2px solid rgba(255, 255, 255, 0.08);

    border-top-color: var(--pink);
    border-right-color: var(--gold);

    animation:
        loaderSpin 0.9s linear infinite;

    margin-bottom: 17px;
}


.loader-brand {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.8px;
}


.loader-brand span {
    color: var(--gold);
}


.loader-text {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   MAIN PAGE
========================================================= */

.withdraw-page {
    width: 100%;
    max-width: 560px;

    margin: 0 auto;

    padding:
        20px
        18px
        42px;
}


/* =========================================================
   HEADER
========================================================= */

.withdraw-header {
    position: relative;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 34px;
}


.back-button {
    position: absolute;
    left: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid var(--border);

    border-radius: 13px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.back-button:active {
    transform: scale(0.94);
}


.back-button svg {
    width: 20px;
    height: 20px;
}


.header-brand {
    text-align: center;
}


.brand-name {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 24px;
    font-weight: 700;

    letter-spacing: 1.6px;

    line-height: 1;
}


.brand-name span {
    color: var(--gold);
}


.brand-tagline {
    margin-top: 6px;

    color: var(--pink-light);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 2.1px;
}


.security-badge {
    position: absolute;
    right: 0;

    display: flex;
    align-items: center;
    gap: 5px;

    color: var(--green);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.1px;
}


.security-badge svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   INTRO
========================================================= */

.withdraw-intro {
    text-align: center;

    margin-bottom: 23px;
}


.section-kicker {
    color: var(--pink-light);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2.6px;

    margin-bottom: 8px;
}


.withdraw-intro h1 {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 34px;
    line-height: 1.08;

    font-weight: 700;

    background:
        linear-gradient(
            100deg,
            var(--white) 15%,
            #F5C8FF 48%,
            var(--pink-light) 85%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.withdraw-intro p {
    max-width: 410px;

    margin: 10px auto 0;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   MESSAGE
========================================================= */

.message {
    display: none;

    margin-bottom: 15px;

    padding: 12px 14px;

    border-radius: 13px;

    font-size: 11px;
    line-height: 1.5;

    border: 1px solid var(--border);
}


.message.show {
    display: block;
}


.message.success {
    color: var(--green);
    background: rgba(99, 230, 163, 0.07);
    border-color: rgba(99, 230, 163, 0.20);
}


.message.error {
    color: #FF9DB1;
    background: rgba(255, 102, 133, 0.07);
    border-color: rgba(255, 102, 133, 0.20);
}


.message.info {
    color: #E5BFFF;
    background: rgba(234, 60, 255, 0.07);
    border-color: var(--border-pink);
}


/* =========================================================
   BALANCE CARD
========================================================= */

.balance-card {
    position: relative;

    padding: 20px;

    margin-bottom: 14px;

    overflow: hidden;

    border:
        1px solid var(--border-pink);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(234, 60, 255, 0.105),
            rgba(13, 9, 18, 0.98) 48%,
            rgba(245, 166, 35, 0.045)
        );

    box-shadow:
        var(--shadow-pink);
}


.balance-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -75px;
    top: -85px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245, 166, 35, 0.16),
            transparent 68%
        );

    pointer-events: none;
}


.balance-top {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}


.card-label {
    color: var(--pink-light);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}


.balance-title {
    margin-top: 5px;

    color: var(--text-soft);

    font-size: 12px;
}


.available-status {
    display: flex;
    align-items: center;
    gap: 5px;

    color: var(--green);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1px;
}


.available-status span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 9px rgba(99, 230, 163, 0.8);
}


.wallet-balance {
    position: relative;

    margin-top: 13px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 32px;
    font-weight: 700;

    letter-spacing: 0.3px;

    color: var(--white);
}


.balance-bottom {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 11px;

    color: var(--text-muted);

    font-size: 9px;
}


.balance-bottom svg {
    width: 15px;
    height: 15px;

    color: var(--gold-light);
}


/* =========================================================
   WITHDRAWAL CARD
========================================================= */

.withdraw-card {
    position: relative;

    padding: 21px 18px 18px;

    border:
        1px solid var(--border);

    border-radius: 22px;

    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.032),
            rgba(13, 9, 18, 0.98)
        );

    box-shadow: var(--shadow);
}


.withdraw-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 22px;
}


.withdraw-card h2 {
    margin-top: 5px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 22px;
    font-weight: 700;
}


.online-badge {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-top: 2px;

    color: var(--green);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1px;
}


.online-badge span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 9px rgba(99, 230, 163, 0.75);
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 17px;
}


.field-label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 700;
}


.amount-input-wrap {
    display: flex;
    align-items: center;

    min-height: 58px;

    padding: 0 15px;

    border:
        1px solid rgba(234, 60, 255, 0.18);

    border-radius: 15px;

    background:
        rgba(5, 3, 9, 0.70);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.amount-input-wrap:focus-within {
    border-color:
        rgba(234, 60, 255, 0.55);

    box-shadow:
        0 0 0 3px rgba(234, 60, 255, 0.06);
}


.currency {
    margin-right: 10px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.8px;
}


.amount-input-wrap input {
    width: 100%;

    min-width: 0;

    border: 0;
    outline: 0;

    color: var(--white);

    background: transparent;

    font-size: 20px;
    font-weight: 700;
}


.amount-input-wrap input::placeholder {
    color: #625A67;
}


.amount-input-wrap input::-webkit-inner-spin-button,
.amount-input-wrap input::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


.amount-input-wrap input[type="number"] {
    -moz-appearance: textfield;
}


.field-hint {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: 9px;
}


/* =========================================================
   REGISTERED MOBILE
========================================================= */

.registered-mobile {
    position: relative;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px;

    margin-bottom: 17px;

    border:
        1px solid var(--border-gold);

    border-radius: 16px;

    background:
        linear-gradient(
            120deg,
            rgba(245, 166, 35, 0.045),
            rgba(255, 255, 255, 0.018)
        );
}


.mobile-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--gold-light);

    background:
        rgba(245, 166, 35, 0.08);

    border:
        1px solid rgba(245, 166, 35, 0.14);
}


.mobile-icon svg {
    width: 20px;
    height: 20px;
}


.mobile-details {
    min-width: 0;
    flex: 1;
}


.mobile-label {
    color: var(--text-muted);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.6px;
}


.mobile-network {
    margin-top: 4px;

    color: var(--gold-light);

    font-size: 10px;
    font-weight: 800;
}


.registered-number {
    margin-top: 2px;

    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.3px;
}


.registered-hint {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 8px;
    line-height: 1.4;
}


.verified-badge {
    align-self: flex-start;

    display: flex;
    align-items: center;
    gap: 4px;

    color: var(--green);

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 0.8px;
}


.verified-badge svg {
    width: 12px;
    height: 12px;
}


/* =========================================================
   SUMMARY
========================================================= */

.summary-card {
    padding: 15px;

    margin-bottom: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius: 16px;

    background:
        rgba(5, 3, 9, 0.62);
}


.summary-heading {
    margin-bottom: 13px;

    color: var(--text-muted);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.8px;
}


.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 7px 0;

    color: var(--text-soft);

    font-size: 10px;
}


.summary-row strong {
    color: var(--white);

    font-size: 11px;

    text-align: right;
}


.summary-row small {
    color: var(--pink-light);

    font-size: 8px;

    margin-left: 3px;
}


.fee-row strong {
    color: var(--pink-light);
}


.summary-divider {
    height: 1px;

    margin: 7px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(234, 60, 255, 0.24),
            transparent
        );
}


.receive-row {
    padding-top: 10px;
}


.receive-row span {
    color: var(--white);

    font-weight: 700;
}


.receive-row strong {
    color: var(--gold-light);

    font-size: 15px;
}


/* =========================================================
   WITHDRAW BUTTON
========================================================= */

.withdraw-button {
    width: 100%;
    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 15px;

    color: #180A1C;

    background:
        linear-gradient(
            100deg,
            var(--pink-light),
            var(--pink),
            #D92AEF
        );

    box-shadow:
        0 12px 30px rgba(234, 60, 255, 0.20);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.withdraw-button svg {
    width: 18px;
    height: 18px;

    stroke-width: 2.2;
}


.withdraw-button:active {
    transform: scale(0.98);
}


.withdraw-button:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    box-shadow: none;
}


.secure-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 7px;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 8px;
    line-height: 1.45;

    text-align: center;
}


.secure-note svg {
    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    color: var(--green);
}


/* =========================================================
   SIMPLE HOW-IT-WORKS
========================================================= */

.simple-info {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 4px;

    margin-top: 16px;
}


.info-icon {
    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--pink-light);

    background:
        rgba(234, 60, 255, 0.07);

    border:
        1px solid rgba(234, 60, 255, 0.12);
}


.info-icon svg {
    width: 18px;
    height: 18px;
}


.info-title {
    color: var(--white);

    font-size: 10px;
    font-weight: 800;
}


.simple-info p {
    margin-top: 3px;

    color: var(--text-muted);

    font-size: 8px;
    line-height: 1.5;
}


/* =========================================================
   RULES — BOTTOM OF PAGE
========================================================= */

.rules-section {
    margin-top: 28px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.055);
}


.rules-section h2 {
    margin-top: 5px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 21px;
}


.rules-list {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 14px;
}


.rule-item {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 12px;

    border:
        1px solid rgba(255, 255, 255, 0.055);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.018);
}


.rule-icon {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: var(--gold-light);

    background:
        rgba(245, 166, 35, 0.06);
}


.rule-icon svg {
    width: 16px;
    height: 16px;
}


.rule-item strong {
    display: block;

    color: var(--text-soft);

    font-size: 9px;
}


.rule-item span {
    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 8px;
    line-height: 1.4;
}


/* =========================================================
   FOOTER
========================================================= */

.withdraw-footer {
    text-align: center;

    padding-top: 32px;
}


.footer-brand {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.footer-brand span {
    color: var(--gold);
}


.footer-tagline {
    margin-top: 5px;

    color: var(--pink-light);

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 2px;
}


.footer-divider {
    width: 100%;

    height: 1px;

    margin: 19px 0 14px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(234, 60, 255, 0.16),
            transparent
        );
}


.footer-security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    color: var(--text-muted);

    font-size: 7px;
}


.footer-security svg {
    width: 13px;
    height: 13px;

    color: var(--green);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 420px) {

    .withdraw-page {
        padding:
            17px
            14px
            36px;
    }


    .withdraw-header {
        margin-bottom: 29px;
    }


    .brand-name {
        font-size: 22px;
    }


    .security-badge {
        font-size: 6px;
    }


    .withdraw-intro h1 {
        font-size: 30px;
    }


    .withdraw-intro p {
        font-size: 11px;
    }


    .balance-card {
        padding: 18px;
    }


    .wallet-balance {
        font-size: 29px;
    }


    .withdraw-card {
        padding:
            19px
            15px
            16px;
    }


    .registered-mobile {
        gap: 9px;

        padding: 12px;
    }


    .verified-badge {
        font-size: 5px;
    }

}


@media (max-width: 340px) {

    .withdraw-page {
        padding-left: 11px;
        padding-right: 11px;
    }


    .security-badge {
        display: none;
    }


    .withdraw-intro h1 {
        font-size: 27px;
    }


    .wallet-balance {
        font-size: 26px;
    }


    .registered-number {
        font-size: 12px;
    }


    .registered-hint {
        font-size: 7px;
    }


    .verified-badge {
        display: none;
    }

}
