.access-gate-dialog {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.access-gate-dialog[hidden] {
    display: none;
}

.access-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.access-gate-panel {
    position: relative;
    width: min(440px, 100%);
    padding: 36px 28px 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.access-gate-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff7ed;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.access-gate-panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #0f172a;
}

.access-gate-panel p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.access-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.access-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.access-gate-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.access-gate-btn-secondary {
    background: #f1f5f9;
    color: #334155;
}

.access-gate-btn:hover {
    transform: translateY(-1px);
}

body.access-gate-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .access-gate-actions {
        flex-direction: column;
    }

    .access-gate-actions .access-gate-btn {
        width: 100%;
    }
}
