.dx-welcome-modal,
.dx-welcome-modal * {
    box-sizing: border-box;
}
.dx-welcome-modal[hidden] {
    display: none !important;
}
body.dx-welcome-modal-open {
    overflow: hidden;
}
.dx-welcome-modal {
    --red: #f00505;
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.18s;
}
.dx-welcome-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.dx-welcome-modal__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 10%, rgba(240, 5, 5, 0.12), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(0, 122, 177, 0.12), transparent 34%), rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
}
.dx-welcome-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 96vw);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    color: #f7f8fa;
    background: linear-gradient(120deg, rgba(6, 29, 40, 0.99), rgba(5, 16, 22, 0.99) 54%, rgba(8, 12, 16, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.74);
    outline: none;
    transform: translateY(16px) scale(0.985);
    transition: 0.22s;
}
.dx-welcome-modal.is-open .dx-welcome-modal__dialog {
    transform: none;
}
.dx-welcome-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #d4dadd;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
}
.dx-welcome-modal__close:hover {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}
.dx-welcome-modal__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
}
.dx-welcome-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
    min-height: 520px;
}
.dx-welcome-modal__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    background: linear-gradient(145deg, rgba(0, 77, 110, 0.26), rgba(0, 0, 0, 0.18) 58%),
        radial-gradient(circle at 50% 0%, rgba(240, 5, 5, 0.12), transparent 42%);
    border-right: 1px solid rgba(255, 255, 255, 0.075);
}
.dx-welcome-modal__logo {
    display: block;
    width: auto;
    max-width: 280px;
    max-height: 78px;
    margin: 0 0 20px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 9px 28px rgba(240, 5, 5, 0.2));
}
.dx-welcome-modal__eyebrow {
    margin-bottom: 8px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2em;
}
.dx-welcome-modal__intro h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.dx-welcome-modal__intro > p {
    margin: 16px 0 0;
    color: #99a5ad;
    font-size: 14px;
    line-height: 1.65;
}
.dx-welcome-modal__notice {
    display: flex;
    gap: 11px;
    margin-top: 24px;
    padding: 13px 14px;
    background: rgba(240, 5, 5, 0.065);
    border: 1px solid rgba(240, 5, 5, 0.2);
    border-radius: 12px;
}
.dx-welcome-modal__notice > span {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #ff4545;
    background: rgba(240, 5, 5, 0.12);
    border-radius: 8px;
    font-weight: 900;
}
.dx-welcome-modal__notice p {
    margin: 0;
    color: #adb7bd;
    font-size: 11px;
    line-height: 1.5;
}
.dx-welcome-modal__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 34px 30px;
}
.dx-welcome-modal__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.dx-welcome-modal__feature {
    position: relative;
    display: flex;
    gap: 11px;
    min-height: 100px;
    padding: 15px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;

    transform: translateY(0);

    box-shadow:
        0 0 0 rgba(240, 5, 5, 0);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}

.dx-welcome-modal__feature:hover {
    transform: translateY(-3px);

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

    border-color: rgba(240, 5, 5, 0.42);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(240, 5, 5, 0.16),
        0 0 24px rgba(240, 5, 5, 0.12);
}

.dx-welcome-modal__feature--wide {
    grid-column: 1/-1;
    min-height: 84px;
}
.dx-welcome-modal__feature i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 9px;
    font-style: normal;
    font-size: 20px;
}
.is-blue {
    color: #00b5ff;
}
.is-gold {
    color: #ffc400;
}
.is-purple {
    color: #a66cff;
}
.is-green {
    color: #00d792;
}
.is-red {
    color: #ff3b3b;
}

.dx-welcome-modal__feature i {
    transition:
        transform 0.22s ease,
        background-color 0.22s ease;
}

.dx-welcome-modal__feature:hover i {
    transform: scale(1.08);
    background: rgba(240, 5, 5, 0.1);
}

.dx-welcome-modal__feature strong {
    display: block;
    margin: 1px 0 4px;
    color: #fff;
    font-size: 13px;
}
.dx-welcome-modal__feature p {
    margin: 0;
    color: #85929a;
    font-size: 11.5px;
    line-height: 1.48;
}
.dx-welcome-modal__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(245px, 0.85fr);
    gap: 10px;
    margin-top: 15px;
}
.dx-welcome-modal__register,
.dx-welcome-modal__login {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border-radius: 9px;
    text-decoration: none;
}
.dx-welcome-modal__register {
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    font-size: 14px;
    font-weight: 800;
}
.dx-welcome-modal__login {
    color: #9da8af;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.085);
    font-size: 12px;
    text-align: center;

    white-space: nowrap;
    flex-wrap: nowrap;
    gap: 4px;
}
.dx-welcome-modal__login strong {
    margin-left: 4px;
    color: #fff;
}
.dx-welcome-modal__continue {
    grid-column: 1/-1;
    justify-self: center;
    padding: 4px 8px;
    color: #74828a;
    background: transparent;
    border: 0;
    font-size: 11px;
    cursor: pointer;
}
@media (max-width: 840px) {
    .dx-welcome-modal {
        place-items: center;
        padding: 12px;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dx-welcome-modal__dialog {
        width: 100%;
        max-width: 680px;
        max-height: calc(100dvh - 24px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dx-welcome-modal__layout {
        display: block;
        width: 100%;
        min-height: 0;
    }

    .dx-welcome-modal__intro {
        width: 100%;
        padding: 28px 24px 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    }

    .dx-welcome-modal__main {
        width: 100%;
        padding: 22px 24px 26px;
    }

    .dx-welcome-modal__logo {
        max-width: 220px;
        max-height: 62px;
    }

    .dx-welcome-modal__intro h2 {
        font-size: 29px;
    }
}

@media (max-width: 560px) {
    .dx-welcome-modal {
        align-items: flex-end;
        padding: 0;
    }

    .dx-welcome-modal__dialog {
        width: 100%;
        max-width: 100%;
        max-height: 94dvh;
        margin: 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 20px 20px 0 0;
    }

    .dx-welcome-modal__intro {
        padding: 24px 18px 20px;
    }

    .dx-welcome-modal__main {
        padding: 18px;
    }

    .dx-welcome-modal__logo {
        max-width: 190px;
        max-height: 55px;
    }

    .dx-welcome-modal__intro h2 {
        font-size: 25px;
    }

    .dx-welcome-modal__features,
    .dx-welcome-modal__actions {
        grid-template-columns: 1fr;
    }

    .dx-welcome-modal__feature--wide,
    .dx-welcome-modal__continue {
        grid-column: auto;
    }

    .dx-welcome-modal__login {
        white-space: normal;
        flex-wrap: wrap;
    }
}

.dx-welcome-modal__feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    width: 72%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(240, 5, 5, 0.9),
        transparent
    );

    opacity: 0;
    transition: opacity 0.22s ease;
}

.dx-welcome-modal__feature:hover::before {
    opacity: 1;
}
