:root {
    --mdp-sf-gold: #e7bd58;
    --mdp-sf-gold-light: #fff0aa;
    --mdp-sf-ink: #090909;
}

html.mdp-sf-modal-open,
html.mdp-sf-modal-open body { overflow: hidden !important; }

.mdp-sf-modal[hidden],
.mdp-sf-gate[hidden],
.mdp-sf-gate [hidden] { display: none !important; }

.mdp-sf-modal,
.mdp-sf-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    color: #fff;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

.mdp-sf-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    animation: mdp-sf-fade .2s ease-out both;
}

.mdp-sf-card,
.mdp-sf-gate-card {
    box-sizing: border-box;
    position: relative;
    width: min(92vw, 470px);
    margin: max(24px, 5vh) auto 0;
    overflow: auto;
    max-height: 90vh;
    padding: 29px;
    border: 1px solid rgba(231, 189, 88, .36);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(231, 189, 88, .14), transparent 34%),
        linear-gradient(155deg, #171717, #070707 72%);
    box-shadow: 0 30px 110px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 255, 255, .05);
    animation: mdp-sf-rise .28s cubic-bezier(.2, .8, .2, 1) both;
    scrollbar-width: thin;
    scrollbar-color: #5a4b2d transparent;
}

.mdp-sf-close {
    position: absolute;
    top: 15px;
    right: 16px;
    display: grid;
    width: 35px;
    height: 35px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font: 400 25px/1 inherit;
    cursor: pointer;
    transition: .2s ease;
}
.mdp-sf-close:hover { background: rgba(255, 255, 255, .13); transform: rotate(4deg); }

.mdp-sf-progress,
.mdp-sf-gate-meter { height: 5px; overflow: hidden; margin-bottom: 20px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.mdp-sf-card > .mdp-sf-progress { margin: 7px 48px 20px 0; }
.mdp-sf-progress i,
.mdp-sf-gate-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a97818, var(--mdp-sf-gold-light), #c89022); box-shadow: 0 0 20px rgba(231, 189, 88, .35); }
.mdp-sf-progress i { width: 72%; }
.mdp-sf-gate-meter i { width: 50%; }

.mdp-sf-card h2,
.mdp-sf-gate-card h2 { margin: 0 0 9px; color: #fff; font-size: clamp(25px, 5vw, 31px); font-weight: 850; line-height: 1.12; letter-spacing: -.03em; }
.mdp-sf-intro,
.mdp-sf-gate-card > p { margin: 0 0 21px; color: #c9c9c9; font-size: 14px; line-height: 1.55; }

.mdp-sf-field { display: block; margin: 0 0 11px; }
.mdp-sf-field > span:first-child { display: block; margin: 0 0 7px; color: #eee; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.mdp-sf-field input {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 13px !important;
    outline: 0 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .075) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .035) !important;
    font: 500 16px/1 inherit !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.mdp-sf-field input::placeholder { color: #888 !important; opacity: 1; }
.mdp-sf-field input:focus { border-color: var(--mdp-sf-gold) !important; background: rgba(255, 255, 255, .1) !important; box-shadow: 0 0 0 3px rgba(231, 189, 88, .12) !important; }
.mdp-sf-phone { display: flex !important; overflow: hidden; height: 52px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px; background: rgba(255, 255, 255, .075); transition: .18s ease; }
.mdp-sf-phone:focus-within { border-color: var(--mdp-sf-gold); box-shadow: 0 0 0 3px rgba(231, 189, 88, .12); background: rgba(255, 255, 255, .1); }
.mdp-sf-phone b { display: flex; align-items: center; padding: 0 0 0 15px; color: #eee; font-size: 15px; font-weight: 650; }
.mdp-sf-phone input { height: 50px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

.mdp-sf-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mdp-sf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 55px;
    margin: 17px 0 0;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    color: #0b0b0b;
    background: linear-gradient(115deg, #c99128, #ffe79a 48%, #dba940);
    box-shadow: 0 13px 30px rgba(196, 143, 34, .23), inset 0 1px rgba(255, 255, 255, .66);
    font: 950 17px/1.2 inherit;
    letter-spacing: .035em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.mdp-sf-submit i { font: 800 23px/1 inherit; transition: transform .18s ease; }
.mdp-sf-submit:hover { transform: translateY(-1px); box-shadow: 0 17px 36px rgba(196, 143, 34, .3), inset 0 1px rgba(255, 255, 255, .7); }
.mdp-sf-submit:hover i { transform: translateX(3px); }
.mdp-sf-submit:disabled { opacity: .62; cursor: wait; transform: none; }

.mdp-sf-consent { margin: 12px 4px 0; color: #818181; font-size: 10.5px; line-height: 1.45; text-align: center; }
.mdp-sf-consent a { color: #bda160; text-decoration: underline; }
.mdp-sf-message { min-height: 18px; margin: 10px 2px 0; color: #c5c5c5; font-size: 12px; font-weight: 650; text-align: center; }
.mdp-sf-message.success { color: #83e1aa; }
.mdp-sf-message.error { color: #ff9d9d; }
.mdp-sf-message.working { color: var(--mdp-sf-gold-light); }
.mdp-sf-trust { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8f8f8f; font-size: 10px; }

.mdp-sf-gate { overflow-y: auto; background: #050505; }
.mdp-sf-gate-glow { position: fixed; inset: 0; background: radial-gradient(circle at 15% 3%, rgba(231, 189, 88, .18), transparent 33%), radial-gradient(circle at 85% 20%, rgba(164, 24, 24, .14), transparent 30%); pointer-events: none; }
.mdp-sf-gate-card { width: min(92vw, 570px); margin-top: max(28px, 7vh); }
.mdp-sf-gate-card > p { font-size: 17px; font-weight: 600; line-height: 1.5; }
.mdp-sf-gate-card section > strong { display: block; margin: 0 0 14px; color: var(--mdp-sf-gold-light); font-size: 18px; font-weight: 850; line-height: 1.35; letter-spacing: .01em; }
.mdp-sf-gate-card section > button:not(.mdp-sf-gate-back),
.mdp-sf-gate-card section > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 55px;
    margin: 0 0 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: #eee;
    background: rgba(255, 255, 255, .06);
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}
.mdp-sf-gate-card section > button:not(.mdp-sf-gate-back):hover,
.mdp-sf-gate-card section > a:hover { border-color: var(--mdp-sf-gold); background: rgba(231, 189, 88, .1); transform: translateY(-1px); }
.mdp-sf-gate-card section i { color: var(--mdp-sf-gold); font: 800 20px/1 inherit; }
.mdp-sf-gate-back { padding: 8px 0; border: 0; color: #bfa35f; background: transparent; font: 700 13px/1 inherit; cursor: pointer; }

@keyframes mdp-sf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mdp-sf-rise { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 600px) {
    .mdp-sf-card,
    .mdp-sf-gate-card { width: calc(100vw - 22px); max-height: calc(100dvh - 22px); margin: 11px auto 0; padding: 23px 18px; border-radius: 20px; }
    .mdp-sf-card h2,
    .mdp-sf-gate-card h2 { font-size: 25px; }
    .mdp-sf-intro { margin-bottom: 16px; font-size: 13px; }
    .mdp-sf-gate-card > p { margin-bottom: 16px; font-size: 15px; }
    .mdp-sf-gate-card section > strong { font-size: 17px; }
    .mdp-sf-gate-card section > button:not(.mdp-sf-gate-back),
    .mdp-sf-gate-card section > a { font-size: 16px !important; }
    .mdp-sf-field input,
    .mdp-sf-phone { height: 49px !important; }
    .mdp-sf-phone input { height: 47px !important; }
    .mdp-sf-submit { min-height: 55px; font-size: 16px; }
    .mdp-sf-trust { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .mdp-sf-card,
    .mdp-sf-backdrop,
    .mdp-sf-gate-card { animation: none; }
    .mdp-sf-submit,
    .mdp-sf-close,
    .mdp-sf-gate-card section > button,
    .mdp-sf-gate-card section > a { transition: none; }
}
