:root {
    --font-lg: 20px;
    --font-md: 16px;
    --font-sm: 14px;
    --gold: #f6d63d;
    --gold-2: #d7ae14;
    --muted: #9ca2aa;
    --line: #293039;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: #111217;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
}

.dp-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 24px;
    background: rgba(8, 8, 10, .92);
    color: #fff;
    text-align: center;
    font-size: var(--font-sm);
    line-height: 1.6;
}

.dp-spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(255, 255, 255, .12);
    border-top-color: var(--bank-primary, var(--gold));
    border-radius: 50%;
    animation: dpSpin .9s linear infinite;
}

.dp-loading-remaining strong {
    color: var(--bank-primary, var(--gold));
}

.dp-loading-pb {
    max-width: 420px;
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: #d6d6d8;
    font-size: 13px;
    text-align: left;
}

@keyframes dpSpin {
    to { transform: rotate(360deg); }
}

.dp-lang {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
    font-size: 12px;
    color: #6f757d;
}

.dp-lang a {
    color: #b9bec5;
    cursor: pointer;
    text-decoration: none;
}

.dp-lang a.selected {
    color: var(--gold);
    font-weight: 700;
}

.dp-timer {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 16px;
    background: #101215;
    border: 1px solid #262b31;
    color: #dfe1e4;
    font-size: var(--font-sm);
    line-height: 1.2;
    white-space: nowrap;
}

.dp-timer img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.dp-timer strong {
    font-weight: 700;
}

.dp-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translate(-50%, 12px);
    opacity: 0;
    padding: 9px 14px;
    border: 1px solid #3b4148;
    border-radius: 10px;
    background: #17191c;
    color: #fff;
    font-size: 13px;
    pointer-events: none;
    transition: .2s ease;
    z-index: 10000;
}

.dp-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: .5; }
.fade { transition: opacity .15s linear; }
.fade:not(.show) { opacity: 0; }

#myModal .modal-dialog,
#myModal .modal-content,
#divPromoBody {
    overflow: visible !important;
}

#divPromoBody .Pegasus__modal-ctn_wrapper-2 {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
}

.dp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.dp-trust-item {
    text-align: center;
    min-width: 0;
}

.dp-trust-item > img {
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto 8px;
}

.dp-trust-item strong {
    display: block;
    font-size: 12px;
}

.dp-trust-item span {
    display: block;
    margin-top: 6px;
    color: #c9ccd1;
    font-size: 12px;
}

.dp-platform-logo {
    display: block;
    width: 108px;
    height: auto;
    margin: 35px auto 0;
}

@media (max-width: 767px) {
    .dp-trust {
        gap: 5px;
    }

    .dp-trust-item > img {
        width: 34px;
        height: 34px;
    }

    .dp-trust-item strong {
        font-size: 10px;
    }

    .dp-trust-item span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-spinner { animation-duration: 2.5s; }
}
