.op-pasibus-gate-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Gilroy", "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(46, 158, 58, 0.18), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(35, 128, 235, 0.22), transparent 36%),
        linear-gradient(145deg, #092b96 0%, #1a4fbf 48%, #2380eb 100%);
    color: #0f1f33;
}

.op-pasibus-gate {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 32px;
    box-sizing: border-box;
}

.op-pasibus-gate__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    box-sizing: border-box;
}

.op-pasibus-gate__card {
    width: 100%;
    padding: 38px 34px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 28px 70px rgba(9, 43, 150, 0.28);
    text-align: center;
    animation: opPasibusGateIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.op-pasibus-gate__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.op-pasibus-gate__logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.op-pasibus-gate__logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #092b96;
}

.op-pasibus-gate__lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin: 0 0 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2E9E3A, #1a6b24);
    color: #fff;
    border: 4px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(46, 158, 58, 0.35);
}

.op-pasibus-gate__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: clamp(24px, 4.5vw, 30px);
    line-height: 1.2;
    font-weight: 800;
    color: #092b96;
    text-align: center;
}

.op-pasibus-gate__title-line {
    display: block;
}

.op-pasibus-gate__title-emoji {
    display: block;
    font-size: 1.4em;
    line-height: 1;
}

.op-pasibus-gate__subtitle {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.55;
    color: #647185;
}

.op-pasibus-gate__error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff4f4;
    border: 1px solid #fecaca;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}

.op-pasibus-gate__form {
    display: grid;
    gap: 14px;
}

.op-pasibus-gate__field {
    position: relative;
    display: block;
}

.op-pasibus-gate__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8798;
    pointer-events: none;
}

.op-pasibus-gate__input {
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    padding: 0 16px 0 46px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #f8fbff;
    font: inherit;
    font-size: 16px;
    color: #0f1f33;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.op-pasibus-gate__input:focus {
    outline: none;
    border-color: #2380eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(35, 128, 235, 0.14);
}

.op-pasibus-gate__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #092b96, #2380eb);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(35, 128, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.op-pasibus-gate__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(35, 128, 235, 0.34);
}

.op-pasibus-gate__note {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8a96a8;
}

@keyframes opPasibusGateIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 768px) {
    .op-pasibus-gate {
        padding: 56px 24px 40px;
    }

    .op-pasibus-gate__wrap {
        max-width: 480px;
    }

    .op-pasibus-gate__lock {
        width: 56px;
        height: 56px;
        margin-bottom: 22px;
    }
}

@media (max-width: 767px) {
    .op-pasibus-gate {
        padding: max(28px, env(safe-area-inset-top)) 24px 24px;
    }

    .op-pasibus-gate__wrap {
        max-width: 360px;
    }

    .op-pasibus-gate__card {
        padding: 30px 24px 24px;
        border-radius: 20px;
        box-shadow: 0 22px 54px rgba(9, 43, 150, 0.24);
    }

    .op-pasibus-gate__lock {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
        border-width: 3px;
    }

    .op-pasibus-gate__logo {
        height: 38px;
    }

    .op-pasibus-gate__title {
        font-size: clamp(22px, 5.8vw, 26px);
    }

    .op-pasibus-gate__subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .op-pasibus-gate__note {
        font-size: 11px;
        line-height: 1.45;
    }
}

@media (max-width: 380px) {
    .op-pasibus-gate {
        padding-left: 18px;
        padding-right: 18px;
    }

    .op-pasibus-gate__wrap {
        max-width: 320px;
    }

    .op-pasibus-gate__card {
        padding: 26px 18px 20px;
    }

    .op-pasibus-gate__lock svg {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .op-pasibus-gate__card {
        animation: none !important;
    }
}
